/* ============================================================
   Dreelio - recreation styles
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);

  /* Color */
  --ink: #14151a;          /* near-black text */
  --ink-2: #5b606b;        /* muted body */
  --ink-3: #8a8f99;        /* faint */
  --line: #e9eaed;         /* hairline */
  --line-2: #f0f0f2;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;      /* warm off-white sections */
  --bg-card: #ffffff;
  --black: #16171c;        /* button / dark surfaces */
  --black-hover: #2b2c33;

  /* Sky */
  --sky-top: #7fb2e6;
  --sky-mid: #a9cdf0;
  --sky-bot: #e9f1f8;

  /* Accents (kept minimal, sky-derived) */
  --blue: #2f6fed;
  --green: #1e9e5a;
  --red: #e0533d;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1240px;
  --gutter: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20,21,26,.05), 0 1px 3px rgba(20,21,26,.06);
  --shadow-md: 0 10px 30px rgba(20,21,26,.08), 0 2px 8px rgba(20,21,26,.05);
  --shadow-lg: 0 40px 80px -20px rgba(20,21,26,.28), 0 12px 32px rgba(20,21,26,.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---- Section rhythm ---- */
.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-2);
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  text-transform: uppercase;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(44px, 7.4vw, 104px);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(34px, 4.6vw, 60px);
}

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.lead {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}

.muted { color: var(--ink-2); }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.55); color: var(--ink); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(20,21,26,.08); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: #ececea; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .4s cubic-bezier(.4,.8,.3,1);
}
.nav .wrap { transition: max-width .5s cubic-bezier(.4,.8,.3,1); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 10px 0 22px;
  border-radius: var(--r-pill);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav-inner > nav { display: flex; justify-content: center; }
.nav-inner > .nav-cta { justify-self: end; }
.nav-inner > .brand { justify-self: start; }
.nav.scrolled { padding: 14px 0; }
.nav.scrolled .wrap { max-width: 940px; }
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 34px rgba(20,21,26,.12), inset 0 0 0 1px rgba(255,255,255,.6);
}
@media (min-width: 981px) {
  .nav.scrolled .wrap {
    max-width: fit-content;
  }
  .nav.scrolled .nav-inner {
    grid-template-columns: auto auto auto;
    gap: 38px;
  }
  .nav.scrolled .nav-inner > nav,
  .nav.scrolled .nav-inner > .nav-cta,
  .nav.scrolled .nav-inner > .brand {
    justify-self: auto;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.brand .leaf {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  opacity: .85;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 1px rgba(20,21,26,.08);
}
.nav-burger span {
  position: relative;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger span::before { transform: translateY(-6px); }
.nav-burger span::after { transform: translateY(6px); }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: rotate(45deg); }
body.menu-open .nav-burger span::after { transform: rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line-2);
}
.mobile-menu .btn { margin-top: 24px; font-size: 18px; padding: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: #cfe0ee url("assets/waitlist-sky.png") center top / cover no-repeat;
  overflow: hidden;
}
.hero-clouds {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.cloud { display: none; }
.cloud {
  position: absolute;
  background:
    radial-gradient(ellipse 38% 60% at 22% 70%, rgba(255,255,255,1), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 30% 75% at 42% 35%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 26% 65% at 58% 55%, rgba(255,255,255,.98), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 32% 70% at 75% 40%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 38% 55% at 88% 65%, rgba(255,255,255,.96), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 48% 36% at 50% 78%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%);
  filter: blur(2px) drop-shadow(0 8px 18px rgba(120,150,180,.18));
  opacity: 1;
  will-change: transform;
}
.cloud.alt {
  background:
    radial-gradient(ellipse 32% 65% at 18% 60%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 36% 78% at 38% 32%, rgba(255,255,255,1), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 28% 60% at 55% 50%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 30% 72% at 78% 38%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 36% 50% at 90% 60%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 56% 32% at 50% 80%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(60px, 9vw, 120px) 0 0;
}
.hero h1 { max-width: 16ch; margin: 0 auto; color: var(--ink); }
.hero .lead {
  max-width: 960px;
  margin: 28px auto 0;
  color: #3a4150;
  font-size: clamp(17px, 1.2vw, 21px);
}
.hero-trust {
  margin: 16px auto 0;
  color: #4b5566;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; margin-top: 40px;
  flex-wrap: wrap;
}

.container-scroll {
  --scroll-rotate: 20deg;
  --scroll-scale: 1.05;
  --scroll-title-y: 0px;
  position: relative;
  z-index: 1;
  min-height: 60rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(140px, 14vw, 210px) 12px 96px;
}
.container-scroll-inner {
  width: 100%;
  position: relative;
  perspective: 1000px;
}
.container-scroll .hero-content {
  padding: 0;
  will-change: transform;
  transform: translateY(var(--scroll-title-y));
}
.container-scroll-card {
  width: min(1024px, 100%);
  height: clamp(30rem, 50vw, 40rem);
  margin: 0 auto;
  border: 4px solid #6c6c6c;
  border-radius: 30px;
  padding: clamp(8px, 1.7vw, 24px);
  background: #222222;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform: rotateX(var(--scroll-rotate)) scale(var(--scroll-scale));
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.container-scroll-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f4f6;
}
.hero-image-slot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,0) 42%),
    #f3f4f6;
}
.hero-image-slot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  user-select: none;
  -webkit-user-drag: none;
}
.container-scroll-screen .hero-dash {
  display: none;
}

/* Floating dashboard */
.hero-stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(50px, 7vw, 96px);
  perspective: 2000px;
}
.hero-dash {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  transform-origin: 0 0;
  transform-style: preserve-3d;
  border-radius: 18px;
}
.hero-dash .dash {
  height: 100%;
  min-height: 100%;
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 92%);
  z-index: 3; pointer-events: none;
}

@media (min-width: 768px) {
  .container-scroll { min-height: 80rem; }
}

/* ============================================================
   PLACEHOLDER (image stand-ins)
   ============================================================ */
.ph {
  position: relative;
  background-color: #eef0f2;
  background-image:
    repeating-linear-gradient(135deg, rgba(20,21,26,.045) 0 1px, transparent 1px 11px);
  border: 1px solid rgba(20,21,26,.07);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--ink-3);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9aa0aa;
  padding: 6px 10px;
  background: rgba(255,255,255,.7);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(20,21,26,.06);
}
.ph.dark {
  background-color: #1c1d22;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 11px);
  border-color: rgba(255,255,255,.08);
}
.ph.dark::after { color: #c7ccd4; background: rgba(255,255,255,.08); box-shadow: none; }

/* ============================================================
   HOW IT WORKS WORKFLOW
   ============================================================ */
.how-lead {
  max-width: 850px;
  margin: 24px auto 0;
}
.how-process {
  position: relative;
  margin-top: clamp(38px, 5vw, 58px);
  border: 1px solid rgba(20,21,26,.06);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 66%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: clamp(24px, 3.6vw, 46px);
  isolation: isolate;
}
.how-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(47,111,237,.08), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(30,158,90,.08), transparent 28%);
  pointer-events: none;
  z-index: -1;
}
.stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}
.stage-card {
  position: relative;
  z-index: 2;
  min-height: 248px;
  padding: clamp(20px, 2.1vw, 26px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  text-align: left;
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.stage-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(47,111,237,.08), transparent 42%);
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}
.stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,111,237,.18);
  background: #fff;
  box-shadow: 0 18px 44px rgba(20,21,26,.09), var(--shadow-sm);
  transition-delay: 0s;
}
.stage-card:hover::before {
  opacity: 1;
}
.stage-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(20,21,26,.04);
}
.stage-icon svg {
  width: 24px;
  height: 24px;
}
.stage-card:nth-child(2) .stage-icon,
.stage-card:nth-child(3) .stage-icon {
  color: var(--blue);
  background: #f2f6ff;
}
.stage-card:nth-child(4) .stage-icon {
  color: var(--green);
  background: #effaf5;
}
.stage-kicker {
  display: block;
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stage-card h3 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.stage-card p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.control-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(340px, 1.4fr) minmax(180px, 1fr);
  grid-template-rows: 92px minmax(330px, auto) auto;
  gap: 18px 20px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  overflow: hidden;
}
.control-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.control-path {
  fill: none;
  stroke: rgba(47,111,237,.34);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  marker-end: url(#controlArrow);
}
.diagram-node,
.control-core {
  position: relative;
  z-index: 2;
}
.diagram-node {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  text-align: left;
}
.human-node {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: min(360px, 100%);
  text-align: center;
}
.resources-node {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.agents-node {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
}
.outputs-node {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  width: min(760px, 100%);
  text-align: center;
}
.node-kicker {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.node-pills,
.output-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.human-node .node-pills,
.outputs-node .output-pills {
  justify-content: center;
}
.node-pills span,
.output-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.node-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}
.node-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.node-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.resources-node .node-list li::before {
  background: var(--green);
}
.access-note {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(30,158,90,.2);
  background: rgba(30,158,90,.07);
  color: #207247;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 12px;
}
.control-core {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  border: 1px solid rgba(47,111,237,.16);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #f6faff);
  box-shadow: 0 24px 60px rgba(20,21,26,.1), var(--shadow-sm);
  padding: clamp(22px, 2.8vw, 34px);
  text-align: center;
}
.core-brand {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.control-core strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.core-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.core-module {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.vinci-module {
  grid-column: span 2;
  border-color: rgba(47,111,237,.2);
  background: #f2f6ff;
  color: var(--blue);
}
.vinci-module::after {
  content: "";
  position: absolute;
  right: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(30,158,90,.18);
}
.approval-module {
  color: #207247;
  border-color: rgba(30,158,90,.22);
  background: rgba(30,158,90,.07);
}
.route-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  flex-wrap: wrap;
}
.route-strip i {
  width: 28px;
  height: 1px;
  background: var(--line);
  position: relative;
}
.route-strip i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: translateY(-50%) rotate(45deg);
}
.guardrail-example {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  text-align: left;
}
.guardrail-kicker {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.guardrail-flow {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}
.guardrail-flow span {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 13px;
}
.guardrail-flow strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.guardrail-flow em {
  color: var(--ink-2);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.guardrail-flow span:first-child em { color: var(--red); }
.guardrail-flow span:nth-of-type(2) em { color: var(--blue); }
.guardrail-flow span:nth-of-type(3) em { color: var(--green); }
.guardrail-flow i {
  align-self: center;
  height: 1px;
  background: var(--line);
  position: relative;
}
.guardrail-flow i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: translateY(-50%) rotate(45deg);
}
.js .how-process.reveal .stage-card,
.js .how-process.reveal .control-core,
.js .how-process.reveal .diagram-node,
.js .how-process.reveal .guardrail-example,
.js .how-process.reveal .route-strip,
.js .how-process.reveal .process-trust {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.js .how-process.reveal .control-path {
  opacity: 0;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.js .how-process.reveal.in .stage-card,
.js .how-process.reveal.in .control-core,
.js .how-process.reveal.in .diagram-node,
.js .how-process.reveal.in .guardrail-example,
.js .how-process.reveal.in .route-strip,
.js .how-process.reveal.in .process-trust {
  opacity: 1;
  transform: none;
}
.js .how-process.reveal.in .stage-card:nth-child(1) { transition-delay: .08s, .08s; }
.js .how-process.reveal.in .stage-card:nth-child(2) { transition-delay: .16s, .16s; }
.js .how-process.reveal.in .stage-card:nth-child(3) { transition-delay: .24s, .24s; }
.js .how-process.reveal.in .stage-card:nth-child(4) { transition-delay: .32s, .32s; }
.js .how-process.reveal.in .control-core { transition-delay: .18s, .18s; }
.js .how-process.reveal.in .human-node { transition-delay: .28s, .28s; }
.js .how-process.reveal.in .agents-node,
.js .how-process.reveal.in .resources-node { transition-delay: .44s, .44s; }
.js .how-process.reveal.in .outputs-node { transition-delay: .64s, .64s; }
.js .how-process.reveal.in .route-strip { transition-delay: .72s, .72s; }
.js .how-process.reveal.in .guardrail-example { transition-delay: .82s, .82s; }
.js .how-process.reveal.in .process-trust { transition-delay: .92s, .92s; }
.js .how-process.reveal.in .control-path {
  animation: controlPathDraw .95s cubic-bezier(.2,.7,.2,1) forwards;
}
.js .how-process.reveal.in .path-human { animation-delay: .26s; }
.js .how-process.reveal.in .path-agents { animation-delay: .52s; }
.js .how-process.reveal.in .path-resources { animation-delay: .68s; }
.js .how-process.reveal.in .path-outputs { animation-delay: .84s; }
.js .how-process.reveal.in .vinci-module::after {
  animation: vinciPulse 1.8s ease-out .72s infinite;
}
.js .how-process.reveal.in .approval-module {
  animation: approvalGlow 1.1s cubic-bezier(.2,.7,.2,1) 1s both;
}
.js .how-process.reveal.in .stage-card:hover {
  transform: translateY(-4px);
  transition-delay: 0s, 0s;
}
.process-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 36px);
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--line-2);
}
.process-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(20,21,26,.025);
}
@keyframes controlPathDraw {
  0% { opacity: 0; stroke-dashoffset: 900; }
  20% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes vinciPulse {
  0% { box-shadow: 0 0 0 0 rgba(30,158,90,.22); }
  70% { box-shadow: 0 0 0 9px rgba(30,158,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,158,90,0); }
}
@keyframes approvalGlow {
  0% { box-shadow: inset 0 0 0 0 rgba(30,158,90,0); }
  55% { box-shadow: inset 0 0 0 2px rgba(30,158,90,.18), 0 0 0 5px rgba(30,158,90,.07); }
  100% { box-shadow: inset 0 0 0 1px rgba(30,158,90,.12); }
}

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.trusted-label {
  text-align: center; color: var(--ink-2); font-size: 15px; font-weight: 500;
  margin-bottom: 34px;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 72px;
  animation: marquee var(--dur, 38s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 22px; letter-spacing: -0.02em;
  color: #9aa0aa; opacity: .9; white-space: nowrap;
}
.logo-item .dot { width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .8; }

/* ============================================================
   DEVICE MOCKUPS (work from anywhere)
   ============================================================ */
.devices {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 28px;
  margin-top: 60px;
}
.device-card {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  padding: 40px;
  overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.device-card .tag {
  position: absolute; top: 24px; left: 24px; z-index: 3;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: #fff; padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.device-card .ph { flex: 1; margin-top: 30px; }

/* ============================================================
   FEATURE (split, sticky media)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature.rev .feature-media { order: 2; }
.feature-media {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  padding: 40px 40px 0;
  overflow: hidden;
  aspect-ratio: 1.02;
  display: flex; align-items: flex-end; justify-content: center;
}
.feature-media .ph {
  width: 100%; height: 88%;
  border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: var(--shadow-md);
}
.feature-body { max-width: 480px; }
.feature-body .h2 { margin-top: 22px; }
.feature-body .lead { margin-top: 20px; }
.feature-body .lead b { color: var(--ink); font-weight: 600; }
.feature-body .lead + .file-intel-copy { margin-top: 12px; }
.file-intel-trust {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}
.feature-cta { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* Tab pills */
.tabs {
  display: flex; gap: 8px; margin-top: 34px; flex-wrap: wrap;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--bg-soft);
  cursor: default;
  user-select: none;
}

/* ============================================================
   VINCI AI
   ============================================================ */
.vinci-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
.vinci-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(380px, 1.02fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  border-radius: var(--r-xl);
  border: 1px solid rgba(20,21,26,.055);
  background: linear-gradient(180deg, var(--sky-bot), #f8fbff 68%, #fff);
  padding: clamp(38px, 6vw, 72px);
  box-shadow: 0 28px 70px -48px rgba(20,21,26,.32);
}
.vinci-section .eyebrow {
  color: var(--ink-2);
  background: rgba(255,255,255,.68);
  border-color: rgba(20,21,26,.08);
}
.vinci-copy .h2 {
  max-width: 15ch;
  margin-top: 22px;
  color: var(--ink);
}
.vinci-lead {
  max-width: 56ch;
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.vinci-lead p {
  color: var(--ink-2);
  font-size: clamp(17px, 1.24vw, 20px);
  line-height: 1.55;
}
.vinci-capabilities {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.vinci-item {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid rgba(20,21,26,.08);
  padding-top: 14px;
}
.vinci-item h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
.vinci-item p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
}
.vinci-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.vinci-trust-strip span {
  padding: 7px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(20,21,26,.075);
  background: rgba(255,255,255,.72);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.vinci-cta {
  margin-top: 28px;
}
.vinci-visual {
  position: relative;
}
.js .vinci-visual.reveal:not(.in) {
  transform: translateX(28px);
}
.vinci-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(20,21,26,.08);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.vinci-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.vinci-panel-kicker {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vinci-panel h3 {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(23px, 1.9vw, 30px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}
.orchestration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.orchestration-group {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  text-align: left;
}
.orchestration-group.guardrails {
  background: #f8fbff;
  border-color: rgba(47,111,237,.14);
}
.orchestration-group.progress {
  background: rgba(30,158,90,.045);
  border-color: rgba(30,158,90,.16);
}
.orch-label {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.orchestration-group ul {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.orchestration-group li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px 8px 28px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}
.orchestration-group li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,111,237,.08);
  transform: translateY(-50%);
}
.approved-resources li::before,
.progress li::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(30,158,90,.08);
}
.guardrails li::before {
  background: #8a8f99;
  box-shadow: 0 0 0 4px rgba(138,143,153,.08);
}
.progress li.waiting {
  color: #207247;
  background: rgba(30,158,90,.08);
}
.vinci-visual.reveal .selected-agents li,
.vinci-visual.reveal .guardrails li,
.vinci-visual.reveal .progress li {
  opacity: 0;
  transform: translateY(8px);
}
.vinci-visual.reveal.in .selected-agents li,
.vinci-visual.reveal.in .guardrails li,
.vinci-visual.reveal.in .progress li {
  animation: vinciRowIn .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.vinci-visual.reveal.in .selected-agents li:nth-child(1) { animation-delay: .08s; }
.vinci-visual.reveal.in .selected-agents li:nth-child(2) { animation-delay: .16s; }
.vinci-visual.reveal.in .selected-agents li:nth-child(3) { animation-delay: .24s; }
.vinci-visual.reveal.in .guardrails li:nth-child(1) { animation-delay: .38s; }
.vinci-visual.reveal.in .guardrails li:nth-child(2) { animation-delay: .46s; }
.vinci-visual.reveal.in .guardrails li:nth-child(3) { animation-delay: .54s; }
.vinci-visual.reveal.in .guardrails li:nth-child(4) { animation-delay: .62s; }
.vinci-visual.reveal.in .progress li:nth-child(1) { animation-delay: .78s; }
.vinci-visual.reveal.in .progress li:nth-child(2) { animation-delay: .86s; }
.vinci-visual.reveal.in .progress li:nth-child(3) { animation-delay: .94s; }
.vinci-visual.reveal.in .progress li:nth-child(4) { animation-delay: 1.02s; }
.vinci-orchestration-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 34px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(30,158,90,.08);
}
.vinci-panel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  user-select: none;
}
@keyframes vinciRowIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}
.bento-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bento-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cell {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  border: 1px solid rgba(20,21,26,.045);
}
.bento-top .cell { min-height: 460px; }
.cell h4 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
  line-height: 1.15;
  max-width: 22ch;
}
.bento-bottom .cell h4 { font-size: 19px; }
.cell p { color: var(--ink-2); font-size: 15.5px; margin-top: 10px; line-height: 1.5; }
.cell .cell-art { flex: 1; margin-top: 28px; min-height: 110px; display: flex; align-items: center; justify-content: center; }
.cell .cell-foot { margin-top: 28px; }
.cell .cell-foot p b { color: var(--ink); font-weight: 600; }

/* integration logos grid inside cell */
.int-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 4px 0 18px;
}
.int-chip {
  aspect-ratio: 1; border-radius: var(--r-md); background: #fff;
  box-shadow: var(--shadow-sm); display: grid; place-items: center;
  font-weight: 600; color: #aab0ba; font-size: 13px;
}

/* Features: top-card product visuals */
.hardware-art,
.approval-art {
  width: 100%;
  flex-direction: column;
}
.deploy-flow {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.deploy-node {
  min-height: 168px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.deploy-tag {
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
}
.deploy-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
}
.deploy-node strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.deploy-node small {
  display: block;
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.3;
}
.deploy-link {
  width: 42px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.deploy-link i {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.deploy-note {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}
.approval-panel {
  width: min(390px, 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 22px;
  text-align: left;
}
.approval-kicker {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.approval-panel h5 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.approval-reason {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.approval-reason span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.approval-reason p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.42;
}
.approval-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.approval-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}
.approval-btn.primary {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.cell.reveal.in .approval-panel {
  animation: featureCardIn .55s cubic-bezier(.2,.7,.2,1) both;
}
.cell.reveal.in .approval-reason {
  animation: featureDetailIn .5s cubic-bezier(.2,.7,.2,1) .12s both;
}
.cell.reveal.in .approval-btn.primary {
  animation: approveHint 2.4s ease-in-out .65s 1;
}
@keyframes featureCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes featureDetailIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes approveHint {
  0%, 100% { box-shadow: none; }
  45% { box-shadow: 0 0 0 5px rgba(20,21,26,.08); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.bigquote {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.bigquote-text { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(30px, 3.6vw, 50px); }
.bigquote-meta { margin-top: 30px; }
.bigquote-meta .name { font-weight: 600; font-size: 18px; }
.bigquote-meta .role { color: var(--ink-2); font-size: 15px; }
.bigquote-photo {
  border-radius: var(--r-lg); aspect-ratio: .8; box-shadow: var(--shadow-md);
}

.t-card {
  width: 420px; flex: 0 0 auto;
  background: var(--bg-soft); border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 22px;
}
.t-card p { font-size: 17px; line-height: 1.45; color: var(--ink); }
.t-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-card .who .ph { width: 48px; height: 48px; border-radius: var(--r-pill); flex: 0 0 auto; }
.t-card .who .name { font-weight: 600; font-size: 15.5px; }
.t-card .who .role { color: var(--ink-2); font-size: 13.5px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-soft); padding: 5px; border-radius: var(--r-pill);
  margin: 32px auto 0;
}
.price-toggle button {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 10px 22px; border-radius: var(--r-pill); transition: color .25s;
  position: relative; z-index: 1;
}
.price-toggle button.active { color: var(--ink); }
.price-toggle .knob {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .32s cubic-bezier(.4,.8,.3,1), width .32s;
}
.price-toggle-wrap { position: relative; display: inline-flex; }
.save-badge {
  font-size: 13px; font-weight: 600; color: var(--green);
  margin-left: 10px;
}

.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px;
  align-items: stretch;
}
.plan {
  background: var(--bg-soft); border-radius: var(--r-lg); padding: 36px 32px;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
}
.plan.featured { background: var(--black); color: #fff; }
.plan.featured .muted, .plan.featured .plan-sub { color: #b8bcc6; }
.plan-name { display: flex; align-items: center; justify-content: space-between; }
.plan-name h4 { font-size: 19px; font-weight: 600; }
.plan-price { font-size: clamp(38px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; margin: 22px 0 4px; }
.plan-price small { font-size: 17px; font-weight: 500; color: inherit; opacity: .6; }
.plan-sub { color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.plan li svg { flex: 0 0 auto; }
.plan .btn { width: 100%; margin-top: auto; }
.plan.featured .btn-dark { background: #fff; color: var(--black); }
.plan.featured .btn-dark:hover { background: #ececec; }
.pill-mini {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14); color: #fff;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 52px;
}
.blog-feature {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px; color: #fff;
}
.blog-feature .ph { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.blog-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,18,.05), rgba(10,12,18,.78));
}
.blog-feature .bf-body { position: relative; z-index: 2; }
.blog-feature .tagline { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.blog-feature h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 10px; max-width: 18ch; }
.blog-feature p { opacity: .85; max-width: 46ch; font-size: 15.5px; }
.blog-list { display: flex; flex-direction: column; gap: 18px; }
.blog-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
  background: var(--bg-soft); border-radius: var(--r-md); padding: 14px;
  transition: background .2s, transform .25s;
}
.blog-row:hover { background: #ececea; transform: translateX(4px); }
.blog-row .ph { width: 120px; height: 84px; border-radius: var(--r-sm); }
.blog-row .cat { font-size: 12.5px; color: var(--ink-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.blog-row h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.comm-card {
  background: var(--bg-soft); border-radius: var(--r-lg); padding: 38px;
  display: flex; flex-direction: column; gap: 16px;
}
.comm-card .ico { width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); }
.comm-card .count { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.comm-card h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.comm-card p { color: var(--ink-2); font-size: 15.5px; }
.comm-card .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--sky-mid), var(--sky-bot) 70%, #fff);
  overflow: hidden;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) var(--gutter) 0;
}
.cta h2 { color: var(--ink); }
.cta p { margin: 18px auto 32px; color: #3a4150; }
.cta .ph { width: min(820px, 92%); margin: 50px auto 0; border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 2; box-shadow: var(--shadow-lg); }
.footer-preview-image {
  position: relative;
  width: min(1080px, 86%);
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: clamp(18px, 2.2vw, 28px);
  line-height: 0;
  filter: drop-shadow(0 36px 58px rgba(20,21,26,.22));
}
.footer-preview-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(247,251,255,.78) 52%, #fff 100%);
}
.footer-preview-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: inherit;
  user-select: none;
  -webkit-user-drag: none;
}
.cta-trust {
  width: min(920px, 94%);
  margin: 44px auto 0;
  padding-bottom: 36px;
}
.cta-trust .trusted-label {
  margin-bottom: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 30px 0 50px; }
.footer-card { background: var(--bg-soft); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; }
.footer-blurb { margin-top: 18px; max-width: 32ch; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--black); color: #fff; transition: transform .2s, background .2s; }
.footer-social a:hover { transform: translateY(-2px); background: var(--black-hover); }
.footer-col h5 { color: var(--ink-3); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 7px 0; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 14px; color: var(--ink-2); flex-wrap: wrap;
}
.footer-bottom a { color: var(--ink); font-weight: 600; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-bot), #fff 42%);
}
.legal-nav {
  padding: 26px 0;
}
.legal-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}
.legal-hero {
  padding: 52px 0 34px;
}
.legal-hero .eyebrow {
  background: rgba(255,255,255,.72);
}
.legal-hero h1 {
  margin-top: 18px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}
.legal-hero p {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}
.legal-card {
  width: min(940px, 100%);
  margin: 22px auto 90px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(20,21,26,.08);
  box-shadow: 0 30px 80px rgba(20,21,26,.08);
}
.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
}
.legal-card h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}
.legal-card p,
.legal-card li {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.68;
}
.legal-card p {
  margin-top: 12px;
}
.legal-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}
.legal-card a {
  color: var(--ink);
  font-weight: 700;
}
.legal-updated {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .container-scroll .hero-content,
  .container-scroll-card { transform: none; }
  .marquee-track { animation: none; }
  .js .vinci-visual.reveal:not(.in),
  .orchestration-group li,
  .approval-panel,
  .approval-reason,
  .approval-btn.primary,
  .stage-card,
  .control-core,
  .diagram-node,
  .guardrail-example,
  .route-strip,
  .process-trust,
  .control-path {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .control-path { stroke-dashoffset: 0; }
  .vinci-module::after,
  .approval-module {
    animation: none;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .vinci-grid {
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    gap: 30px;
    padding: clamp(34px, 5vw, 56px);
  }
  .vinci-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .orchestration-grid {
    grid-template-columns: 1fr;
  }
  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .stage-card {
    min-height: 230px;
    padding: 22px;
  }
  .stage-card h3 { font-size: 20px; }
  .stage-card p { font-size: 14px; }
  .control-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
  }
  .control-lines {
    display: none;
  }
  .human-node {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .control-core {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(560px, 100%);
  }
  .resources-node {
    grid-column: 1;
    grid-row: 3;
  }
  .agents-node {
    grid-column: 2;
    grid-row: 3;
  }
  .outputs-node {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .container-scroll { min-height: 68rem; }
  .hero-fade { height: 160px; }
  .how-process {
    margin-top: 40px;
  }
  .stage-grid {
    max-width: 760px;
    margin: 0 auto;
  }
  .route-strip {
    max-width: 680px;
    margin-inline: auto;
  }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.rev .feature-media { order: 0; }
  .vinci-grid {
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 26px;
  }
  .vinci-copy .h2 { max-width: 15ch; }
  .js .vinci-visual.reveal:not(.in) { transform: translateY(24px); }
  .devices { grid-template-columns: 1fr; }
  .bento-top { grid-template-columns: 1fr; }
  .bento-bottom { grid-template-columns: 1fr 1fr; }
  .bigquote { grid-template-columns: 1fr; gap: 32px; }
  .bigquote-photo { max-width: 360px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .vinci-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .vinci-copy .h2 {
    max-width: 16ch;
  }
  .vinci-visual {
    order: 2;
  }
  .vinci-panel {
    border-radius: 20px;
  }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .section { padding: 76px 0; }
  .container-scroll {
    min-height: 62rem;
    padding: 128px 0 88px;
    overflow: hidden;
  }
  .container-scroll-inner { overflow: visible; }
  .hero-stage { margin-top: 44px; }
  .container-scroll-card {
    width: 1024px;
    max-width: none;
    height: 640px;
    margin-left: clamp(48px, 12vw, 68px);
    margin-right: 0;
    border-radius: 30px;
    transform-origin: 0 100%;
  }
  .container-scroll-screen { border-radius: 18px; }
  .cta {
    padding-top: 76px;
  }
  .footer-preview-image {
    width: min(92vw, 560px);
    margin-top: 34px;
    height: clamp(260px, 72vw, 380px);
    overflow: hidden;
    filter: drop-shadow(0 26px 42px rgba(20,21,26,.2));
  }
  .footer-preview-image::after {
    height: 38%;
  }
  .footer-preview-image img {
    width: 720px;
    max-width: none;
    transform: translateX(-24px);
  }
  .bento-bottom { grid-template-columns: 1fr; }
  .how-process {
    padding: 18px;
    border-radius: 24px;
  }
  .stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-card {
    min-height: auto;
    border-radius: 18px;
    padding: 20px 18px;
  }
  .stage-card h3 {
    font-size: 18.5px;
  }
  .stage-card p {
    font-size: 14.5px;
  }
  .stage-icon {
    width: 40px;
    height: 40px;
  }
  .stage-icon svg {
    width: 21px;
    height: 21px;
  }
  .stage-kicker {
    margin-top: 18px;
  }
  .control-diagram {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }
  .control-diagram::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 31px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(47,111,237,.18), rgba(30,158,90,.18));
  }
  .human-node,
  .control-core,
  .agents-node,
  .resources-node,
  .outputs-node {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
  }
  .human-node {
    grid-row: 1;
    text-align: left;
  }
  .control-core {
    grid-row: 2;
    border-radius: 22px;
    padding: 22px 18px;
    text-align: left;
  }
  .agents-node {
    grid-row: 3;
  }
  .resources-node {
    grid-row: 4;
  }
  .outputs-node {
    grid-row: 5;
    text-align: left;
  }
  .human-node .node-pills,
  .outputs-node .output-pills {
    justify-content: flex-start;
  }
  .core-modules {
    grid-template-columns: 1fr;
  }
  .vinci-module {
    grid-column: span 1;
  }
  .node-list {
    grid-template-columns: 1fr;
  }
  .route-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 6px;
    margin-top: 14px;
    text-align: left;
  }
  .route-strip i {
    width: 1px;
    height: 14px;
    margin-left: 10px;
  }
  .route-strip i::after {
    right: auto;
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .guardrail-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .guardrail-flow i {
    width: 1px;
    height: 18px;
    justify-self: center;
  }
  .guardrail-flow i::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .process-trust {
    justify-content: flex-start;
    gap: 8px;
  }
  .process-trust span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
  .deploy-flow {
    grid-template-columns: minmax(0, 1fr);
    max-width: 280px;
    margin: 0 auto;
  }
  .deploy-node {
    min-height: 138px;
  }
  .deploy-link {
    width: 28px;
    height: 28px;
    justify-self: center;
    transform: rotate(90deg);
  }
  .approval-panel {
    padding: 20px;
  }
  .approval-actions {
    flex-direction: column;
  }
  .approval-btn {
    width: 100%;
  }
  .vinci-grid {
    border-radius: 24px;
    padding: 34px 20px;
  }
  .vinci-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .vinci-panel { border-radius: 18px; }
  .t-card { width: 300px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .legal-nav .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .legal-hero {
    padding-top: 34px;
  }
  .legal-card {
    margin-bottom: 54px;
    border-radius: 24px;
  }
}
