/* Hardeen landing page. Visual language follows dmytrohovyk.com:
   black/white, Inter 600, tight tracking, hairline rules, dot cursor, floating pill nav, giant footer name. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin-var.woff2) format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000;
  --white: #fff;
  --gray: #808080;
  --gray-dark: #8c8c8c;
  --line-dark: rgba(255,255,255,.1);
  --line-light: rgba(0,0,0,.1);
  --ease: cubic-bezier(.16,1,.3,1);
  --err: #ff4d3d;
  --ok: #4fd18b;
  --gutter: 16px;
}

html { scroll-behavior: auto; scroll-padding-top: 88px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-weight: 500; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 999px;
  background: var(--white); color: var(--black); text-decoration: none; font-size: 13px;
}
.skip-link:focus { top: 16px; }

/* ── Cursor ── */
@media (hover: hover) and (pointer: fine) {
  html, body, body * { cursor: none !important; }
}
@media not all and (hover: hover) and (pointer: fine) {
  #cur { display: none; }
}
/* Same cursor as dmytrohovyk.com: inverted dot that bumps over interactive elements */
#cur {
  position: fixed; left: 0; top: 0; z-index: 10000;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    width .3s cubic-bezier(.16,1,.3,1),
    height .3s cubic-bezier(.16,1,.3,1),
    border-radius .3s cubic-bezier(.16,1,.3,1);
}
#cur.bump { animation: curBump .5s cubic-bezier(.16,1,.3,1) 1; }
@keyframes curBump {
  0%   { transform: translate(-50%, -50%) scale(1); }
  40%  { transform: translate(-50%, -50%) scale(0.7); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  transition: background-color .38s ease;
}
.nav-hero {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  transform-origin: top center;
  transition: opacity .38s ease, transform .5s var(--ease), filter .38s ease;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1;
}
.tag-beta {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px; border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1;
  opacity: .7;
}
.nav-links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.nav-links a, .nav-cta {
  position: relative; width: fit-content;
  color: var(--white); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1.18;
  transition: color .28s ease;
}
.nav-links a::after, .nav-cta::after, .link-u::after {
  content: ""; position: absolute; left: 0; bottom: .02em;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .32s var(--ease);
}
.nav-links:hover a { color: rgba(255,255,255,.38); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-cta:hover::after, .link-u:hover::after {
  transform: scaleX(1); transform-origin: left center;
}
.link-u { position: relative; text-decoration: none; }

.nav-pill {
  position: fixed; top: 16px; left: 50%; z-index: 520;
  display: flex; align-items: center; gap: 2px; padding: 6px;
  background: rgba(255,255,255,.96); border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.12);
  transform: translateX(-50%) scale(.92); transform-origin: top center;
  opacity: 0; filter: blur(6px); pointer-events: none;
  transition: opacity .38s ease, transform .5s var(--ease), filter .38s ease;
}
.nav-pill-link {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 74px; height: 44px; padding: 0 18px; border-radius: 8px;
  color: rgba(0,0,0,.72); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  transition: color .28s ease;
}
.nav-pill-link span { position: relative; z-index: 1; }
.nav-pill-link::before {
  content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--black);
  opacity: 0; transform: scale(.9);
  transition: opacity .28s ease, transform .36s var(--ease);
}
.nav-pill-link:hover, .nav-pill-link[aria-current="true"] { color: var(--white); }
.nav-pill-link:hover::before, .nav-pill-link[aria-current="true"]::before { opacity: 1; transform: scale(1); }

body.nav-scrolled .site-nav { background: transparent; }
body.nav-scrolled .nav-hero { opacity: 0; transform: scale(.94); filter: blur(6px); pointer-events: none; }
body.nav-scrolled .nav-pill { opacity: 1; transform: translateX(-50%) scale(1); filter: blur(0); pointer-events: all; }

/* ── Buttons (same shapes as the portfolio) ── */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  width: fit-content; min-height: 52px; padding: 0 24px 0 22px;
  border-radius: 999px; text-decoration: none;
  font: 600 15px/1 'Inter', sans-serif; letter-spacing: -.015em;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .36s var(--ease), gap .24s ease;
}
.btn svg, .btn-ghost svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn { background: var(--black); color: var(--white); border: 1px solid transparent; }
.btn-ghost { background: transparent; color: var(--black); border: 1px solid rgba(0,0,0,.16); }
.btn:hover, .btn-ghost:hover { gap: 14px; transform: translateY(-1px); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.on-dark .btn { background: var(--white); color: var(--black); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.24); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--black); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Section scaffolding ── */
.light { background: var(--white); color: var(--black); }
.dark { background: var(--black); color: var(--white); }
.light + .light { border-top: 1px solid var(--line-light); }
.dark + .dark { border-top: 1px solid var(--line-dark); }

.label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: -.01em; line-height: 1.3;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.h2 {
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 600; letter-spacing: -.045em; line-height: .98;
  max-width: 15ch;
}
.lead {
  font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; letter-spacing: -.015em;
  max-width: 620px;
}
.muted { color: var(--gray); }
.dark .muted { color: var(--gray-dark); }
.light .lead strong, .dark .lead strong { color: inherit; font-weight: 600; }

.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 24px var(--gutter) 72px;
}
.sec-head .label { grid-column: 1 / -1; margin-bottom: 40px; }
.sec-head .lead { align-self: end; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 88px var(--gutter) 0;
  text-align: center;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px; margin-bottom: 28px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--gray-dark); font-size: 13px; letter-spacing: -.01em;
}
.hero-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 {
  margin: 0 auto;
  font-size: clamp(46px, 8.2vw, 132px);
  font-weight: 600; letter-spacing: -.055em; line-height: .9;
  max-width: 12ch;
}
.hero .lead { margin: 28px auto 0; color: var(--gray-dark); }
.hero .lead strong { color: var(--white); }
.hero .actions { justify-content: center; margin-top: 36px; }

/* Product demo: network editor + Hardeen panel */
.demo-wrap { position: relative; max-width: 1180px; margin: 80px auto 0; }
.demo {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr 1fr;
  height: 480px; text-align: left;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.12); border-bottom: none;
  border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: 0 -30px 120px rgba(255,255,255,.06);
}
.demo-bar {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line-dark);
  color: #777; font-size: 12px; font-weight: 500;
}
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.demo-bar span { margin-left: 8px; }
.demo { grid-template-rows: 38px 1fr; }

.net {
  position: relative;
  border-right: 1px solid var(--line-dark);
  background-color: #111;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.net-path { position: absolute; left: 14px; top: 12px; color: #666; font-size: 12px; font-weight: 500; }
.net svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: #4a4a4a; stroke-width: 1.5; }
.node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 8px;
  background: #222; border: 1px solid #3a3a3a; border-radius: 6px;
  color: #ddd; font-size: 12px; font-weight: 500; white-space: nowrap;
  transition: border-color .5s ease, background .5s ease, box-shadow .5s ease;
}
.node b { width: 14px; height: 14px; border-radius: 3px; background: #5b6b7a; }
.node.out b { background: #7a5b9a; }
.node.err { border-color: var(--err); background: #2a1412; box-shadow: 0 0 0 3px rgba(255,77,61,.18); }
.node.err b { background: var(--err); }
.node.fixed { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(79,209,139,.15); }
.node.fixed b { background: var(--ok); }
.node.sel { outline: 1px dashed rgba(255,255,255,.5); outline-offset: 5px; }

.chat { display: flex; flex-direction: column; min-width: 0; background: #0b0b0b; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line-dark);
  font-size: 12px; color: #999; font-weight: 500;
}
.chat-head strong { color: var(--white); font-weight: 600; }
.chat-head .local { display: inline-flex; align-items: center; gap: 6px; }
.chat-head .local::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chat-log {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 16px; overflow: hidden;
  font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: -.005em;
}
.msg { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.user {
  align-self: flex-end; max-width: 80%;
  padding: 9px 13px; border-radius: 12px 12px 4px 12px;
  background: #222; color: var(--white);
}
.msg.tool { display: flex; align-items: center; gap: 8px; color: #7d7d7d; font-size: 12px; }
.msg.tool::before {
  content: ""; width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid #555; border-top-color: #ccc;
  animation: toolSpin .8s linear infinite;
}
@keyframes toolSpin { to { transform: rotate(360deg); } }
.msg.tool.done::before {
  animation: none;
  border: none; background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.msg.tool b { color: #bdbdbd; font-weight: 500; }
.msg.bot { color: #e8e8e8; }
.msg code { padding: 1px 5px; border-radius: 4px; background: #1d1d1d; color: #fff; font-size: 12px; }
.chat-input {
  margin: 0 12px 12px; padding: 12px 14px;
  border: 1px solid var(--line-dark); border-radius: 12px;
  color: #5c5c5c; font-size: 12px; font-weight: 500;
}


.demo-note { padding: 14px 0 0; color: #555; font-size: 11px; font-weight: 500; text-align: center; }

/* ── Capability strip ── */
.strip {
  overflow: hidden;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}
.strip-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.strip-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  color: var(--gray-dark); font-size: 15px; letter-spacing: -.015em; white-space: nowrap;
}
.strip-track span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #444; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Problem ── */
.problem { display: grid; grid-template-columns: 1fr 1fr; }
.problem > div { padding: 24px var(--gutter) 100px; }
.problem > div:first-child { border-right: 1px solid var(--line-light); padding-right: 56px; }
.problem .h2 { margin-top: 40px; max-width: 13ch; }
.problem .lead + .lead { margin-top: 18px; }
.problem .lead { margin-top: 40px; }

.status {
  margin-top: 48px; max-width: 420px;
  border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden;
}
.status-head { padding: 12px 16px; border-bottom: 1px solid var(--line-light); font-size: 13px; }
.status li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; list-style: none;
  font-size: 14px; letter-spacing: -.01em; color: rgba(0,0,0,.28);
  transition: color .4s ease;
}
.status li + li { border-top: 1px solid var(--line-light); }
.status li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.12); transition: background .4s ease; }
.status li.on { color: var(--black); }
.status li.on::after { background: var(--black); }
.status li.done { color: var(--black); }
.status li.done::after { background: #1aa463; }

.cloud { padding: 120px var(--gutter); text-align: center; }
.cloud .h2 { margin: 28px auto 0; max-width: 16ch; }
.cloud .lead { margin: 28px auto 0; }
.cloud .label { justify-content: center; }

/* ── Steps (how it works / pilot) ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { padding: 24px var(--gutter) 64px; }
.step + .step { border-left: 1px solid var(--line-light); }
.step-n { font-size: 13px; color: var(--gray); }
.step h3 { margin-top: 64px; font-size: 26px; letter-spacing: -.035em; line-height: 1.05; }
.step p { margin-top: 12px; color: var(--gray); font-size: 15px; line-height: 1.5; letter-spacing: -.01em; max-width: 34ch; }
.prompts { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.prompts span {
  width: fit-content; padding: 8px 12px; border-radius: 10px 10px 10px 3px;
  background: #f1f1f1; font-size: 13px; letter-spacing: -.01em;
}

/* ── Use-case cards ── */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-light); border-top: 1px solid var(--line-light);
}
.card { background: var(--white); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; min-height: 340px; }
.card .k { font-size: 12px; color: var(--gray); letter-spacing: .02em; text-transform: uppercase; }
.card h3 { margin-top: 80px; font-size: 24px; letter-spacing: -.035em; line-height: 1.08; }
.card p { margin-top: 12px; color: var(--gray); font-size: 15px; line-height: 1.5; letter-spacing: -.01em; }
.card-ico { width: 40px; height: 40px; margin-top: 28px; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  padding: 72px var(--gutter);
  border-top: 1px solid var(--line-light);
}
.feature h3 { margin-top: 24px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.045em; line-height: 1; max-width: 16ch; }
.feature p { margin-top: 18px; }
.layers { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 14px; background: #f4f4f4; }
.layer {
  display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px;
  font-size: 12px; color: var(--gray);
}
.layer-bar {
  height: 34px; border-radius: 6px; display: flex; align-items: center; padding: 0 12px;
  background: var(--black); color: var(--white); font-size: 12px; font-weight: 500;
  transform-origin: left center;
}
.layer:nth-child(2) .layer-bar { width: 38%; margin-left: 30%; }
.layer:nth-child(3) .layer-bar { width: 26%; margin-left: 58%; }
.layer:nth-child(1) .layer-bar { width: 42%; }
.layer:nth-child(4) .layer-bar { width: 30%; margin-left: 70%; background: #555; }

/* ── Loop (checks its own work) ── */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.loop-step { position: relative; padding: 24px var(--gutter) 56px; color: rgba(0,0,0,.3); transition: color .5s ease; }
.loop-step + .loop-step { border-left: 1px solid var(--line-light); }
.loop-step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--black); transform: scaleX(0); transform-origin: left center;
}
.loop-step.on { color: var(--black); }
.loop-step.on::before { transform: scaleX(1); transition: transform 2.6s linear; }
.loop-step h3 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.045em; line-height: 1; margin-top: 40px; }
.loop-step p { margin-top: 14px; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; max-width: 30ch; }

/* ── Compare ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.compare > div { padding: 24px var(--gutter) 48px; }
.compare > div + div { border-left: 1px solid var(--line-dark); }
.compare h3 { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.compare ul { margin-top: 28px; list-style: none; }
.compare li {
  padding: 16px 0; border-top: 1px solid var(--line-dark);
  font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.03em; line-height: 1.2;
}
.compare .them li { color: #555; }

/* ── Security ── */
.sec-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border-top: 1px solid var(--line-dark);
}
.sec-card { background: var(--black); padding: 24px var(--gutter) 40px; min-height: 300px; display: flex; flex-direction: column; }
.sec-card svg { width: 28px; height: 28px; }
.sec-card h3 { margin-top: 72px; font-size: 22px; letter-spacing: -.035em; line-height: 1.1; }
.sec-card p { margin-top: 10px; color: var(--gray-dark); font-size: 15px; line-height: 1.5; letter-spacing: -.01em; }
.sec-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line-dark);
  font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.03em;
}
.sec-foot span { color: var(--gray-dark); }

/* ── Studios ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.stat { padding: 24px var(--gutter) 40px; }
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat b { display: block; font-size: clamp(44px, 5.4vw, 84px); letter-spacing: -.06em; line-height: .95; }
.stat span { display: block; margin-top: 14px; color: var(--gray); font-size: 14px; line-height: 1.4; letter-spacing: -.01em; max-width: 22ch; }

.deploy { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.deploy > div { padding: 24px var(--gutter) 56px; }
.deploy > div + div { border-left: 1px solid var(--line-light); }
.deploy h3 { margin-top: 40px; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.04em; line-height: 1.05; }
.deploy p { margin-top: 12px; color: var(--gray); font-size: 15px; line-height: 1.5; letter-spacing: -.01em; max-width: 44ch; }
.rig { display: flex; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.rig i { width: 28px; height: 20px; border-radius: 4px; border: 1.5px solid var(--black); }
.rig i.gpu { background: var(--black); }

/* ── Roadmap ── */
.road { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.road > div { padding: 24px var(--gutter) 56px; }
.road > div + div { border-left: 1px solid var(--line-light); }
.road ul { margin-top: 28px; list-style: none; }
.road li {
  display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-light);
  font-size: 17px; letter-spacing: -.02em; line-height: 1.35;
}
.road li small { display: block; margin-top: 4px; color: var(--gray); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.road li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--black); }
.road .next li::before { background: transparent; border: 1.5px solid var(--black); }
.pill-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-left: 8px;
  border-radius: 999px; border: 1px solid currentColor; font-size: 11px; font-weight: 600; vertical-align: 2px;
}

.beyond { padding: 24px var(--gutter) 88px; border-top: 1px solid var(--line-light); }
.apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.apps span {
  display: inline-flex; align-items: center; height: 54px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--line-light);
  font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.03em;
}
.apps span.now { background: var(--black); color: var(--white); border-color: var(--black); }
.beyond .lead { margin-top: 28px; }

.reqs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.reqs > div { padding: 20px var(--gutter) 28px; }
.reqs > div + div { border-left: 1px solid var(--line-light); }
.reqs dt { font-size: 13px; color: var(--gray); }
.reqs dd { margin-top: 8px; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; }

/* ── Final CTA ── */
.final { padding: 140px var(--gutter) 120px; text-align: center; }
.final .h2 { margin: 28px auto 0; max-width: 14ch; font-size: clamp(40px, 6vw, 96px); }
.final .lead { margin: 28px auto 0; }
.final .label { justify-content: center; }
.final .actions { justify-content: center; margin-top: 40px; }
.final .mail { margin-top: 28px; color: var(--gray-dark); font-size: 13px; }

/* ── Footer ── */
footer {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}
.foot-l { padding: 20px 0 20px var(--gutter); display: flex; flex-direction: column; gap: 6px; }
.foot-r { padding: 20px var(--gutter) 20px 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.foot-copy, .foot-note { font-size: 13px; letter-spacing: -.01em; line-height: 1.4; color: var(--gray); }
.foot-note a { color: var(--white); }
.foot-name-wrap { position: relative; background: var(--white); overflow: hidden; }
#footName {
  display: block; color: var(--black); white-space: nowrap; text-align: center;
  font-weight: 600; letter-spacing: -.03em; line-height: .725; text-transform: uppercase;
  transform: translateY(-100%); will-change: transform;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cards, .sec-cards { grid-template-columns: repeat(2, 1fr); }
  .steps.four, .stats, .reqs, .loop { grid-template-columns: repeat(2, 1fr); }
  .steps.four .step:nth-child(3), .stats .stat:nth-child(3), .reqs > div:nth-child(3), .loop-step:nth-child(3) { border-left: none; }
  .steps.four .step:nth-child(n+3), .stats .stat:nth-child(n+3), .reqs > div:nth-child(n+3), .loop-step:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 809px) {
  .nav-links { display: none; }
  .nav-pill { top: 12px; width: calc(100vw - 24px); justify-content: center; }
  .nav-pill-link { min-width: 0; flex: 1 1 0; padding: 0 8px; }
  .nav-pill-link.hide-sm { display: none; }

  .hero { padding-top: 56px; }
  .demo { grid-template-columns: 1fr; grid-template-rows: 38px 230px 1fr; height: 600px; }
  .net { border-right: none; border-bottom: 1px solid var(--line-dark); }

  .sec-head, .problem, .compare, .deploy, .road, .feature { grid-template-columns: 1fr; }
  .sec-head { padding-bottom: 48px; }
  .sec-head .label { margin-bottom: 24px; }
  .problem > div:first-child { border-right: none; border-bottom: 1px solid var(--line-light); padding-right: var(--gutter); padding-bottom: 56px; }
  .problem > div { padding-bottom: 64px; }
  .compare > div + div, .deploy > div + div, .road > div + div { border-left: none; border-top: 1px solid currentColor; border-top-color: inherit; }
  .compare > div + div { border-top: 1px solid var(--line-dark); }
  .deploy > div + div, .road > div + div { border-top: 1px solid var(--line-light); }

  .steps, .steps.four, .cards, .sec-cards, .reqs, .loop { grid-template-columns: 1fr; }
  .step + .step, .reqs > div + div, .loop-step + .loop-step { border-left: none; border-top: 1px solid var(--line-light); }
  .stats .stat:nth-child(3) { border-left: none; }
  .step h3, .card h3 { margin-top: 32px; }
  .card, .sec-card { min-height: 0; }
  .sec-card h3 { margin-top: 40px; }
  .layer { grid-template-columns: 84px 1fr; }

  .cloud, .final { padding-top: 88px; padding-bottom: 88px; }
  footer { grid-template-columns: 1fr; }
  .foot-r { align-items: flex-start; text-align: left; padding: 0 var(--gutter) 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Logo mark (sprite symbol #hd-mark, inherits text colour) ── */
.hd-mark { width: 1.44em; height: 1em; flex-shrink: 0; }
.nav-logo .hd-mark { width: 32px; height: 22px; margin-right: 3px; }
.chat-brand { display: inline-flex; align-items: center; gap: 7px; }
.chat-brand .hd-mark { width: 16px; height: 11px; }

/* ── Tiers (artists: Local / Cloud; studios: On-prem / Private Cloud) ── */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border-top: 1px solid var(--line-light); }
.tier { background: var(--white); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-k { font-size: 13px; letter-spacing: -.01em; }
.tier h3 { margin-top: 56px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.045em; line-height: 1.02; }
.tier > p { margin-top: 12px; color: var(--gray); font-size: 15px; line-height: 1.5; letter-spacing: -.01em; max-width: 44ch; }
.tier-specs { margin-top: 28px; }
.tier-specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.tier-specs dt { font-size: 14px; letter-spacing: -.01em; }
.tier-specs dd { color: var(--gray); font-size: 14px; line-height: 1.45; letter-spacing: -.01em; }

/* ── Offer (what you get / what we ask) ── */
.offer { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.offer > div { padding: 24px var(--gutter) 48px; }
.offer > div + div { border-left: 1px solid var(--line-light); }
.offer ul { margin: 24px 0 32px; list-style: none; }
.offer li { padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 17px; letter-spacing: -.02em; line-height: 1.35; }

/* ── Team ── */
.team { padding: 24px var(--gutter) 72px; border-top: 1px solid var(--line-light); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.person h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.04em; line-height: 1.05; }
.person .role { margin-top: 6px; font-size: 13px; color: var(--gray); }
.person p { margin-top: 14px; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; max-width: 44ch; }

/* ── Waitlist form ── */
.form { max-width: 720px; margin: 48px auto 0; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.seg { display: inline-flex; width: fit-content; padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; height: 38px; padding: 0 20px; border-radius: 999px; font-size: 14px; color: var(--gray-dark); transition: background .25s ease, color .25s ease; }
.seg input:checked + span { background: var(--white); color: var(--black); }
.seg input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--gray-dark); letter-spacing: -.01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: #0d0d0d; color: var(--white);
  font: 500 15px/1.4 'Inter', sans-serif; letter-spacing: -.01em;
  transition: border-color .25s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.5); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot button { cursor: pointer; }
.form-foot button[disabled] { opacity: .5; }
.form-note { flex: 1; min-width: 220px; color: var(--gray-dark); font-size: 12px; line-height: 1.5; font-weight: 500; }
.form-note a { color: var(--white); }
.form-status { min-height: 1.4em; font-size: 14px; letter-spacing: -.01em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form.done .seg, .form.done .row, .form.done .field, .form.done .form-foot { display: none; }

@media (max-width: 809px) {
  .tiers, .offer, .row, .team-grid { grid-template-columns: 1fr; }
  .offer > div + div { border-left: none; border-top: 1px solid var(--line-light); }
  .tier h3 { margin-top: 32px; }
  .tier-specs > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Palette drawn from the accent photography ── */
:root {
  --graphite: #0b0d0e;
  --steel: #5f7686;
  --mist: #a9bcc8;
  --roadmap: #1f9d5c;
}

/* ── Photo / film accents (used sparingly; always decorative) ── */
.has-art { position: relative; overflow: hidden; isolation: isolate; }
.has-art > :not(.art) { position: relative; z-index: 1; }
.art img, .art video, video.art { display: block; width: 100%; height: 100%; object-fit: cover; }

.art-cover { position: absolute; inset: 0; z-index: 0; opacity: .85;
  -webkit-mask: radial-gradient(ellipse 58% 62% at 50% 50%, transparent 30%, rgba(0,0,0,.35) 55%, #000 85%);
          mask: radial-gradient(ellipse 58% 62% at 50% 50%, transparent 30%, rgba(0,0,0,.35) 55%, #000 85%); }
.cloud.has-art .lead { color: #c9c9c9; }

.art-band { display: block; height: clamp(150px, 17vw, 260px); border-top: 1px solid var(--line-light); background: var(--graphite); }

.offer.has-accent { grid-template-columns: 1fr 1fr minmax(160px, 22%); }
.offer.has-accent .art-accent { order: 3; border-left: 1px solid var(--line-light); min-height: 100%; }


.sec-head.has-side { position: relative; padding-right: calc(24% + 32px); }
.art-side { position: absolute; top: 0; right: 0; bottom: 0; width: 24%; z-index: 0;
  -webkit-mask: linear-gradient(to right, transparent, #000 45%);
          mask: linear-gradient(to right, transparent, #000 45%); }

.final.has-art .art-loop { position: absolute; z-index: 0; left: 50%; top: 50%;
  width: min(820px, 92vw); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  opacity: .4; mix-blend-mode: screen; pointer-events: none; }

/* ── Security: studio / artist split ── */
.sec-sub { padding: 18px var(--gutter); border-top: 1px solid var(--line-dark); }
.sec-cards.two { grid-template-columns: repeat(2, 1fr); }

/* ── Roadmap tags in green ── */
.pill-tag.roadmap { color: var(--roadmap); }

/* ── GPU info tooltip (icon from the Hardeen app icon set: 16px grid, 1.5 stroke) ── */
.field-head { display: inline-flex; align-items: center; gap: 6px; }
.tip-wrap { position: relative; display: inline-flex; }
.tip {
  display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--gray-dark); cursor: help;
  transition: color .2s ease, background .2s ease;
}
.tip svg { width: 16px; height: 16px; }
.tip:hover, .tip:focus-visible { color: var(--white); background: #141414; }
.tip-box {
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: 280px;
  padding: 12px 14px; border-radius: 12px; background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: -.005em; text-align: left;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); pointer-events: none;
  transition: opacity .18s ease, transform .22s var(--ease), visibility 0s linear .22s;
}
.tip-box::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px;
  background: var(--white); transform: translate(-50%, -5px) rotate(45deg); border-radius: 2px;
}
.tip:hover + .tip-box, .tip:focus-visible + .tip-box {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .18s ease, transform .22s var(--ease), visibility 0s;
}

@media (max-width: 1100px) {
  .offer.has-accent { grid-template-columns: 1fr 1fr; }
  .offer.has-accent .art-accent { display: none; }
}
@media (max-width: 809px) {
  .sec-head.has-side { padding-right: var(--gutter); }
  .art-side { display: none; }
  .sec-cards.two { grid-template-columns: 1fr; }
  .tip-box { width: min(280px, calc(100vw - 24px)); }
}
.art-band img { object-position: 50% 12%; }

/* Waitlist: no dead space around "Or write to" */
.final { padding-bottom: 72px; }
.final .mail { margin-top: 8px; }
.form-status:empty { display: none; }

/* Spheres band as the divider between artists and studios */
.art-divider { border-top: 0; }

.nav-logo { font-size: 19px; gap: 9px; }

/* 3. tooltip is placed by JS so it never leaves the screen */
.tip-box { left: 0; transform: translate(var(--tip-x, -50%), 4px); }
.tip:hover + .tip-box, .tip:focus-visible + .tip-box, .tip-wrap.open .tip-box {
  opacity: 1; visibility: visible; transform: translate(var(--tip-x, -50%), 0);
  transition: opacity .18s ease, transform .22s var(--ease), visibility 0s;
}
.tip-box::after { left: var(--tip-arrow, 50%); }
#studios .offer .btn { margin-top: 28px; }

/* ── Legal pages (privacy) ── */
.legal-page .site-nav { position: static; }
.legal { padding: 24px var(--gutter) 96px; }
.legal-head { max-width: 760px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.legal-head .h2 { margin-top: 40px; max-width: 16ch; }
.legal-head .lead { margin-top: 24px; }
.legal-date { margin-top: 20px; font-size: 13px; color: var(--gray); }
.legal-body { max-width: 760px; }
.legal-body section { padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.legal-body h2 { font-size: 22px; letter-spacing: -.03em; line-height: 1.15; }
.legal-body p, .legal-body li { margin-top: 12px; font-size: 16px; line-height: 1.6; letter-spacing: -.01em; font-weight: 500; color: #2b2b2b; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-top: 8px; }
.legal-body strong { font-weight: 600; color: var(--black); }
.foot-note a { color: var(--white); }
