/* Creor.io landing
   Shape rule: buttons are full pills, media and tiles use --r (20px), small chips use --r-sm (10px). */

:root {
  --bg: #09090b;
  --bg-2: #111114;
  --bg-3: #18181c;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #8a8a94;
  --accent: #7cb8ff;
  --accent-ink: #06101d;
  --accent-soft: rgb(124 184 255 / 0.16);

  --r: 20px;
  --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index scale: content 1, nav 50, grain 60 */
  --z-nav: 50;
  --z-grain: 60;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  max-width: 18ch; text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 550; font-size: 16px; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn i { font-size: 18px; transition: transform 0.35s var(--ease); }
.btn:hover i { transform: translateX(3px); }
/* Glow button: dark key with a light-blue underglow */
.btn--primary {
  position: relative; isolation: isolate; color: var(--text);
  background: linear-gradient(180deg, #171a22, #0b0d12);
  border: 1px solid rgb(124 184 255 / 0.30);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.10), 0 12px 32px -12px rgb(124 184 255 / 0.55);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--primary::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; border-radius: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgb(124 184 255 / 0.55);
  transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
.btn--primary:hover { border-color: rgb(124 184 255 / 0.6); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 16px 44px -12px rgb(124 184 255 / 0.75); }
.btn--primary:hover::after { left: 8%; right: 8%; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgb(255 255 255 / 0.32); background: rgb(255 255 255 / 0.04); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgb(9 9 11 / 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__inner > .btn { justify-self: end; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 21px; letter-spacing: -0.04em; }
.logo__mark { width: 28px; height: 28px; color: var(--text); }
.logo__tld { color: var(--muted); font-weight: 500; }
.nav__links {
  display: flex; gap: 6px; padding: 5px; font-size: 15px; color: #c4c4cc;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgb(255 255 255 / 0.025); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}
.nav__links a { padding: 7px 18px; border-radius: 999px; transition: color 0.25s, background-color 0.25s; }
.nav__links a:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
/* Mobile: the bar shows logo + menu button; links and the waitlist CTA move into a full-height panel */
.nav__toggle, .mobile-menu { display: none; }
@media (max-width: 767px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__toggle {
    display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; padding: 0; border-radius: 999px;
    border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--text); cursor: pointer;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  }
  .nav__toggle i { font-size: 22px; }
  .nav.is-open .nav__toggle { border-color: rgb(124 184 255 / 0.6); background: rgb(124 184 255 / 0.1); }
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    /* absolute, not fixed: the nav's backdrop-filter would make it the containing block anyway */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 68px); padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav.is-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu__links { display: flex; flex-direction: column; }
  .mobile-menu__links a {
    padding: 18px 0; border-bottom: 1px solid var(--line);
    font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; color: var(--text);
    opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }
  .nav.is-open .mobile-menu__links a { opacity: 1; transform: none; }
  .nav.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.05s; }
  .nav.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.1s; }
  .mobile-menu__cta { width: 100%; }
}
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100dvh - 68px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
/* Spotlight from above plus a diagonal light beam, painted over the block field */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 8%, rgb(214 226 255 / 0.07) 16%, transparent 27%),
    radial-gradient(60% 55% at 50% -5%, rgb(190 210 240 / 0.13), transparent 70%),
    linear-gradient(to right, rgb(9 9 11 / 0.8) 0%, rgb(9 9 11 / 0.35) 38%, transparent 60%),
    radial-gradient(120% 90% at 50% 100%, transparent 50%, rgb(9 9 11 / 0.7) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgb(9 9 11 / 0.55) 38%, rgb(9 9 11 / 0.15) 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero__inner { padding-block: clamp(32px, 6vh, 72px) clamp(40px, 7vh, 80px); }
.hero__brand { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }

/* App-icon key with a blue glow underneath */
.key {
  position: relative; flex: none; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; color: var(--text);
  background: linear-gradient(180deg, #1a1d24, #0a0b0e);
  border: 1px solid rgb(255 255 255 / 0.09);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 -6px 12px rgb(0 0 0 / 0.5), 0 18px 34px -10px rgb(124 184 255 / 0.45), 0 2px 0 #050608;
}
.key::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -3px; height: 3px; border-radius: 3px;
  background: var(--accent); filter: blur(3px); opacity: 0.9;
}
.key svg { width: 30px; height: 30px; }

.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.03);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #c4c4cc;
}
.rec { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.rec::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Brushed-metal headline */
.metal {
  background: linear-gradient(180deg, #ffffff 0%, #e4e6ec 38%, #8e93a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title {
  display: flex; flex-wrap: wrap; column-gap: 0.26em;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  line-height: 1; letter-spacing: -0.055em; font-weight: 650;
}
.hero__title em { font-style: normal; color: var(--accent); -webkit-text-fill-color: var(--accent); text-shadow: 0 0 28px rgb(124 184 255 / 0.55); }
.hw { display: inline-block; overflow: hidden; padding-bottom: 0.08em; }
.hw > span { display: inline-block; }

.hero__split {
  margin-top: clamp(28px, 5vh, 52px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end;
}
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--muted); max-width: 34ch; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__collage { position: relative; height: clamp(300px, 46vh, 480px); }
.shot { position: absolute; overflow: hidden; border-radius: var(--r); background: var(--bg-3); will-change: transform; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--main { inset: 0 0 0 12%; box-shadow: 0 40px 120px -40px rgb(124 184 255 / 0.28); }
.shot--main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.shot--neon { width: 19%; aspect-ratio: 2 / 3; top: -8%; right: 6%; border: 1px solid var(--line-2); }
.shot--neon img { filter: hue-rotate(195deg) saturate(0.85); } /* recolour the red neon to the blue accent */
.shot--phone { width: 25%; aspect-ratio: 2 / 3; bottom: -10%; left: 0; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7); }

@media (max-width: 767px) {
  .hero { min-height: auto; }
  .hero__split { grid-template-columns: 1fr; }
  .hero__collage { height: 340px; margin-top: 12px; margin-bottom: 24px; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__brand { gap: 14px; }
  .key { width: 48px; height: 48px; border-radius: 13px; }
  .key svg { width: 24px; height: 24px; }
  .pill { white-space: nowrap; font-size: 11px; letter-spacing: 0.08em; }
}

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hw > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
  .hw:nth-child(2) > span { animation-delay: 0.12s; }
  .hw:nth-child(3) > span { animation-delay: 0.24s; }
  .hero__brand, .hero__copy { opacity: 0; animation: fade 1s var(--ease) 0.45s forwards; }
  .shot { opacity: 0; animation: fadeUp 1.2s var(--ease) forwards; }
  .shot--main { animation-delay: 0.3s; }
  .shot--neon { animation-delay: 0.55s; }
  .shot--phone { animation-delay: 0.7s; }
  .rec { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(124 184 255 / 0.05); } }

/* ---------- platforms marquee ---------- */
.platforms { padding-block: 56px 72px; border-block: 1px solid var(--line); }
.platforms__label { text-align: center; color: var(--dim); font-size: 15px; margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; }
.marquee__track img { height: 30px; width: auto; opacity: 0.62; transition: opacity 0.3s; }
.marquee__track img:hover { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .marquee__track img[aria-hidden] { display: none; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(48px, 7vw, 96px) / 2)); } }

/* ---------- handoff (manifesto) ---------- */
/* Tall section with a pinned panel; sentinels in .handoff__marks hand each chore to Creor as you scroll */
.handoff { position: relative; height: 340vh; }
.handoff__pin {
  position: sticky; top: 68px; height: calc(100dvh - 68px); overflow: hidden;
  display: flex; align-items: center;
  background: radial-gradient(50% 60% at 85% 55%, rgb(124 184 255 / 0.07), transparent 70%);
}
.handoff__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
/* One image per chore crossfades in; the creator shot opens dim and returns lit when every chore is done.
   --p (0 to 1) drives the frame glow. */
.handoff { --p: 0; }
.handoff__visual {
  position: relative; height: min(68vh, 620px); border-radius: var(--r); overflow: hidden; background: var(--bg-3);
  border: 1px solid rgb(124 184 255 / calc(0.08 + var(--p) * 0.3));
  box-shadow: 0 50px 120px -50px rgb(124 184 255 / calc(var(--p) * 0.8));
  transition: border-color 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.handoff__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease), filter 0.9s var(--ease);
}
.handoff__visual img:first-child { object-position: 72% center; }
.handoff__visual img.is-active { opacity: 1; transform: scale(1); }
.handoff:not(.is-complete) .handoff__visual img:first-child { filter: grayscale(1) brightness(0.4); }
@media (max-width: 899px) { .handoff__inner { grid-template-columns: 1fr; } .handoff__visual { display: none; } }
@media (min-width: 900px) { .chore { flex-wrap: nowrap; } .chore__tag { font-size: 12px; } }
.handoff__marks { position: absolute; inset: 0; pointer-events: none; }
.handoff__marks span { position: absolute; left: 0; width: 1px; height: 1px; }
.handoff__marks span:nth-child(1) { top: 18%; }
.handoff__marks span:nth-child(2) { top: 31%; }
.handoff__marks span:nth-child(3) { top: 44%; }
.handoff__marks span:nth-child(4) { top: 57%; }
.handoff__marks span:nth-child(5) { top: 70%; }
.handoff__marks span:nth-child(6) { top: 80%; }

.handoff__title {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600;
}
.handoff__dim { color: var(--dim); }
.chores { margin-top: clamp(28px, 5vh, 56px); display: flex; flex-direction: column; }
.chore {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-block: clamp(2px, 0.6vh, 8px);
}
.chore__check {
  position: relative; flex: none; width: clamp(30px, min(4.6vh, 3.2vw), 52px); aspect-ratio: 1; display: grid;
}
.chore__check svg { width: 100%; height: 100%; overflow: visible; }
.chore__check circle {
  fill: transparent; stroke: rgb(255 255 255 / 0.22); stroke-width: 1.4; stroke-dasharray: 2.4 3.2;
  transition: fill 0.5s var(--ease), stroke 0.5s var(--ease);
}
.chore__check path {
  fill: none; stroke: #e8f2ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset 0.55s var(--ease) 0.2s;
}
/* one-shot ring that ripples out when a chore completes */
.chore__check::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; pointer-events: none;
}
.chore__word {
  display: inline-block;
  font-size: clamp(2.4rem, min(7.2vh, 5.2vw), 5.2rem); line-height: 1.04; letter-spacing: -0.05em; font-weight: 650;
  color: #4a4b53; transition: color 0.8s var(--ease), text-shadow 0.8s var(--ease);
}
.chore__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgb(124 184 255 / 0.32); background: rgb(124 184 255 / 0.08);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: #cfe4ff; white-space: nowrap;
  opacity: 0; transform: translateX(-12px); transition: opacity 0.6s var(--ease) 0.35s, transform 0.6s var(--ease) 0.35s;
}
.chore.is-done .chore__check circle { stroke-dasharray: none; stroke: var(--accent); fill: rgb(124 184 255 / 0.22); }
.chore.is-done .chore__check path { stroke-dashoffset: 0; }
.chore.is-done .chore__check svg { filter: drop-shadow(0 0 10px rgb(124 184 255 / 0.7)); }
.chore.is-done .chore__word { color: var(--text); text-shadow: 0 0 40px rgb(124 184 255 / 0.25); }
.chore.is-done .chore__tag { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .chore.is-done .chore__check svg { animation: pop 0.6s var(--ease); }
  .chore.is-done .chore__check::after { animation: ripple 0.9s var(--ease) 0.1s; }
}
@keyframes pop { 0% { transform: scale(0.7); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes ripple { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }

.handoff__end {
  margin-top: clamp(24px, 4vh, 44px);
  font-size: clamp(1.4rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; font-weight: 550; color: var(--muted);
  opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.handoff.is-complete .handoff__end { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .chore__tag { font-size: 11.5px; padding: 5px 10px; }
  .chore { gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .handoff { height: auto; }
  .handoff__pin { position: static; height: auto; padding-block: 120px; }
}

/* ---------- workflow: pinned horizontal flow ---------- */
.flow { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); view-timeline-name: --flow; }
.flow__pin { padding-block: clamp(64px, 10vh, 120px); }
.flow__head { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 32px); }
.flow__title { margin-top: 16px; }

.rail { display: none; min-width: 0; width: 100%; max-width: 960px; }
.rail ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; font-size: 13.5px; color: var(--dim); }
.rail li { transition: color 0.4s var(--ease); white-space: nowrap; }
.rail li.is-active { color: var(--text); }
.rail__track { display: block; margin-top: 12px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rail__fill {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0.02);
  background: linear-gradient(90deg, rgb(124 184 255 / 0.4), var(--accent)); box-shadow: 0 0 12px var(--accent);
}

.flow__viewport { margin-top: clamp(40px, 6vh, 64px); }
.flow__track { display: grid; gap: 20px; padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }

.card {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: #0c0d10;
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.6s var(--ease);
}
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.card__body {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, #13151a, #0b0c0f);
}
.card h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 650; padding-bottom: 0.06em; }
.card p { color: var(--muted); font-size: 17px; max-width: 38ch; }
.outs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.outs li {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: #c4c4cc;
}
.key--sm { width: 48px; height: 48px; border-radius: 13px; }
.key--sm i { font-size: 24px; color: var(--accent); }

/* Pinned horizontal pan, driven by the section's own scroll timeline (no scroll listeners) */
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .flow.is-pan .flow__pin {
      position: sticky; top: 68px; height: calc(100dvh - 68px); overflow: hidden;
      display: flex; flex-direction: column; justify-content: center; padding-block: 32px;
    }
    .flow.is-pan .rail { display: block; }
    .flow.is-pan .flow__track {
      display: flex; gap: 28px; width: max-content; max-width: none; margin: 0;
      padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
      animation: flow-pan linear both; animation-timeline: --flow; animation-range: contain 0% contain 100%;
    }
    .flow.is-pan .rail__fill { animation: rail-fill linear both; animation-timeline: --flow; animation-range: contain 0% contain 100%; }
    .flow.is-pan .card {
      width: min(1060px, 76vw); height: clamp(360px, calc(100dvh - 400px), 560px);
      grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); opacity: 0.4;
    }
    .flow.is-pan .card__media { aspect-ratio: auto; }
    .flow.is-pan .card__media img { filter: grayscale(0.6) brightness(0.7); transform: scale(1.06); }
    .flow.is-pan .card.is-active { opacity: 1; border-color: rgb(124 184 255 / 0.35); box-shadow: 0 40px 100px -50px rgb(124 184 255 / 0.6); }
    .flow.is-pan .card.is-active .card__media img { filter: none; transform: scale(1); }
  }
}
@keyframes flow-pan { to { transform: translateX(calc(var(--travel, 0px) * -1)); } }
@keyframes rail-fill { to { transform: scaleX(1); } }

/* ---------- bento ---------- */
.features { padding-block: clamp(96px, 14vh, 160px); }
.bento {
  margin-top: clamp(40px, 6vh, 64px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 16px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.tile--a { grid-column: span 7; grid-row: span 1; min-height: 440px; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 4; }
.tile--d { grid-column: span 3; }
.tile--e { grid-column: span 5; }
.tile__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.tile__body i { font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.tile h3 { font-size: 1.45rem; letter-spacing: -0.025em; font-weight: 600; line-height: 1.15; }
.tile p { color: var(--muted); font-size: 16px; max-width: 38ch; }

.tile--img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease);
}
.tile--img::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(9 9 11 / 0.95) 10%, rgb(9 9 11 / 0.55) 48%, rgb(9 9 11 / 0.05));
}
.tile--img:hover img { transform: scale(1.04); }
.tile--img p { color: #c4c4cc; }

/* Portrait phone shot: keep the app folder in frame */
.tile--d img { object-position: center 30%; }

@media (max-width: 1023px) {
  .tile--a { grid-column: span 12; }
  .tile--b, .tile--c { grid-column: span 6; }
  .tile--d, .tile--e { grid-column: span 6; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, auto); }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e { grid-column: auto; }
  .tile--a { min-height: 380px; }
}

/* ---------- AI agents ---------- */
.agents {
  position: relative; padding-block: clamp(96px, 14vh, 160px);
  background: radial-gradient(55% 45% at 30% 55%, rgb(124 184 255 / 0.07), transparent 70%), var(--bg);
  border-top: 1px solid var(--line);
}
.agents__title { margin-top: 18px; max-width: 20ch; }
.agents__sub { margin-top: 20px; color: var(--muted); max-width: 58ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.agents__stage {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* Orbit: agents placed on a circle around the orchestrator, sized with container units */
.orbit { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin-inline: auto; container-type: size; }
.orbit::before, .orbit::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.orbit::before { inset: 11%; border: 1px dashed rgb(255 255 255 / 0.10); }
.orbit::after { inset: 30%; border: 1px solid rgb(124 184 255 / 0.10); background: radial-gradient(circle, rgb(124 184 255 / 0.10), transparent 70%); }
.orbit__core {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.orbit__core .key { width: 84px; height: 84px; border-radius: 22px; }
.orbit__core .key svg { width: 42px; height: 42px; }
.orbit__label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.orbit__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.node { --a: calc(var(--i) / var(--n) * 360deg - 90deg); --rad: 39cqw; position: absolute; left: 50%; top: 50%; }
.spoke {
  position: absolute; left: 0; top: 0; width: calc(var(--rad) - 46px); height: 1px; transform-origin: 0 50%;
  transform: rotate(var(--a)) translateX(46px);
  background: linear-gradient(90deg, rgb(124 184 255 / 0.28), rgb(255 255 255 / 0.05));
  transition: background 0.4s var(--ease);
}
.spoke::after {
  content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent); opacity: 0;
}
.node.is-active .spoke { background: linear-gradient(90deg, rgb(124 184 255 / 0.9), rgb(124 184 255 / 0.25)); }
.node__btn {
  position: absolute; left: 0; top: 0;
  transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(var(--a) * -1)) translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); background: #0f1116; color: #c4c4cc;
  font: inherit; font-size: 13.5px; cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.node__btn i { font-size: 17px; color: var(--muted); transition: color 0.3s; }
.node__btn:hover { border-color: rgb(124 184 255 / 0.45); color: var(--text); }
.node__btn[aria-pressed="true"] {
  color: var(--text); background: #121725; border-color: rgb(124 184 255 / 0.7);
  box-shadow: 0 0 0 4px rgb(124 184 255 / 0.10), 0 10px 30px -8px rgb(124 184 255 / 0.6);
}
.node__btn[aria-pressed="true"] i { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .node.is-active .spoke::after { animation: travel 1.6s var(--ease) infinite; }
}
@keyframes travel { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(var(--rad) - 60px)); } }

.agent-card {
  position: relative; border-radius: var(--r); padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgb(124 184 255 / 0.22);
  background: linear-gradient(180deg, #13151a, #0b0c0f);
  box-shadow: 0 50px 120px -60px rgb(124 184 255 / 0.55);
  display: flex; flex-direction: column; gap: 12px;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.agent-card.is-swapping { opacity: 0; transform: translateY(6px); }
.agent-card h3 { margin-top: 8px; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 650; padding-bottom: 0.06em; }
.agent-card__role { color: var(--muted); font-size: 17px; }
.agent-card__tasks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.agent-card__tasks li { position: relative; padding-left: 30px; color: #d4d4d8; font-size: 16px; line-height: 1.5; }
.agent-card__tasks li::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgb(124 184 255 / 0.16); border: 1px solid rgb(124 184 255 / 0.6);
}
.agent-card__tasks li::after {
  content: ""; position: absolute; left: 8px; top: 8px; width: 4px; height: 7px;
  border: solid #e8f2ff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}

/* Example workflow: steps light up in sequence */
.pipeline { margin-top: clamp(64px, 9vh, 104px); }
.pipeline__label { font-size: 15px; color: var(--dim); }
.pipeline__steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.pipeline__steps li {
  position: relative; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; color: #c4c4cc;
  border: 1px solid var(--line-2); background: #0f1116;
}
.pipeline__steps li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .pipeline__steps li { animation: step-lit 6.4s var(--ease) infinite; animation-delay: calc(var(--k, 0) * 0.8s); }
}
@keyframes step-lit {
  0%, 14% { border-color: rgb(124 184 255 / 0.75); color: var(--text); box-shadow: 0 0 22px -4px rgb(124 184 255 / 0.6); }
  24%, 100% { border-color: var(--line-2); color: #c4c4cc; box-shadow: none; }
}

.principles {
  list-style: none; margin: clamp(56px, 8vh, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.principles li { padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.principles i { font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.principles h3 { font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 600; }
.principles p { color: var(--muted); font-size: 15.5px; }

@media (max-width: 1023px) {
  .agents__stage { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  /* Small screens: the orbit becomes a wrap of agent chips */
  .orbit { aspect-ratio: auto; container-type: normal; }
  .orbit::before, .orbit::after, .orbit__core, .spoke { display: none; }
  .orbit__nodes { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .node { position: static; }
  .node__btn { position: static; transform: none; }
  .principles { grid-template-columns: 1fr; }
}

/* ---------- evolve ---------- */
.evolve { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 22vh, 220px) clamp(72px, 12vh, 120px); }
.evolve__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.evolve::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgb(9 9 11 / 0.4) 30%, rgb(9 9 11 / 0.55) 60%, var(--bg) 100%),
    linear-gradient(to right, rgb(9 9 11 / 0.85), rgb(9 9 11 / 0.1) 75%);
}
.evolve__title { max-width: 14ch; }
.evolve__sub { margin-top: 22px; color: #c9c9d0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 46ch; }
.loop {
  margin-top: clamp(56px, 10vh, 112px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px;
  border-top: 1px solid var(--line-2);
}
.loop li { position: relative; padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.loop li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.loop li:last-child::before { background: var(--accent); }
.loop strong { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 600; }
.loop span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 767px) {
  .loop { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); }
  .loop li { padding: 0 0 26px 24px; }
  .loop li::before { top: 9px; left: -5px; }
}

/* ---------- cta ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 20vh, 200px); text-align: center; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(0.4); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 55%, rgb(124 184 255 / 0.18), transparent 70%),
    linear-gradient(to bottom, var(--bg), rgb(9 9 11 / 0.86) 28%, rgb(9 9 11 / 0.86) 72%, var(--bg));
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { padding-bottom: 0.06em; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -0.05em; font-weight: 650; }
.cta__sub { margin-top: 22px; color: #c9c9d0; max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.waitlist { margin-top: 38px; width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.waitlist__label { font-size: 14px; color: #c4c4cc; padding-left: 4px; }
.waitlist__row {
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgb(255 255 255 / 0.04); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.waitlist__row:focus-within { border-color: rgb(124 184 255 / 0.55); box-shadow: 0 0 0 4px rgb(124 184 255 / 0.12); }
.waitlist__input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; outline: none;
  background: transparent; color: var(--text); font: inherit; font-size: 16px;
}
.waitlist__btn { height: 52px; flex: none; }
.waitlist__btn[disabled] { opacity: 0.7; cursor: progress; }
.waitlist__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__status { min-height: 1.5em; padding-left: 4px; font-size: 14px; color: var(--muted); }
.waitlist.is-error .waitlist__status { color: #ffb4a8; }
.waitlist.is-error .waitlist__row { border-color: rgb(255 140 120 / 0.6); }
.waitlist.is-done .waitlist__status { color: #cfe4ff; }
.cta__mail { margin-top: 26px; }
@media (max-width: 559px) {
  .waitlist__row { flex-direction: column; border-radius: 22px; }
  .waitlist__btn { width: 100%; }
}
.cta__mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; transition: color 0.25s; }
.cta__mail:hover { color: var(--text); }
.cta__mail i { font-size: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vh, 80px); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 5vw, 80px); align-items: start;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__slogan { color: var(--muted); font-size: 15px; }

/* Name meaning: two compact dictionary lines, sized to sit level with the other columns */
.meaning { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.meaning__entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.meaning dt { flex: none; display: flex; align-items: baseline; gap: 8px; }
.meaning__word { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.meaning__dot { color: var(--dim); opacity: 0.6; }
.meaning__tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.meaning dd { flex: 1 1 240px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.meaning em { font-style: italic; color: #d4d4d8; }

.footer__legal { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; color: var(--dim); font-size: 14px; }
.footer__mail { color: #d4d4d8; font-size: 15px; transition: color 0.25s; }
.footer__mail:hover { color: var(--accent); }

@media (max-width: 899px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { align-items: flex-start; text-align: left; }
}

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .bento .reveal:nth-child(2) { transition-delay: 0.06s; }
  .bento .reveal:nth-child(3) { transition-delay: 0.12s; }
  .bento .reveal:nth-child(4) { transition-delay: 0.18s; }
  .bento .reveal:nth-child(5) { transition-delay: 0.24s; }
}
