/* SoftwareLoop site v2 | navy + amber, light and airy */
:root {
  --navy: #0E1320;
  --navy-2: #171E31;
  --offwhite: #F7F5F0;
  --amber: #F4A300;
  --amber-deep: #C98500;
  --ink: #0E1320;
  --ink-2: #4A5266;
  --ink-3: #646B7E;
  --line: #E4E0D6;
  --white: #FFFFFF;
  --tint: #EFECE4;

  /* Theme tokens (light). Dark values are set further down. */
  color-scheme: light;
  --bg: #F7F5F0;
  --bg-tint: #EFECE4;
  --surface: #FFFFFF;
  --surface-chip: #F7F5F0;
  --text-strong: #0E1320;
  --rule: #0E1320;
  --accent-text: #C98500;
  --dark-surface: #0E1320;
  --dark-border: transparent;
  --btn-primary-bg: #0E1320;
  --btn-primary-text: #F7F5F0;
  --btn-primary-hover: #171E31;
  --btn-ghost-border: rgba(14,19,32,.25);
  --pill-bg: #0E1320;
  --option-bg: #F7F5F0;
  --option-text: #0E1320;
  --video-shadow: rgba(14,19,32,.45);
  --logo-ring: none;
  --radius: 18px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text-strong); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 16px; line-height: 1; padding: 16px 26px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #FFB41F; }
.btn-navy { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn-navy:hover { background: var(--btn-primary-hover); }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--btn-ghost-border); }
.btn-ghost:hover { border-color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-tile { width: 40px; height: 40px; filter: var(--logo-ring); }
.brand-word { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--offwhite); }
.brand-word span { color: var(--amber); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--dark-surface); border-bottom: 1px solid rgba(247,245,240,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(247,245,240,.78); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--offwhite); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--offwhite); border-radius: 2px; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-strong); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--amber); }
.eyebrow-light { color: var(--offwhite); }

/* Hero */
.hero { padding: 36px 0 56px; background:
  radial-gradient(900px 500px at 85% 20%, rgba(244,163,0,.10), transparent 60%),
  var(--bg); }
.hero-grid { display: flex; flex-direction: column; gap: 28px; }
h1 { font-size: clamp(32px, 3.55vw, 51px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; color: var(--text-strong); }
.h1-line2 { display: block; }
.h1-line1 { display: block; }
.h1-keep { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.lead { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 680px; }
.promise { margin-top: 14px; padding-left: 18px; border-left: 4px solid var(--amber); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; font-weight: 700; letter-spacing: -0.015em; color: var(--text-strong); max-width: 680px; }
.hero-top { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.hero-copy { max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { width: 100%; min-width: 0; }
.hero-visual .loop-video { margin: 0; display: flex; flex-direction: column; align-items: stretch; }
.hero-visual .loop-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 22px; background: var(--navy); border: 1px solid var(--line); box-shadow: 0 24px 60px -28px var(--video-shadow); }
.hero-visual .loop-video .video-label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.video-label-title { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--text-strong); }
.video-label-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.video-label-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
@media (min-width: 1001px) {
  .hero-top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .hero-copy { flex: 1 1 auto; min-width: 0; }
  .hero-actions { flex: 0 0 auto; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 1200px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn { width: auto; }
}

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--dark-surface); color: var(--offwhite); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head-wide { max-width: 980px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.section-head > p:last-child { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.section-dark .section-head h2 { color: var(--offwhite); }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }

/* The loop */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stages .stage { display: flex; flex-direction: column; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 34px; }
.stage-index { display: block; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--text-strong); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--rule); width: 44px; }
.stage h3 { margin-bottom: 6px; font-size: 26px; }
.stage-tag { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 14px; }
.stage p:not(.stage-tag) { color: var(--ink-2); font-size: 15.5px; }

/* Platform pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px 36px; overflow: hidden; display: flex; flex-direction: column; }
.pillar-bar { position: absolute; left: 0; top: 0; right: 0; height: 5px; }
.pillar-orbit .pillar-bar { background: linear-gradient(90deg, #00D1FF, #0A3FBF); }
.pillar-nexus .pillar-bar { background: linear-gradient(90deg, #FFC62E, #F26B1D); }
.pillar-si .pillar-bar { background: linear-gradient(90deg, #8B3DFF, #B0127A); }
.pillar-tag { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.pillar h3 { font-size: 24px; margin-bottom: 14px; }
.pillar > p:not(.pillar-tag) { color: var(--ink-2); font-size: 16px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--text-strong); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--rule); border-bottom: 2px solid var(--rule); transform: rotate(-45deg) translateY(-2px); }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-chip); border: 1px solid var(--line); color: var(--text-strong); }

/* Why */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason { border-top: 1px solid rgba(247,245,240,.22); padding-top: 28px; }
.reason-index { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--amber); margin-bottom: 20px; }
.reason h3 { color: var(--offwhite); font-size: 25px; margin-bottom: 16px; }
.reason p { color: rgba(247,245,240,.72); font-size: 16.5px; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.model-stage { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-strong); background: var(--bg-tint); border-radius: 8px; padding: 7px 12px; margin-bottom: 22px; }
.model h3 { font-size: 21px; margin-bottom: 10px; }
.model p:last-child { color: var(--ink-2); font-size: 15.5px; }

/* Verification */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.check-index { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--text-strong); margin-bottom: 16px; }
.check h3 { font-size: 21px; margin-bottom: 10px; }
.check p { color: var(--ink-2); font-size: 15.5px; }


/* Early access */
.access { background: var(--dark-surface); border: 1px solid var(--dark-border); color: var(--offwhite); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.access::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(244,163,0,.10), transparent 70%); pointer-events: none; }
.access h2 { color: var(--offwhite); max-width: 520px; }
.offer { margin-top: 22px; font-size: 18px; line-height: 1.55; color: rgba(247,245,240,.82); }
.offer strong { color: var(--offwhite); font-weight: 700; }
.offer strong:nth-of-type(2) { color: var(--amber); }
.waitlist-form { position: relative; z-index: 1; }
.waitlist-form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 10px; color: rgba(247,245,240,.85); }
.waitlist-form input, .waitlist-form textarea { display: block; width: 100%; font: inherit; font-size: 16px; padding: 16px 18px; border-radius: 12px; border: 1.5px solid rgba(247,245,240,.2); background: rgba(247,245,240,.06); color: var(--offwhite); }
.waitlist-form input::placeholder, .waitlist-form textarea::placeholder { color: rgba(247,245,240,.58); }
.waitlist-form input:focus, .waitlist-form textarea:focus { outline: none; border-color: var(--amber); }
.waitlist-form input { margin-bottom: 22px; }
.waitlist-form textarea { resize: vertical; margin-bottom: 22px; min-height: 96px; }
.waitlist-form .btn { width: 100%; }
.waitlist-form .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.waitlist-form .hp-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.waitlist-form.is-success .form-fields { display: none; }
.form-status { margin-top: 4px; font-size: 16px; line-height: 1.5; }
.form-status.is-success { color: var(--offwhite); font-weight: 600; font-size: 18px; }
.form-status.is-error { color: #F5C4B8; }
.opt { font-weight: 500; color: rgba(247,245,240,.5); margin-left: 6px; font-size: 13px; }
.status { margin-top: 18px; font-size: 14px; color: rgba(247,245,240,.6); }
.form-note { margin-top: 12px; font-size: 14px; color: rgba(247,245,240,.6); }

/* Problem */
.problem { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
.problem-lead h2 { max-width: 640px; }
.problem-sub { margin-top: 20px; font-size: 20px; font-weight: 600; color: var(--text-strong); }
.chips-lg { margin-top: 28px; }
.chips-lg li { font-size: 14px; padding: 8px 15px; background: var(--surface); }
.problem-note { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.problem-cards { display: grid; gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; border-left: 4px solid var(--rule); }
.card h3 { margin-bottom: 10px; font-size: 21px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* Example */
.example { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
.example-head h2 { color: var(--offwhite); }
.example-head > p:last-child { margin-top: 18px; font-size: 18px; color: rgba(247,245,240,.72); max-width: 420px; }
.steps { counter-reset: s; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(247,245,240,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(247,245,240,.18); }
.step-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); padding-top: 4px; }
.steps p { color: rgba(247,245,240,.82); font-size: 17px; }

/* Pillar extras */
.pillar-status { margin-top: auto; padding-top: 24px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.pillar .chips + .pillar-status, .pillar .ticks + .pillar-status { margin-top: auto; }
.pillar .ticks { margin-bottom: 0; }

/* Stays yours */
.reasons-light { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-l { border-top: 3px solid var(--rule); padding-top: 26px; }
.reason-index-l { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--text-strong); margin-bottom: 18px; }
.reason-l h3 { font-size: 24px; margin-bottom: 12px; }
.reason-l p { color: var(--ink-2); font-size: 16.5px; }

/* Governance */
.governance { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: center; }
.governance h2 { color: var(--offwhite); max-width: 620px; }
.gov-lead { margin-top: 20px; font-size: 18px; color: rgba(247,245,240,.78); max-width: 600px; }
.ticks-light li { color: var(--offwhite); }
.ticks-light li::before { border-color: var(--amber); }
.governance .ticks { margin-top: 28px; }
.gov-note { margin-top: 24px; font-size: 14px; color: rgba(247,245,240,.55); max-width: 560px; }
.levels { background: var(--navy-2); border: 1px solid rgba(247,245,240,.12); border-radius: var(--radius); padding: 32px; }
.levels-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,245,240,.6); margin-bottom: 20px; }
.levels ol { display: grid; gap: 10px; }
.levels li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(247,245,240,.05); font-size: 17px; font-weight: 600; color: var(--offwhite); }
.levels li span { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--navy); background: rgba(247,245,240,.9); border-radius: 6px; padding: 3px 8px; min-width: 34px; text-align: center; }
.levels li:last-child span { background: var(--amber); }

/* Pieces */
.pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.piece { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.piece-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.piece-name span { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--offwhite); background: var(--pill-bg); border-radius: 8px; padding: 8px 14px; }
.piece-name i { font-style: normal; font-weight: 800; color: var(--accent-text); font-size: 20px; }
.piece p:last-child { color: var(--ink-2); font-size: 16px; }
.pieces-foot { margin-top: 36px; font-size: 20px; font-weight: 600; color: var(--text-strong); letter-spacing: -0.01em; }

/* Footer */
.footer { background: var(--dark-surface); color: var(--offwhite); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(247,245,240,.12); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(247,245,240,.72); font-size: 15px; }
.footer-links a:hover { color: var(--offwhite); }
.footer-bottom { padding-top: 28px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 14px; color: rgba(247,245,240,.62); }
.footer-bottom > p { margin: 0; }
.footer-meta { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.footer-email { color: rgba(247,245,240,.85); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(244,163,0,.8); text-underline-offset: 3px; white-space: nowrap; }
.footer-email:hover { color: var(--offwhite); }
/* Social pills: use display:flex (not inline-flex) on the links and list
   items so WebKit/Safari does not shrink-wrap to the SVG and stack the label. */
.social { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; flex: 0 0 auto; }
.social li { display: flex; flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
.social a { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(247,245,240,.22); color: rgba(247,245,240,.85); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; box-sizing: border-box; transition: border-color .15s, color .15s, background .15s; }
.social a:hover { color: var(--offwhite); border-color: rgba(247,245,240,.6); background: rgba(247,245,240,.06); }
.social svg { width: 16px; height: 16px; display: block; flex: 0 0 16px; margin: 0; }
.social-label { display: block; line-height: 1; }
/* Fallback if a browser ignores flex gap on the link. */
@supports not (gap: 8px) {
  .social a svg { margin-right: 8px; }
  .social { column-gap: 12px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(2, 1fr); }
  .pillars, .reasons, .models, .reasons-light, .pieces { grid-template-columns: 1fr; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .problem, .example, .governance { grid-template-columns: 1fr; gap: 44px; }
  .reasons { gap: 36px; }
  .access { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
}
@media (max-width: 1000px) {
  .hero { padding: 32px 0 48px; }
  .hero-copy { max-width: none; }
  .hero-visual .loop-video video { border-radius: 18px; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark-surface); flex-direction: column; align-items: stretch; gap: 20px; padding: 20px 28px 28px; border-bottom: 1px solid rgba(247,245,240,.1); }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { padding: 12px 0; font-size: 17px; }
  .nav-menu .btn { width: 100%; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .lead { font-size: 18px; }
  .page-hero .hero-actions,
  .page-hero .cta-row { margin-top: 24px; }
  .hero-top { gap: 24px; }
  .hero-actions .btn,
  .cta-row .btn { flex: 1 1 100%; }
  .stages { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .stage-index { margin-bottom: 24px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .access { padding: 36px 24px; border-radius: 22px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .levels { padding: 24px 20px; }
  .footer-links { gap: 12px 22px; }
}

.stage-list-label { margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-strong); }
.stage-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.stage-list li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.stage-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.stage p.stage-hitl {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--text-strong);
}

/* Nav: current page */
.nav-links a[aria-current="page"] { color: var(--offwhite); }

/* Services page */
.page-hero { padding: 72px 0 64px; background:
  radial-gradient(900px 500px at 85% 20%, rgba(244,163,0,.10), transparent 60%),
  var(--bg); }
.page-hero h1 { max-width: none; font-size: clamp(32px, 3.2vw, 46px); }
.hero-break { display: none; }
@media (min-width: 901px) {
  .hero-break { display: block; }
}
.page-hero .lead { margin-top: 22px; max-width: 720px; }
.cta-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.page-hero .hero-actions,
.page-hero .cta-row { margin-top: 32px; }
@media (max-width: 600px) {
  .page-hero .hero-actions,
  .page-hero .cta-row { margin-top: 24px; }
}

.service-grid, .assessment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 1101px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); }
  .service-grid .service-card { grid-column: span 2; }
  .service-grid .service-card:nth-child(4) { grid-column: 2 / span 2; }
  .service-grid .service-card:nth-child(5) { grid-column: 4 / span 2; }
}
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 34px; display: flex; flex-direction: column; }
.service-index { display: block; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--text-strong); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--rule); width: 44px; }
.service-card h3 { font-size: 26px; margin-bottom: 12px; }
.service-card > p { color: var(--ink-2); font-size: 16.5px; }
.service-card .ticks { margin-top: 22px; }

.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; border-top: 3px solid var(--rule); }
.engage h3 { font-size: 22px; margin-bottom: 12px; }
.engage p { color: var(--ink-2); font-size: 16.5px; }

.work-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.work-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 34px; }
.work-steps h3 { font-size: 24px; margin-bottom: 10px; }
.work-steps p { color: var(--ink-2); font-size: 15.5px; }

.waitlist-form select {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 16px 42px 16px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(247,245,240,.2);
  background-color: rgba(247,245,240,.06);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23F7F5F0' d='M1.2 1.2L6 6l4.8-4.8' stroke='%23F7F5F0' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: var(--offwhite);
  margin-bottom: 22px;
  appearance: none;
  -webkit-appearance: none;
}
.waitlist-form select:focus { outline: none; border-color: var(--amber); }
.waitlist-form select option { color: var(--option-text); background: var(--option-bg); }

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.waitlist-form .form-actions .btn { width: auto; flex: 1 1 160px; }
.form-success-actions { display: none; margin-top: 20px; }
.waitlist-form.is-success .form-success-actions { display: flex; }

.access .btn-ghost { color: var(--offwhite); border-color: rgba(247,245,240,.35); }
.access .btn-ghost:hover { border-color: var(--offwhite); background: transparent; }

@media (max-width: 1100px) {
  .engage-grid, .work-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .service-grid .service-card:nth-child(5) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
  }
  .service-grid .service-card:nth-child(5) .service-index { grid-column: 1; }
  .service-grid .service-card:nth-child(5) h3 { grid-column: 1; }
  .service-grid .service-card:nth-child(5) > p { grid-column: 1; }
  .service-grid .service-card:nth-child(5) .ticks { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: center; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-menu { gap: 22px; }
}
@media (max-width: 700px) {
  .service-grid, .assessment-grid, .engage-grid, .work-steps { grid-template-columns: 1fr; }
  .service-grid .service-card:nth-child(5) { display: flex; grid-column: auto; }
}
@media (max-width: 600px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { max-width: none; }
  .service-card, .engage, .work-steps li { padding: 28px 22px; }
  .waitlist-form .form-actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------
   Founders-first home sections, About, Privacy, 404
------------------------------------------------------------------- */
.inline-link { color: inherit; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.inline-link:hover { color: var(--accent-text); }

/* Design partner */
.dp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dp-lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.dp-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.dp-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); max-width: 520px; }
.dp-contact { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); max-width: 520px; }
.dp-contact a { color: var(--text-strong); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.dp-contact a:hover { color: var(--accent-text); }
.dp-lists { display: grid; gap: 20px; }
.dp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; border-top: 3px solid var(--amber); }
.dp-card h3 { font-size: 21px; }
.dp-card .ticks { margin-top: 18px; }

/* Enterprise */
.enterprise-foot { margin-top: 32px; font-size: 17px; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; }
.faq-item h3 { font-size: 19px; margin-bottom: 10px; }
.faq-item p { color: var(--ink-2); font-size: 16px; }

/* Waitlist extras */
.waitlist-form .check-field { display: flex; align-items: flex-start; gap: 12px; margin: -4px 0 22px; font-size: 15px; font-weight: 500; line-height: 1.45; color: rgba(247,245,240,.88); cursor: pointer; }
.waitlist-form .check-field input { width: 20px; height: 20px; flex: 0 0 20px; margin: 1px 0 0; padding: 0; accent-color: var(--amber); cursor: pointer; }
.form-legal { margin-top: 14px; font-size: 13.5px; color: rgba(247,245,240,.66); }
.form-legal a { color: var(--offwhite); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244,163,0,.8); }
.waitlist-form.is-success .form-legal { display: none; }

/* About */
.about-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.prose p { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.about-stages { grid-template-columns: repeat(4, 1fr); }
.about-parts { margin-top: 36px; font-size: 17px; color: var(--ink-2); max-width: 860px; }
.about-parts strong { color: var(--text-strong); }
.about-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.where-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.where-actions .cta-row { margin: 0; }
.where-actions .cta-row .btn { flex: 1 1 220px; width: auto; min-width: 0; }
.where-actions .btn-ghost { color: var(--offwhite); border-color: rgba(247,245,240,.35); }
.where-actions .btn-ghost:hover { border-color: var(--offwhite); background: transparent; }
.where-contact { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(247,245,240,.68); }
.where-contact a, .access .status a { color: var(--offwhite); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(244,163,0,.8); text-underline-offset: 3px; }
.where-contact a:hover, .access .status a:hover { color: var(--amber); }
.where-follow-block { padding-top: 24px; border-top: 1px solid rgba(247,245,240,.16); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.where-follow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,245,240,.6); }
#where .access { align-items: start; gap: 40px; padding: 56px 48px; grid-template-columns: minmax(0, 1fr) minmax(520px, 1.1fr); }
.where-actions .cta-row .btn { padding-left: 18px; padding-right: 18px; }
@media (max-width: 1100px) {
  #where .access { grid-template-columns: 1fr; gap: 32px; padding: 48px; }
}
@media (max-width: 600px) {
  #where .access { padding: 36px 24px; }
}

/* Privacy */
.legal-section { padding-top: 56px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; color: var(--text-strong); }
.legal p { font-size: 17px; }
.legal p + p { margin-top: 14px; }
.legal .ticks { margin: 16px 0 18px; }
.legal .ticks li { font-weight: 400; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.legal .ticks li strong { color: var(--text-strong); }
.legal a { color: var(--text-strong); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-text); }

/* 404 */
.not-found { padding: 120px 0 140px; min-height: calc(100vh - 72px - 200px); }

@media (max-width: 1100px) {
  .dp, .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-stages { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .faq, .about-two, .about-stages, .principles { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dp-card, .faq-item { padding: 24px 22px; }
  .dp-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-meta { width: 100%; }
  .footer-meta .social { width: 100%; }
  .not-found { padding: 72px 0 88px; }
}

/* ------------------------------------------------------------------
   Theme: dark
   1. No saved choice: follow the system setting.
   2. Saved choice (data-theme on the html element) always wins.
   Keep the two variable lists below identical.
------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink-2: #B8BFCE;
    --ink-3: #98A0B3;
    --line: rgba(247,245,240,.14);
    --bg: #0E1320;
    --bg-tint: #121828;
    --surface: #171E31;
    --surface-chip: #0F1524;
    --text-strong: #F7F5F0;
    --rule: #F4A300;
    --accent-text: #F4A300;
    --dark-surface: #080B14;
    --dark-border: rgba(247,245,240,.12);
    --btn-primary-bg: #F7F5F0;
    --btn-primary-text: #0E1320;
    --btn-primary-hover: #FFFFFF;
    --btn-ghost-border: rgba(247,245,240,.34);
    --pill-bg: #0B0F19;
    --option-bg: #171E31;
    --option-text: #F7F5F0;
    --video-shadow: rgba(0,0,0,.6);
    --logo-ring: drop-shadow(0 0 1px rgba(247,245,240,.5));
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink-2: #B8BFCE;
  --ink-3: #98A0B3;
  --line: rgba(247,245,240,.14);
  --bg: #0E1320;
  --bg-tint: #121828;
  --surface: #171E31;
  --surface-chip: #0F1524;
  --text-strong: #F7F5F0;
  --rule: #F4A300;
  --accent-text: #F4A300;
  --dark-surface: #080B14;
  --dark-border: rgba(247,245,240,.12);
  --btn-primary-bg: #F7F5F0;
  --btn-primary-text: #0E1320;
  --btn-primary-hover: #FFFFFF;
  --btn-ghost-border: rgba(247,245,240,.34);
  --pill-bg: #0B0F19;
  --option-bg: #171E31;
  --option-text: #F7F5F0;
  --video-shadow: rgba(0,0,0,.6);
  --logo-ring: drop-shadow(0 0 1px rgba(247,245,240,.5));
}

/* Theme toggle (lives on the always-dark header) */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1.5px solid rgba(247,245,240,.35); background: transparent; color: rgba(247,245,240,.92); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; flex: 0 0 auto; transition: border-color .15s, color .15s, background .15s; }
.theme-toggle:hover { color: var(--offwhite); border-color: rgba(247,245,240,.7); background: rgba(247,245,240,.06); }
.theme-toggle svg { width: 20px; height: 20px; display: block; flex: 0 0 auto; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .theme-label { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 1000px) {
  .theme-toggle { width: 100%; height: 48px; justify-content: flex-start; padding: 0 16px; }
  .theme-toggle .theme-label { display: inline; }
}
