/* /get: samples first, then the minimum, then one unhurried build. Hypeman chrome: ink canvas, volt as the one accent,
   Geist + Geist Mono. Phone first; wide screens put the samples beside the promise. */
:root { --ink: #0b0b0d; --ink2: #131316; --ink3: #1b1b20; --fg: #f4f4f1; --dim: #a3a39d; --dim2: #74746e; --line: rgb(255 255 255 / .1); --line2: rgb(255 255 255 / .16);
  --volt: #c6ff3d; --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, monospace; --ease: cubic-bezier(.2, .8, .2, 1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01s !important; animation-duration: .01s !important; } }
body { margin: 0; background: var(--ink); color: var(--fg); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, p, ul, ol) { margin: 0; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.app { min-height: 100vh; background: radial-gradient(70% 50% at 80% -10%, rgb(198 255 61 / .07), transparent 70%), var(--ink); }
main { max-width: 1240px; margin: 0 auto; padding: 0 20px 60px; }

.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 14px 20px; background: linear-gradient(var(--ink) 60%, transparent); }
.wm { font: 700 21px/1 var(--sans); letter-spacing: -.05em; text-decoration: none; }
.wm b { display: inline-block; padding: 0 .12em; margin-right: .02em; background: var(--volt); color: var(--ink); transform: skewX(-8deg); border-radius: 2px; }
.top__go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink3); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 600; font-size: 14.5px; text-decoration: none; }

.eyebrow { display: flex; align-items: center; gap: 9px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px rgb(198 255 61 / .8); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), opacity .2s; }
.btn:active { transform: scale(.98); }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--ghost { background: var(--ink3); box-shadow: inset 0 0 0 1px var(--line2); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* 1 · hero */
.hero { padding: 26px 0 8px; }
.hero h1 { margin-top: 16px; max-width: 16ch; font: 600 clamp(40px, 6.4vw, 76px)/.98 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.hero h1 span { color: var(--dim); }
.hero .lede { margin-top: 18px; max-width: 46ch; color: var(--dim); font-size: clamp(16.5px, 1.4vw, 19px); }
.hero .btn { margin-top: 24px; }

/* the samples: a desktop screen and a phone, both live and scrollable */
.gallery { margin-top: 44px; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }
.gallery__head h2 { font: 600 clamp(26px, 3vw, 36px)/1.05 var(--sans); letter-spacing: -.04em; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--dim); font-weight: 500; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--ink); }
.stage { position: relative; margin-top: 20px; padding-bottom: 40px; }
.dev { overflow: hidden; background: #141417; box-shadow: 0 0 0 1px var(--line2), 0 60px 120px -50px #000; }
.dev__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #141417; border-bottom: 1px solid rgb(255 255 255 / .07); }
.dev__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.dev__bar b { margin-left: 10px; padding: 4px 10px; border-radius: 7px; background: rgb(255 255 255 / .06); font: 500 11px/1 var(--mono); color: #c9c9c3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.dev__view { position: relative; overflow: hidden; background: #fff; }
.dev__view iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.dev--desk { border-radius: 16px; }
.dev--desk .dev__view { aspect-ratio: 1440 / 860; }
.dev--phone { position: absolute; right: 3%; bottom: 0; width: 23%; min-width: 210px; padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #2b2b31, #141417 40%, #1d1d22); }
.dev--phone .dev__view { aspect-ratio: 390 / 800; border-radius: 31px; }
.dev__notch { position: absolute; z-index: 2; left: 50%; top: 17px; width: 80px; height: 22px; margin-left: -40px; border-radius: 20px; background: #000; }
.gallery__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 4px; }
.gallery__cap b { font-size: 17px; }
.gallery__cap span { color: var(--dim); }
.gallery__note { margin-top: 8px; color: var(--dim2); font-size: 13.5px; }
@media (max-width: 760px) {
  .dev--desk { display: none; }
  .stage { padding-bottom: 0; display: grid; justify-items: center; }
  .dev--phone { position: relative; right: auto; width: min(320px, 86%); }
  .gallery__head { align-items: start; }
  .tabs { width: 100%; overflow-x: auto; } .tabs button { flex: 1; padding: 0 10px; font-size: 13.5px; }
}

/* 2 · the minimum */
.start { margin-top: 64px; scroll-margin-top: 70px; }
.card { max-width: 560px; margin: 0 auto; padding: 26px 22px 24px; border-radius: 24px; background: var(--ink2); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .28), 0 50px 100px -60px #000, 0 0 80px -40px rgb(198 255 61 / .25); }
.card h2 { font: 600 clamp(28px, 3.2vw, 36px)/1.04 var(--sans); letter-spacing: -.045em; }
.card__k { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin-bottom: 10px; }
.card__p { margin-top: 10px; color: var(--dim); font-size: 15.5px; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; margin-bottom: 7px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--dim2); }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); font-size: 17px; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--volt); }
form .btn--wide { margin-top: 20px; }
.err { min-height: 0; margin-top: 10px; color: #ff9d8a; font-size: 14px; }
.err:empty { display: none; }
.fine { margin-top: 12px; color: var(--dim2); font-size: 12.5px; }
.place { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.place b { font-size: 18px; }
.place span { color: var(--dim); font-size: 14.5px; }
.place .rt { color: var(--fg); } .place .rt i { font-style: normal; color: #f5c451; }
.place small { margin-top: 6px; color: var(--dim2); font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; }
.row { display: flex; gap: 10px; margin-top: 16px; } .row .btn--volt { flex: 1; }
.manual { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ts { display: flex; justify-content: center; margin-top: 12px; }
.step { animation: in .4s var(--ease) both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }

/* 3 · while it builds */
.build, .ready { margin-top: 30px; scroll-margin-top: 70px; }
.build h2, .ready h2 { margin-top: 14px; font: 600 clamp(34px, 4.6vw, 58px)/1 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.build h2 span { color: var(--dim); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 680px; margin-top: 26px; padding: 0; list-style: none; }
.track li { position: relative; padding-top: 14px; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim2); }
.track li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 3px; background: rgb(255 255 255 / .1); }
.track li.done { color: var(--dim); } .track li.done::before { background: var(--volt); }
.track li.run { color: var(--fg); } .track li.run::before { background: linear-gradient(90deg, var(--volt) 0 var(--p, 30%), rgb(255 255 255 / .1) var(--p, 30%)); box-shadow: 0 0 14px rgb(198 255 61 / .35); }
.now { margin-top: 20px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
.eta { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; color: var(--dim); }
.eta b { font: 500 15px/1 var(--mono); color: var(--fg); }
.leave { margin-top: 14px; max-width: 52ch; padding: 12px 14px; border-radius: 12px; background: rgb(198 255 61 / .06); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .22); font-size: 14.5px; }
.found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; margin-top: 26px; }
.found__card { min-width: 0; overflow-wrap: anywhere; padding: 18px; border-radius: 18px; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.found__card .card__k { color: var(--dim); }
#foundList { padding: 0; list-style: none; display: grid; gap: 10px; }
#foundList li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
#foundList li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230b0b0d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
#foundList small { display: block; color: var(--dim); font-size: 13.5px; }
.pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pics img, .pics i { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.pics i { background: linear-gradient(110deg, rgb(255 255 255 / .04) 30%, rgb(255 255 255 / .1) 50%, rgb(255 255 255 / .04) 70%) 0 0 / 300% 100%; animation: shim 1.6s linear infinite; }
.pics img { animation: pop .6s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .12s); }
@keyframes shim { to { background-position: -150% 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
@media (max-width: 760px) { .found { grid-template-columns: minmax(0, 1fr); } .track li { font-size: 9.5px; letter-spacing: .06em; } }

/* 4 · ready */
.ready__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: 22px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 999px; background: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--dim); font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--ink); }
.result__frame { overflow: hidden; border-radius: 16px; background: #141417; box-shadow: 0 0 0 1px var(--line2), 0 60px 120px -50px #000; }
.result__frame[data-dev="phone"] { max-width: 400px; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #2b2b31, #141417 40%, #1d1d22); }
.result__frame[data-dev="phone"] .dev__bar { display: none; }
.result__frame[data-dev="phone"] .dev__view { aspect-ratio: 390 / 780; border-radius: 26px; }
.result__frame[data-dev="desk"] .dev__view { aspect-ratio: 1440 / 900; }
.claim { position: sticky; top: 80px; padding: 22px; border-radius: 22px; background: var(--ink2); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .3), 0 0 80px -40px rgb(198 255 61 / .3); }
.claim h3 { font: 600 28px/1.05 var(--sans); letter-spacing: -.04em; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 16px; color: var(--dim2); font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; }
.consent__box { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line2); }
.consent input:checked + .consent__box { background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230b0b0d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--volt); outline-offset: 2px; }
@media (max-width: 960px) { .ready__grid { grid-template-columns: 1fr; } .claim { position: static; } .result__frame[data-dev="phone"] { margin: 0 auto; } }

/* once a build starts, its screen owns the page (critic round 2: the samples stayed on top and the left column went
   empty on desktop, with the tracker below the fold) */
.is-busy .hero, .is-busy .gallery, .is-busy .top__go { display: none; }
@media (min-width: 1100px) { .is-busy main { display: block; } }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; max-width: 1240px; margin: 0 auto; padding: 28px 20px 40px; border-top: 1px solid var(--line); color: var(--dim2); font-size: 13px; }

/* wide screens: the promise and the form on the left, the samples beside them (critic round 1: the form sat below the
   fold under a six-line headline) */
@media (min-width: 1100px) {
  main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 56px; }
  .hero { grid-column: 1; grid-row: 1; padding: 30px 0 0; }
  .hero h1 { font-size: clamp(40px, 3.6vw, 54px); max-width: 15ch; }
  .hero .btn { display: none; } /* the form is right here */
  .start { grid-column: 1; grid-row: 2; margin-top: 26px; align-self: start; }
  .start .card { margin: 0; max-width: none; }
  .gallery { grid-column: 2; grid-row: 1 / 3; margin-top: 30px; }
  .build, .ready { grid-column: 1 / -1; }
  .dev--phone { right: -3%; bottom: -10px; width: 21%; }
}
