/* =========================================================
   NORTHFORM — AI product photography for e-commerce.
   Tokens first, then the parts every section shares,
   then the sections top to bottom, then the footer and dialogs.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  /* one palette for the whole site, taken from the hero: paper white, ink, soft grey tiles
     and a single accent — the coral → pink → lilac gradient of the generate button */
  --bg: #ffffff;
  --surface: #ffffff;
  --tile: #f4f4f4;
  --text: #111111;
  --text-2: #6b6b6b;
  --text-3: #b5b5b5;
  --lead-color: #8a8a8a;          /* nudged darker than the brief so 24px lead passes AA large text */
  --line: rgba(0, 0, 0, .07);
  --line-strong: rgba(0, 0, 0, .11);
  --accent: #e5484d;              /* the gradient's first stop — used for tiny marks only */
  --accent-soft: rgba(229, 72, 77, .09);
  --globe-dot: #c4c4c4;
  --globe-fill: rgba(0, 0, 0, .025);
  --gradient: linear-gradient(135deg, #e5484d 0%, #f08a8e 50%, #c9c3f5 100%);
  --sh: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06), 0 24px 48px rgba(0, 0, 0, .04);
  --sh-lift: 0 2px 4px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .09), 0 32px 64px rgba(0, 0, 0, .06);
  --glass: rgba(255, 255, 255, .8);

  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --fs-hero: 44px; --fs-h2: 34px; --fs-h3: 22px; --fs-lead: 18px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --fs-hero: 64px; --fs-h2: 44px; --fs-h3: 24px; --fs-lead: 20px; } }
@media (min-width: 1200px) { :root { --fs-hero: 88px; --fs-h2: 56px; --fs-h3: 28px; --fs-lead: 24px; } }

[data-theme="dark"] {
  --bg: #000000;
  --surface: #111111;
  --tile: #0c0c0c;
  --text: #f2f2f2;
  --text-2: #8a8a8a;
  --text-3: #555555;
  --lead-color: #7e7e7e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .15);
  --accent-soft: rgba(229, 72, 77, .16);
  --globe-dot: #3e3e3e;
  --globe-fill: rgba(255, 255, 255, .03);
  --sh: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .5), 0 24px 48px rgba(0, 0, 0, .4);
  --sh-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .6), 0 32px 64px rgba(0, 0, 0, .5);
  --glass: rgba(0, 0, 0, .72);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font: 400 16px/1.5 var(--sans); transition: background-color .4s var(--ease), color .4s var(--ease); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, strong, b { font-weight: 500; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
/* hidden always wins — a hidden overlay must never sit on top of the page and swallow clicks */
[hidden] { display: none !important; }
section, footer { overflow-x: clip; }   /* no horizontal page scroll; clip keeps position: sticky working */
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 999px; }
::selection { background: var(--text); color: var(--bg); }

.wrap { width: 100%; max-width: 1328px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
@media (min-width: 1200px) { .section { padding-block: 160px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; translate: 0 -160%; transition: translate .4s var(--ease); }
.skip:focus { translate: none; }

.i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[data-theme="light"] .when-dark, [data-theme="dark"] .when-light { display: none; }

.card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); }
.av { position: relative; flex: none; display: block; overflow: hidden; border-radius: 50%; background: var(--tile); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.orb { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; background-image: var(--gradient); }
.orb-lg { width: 32px; height: 32px; }

/* ---------- type ---------- */
.head { max-width: 760px; }
.head-c { margin-inline: auto; text-align: center; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.02em; }
.lead { margin-top: 20px; max-width: 36ch; font-size: var(--fs-lead); line-height: 1.3; letter-spacing: -.01em; color: var(--lead-color); }
.head-c .lead { margin-inline: auto; }

/* ---------- reveal: fade up once on entering view (staggered by --d) ---------- */
.js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; translate: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; white-space: nowrap; font-size: 14px; font-weight: 500;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { box-shadow: var(--sh-lift); }
.btn-soft { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--sh); }
.btn-soft:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 16px; }
.nudge { transition: transform .5s var(--ease); }
:is(.btn, .sq-btn):hover .nudge { transform: translateX(2px); }
.icon-btn, .round-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--sh); transition: transform .5s var(--ease); }
.round-btn { width: 44px; height: 44px; }
.icon-btn:hover, .round-btn:hover { transform: translateY(-2px); }
.sq-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); box-shadow: var(--sh); cursor: pointer; transition: transform .3s var(--ease); }
.sq-btn:hover { transform: translateY(-2px); }
.sq-btn:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.sq-grad { border: 0; background-image: var(--gradient); color: #fff; }
.sq-grad.pressed { transform: scale(.9); }

/* =========================================================
   NAV — wordmark left, a row of pills right; glass appears once you scroll
   ========================================================= */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; border-bottom: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease); }
.nav.scrolled { background: var(--glass); border-color: var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 72px; }
.logo { font-size: 20px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.logo-lg { font-size: 28px; }
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--sh); font-size: 14px; transition: transform .5s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill.is-on::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background-image: var(--gradient); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-cta { height: 40px; }
.menu-btn { display: none; }
@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
}

.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; height: 100dvh; padding: 0 24px; background: var(--bg); opacity: 0; transition: opacity .4s var(--ease); }
.menu.open { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.menu-links { display: flex; flex-direction: column; margin-top: 40px; }
.menu-links a { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 44px; line-height: 1; letter-spacing: -.03em;
  opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(.05s + var(--i) * .06s); }
.menu.open .menu-links a { opacity: 1; translate: none; }
.menu-links .orb-lg { width: 24px; height: 24px; }
.menu-cta { margin: auto 0 32px; height: 56px; font-size: 16px; }

/* =========================================================
   HERO — sans headline, then the prompt → collage loop
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 128px; }
@media (min-width: 1200px) { .hero { padding-top: 168px; } }
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-in { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease) var(--d), translate .9s var(--ease) var(--d); }
.ready .hero-in { opacity: 1; translate: none; }

.hero-title { font: 500 var(--fs-hero)/.95 var(--sans); letter-spacing: -.03em; }
.hero-title > span { display: inline-block; white-space: nowrap; }
.hero-lead { margin: 20px auto 0; max-width: 34ch; }
@media (min-width: 1200px) { .hero-lead { margin-top: 24px; } }
/* scene bars under the stage: which example is playing, click to jump */
.scenes { position: absolute; z-index: 20; left: 0; bottom: 24px; display: flex; gap: 6px; }
.scenes button { position: relative; width: 32px; height: 6px; overflow: hidden; border-radius: 999px; background: var(--line-strong); }
.scenes button::after { content: ""; position: absolute; inset: -8px 0; }
.scenes span { position: absolute; inset: 0; border-radius: 999px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.scenes [aria-pressed="true"] span { transform: none; }
@media (max-width: 767px) { .scenes { display: none; } }
.hero-ctas { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }

/* stage: a fixed design canvas (1200×720, or 390×560 on phones) scaled to the container */
.stage { position: relative; transition: opacity .7s; }
.js .stage:not(.sized) { opacity: 0; }
.canvas { position: absolute; top: 0; left: 50%; transform-origin: top center; }
#heroStage { margin-top: 40px; }
@media (min-width: 1200px) { #heroStage { margin-top: 56px; } }


/* prompt box: an SVG outline with three folder tabs and a notch for its two buttons */
.prompt { position: relative; width: 100%; }
.prompt-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .06)) drop-shadow(0 1px 2px rgba(0, 0, 0, .05)); }
.prompt-shape path { fill: var(--surface); stroke: var(--line); transition: fill .4s var(--ease); }
.prompt-body { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 29px 24px 72px 20px; }
.prompt-label { font-size: 14px; color: var(--text-2); }
.prompt-text, .prompt textarea { margin-top: 8px; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; color: var(--text-2); }
.prompt textarea { width: 100%; padding: 0; border: 0; outline: 0; resize: none; background: transparent; }
.prompt textarea::placeholder { color: var(--text-3); }
@media (min-width: 1200px) {
  .prompt-body { min-height: 230px; }
  .prompt-label { font-size: 15px; }
  .prompt-text, .prompt textarea { font-size: 24px; }
}
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; translate: 0 .15em; background: var(--text-2); animation: caret 1s steps(1) infinite; }
.caret.off { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.prompt-btns { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; }
.hero-prompt { position: absolute; z-index: 10; top: 0; left: 0; transform-origin: top left; transition: transform .9s var(--ease); }
.prompt.flash .prompt-shape path { fill: var(--accent-soft); }
/* a reference image attached to the CTA prompt */
.ref-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 10px; padding: 4px 6px 4px 4px; border-radius: 999px; background: var(--tile); font-size: 12.5px; color: var(--text-2); }
.ref-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ref-chip button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.ref-chip button:hover { background: var(--line-strong); }

/* floating collage pieces: .fl moves with scroll + cursor, .fl-in plays the entrance, .bob idles */
.fl { position: absolute; z-index: var(--z, 2); will-change: transform; }
.fl-in { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, 24px)); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.2s + var(--i) * .1s); }
.collage.on .fl-in { opacity: 1; transform: none; }
.collage.out .fl-in { opacity: 0; transform: translateY(-10px); transition-duration: .45s; transition-delay: calc(var(--i) * .03s); }
.bob { animation: bob var(--bob-dur, 7s) ease-in-out var(--bob-delay, 0s) infinite; }
@keyframes bob { 50% { transform: translate3d(0, -4px, 0); } }
.rot { rotate: var(--r, 0deg); }
.photo { position: relative; overflow: hidden; border-radius: 18px; background: var(--tile); box-shadow: var(--sh); opacity: 0; transform: scale(.96); filter: blur(16px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.collage.on .photo { opacity: 1; transform: none; filter: none; }
.photo::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.collage.on .photo::after { animation: shutter .9s var(--ease) .15s; }
@keyframes shutter { 0% { opacity: 0; } 12% { opacity: .85; } 100% { opacity: 0; } }
.collage.out .photo { opacity: 0; transform: scale(.98); filter: blur(8px); transition-duration: .5s; }
.fl[data-i="0"] .fl-in { transform: none; transition-delay: 0s; opacity: 1; }
.scaled { transform-origin: top left; }

/* hero fragments */
.stat { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 17px; letter-spacing: -.02em; }
.metric { width: 220px; padding: 12px 16px 16px; border-radius: 18px; }
.metric-l { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.metric-v { margin-top: 12px; text-align: right; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.product { width: 240px; overflow: hidden; padding: 10px; border-radius: 14px; }
.product-h { padding: 0 4px 10px; font-size: 13px; }
.product-row { display: flex; gap: 8px; }
.product-row > div { width: 178px; flex: none; }
.product-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--tile); }
.product-img img, .minig img { width: 100%; height: 100%; object-fit: cover; }
.product-l { margin-top: 8px; font-size: 7.5px; letter-spacing: .04em; color: var(--text-2); text-transform: uppercase; }
.product-t { margin-top: 4px; font-size: 11px; line-height: 1.3; }
.pchip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 24px 10px 10px; border-radius: 18px; background: var(--tile); box-shadow: var(--sh); font-size: 14px; white-space: nowrap; }
.pchip .av { width: 36px; height: 36px; }
.minig { width: 190px; padding: 6px; border-radius: 10px; }
.minig-a { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--tile); }
.minig-a span { position: absolute; top: 8px; left: 8px; max-width: 70%; font-size: 10px; line-height: 1.25; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.minig-b { position: relative; display: flex; align-items: flex-end; height: 86px; margin-top: 6px; padding: 8px; overflow: hidden; border-radius: 4px; background: var(--tile); }
.minig-b span { position: relative; z-index: 1; font-size: 10px; }
.minig-b img { position: absolute; inset: 0; opacity: .95; mix-blend-mode: multiply; }
[data-theme="dark"] .minig-b img { mix-blend-mode: normal; }
.minig-c { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.minig-c div { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--tile); }
.minig-c div:last-child img { object-position: left; }

/* =========================================================
   LOGOS
   ========================================================= */
.logos { overflow: hidden; padding-block: 40px; border-block: 1px solid var(--line); }
@media (min-width: 1200px) { .logos { padding-block: 48px; } }
.logos-title { text-align: center; font-size: 13px; color: var(--text-2); }
.logos-track { position: relative; margin-top: 32px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; align-items: center; gap: 64px; width: max-content; padding-right: 64px; animation: marquee 40s linear infinite; }
@media (min-width: 1200px) { .marquee { gap: 96px; padding-right: 96px; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee li { font-size: 22px; font-weight: 500; white-space: nowrap; color: var(--text-3); }
.lg-a { letter-spacing: -.04em; } .lg-b { letter-spacing: .3em; } .lg-c { letter-spacing: -.02em; text-transform: lowercase; }
.marquee .lg-d { letter-spacing: .02em; text-transform: uppercase; font-size: 15px; } .lg-e { letter-spacing: -.03em; } .lg-f { letter-spacing: .18em; }
.marquee .lg-g { letter-spacing: -.05em; font-size: 24px; } .lg-h { letter-spacing: -.01em; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--bg); transition: opacity .7s var(--ease), visibility 0s .7s; }
.js .loader { display: grid; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-box { position: relative; width: 320px; height: 168px; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.loader.done .loader-box { transform: translateY(-24px) scale(1.04); opacity: 0; }
.loader-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader-shape path { fill: none; stroke: var(--text); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease), fill .5s var(--ease) .7s, stroke .5s .7s; }
.loader.drawn .loader-shape path { stroke-dashoffset: 0; fill: var(--surface); stroke: var(--line-strong); }
.loader-label, .loader-text { position: absolute; left: 18px; opacity: 0; transition: opacity .4s var(--ease) .5s; }
.loader-label { top: 26px; font-size: 13px; color: var(--text-2); }
.loader-text { top: 50px; right: 18px; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; color: var(--text-2); }
.loader.drawn :is(.loader-label, .loader-text) { opacity: 1; }
.loader-plus { position: absolute; right: 52px; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); box-shadow: var(--sh); opacity: 0; scale: .6; transition: opacity .4s var(--ease) .55s, scale .5s var(--spring) .55s; }
.loader.drawn .loader-plus { opacity: 1; scale: 1; }
.loader-go { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; background-image: var(--gradient); box-shadow: var(--sh); opacity: 0; scale: .6; transition: opacity .4s var(--ease) .6s, scale .5s var(--spring) .6s; }
.loader.drawn .loader-go { opacity: 1; scale: 1; }
.loader-go.pressed { scale: .86; transition-delay: 0s; }
.loader-count { position: absolute; right: 24px; bottom: 22px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
/* if the script never runs, the loader still gets out of the way */
.js .loader:not(.done) { animation: loaderBail 0s 5s forwards; }
@keyframes loaderBail { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }


/* =========================================================
   FOOTER
   ========================================================= */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 1200px) { .foot { padding-top: 96px; } }
.foot-grid { display: grid; gap: 48px; }
@media (min-width: 1200px) { .foot-grid { grid-template-columns: 1.2fr 2fr; } }
.foot-tag { margin-top: 8px; color: var(--text-2); }
.news { display: flex; align-items: center; max-width: 380px; margin-top: 32px; padding: 4px 4px 4px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh); }
.news:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.news input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.news input::placeholder { color: var(--text-2); }
.news .btn { gap: 6px; font-weight: 400; }
.news-note { margin-top: 12px; font-size: 12px; color: var(--text-2); }
.news-note.err { color: var(--accent); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 768px) { .foot-cols { grid-template-columns: repeat(4, 1fr); } }
.foot-cols h2 { font-size: 13px; color: var(--text-2); }
.foot-cols ul { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.foot-cols a { transition: color .3s; }
.foot-cols a:hover { color: var(--text-2); }
.foot-legal { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.foot-legal p:last-child { display: flex; gap: 20px; }
.foot-legal a:hover { color: var(--text); }
@media (min-width: 768px) { .foot-legal { flex-direction: row; } }
@media (min-width: 1200px) { .foot-legal { margin-top: 96px; } }


/* =========================================================
   SHARED SECTION PARTS — every section speaks the hero's language:
   a pill kicker, a sans display title, white cards, ink + one gradient
   ========================================================= */
.head h2 { margin-top: 20px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh); font-size: 13px; }
.kicker .orb { width: 12px; height: 12px; }
.tool-label { font-size: 12.5px; color: var(--text-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row-c { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--sh); font-size: 13px; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), transform .4s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.chip span { color: var(--text-3); font-variant-numeric: tabular-nums; }
.chip[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-checked="true"] span { color: inherit; opacity: .6; }
.tag-pill { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .86); color: #111; font-size: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); transition: opacity .3s; }
.grad-text { background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background-image: var(--gradient); }
.core-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; background-image: var(--gradient); box-shadow: var(--sh); }
/* range sliders: ink track, gradient fill up to the thumb */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, #e5484d, #f08a8e calc(var(--p) * .6), #c9c3f5 var(--p), var(--line-strong) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, #e5484d, #f08a8e calc(var(--p) * .6), #c9c3f5 var(--p), var(--line-strong) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--sh-lift); transition: transform .3s var(--spring); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--sh-lift); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--text); outline-offset: 2px; }

/* every section opens on a hairline, like an index page; the lead sits opposite the title */
.rule { padding-top: 28px; border-top: 1px solid var(--line-strong); }
/* on a .wrap the line must stay inside its side padding */
.wrap.rule { border-top: 0; background: linear-gradient(var(--line-strong), var(--line-strong)) 24px 0 / calc(100% - 48px) 1px no-repeat; }
.side-lead { margin-top: 0; max-width: 32ch; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes breathe { to { transform: scale(1.12); opacity: .7; } }

/* =========================================================
   01 PROBLEMS — a turning wheel of problems; the prompt types each fix
   ========================================================= */
.wheel-grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 1000px) { .wheel-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; margin-top: 80px; } }
.wheel { position: relative; height: 300px; -webkit-mask: linear-gradient(transparent, #000 24%, #000 76%, transparent); mask: linear-gradient(transparent, #000 24%, #000 76%, transparent); }
@media (min-width: 1200px) { .wheel { height: 440px; } }
.wheel-arrow { position: absolute; left: 0; top: 50%; width: clamp(26px, 3.4vw, 48px); height: auto; translate: 0 -50%; stroke-width: 2; color: var(--text); }
.wheel-list { position: absolute; inset: 0 0 0 clamp(40px, 4.6vw, 68px); }
.wheel-list button { position: absolute; left: 0; top: 50%; transform-origin: left center; font-size: clamp(30px, 4.4vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; white-space: nowrap; color: var(--text);
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); will-change: transform; }
.wheel-side { display: grid; gap: 14px; width: 100%; max-width: 560px; }
.delta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; }
.delta span { display: block; font-size: 12.5px; color: var(--text-2); }
.delta b { display: block; margin-top: 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.delta div:first-child b { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.delta-arrow { color: var(--text-3); }
.delta .pop { animation: popIn .6s var(--ease) both; }

/* =========================================================
   02 PRODUCT — a spec card, a dot-matrix readout and the shot it changes, overlapping
   ========================================================= */
.comp { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 1000px) { .comp { grid-template-columns: 5fr 7fr; gap: 0; margin-top: 72px; align-items: start; } }
.comp-card { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 28px; }
@media (min-width: 1000px) { .comp-card { min-height: 500px; margin-top: 48px; margin-right: -56px; padding: 36px; } }
.comp-title { font-size: clamp(40px, 4.6vw, 66px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.comp-desc { max-width: 34ch; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.comp-ctrl { min-height: 40px; }
.comp-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.comp-meta dt { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.comp-meta dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.swap { animation: popIn .6s var(--ease) both; }
.kit-swatches { display: flex; gap: 10px; }
.kit-swatches button { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .4s var(--spring), box-shadow .3s; }
.kit-swatches button:hover { transform: scale(1.1); }
.kit-swatches [aria-checked="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.comp-vis { position: relative; height: 440px; }
@media (min-width: 640px) { .comp-vis { height: 540px; } }
@media (min-width: 1000px) { .comp-vis { height: 640px; } }
.comp-dots { position: absolute; right: 0; top: 0; width: 70%; height: 64%; overflow: hidden; border-radius: 28px; }
.comp-dots canvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.comp-hint { position: absolute; left: 18px; top: 16px; padding: 5px 10px; border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--text-2); pointer-events: none; }
.comp-slot { position: absolute; left: 0; bottom: 0; width: 58%; height: 72%; display: flex; align-items: flex-end; }
@media (min-width: 1000px) { .comp-slot { left: 12%; width: 48%; } }
.comp-photo { position: relative; z-index: 3; flex: none; margin: 0; overflow: hidden; border-radius: 22px; background: var(--tile); box-shadow: var(--sh-lift); transition: width .8s var(--ease), height .8s var(--ease); }
.comp-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), filter .8s var(--ease); }
.comp-photo.fade img { opacity: 0; }
.comp-photo img[data-light="golden"] { filter: sepia(.4) saturate(1.5) hue-rotate(-12deg) brightness(1.06) contrast(1.05); }
.comp-photo img[data-light="blue"] { filter: saturate(1.2) hue-rotate(18deg) brightness(.92) contrast(1.1); }
.comp-photo img[data-light="flash"] { filter: contrast(1.35) brightness(1.12) saturate(.85); }
.kit-tint { position: absolute; inset: 0; background: var(--kit, #e9dcc9); mix-blend-mode: multiply; opacity: .38; transition: background-color .6s var(--ease), opacity .6s; pointer-events: none; }
.comp-light { position: absolute; inset: 0; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), rgb(var(--lc, 255 214 170) / .75), transparent 58%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .6s; pointer-events: none; }
.comp:not([data-tool="0"]) .kit-tint { opacity: 0; }
.comp[data-tool="1"] .comp-light { opacity: 1; }
.cm { position: absolute; z-index: 2; width: 16px; height: 16px; border: 2px solid #fff; opacity: 0; transition: opacity .4s; }
.comp[data-tool="2"] .cm { opacity: 1; }
.cm.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; } .cm.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.cm.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; } .cm.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.comp-stat { position: absolute; z-index: 4; right: 3%; top: 70%; gap: 8px; font-variant-numeric: tabular-nums; }
.comp-stat small { font-size: 12px; letter-spacing: 0; color: var(--text-2); }

/* =========================================================
   03 HOW IT WORKS — four step cards; the active one plays its miniature
   ========================================================= */
.flow { margin-top: 48px; }
@media (min-width: 1000px) { .flow { margin-top: 72px; } }
.flow-line { height: 2px; margin-bottom: 24px; overflow: hidden; border-radius: 999px; background: var(--line-strong); }
.flow-line i { display: block; height: 100%; background-image: var(--gradient); transform-origin: left; transform: scaleX(.25); transition: transform .9s var(--ease); }
.flow-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 82%); gap: 12px; margin-inline: -24px; padding: 8px 24px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
@media (min-width: 1000px) { .flow-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 8px 0 0; overflow: visible; } }
.fc { scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; min-height: 460px; padding: 20px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh); outline-offset: 4px;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.fc:focus-visible { border-radius: 26px; }
.fc.on { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; box-shadow: var(--sh-lift); transform: translateY(-6px); }
.fc-head { display: flex; align-items: baseline; gap: 10px; }
.fc-n { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fc h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1; letter-spacing: -.04em; color: var(--text-3); transition: color .5s var(--ease); }
.fc.on h3 { color: var(--text); }
.fc-ui { position: relative; flex: 1; min-height: 230px; overflow: hidden; border-radius: 18px; background: var(--tile); }
.fc-cap { font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.fc-cap b { font-weight: 500; color: var(--text); }
/* 01 prompt */
.mini-prompt { position: absolute; left: 12px; right: 12px; top: 50%; min-height: 150px; padding: 14px 14px 56px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh); translate: 0 -50%; }
.mini-prompt span { font-size: 12px; color: var(--text-2); }
.mini-prompt p { margin-top: 6px; font-size: 15px; line-height: 1.38; color: var(--text-2); }
.fc.on .mini-prompt p::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; translate: 0 .15em; background: var(--text-2); animation: caret 1s steps(1) infinite; }
.mini-prompt .core-go { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 9px; }
/* 02 generate */
.fc-takes { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 6px; padding: 6px 6px 48px; }
.fc-takes img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.fc.on .fc-takes img { animation: takeIn .9s var(--ease) both; }
.fc.on .fc-takes img:nth-child(2) { animation-delay: .15s; } .fc.on .fc-takes img:nth-child(3) { animation-delay: .3s; } .fc.on .fc-takes img:nth-child(4) { animation-delay: .45s; }
@keyframes takeIn { from { opacity: 0; transform: scale(.9); filter: blur(10px); } }
.fc-badge { position: absolute; left: 50%; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font-size: 12px; white-space: nowrap; translate: -50% 0; }
/* 03 edit */
.fc-edit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fc-sel { position: absolute; left: 72%; top: 40%; width: 26%; height: 24%; border-radius: 12px; border: 2px dashed #fff; box-shadow: 0 0 0 999px rgba(0, 0, 0, .28); }
.fc.on .fc-sel { animation: selIn .8s var(--spring) .2s both; }
@keyframes selIn { from { opacity: 0; transform: scale(.6); } }
.fc-chip { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background-image: var(--gradient); color: #fff; font-size: 12px; box-shadow: var(--sh); }
.fc.on .fc-chip { animation: popIn .6s var(--ease) .7s both; }
/* 04 publish */
.fc-pub { display: grid; align-content: center; gap: 8px; padding: 12px; }
.fc-pub li { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px 13px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
.fc-pub b { font-weight: 500; }
.fc-pub span { grid-column: 1; font-size: 11.5px; color: var(--text-2); }
.fc-pub i { position: relative; grid-row: 1 / 3; grid-column: 2; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); }
.fc-pub i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--gradient) center / cover; }
.fc-pub i::before { content: ""; position: absolute; z-index: 1; left: 8px; top: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.fc.on .fc-pub i::after { animation: tick .5s var(--spring) both; animation-delay: calc(.25s + var(--k) * .3s); }
.fc.on .fc-pub i::before { animation: popIn .3s both; animation-delay: calc(.35s + var(--k) * .3s); }
@keyframes tick { from { transform: scale(0); } }

/* =========================================================
   04 WORK — square tiles; the prompt is the title
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: 48px; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 16px; } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(4, 1fr); margin-top: 64px; } }
.work-grid li { animation: panelIn .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.wk { display: grid; gap: 12px; width: 100%; text-align: left; cursor: zoom-in; }
.wk:focus-visible { border-radius: 18px; }
.wk-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--tile); }
.wk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wk:hover .wk-img img { transform: scale(1.05); }
.wk-img .core-go { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.wk:hover .core-go, .wk:focus-visible .core-go { opacity: 1; transform: none; }
@media (hover: none) { .wk-img .core-go { opacity: 1; transform: none; } }
.wk-t { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.wk-m { margin-top: -6px; font-size: 13px; color: var(--text-2); }
.work-more { display: flex; justify-content: center; margin-top: 48px; }
.viewer { width: min(1040px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: var(--sh-lift); overflow: auto; }
.viewer::backdrop { background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viewer[open] { animation: panelIn .5s var(--ease); }
.viewer-card { position: relative; display: grid; }
@media (min-width: 860px) { .viewer-card { grid-template-columns: 1.15fr 1fr; } }
.viewer-img { display: grid; place-items: center; min-height: 320px; background: var(--tile); }
.viewer-img img { width: 100%; height: 100%; max-height: 78dvh; object-fit: contain; }
.viewer-side { display: flex; flex-direction: column; gap: 10px; padding: 32px; }
.viewer-label { margin-top: 18px; font-size: 13px; color: var(--text-2); }
.viewer-prompt { font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
.viewer-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.viewer-dl dt { color: var(--text-2); } .viewer-dl dd { margin: 0; }
.viewer-btns { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.viewer-btns .btn { flex: 1; }
.viewer-x { position: absolute; top: 14px; right: 14px; }

/* =========================================================
   05 RESULTS + CUSTOMERS — a bento of numbers, notes and shots, on graph paper
   ========================================================= */
.bento { position: relative; isolation: isolate; display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 16px; margin-top: 72px;
  grid-template-areas: "s1 q1 q1 p1" "p2 s2 q2 p1" "q3 q3 s3 p3"; }
  .a-s1 { grid-area: s1; } .a-s2 { grid-area: s2; } .a-s3 { grid-area: s3; } .a-q1 { grid-area: q1; } .a-q2 { grid-area: q2; } .a-q3 { grid-area: q3; }
  .a-p1 { grid-area: p1; } .a-p2 { grid-area: p2; } .a-p3 { grid-area: p3; } }
.bento::before { content: ""; position: absolute; inset: -64px -48px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--line-strong) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent); }
.bt { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 200px; margin: 0; padding: 22px; overflow: hidden; border-radius: 24px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bt:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
@media (max-width: 999px) { .bt-quote { grid-column: span 2; } .bt-photo { min-height: 280px; } }
.bt-top { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.bt-stat b { display: block; font-size: clamp(48px, 5vw, 76px); font-weight: 500; line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.bt-stat div p { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.bt-quote blockquote { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.32; letter-spacing: -.02em; }
.bt-who { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.bt-who b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.bt-who .av { width: 40px; height: 40px; }
.bt-photo { padding: 0; color: #fff; background: var(--tile); }
.bt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bt-photo:hover img { transform: scale(1.04); }
.bt-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); pointer-events: none; }
.bt-cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; }
.bt-cap b { display: block; font-size: clamp(32px, 3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.bt-cap span { display: block; margin-top: 6px; font-size: 13px; opacity: .88; }

/* =========================================================
   06 REACH — the globe, with a city list that steers it
   ========================================================= */
.reach { position: relative; overflow: hidden; padding-top: 96px; }
@media (min-width: 1200px) { .reach { padding-top: 160px; } }
.reach-top { display: grid; gap: 24px; }
@media (min-width: 1000px) { .reach-top { grid-template-columns: 1fr auto; align-items: end; } .reach-top .lead { max-width: 34ch; } }
.globe-wrap { position: relative; max-width: 1440px; margin: 24px auto 0; }
.globe { position: relative; height: 420px; }
@media (min-width: 768px) { .globe { height: 560px; } }
@media (min-width: 1200px) { .globe { height: 680px; } }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe canvas:active { cursor: grabbing; }
.marker { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.marker i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background-image: var(--gradient); box-shadow: 0 0 0 3px var(--bg); }
.marker i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid #f08a8e; animation: ping 2.4s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.marker b { position: absolute; left: 14px; top: -14px; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--sh); font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .4s, transform .5s var(--ease); }
.marker.on b { opacity: 1; transform: none; }
.cities { position: relative; z-index: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 24px 12px; }
@media (min-width: 1000px) { .cities { position: absolute; left: max(24px, calc(50% - 640px)); top: 60px; display: grid; gap: 2px; padding: 0; overflow: visible; } }
.cities button { position: relative; display: grid; grid-template-columns: 14px auto auto; align-items: baseline; gap: 0 10px; padding: 6px 0; text-align: left; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: var(--text-3); white-space: nowrap; transition: color .4s var(--ease); }
.cities button i { width: 7px; height: 7px; border-radius: 50%; align-self: center; background: transparent; transition: background .3s; }
.cities button span { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cities button:hover, .cities [aria-pressed="true"] { color: var(--text); }
.cities [aria-pressed="true"] i { background-image: var(--gradient); }
@media (max-width: 999px) { .cities button { height: 36px; padding: 0 14px; display: inline-flex; gap: 8px; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; letter-spacing: 0; } .cities [aria-pressed="true"] { background: var(--text); color: var(--bg); } .cities [aria-pressed="true"] span { color: inherit; opacity: .6; } }
.live-pill { position: absolute; z-index: 2; left: max(24px, calc(50% - 640px)); bottom: 28px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; }
.live-pill b { font-weight: 500; font-variant-numeric: tabular-nums; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background-image: var(--gradient); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #f08a8e; animation: ping 2s var(--ease) infinite; }

/* =========================================================
   07 USE CASES — the prompt box is the search
   ========================================================= */
.usearch { max-width: 760px; margin: 48px auto 0; display: grid; gap: 20px; }
.usearch-body { min-height: 150px; padding-bottom: 64px; }
.usearch input { margin-top: 8px; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; }
.usearch input::placeholder { color: var(--text-3); }
.usearch input::-webkit-search-cancel-button { display: none; }
.uc-count { margin-top: 40px; text-align: center; font-size: 13px; color: var(--text-2); }
/* use cases: hairline rows — industry, the prompt, channels, use */
.uc-grid { display: grid; margin-top: 18px; border-top: 1px solid var(--line-strong); }
.uc { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); animation: panelIn .5s var(--ease) both; }
@media (min-width: 900px) { .uc { grid-template-columns: 170px 1fr 200px auto; gap: 32px; align-items: center; padding: 26px 0; } }
.uc-ind { display: grid; font-size: 13px; color: var(--text-2); }
.uc-ind b { font-weight: 500; color: var(--text); }
.uc-main small { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-2); }
.uc-main p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; letter-spacing: -.015em; transition: transform .6s var(--ease); }
.uc:hover .uc-main p { transform: translateX(4px); }
.uc mark { background: none; color: inherit; box-shadow: inset 0 -.42em 0 rgba(240, 138, 142, .35); }
.uc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-tags span { padding: 4px 10px; border-radius: 999px; background: var(--tile); font-size: 11.5px; color: var(--text-2); }
.uc-use { display: inline-flex; align-items: center; justify-self: start; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease); }
.uc-use:hover { background: var(--text); color: var(--bg); }
.uc-use .i { transition: transform .5s var(--ease); }
.uc-use:hover .i { transform: translateX(3px); }
.uc-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--text-2); }
.uc-empty button { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }

/* =========================================================
   08 PRICING — a volume slider; the plan it fits glows
   ========================================================= */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; transition: color .4s var(--ease); }
.seg :is([aria-checked="true"], [aria-selected="true"]) { color: var(--bg); }
.seg [aria-checked="true"] .grad-text { -webkit-text-fill-color: currentColor; }
.seg-pill { position: absolute; top: 4px; left: 0; height: 36px; border-radius: 999px; background: var(--text); transition: transform .6s var(--ease), width .6s var(--ease); }
.price-ctl { display: flex; justify-content: center; margin-top: 32px; }
.roi-n { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
.roi-n b { margin-right: 8px; font-size: 44px; font-weight: 500; letter-spacing: -.045em; color: var(--text); font-variant-numeric: tabular-nums; }
.roi-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.volume { display: grid; gap: 20px; margin-top: 48px; padding: 24px 28px; border-radius: 26px; }
@media (min-width: 900px) { .volume { grid-template-columns: 220px 1fr 260px; gap: 40px; align-items: center; } }
.vol-save { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.vol-save b { display: block; margin: 4px 0 2px; font-size: 32px; font-weight: 500; letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.plans { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); transition: border-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease); }
.plan::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -170px; width: 460px; height: 300px; margin-left: -230px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 138, 142, .38), rgba(201, 195, 245, .16) 60%, transparent); opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.plan.rec { border-color: var(--line-strong); box-shadow: var(--sh-lift); transform: translateY(-6px); }
.plan.rec::before { opacity: 1; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan h3 { font-size: 20px; letter-spacing: -.02em; }
.plan-rec { padding: 5px 11px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 12px; opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--spring); }
.plan.rec .plan-rec { opacity: 1; transform: none; }
.plan-for { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 28px; }
.plan-price b { font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 13px; color: var(--text-2); }
.btn-line { border: 1px solid var(--line-strong); color: var(--text); }
.btn-line:hover { background: var(--tile); }
.plan .btn { width: 100%; margin-top: 24px; }
.plan.rec .btn { border-color: var(--text); background: var(--text); color: var(--bg); }
.plan-inc { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.plan ul { display: grid; gap: 11px; margin-top: 14px; font-size: 14.5px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan li .i { color: var(--text-3); transition: color .5s; }
.plan.rec li .i { color: #f08a8e; }
.plans-note { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--text-2); }
.plans-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ questions: hairline rows; the plus turns on hover */
.chat-sugg { display: grid; margin-top: 32px; border-top: 1px solid var(--line-strong); }
.q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line-strong); text-align: left; font-size: 16px; letter-spacing: -.01em; transition: color .3s, padding .5s var(--ease); }
.q .i { color: var(--text-3); transition: transform .5s var(--ease), color .3s; }
.q:hover { padding-left: 8px; }
.q:hover .i { transform: rotate(90deg); color: var(--text); }
.q.asked { color: var(--text-3); }
.q:focus-visible { border-radius: 8px; }
/* CTA: a soft glow breathes behind the prompt */
.cta-prompt { position: relative; isolation: isolate; }
.cta-prompt::before { content: ""; position: absolute; inset: -20% -25%; z-index: -1; background: radial-gradient(closest-side, rgba(240, 138, 142, .22), rgba(201, 195, 245, .12) 55%, transparent); filter: blur(20px); animation: breathe 6s ease-in-out infinite alternate; pointer-events: none; }

/* =========================================================
   10 FAQ — a chat
   ========================================================= */
.chat-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .chat-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.chat { display: flex; flex-direction: column; height: 600px; border-radius: 28px; overflow: hidden; }
@media (max-width: 767px) { .chat { height: 540px; } }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-top p { display: grid; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.chat-top b { color: var(--text); font-weight: 500; font-size: 14px; }
.aura-av { width: 36px; height: 36px; flex: none; border-radius: 50%; background-image: var(--gradient); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .35); animation: orbit 9s linear infinite; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow-y: auto; scrollbar-width: thin; }
.msg { max-width: 82%; padding: 12px 16px; font-size: 15px; line-height: 1.45; animation: panelIn .45s var(--ease); }
.msg.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--text); color: var(--bg); }
.msg.nf { align-self: flex-start; border-radius: 20px 20px 20px 6px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.msg.nf a { text-decoration: underline; text-underline-offset: 3px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: bounce 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); background: #f08a8e; } }
.chat-form { display: flex; align-items: center; gap: 8px; margin: 12px; padding: 4px 4px 4px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile); }
.chat-form:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.chat-form input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.chat-form input::placeholder { color: var(--text-3); }
.chat-form .sq-btn { width: 40px; height: 40px; border-radius: 50%; }

/* =========================================================
   11 CTA — the hero's prompt box, working
   ========================================================= */
.cta { text-align: center; }
.cta-title { max-width: 15ch; margin-inline: auto; font-size: clamp(40px, 6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.cta-prompt { max-width: 600px; margin: 56px auto 0; text-align: left; }
.cta-prompt > .chip-row { margin-top: 20px; }
.cta-note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-2); }
.gen { margin-top: 20px; }
.gen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gen-grid i { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--tile); background-size: cover; background-position: center; }
.gen-grid i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 1.2s linear infinite; }
.gen-grid i.done::after { animation: none; opacity: 0; transition: opacity .4s; }
.gen-grid i.done { animation: takeIn .7s var(--ease); }
@keyframes shimmer { to { background-position: -120% 0; } }
.gen-cap { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--text-2); }

/* the footer's last word — sized to its container (cqi) so it always fits the wrap edge to edge;
   line-height 1 keeps the ascenders inside the box, because background-clip: text only paints inside it */
.foot .wrap { container-type: inline-size; }
.foot-word { margin: 72px 0 -.14em; font-size: 22cqi; font-weight: 500; line-height: 1; letter-spacing: -.065em; white-space: nowrap; text-align: center; background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; background-size: 200% 100%; animation: sheen 12s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }

/* ---------- small details ---------- */
/* the gradient buttons catch the light: the gradient slides on hover */
.sq-grad, .loader-go, .core-go { background-size: 180% 180%; background-position: 0% 0%; transition: transform .3s var(--ease), background-position .8s var(--ease); }
.sq-grad:hover, .wk:hover .core-go { background-position: 100% 100%; }
/* every gradient orb turns slowly, like a lens catching light */
.orb { animation: orbit 9s linear infinite; }
@keyframes orbit { to { rotate: 360deg; } }
/* logos: hovering the strip pauses it and lifts the one under the cursor */
.logos-track:hover .marquee { animation-play-state: paused; }
.marquee li { transition: color .4s var(--ease); }
.marquee li:hover { color: var(--text); }
/* reduced motion: loops stop, transitions jump to their end state, the loader never shows */
@media (prefers-reduced-motion: reduce) {
  .bob, .caret, .marquee, .collage.on .photo::after, .orb, .aura-av, .foot-word, .cta-prompt::before, .marker i::after, .live-dot::after { animation: none; }
  .loader { display: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
/* grid children may shrink below their content (the scrolling step pills), so nothing pushes past the screen */
.chat-grid > *, .comp > *, .wheel-grid > *, .volume > * { min-width: 0; }

/* =========================================================
   DIALOGS — sign-up and the small print share the work viewer's frame
   ========================================================= */
.sheet { width: min(560px, calc(100% - 24px)); padding: 40px 32px 32px; }
.sheet .h2 { padding-right: 48px; }
.sheet-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: var(--text-2); }
.sheet h3 { margin-top: 28px; font-size: 17px; }
.sheet h3 + p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.sheet > .btn { margin-top: 28px; }
.signup-q { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--tile); }
.signup-q p { margin-top: 6px; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }
.signup-q small { display: block; margin-top: 10px; font-size: 13px; color: var(--text-2); }
