/* ==========================================================================
   VINE Solutions — v6 design system
   One stylesheet for every page. Content is fully visible without JavaScript;
   motion is layered on top and disabled for prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #03150f;
  --night-2: #061d15;
  --deep: #082a1d;
  --forest: #0b3a28;
  --forest-2: #0f4a33;
  --moss: #1b6748;
  --lime: #d9f46d;
  --lime-2: #c4e255;
  --mint: #67dfb2;
  --amber: #f2c46d;
  --sky: #9cc9ff;
  --paper: #f3f0e8;
  --paper-2: #e9e4d7;
  --card: #fffdf8;
  --ink: #0b241a;
  --ink-2: #33483e;
  --ink-soft: #55695f;
  --white: #fffefb;

  --on-dark: rgba(255, 254, 251, .94);
  --on-dark-2: rgba(255, 254, 251, .72);
  --on-dark-3: rgba(255, 254, 251, .56);
  --line-dark: rgba(255, 254, 251, .09);
  --line-dark-2: rgba(255, 254, 251, .16);
  --line-ink: rgba(11, 36, 26, .12);

  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --shell: min(1240px, calc(100% - 48px));
  --header-h: 76px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section-y: clamp(84px, 10vw, 140px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 300; left: 16px; top: 12px;
  padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--night); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 640; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.012em; color: var(--lime);
}
h2 { font-size: clamp(40px, 5.4vw, 76px); }
h2 em { font-size: 1.04em; line-height: .9; }
.section--paper h2 em, .eyebrow--ink + h2 em { color: var(--moss); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  color: var(--lime); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--ink { color: var(--moss); }
.section-lede { color: var(--on-dark-2); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; max-width: 560px; }
.section--paper .section-lede { color: var(--ink-soft); }
.section-lede a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.section--paper .section-lede a { color: var(--moss); }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 650; letter-spacing: -.005em; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -12px rgba(217, 244, 109, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--lime:hover { background: #e4fa86; transform: translateY(-1px); box-shadow: 0 16px 40px -14px rgba(217, 244, 109, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { background: rgba(255, 254, 251, .04); border-color: var(--line-dark-2); color: var(--on-dark); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(217, 244, 109, .5); background: rgba(217, 244, 109, .06); }
.btn--ghost:hover .icon { transform: translateY(2px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #12352a; transform: translateY(-1px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--moss); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 210; pointer-events: none;
  background: linear-gradient(90deg, var(--mint), var(--lime)); transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes progress-grow { to { transform: scaleX(1); } }
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .page-legal .site-header, .page-404 .site-header {
  background: rgba(3, 21, 15, .92); border-bottom-color: var(--line-dark);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; border-radius: 14px; }
.brand-plaque {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, #fffefb, #efece3); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.brand-plaque img { width: 44px; height: auto; }
.brand-plaque--lg { width: 88px; height: 88px; border-radius: 22px; }
.brand-plaque--lg img { width: 74px; }

.primary-nav {
  margin-inline: auto; display: flex; gap: 4px; padding: 5px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(3, 21, 15, .35); backdrop-filter: blur(12px);
}
.primary-nav a {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--on-dark-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--white); background: rgba(255, 254, 251, .07); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }

/* Menu: a native <details> disclosure, so it works without JavaScript. */
.menu { display: none; position: static; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-toggle {
  height: 42px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-dark-2); background: rgba(3, 21, 15, .5); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 600;
}
.menu-toggle-bars { position: relative; width: 16px; height: 10px; }
.menu-toggle-bars i { position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle-bars i:first-child { top: 1px; }
.menu-toggle-bars i:last-child { top: 7.4px; }
.menu[open] .menu-toggle-bars i:first-child { top: 4.2px; transform: rotate(45deg); }
.menu[open] .menu-toggle-bars i:last-child { top: 4.2px; transform: rotate(-45deg); }
.menu-panel {
  position: fixed; inset: var(--header-h) 0 0; z-index: 190; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(3, 21, 15, .97); backdrop-filter: blur(20px); border-top: 1px solid var(--line-dark);
  padding: 28px 0 40px;
}
.menu[open] .menu-panel { animation: menu-in .35s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-grid { display: grid; gap: 30px; }
.menu-primary { display: grid; }
.menu-primary a { padding: 12px 0; font-size: 30px; font-weight: 620; letter-spacing: -.03em; border-bottom: 1px solid var(--line-dark); }
.menu-label { margin-bottom: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 650; }
.menu-services { display: grid; }
.menu-services a { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; color: var(--on-dark-2); font-size: 16px; }
.menu-services a span { font-size: 12px; color: var(--lime); font-variant-numeric: tabular-nums; }
.menu-services a:hover { color: var(--white); }
.menu-cta { justify-self: start; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(760px, 100svh); padding: calc(var(--header-h) + 48px) 0 72px;
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--night) url('/assets/vine-cinematic-poster.jpg') center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); transform: scale(1.04); }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 21, 15, .96) 0%, rgba(3, 21, 15, .86) 38%, rgba(3, 21, 15, .55) 70%, rgba(3, 21, 15, .7) 100%),
    linear-gradient(180deg, rgba(3, 21, 15, .55) 0%, rgba(3, 21, 15, 0) 30%, rgba(3, 21, 15, 0) 70%, var(--night) 100%);
}
.hero-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 244, 109, .13), transparent 62%); filter: blur(10px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(50px, 6.6vw, 98px); line-height: .95; letter-spacing: -.045em; }
.hero h1 .h1-line { display: block; }
.hero h1 em { font-size: 1.06em; line-height: .95; margin-top: .06em; }
.hero-lede { margin-top: 28px; max-width: 600px; color: var(--on-dark-2); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-dark-3); font-size: 14px; font-weight: 520; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--lime); }

/* Hero entrance (CSS only; content is visible even if animations are skipped). */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .2s; }
  .hero-copy > :nth-child(5) { animation-delay: .26s; }
  .hero-visual { animation: rise-far 1.2s .15s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes rise-far { from { opacity: 0; transform: translateY(28px) scale(.98); } }
}

/* Console */
.hero-visual { perspective: 1400px; }
.console {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(217, 244, 109, .2);
  background: linear-gradient(155deg, rgba(15, 74, 51, .62), rgba(3, 21, 15, .78) 60%);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}
.console-bar, .console-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3);
}
.console-bar { border-bottom: 1px solid var(--line-dark); }
.console-bar b { color: var(--on-dark); font-weight: 650; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-dark-2); }
.console-dots i:first-child { background: var(--lime); }
.console-foot { border-top: 1px solid var(--line-dark); letter-spacing: .1em; }
.console-foot span { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2); }
.console-foot span i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.console-body { position: relative; aspect-ratio: 600 / 520; }
.console-grid {
  position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
}
.console-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.console-links .orbit { fill: none; stroke: rgba(217, 244, 109, .12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.console-links .orbit--outer { stroke: rgba(255, 255, 255, .06); stroke-dasharray: 2 6; }
.console-links .ring { fill: rgba(217, 244, 109, .015); stroke: rgba(255, 255, 255, .1); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.console-links .link { fill: none; stroke: rgba(103, 223, 178, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.console-links .flow { fill: none; stroke: var(--lime); stroke-width: 1.4; stroke-dasharray: 6 26; opacity: .65; vector-effect: non-scaling-stroke; animation: flow 3.2s linear infinite; }
.console-links .signal { fill: var(--lime); filter: drop-shadow(0 0 6px rgba(217, 244, 109, .9)); }
@keyframes flow { to { stroke-dashoffset: -64; } }

.core {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #14583c, #062519 70%);
  border: 1px solid rgba(217, 244, 109, .35);
  box-shadow: 0 0 0 10px rgba(217, 244, 109, .04), 0 0 60px rgba(217, 244, 109, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.core-halo { position: absolute; inset: -18%; border-radius: 50%; border: 1px solid rgba(217, 244, 109, .2); animation: halo 3.6s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.core-mark { width: 38%; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4)); }
.core b { font-size: clamp(9px, .8vw, 11px); letter-spacing: .2em; color: var(--white); font-weight: 700; }
.core-bars { display: flex; gap: 3px; align-items: flex-end; height: 10px; }
.core-bars i { width: 3px; background: var(--lime); border-radius: 2px; animation: bars 1.4s ease-in-out infinite; }
.core-bars i:nth-child(1) { height: 5px; }
.core-bars i:nth-child(2) { height: 9px; animation-delay: .2s; }
.core-bars i:nth-child(3) { height: 6px; animation-delay: .4s; }
@keyframes bars { 50% { transform: scaleY(.45); } }

.node {
  position: absolute; width: 31%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(8, 42, 29, .92), rgba(3, 21, 15, .92));
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  animation: float 7s ease-in-out infinite;
}
.node--1 { left: 50%; top: 12%; }
.node--2 { left: 81.2%; top: 31%; animation-delay: -1.2s; }
.node--3 { left: 81.2%; top: 69%; animation-delay: -2.4s; }
.node--4 { left: 50%; top: 88%; animation-delay: -3.6s; }
.node--5 { left: 18.8%; top: 69%; animation-delay: -4.8s; }
.node--6 { left: 18.8%; top: 31%; animation-delay: -6s; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 5px)); } }
.node-num {
  flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--lime); border: 1px solid rgba(217, 244, 109, .3); font-variant-numeric: tabular-nums;
}
.node-text { display: grid; min-width: 0; line-height: 1.2; }
.node-text b { font-size: 14px; font-weight: 640; letter-spacing: -.01em; color: var(--white); white-space: nowrap; }
.node-text small { font-size: 11px; color: var(--on-dark-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-dot { margin-left: auto; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(217, 244, 109, .12); animation: blink 2.6s ease-in-out infinite; }
.node--2 .node-dot, .node--5 .node-dot { background: var(--mint); box-shadow: 0 0 0 4px rgba(103, 223, 178, .12); animation-delay: .8s; }
@keyframes blink { 50% { opacity: .35; } }

.sound-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-dark-2); background: rgba(3, 21, 15, .55); backdrop-filter: blur(12px);
  font-size: 13px; color: var(--on-dark-2);
}
.sound-toggle[hidden] { display: none; }
.sound-bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.sound-toggle[aria-pressed='true'] { color: var(--lime); border-color: rgba(217, 244, 109, .4); }
.sound-toggle[aria-pressed='true'] .sound-bars i { animation: eq .9s ease-in-out infinite; }
.sound-toggle[aria-pressed='true'] .sound-bars i:nth-child(2) { animation-delay: .15s; }
.sound-toggle[aria-pressed='true'] .sound-bars i:nth-child(3) { animation-delay: .3s; }
@keyframes eq { 50% { height: 12px; } }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line-dark); background: var(--night-2); padding: 22px 0; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--night-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--night-2), transparent); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 60s linear infinite; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--on-dark-2); white-space: nowrap; }
.ticker-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); opacity: .8; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: end; }
.section-head--split .section-lede { justify-self: end; }

/* ---------- Services ---------- */
.services {
  background:
    radial-gradient(1000px 520px at 85% 0%, rgba(103, 223, 178, .07), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(217, 244, 109, .05), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night) 60%);
}
.group-label { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.group-label i { flex: 1; height: 1px; background: var(--line-dark); }
.group-label small { font-size: 12px; letter-spacing: .12em; color: var(--lime); font-variant-numeric: tabular-nums; }
.vgrid { display: grid; gap: 16px; }
.vgrid + .group-label { margin-top: 56px; }
.vgrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vgrid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.vcard, .related-card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 254, 251, .045), rgba(255, 254, 251, .012));
  transition: transform .45s var(--ease-out), border-color .35s var(--ease), box-shadow .45s var(--ease-out);
}
.vcard::before, .related-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(217, 244, 109, .11), transparent 45%);
}
.vcard:hover, .vcard:focus-within, .related-card:hover, .related-card:focus-visible {
  transform: translateY(-4px); border-color: rgba(217, 244, 109, .32);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.vcard:hover::before, .vcard:focus-within::before, .related-card:hover::before { opacity: 1; }
.vcard { display: grid; }
.vcard-main { display: flex; flex-direction: column; padding: 28px; min-height: 100%; }
.vcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 36px; }
.vcard-num { font-size: 13px; font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.vcard-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); text-align: right; }
.vcard-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none;
  color: var(--lime); background: rgba(217, 244, 109, .07); border: 1px solid rgba(217, 244, 109, .2);
}
.vcard-icon .icon { width: 24px; height: 24px; }
.vcard h3 { margin-top: 24px; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.025em; }
.vcard-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.vcard-link:focus-visible { outline: none; }
.vcard:has(.vcard-link:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.vcard p { margin-top: 14px; color: var(--on-dark-2); font-size: 15.5px; line-height: 1.6; }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: 12px; font-weight: 550; color: var(--on-dark-2); }
.vcard-cta { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--lime); }
.vcard-cta .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.vcard:hover .vcard-cta .icon { transform: translateX(4px); }

.vcard--wide { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.vcard--wide .vcard-main { padding: 32px; }
.mini {
  margin: 20px 20px 20px 0; padding: 18px; border-radius: var(--r-md); align-self: center;
  background: rgba(3, 21, 15, .55); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px;
}
.mini-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line-dark); }
.mini-head b { font-size: 13px; font-weight: 650; }
.mini-head small, .report-head small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; color: var(--on-dark-2); border-bottom: 1px dashed var(--line-dark); }
.mini-row:last-child { border-bottom: 0; }
.mini-bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; padding: 14px 4px 10px; border-bottom: 1px solid var(--line-dark); }
.mini-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(217, 244, 109, .85), rgba(103, 223, 178, .35)); transform-origin: bottom; }
.mini-bars .h0 { height: 42%; } .mini-bars .h1 { height: 55%; } .mini-bars .h2 { height: 48%; } .mini-bars .h3 { height: 63%; }
.mini-bars .h4 { height: 58%; } .mini-bars .h5 { height: 71%; } .mini-bars .h6 { height: 67%; } .mini-bars .h7 { height: 80%; }
.mini-pipeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 12px; }
.mini-pipeline span { position: relative; padding: 8px 6px; border-radius: 10px; background: rgba(255, 254, 251, .04); border: 1px solid var(--line-dark); text-align: center; }
.mini-pipeline b { font-size: 11px; font-weight: 600; color: var(--on-dark-2); line-height: 1.2; display: block; }
.mini-pipeline span:last-child { border-color: rgba(217, 244, 109, .3); }
.mini-pipeline span:last-child b { color: var(--lime); }

.chip { flex: none; font-style: normal; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.chip--ok { color: #9ff0c8; background: rgba(103, 223, 178, .12); }
.chip--warn { color: #ffd88f; background: rgba(242, 196, 109, .13); }
.chip--review { color: #c5ddff; background: rgba(156, 201, 255, .13); }
.chip--muted { color: var(--on-dark-2); background: rgba(255, 254, 251, .07); }

/* ---------- Lifecycle ---------- */
.lifecycle { overflow: hidden; background: linear-gradient(180deg, var(--night), #04190f 50%, var(--night)); border-top: 1px solid var(--line-dark); }
.lifecycle-aurora { position: absolute; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(ellipse at 50% 100%, rgba(103, 223, 178, .14), transparent 60%); pointer-events: none; }
.stages {
  --progress: 1;
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
}
.js .stages { --progress: 0; }
.stages-track { position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: var(--line-dark-2); border-radius: 2px; }
.stages-track span { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--progress)); background: linear-gradient(90deg, var(--mint), var(--lime)); border-radius: 2px; box-shadow: 0 0 18px rgba(217, 244, 109, .45); transition: transform .15s linear; }
.stage { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: 4px; padding: 0 8px; }
.stage-node {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--night); border: 1px solid var(--line-dark-2); transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease-out);
}
.stage-node i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-dark-2); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.stage-num { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-3); transition: color .4s var(--ease); }
.stage b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 640; letter-spacing: -.025em; line-height: 1.15; color: var(--on-dark-2); transition: color .4s var(--ease); }
.stage small { font-size: 14px; color: var(--on-dark-3); line-height: 1.45; max-width: 200px; }
.stage.is-active .stage-node, .stages:not(.is-tracking) .stage-node { border-color: rgba(217, 244, 109, .55); box-shadow: 0 0 0 6px rgba(217, 244, 109, .06), 0 0 30px rgba(217, 244, 109, .18); }
.stage.is-active .stage-node i, .stages:not(.is-tracking) .stage-node i { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.stage.is-active .stage-num, .stages:not(.is-tracking) .stage-num { color: var(--lime); }
.stage.is-active b, .stages:not(.is-tracking) b { color: var(--white); }
.stage.is-current .stage-node { transform: scale(1.08); }

.alongside {
  margin-top: 64px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-dark-2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
.alongside p { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.alongside-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(103, 223, 178, .12); }
.alongside > div { display: flex; flex-wrap: wrap; gap: 10px; }
.alongside a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark-2); background: rgba(255, 254, 251, .03); font-size: 14px; font-weight: 600;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.alongside a > .icon:first-child { color: var(--lime); width: 18px; height: 18px; }
.alongside a:hover { border-color: rgba(217, 244, 109, .45); background: rgba(217, 244, 109, .06); }

/* ---------- Reporting ---------- */
.reporting { overflow: hidden; }
.reporting::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 103, 72, .1), transparent 60%); pointer-events: none; }
.reporting-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.reporting-copy h2 { font-size: clamp(40px, 4.6vw, 68px); }
.reporting-copy .section-lede { margin-top: 24px; }
.reporting-copy .btn { margin-top: 34px; }
.report {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--r-xl); padding: 24px; background: var(--card);
  border: 1px solid rgba(11, 36, 26, .08);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 18px 18px 0 -2px var(--paper-2), 0 50px 100px -40px rgba(11, 36, 26, .35), 0 12px 30px -18px rgba(11, 36, 26, .2);
}
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line-ink); }
.report-title { display: inline-flex; align-items: center; gap: 12px; }
.report-title b { font-size: 16px; font-weight: 650; }
.report-mark { width: 34px; height: auto; padding: 5px; border-radius: 10px; background: #edf2e6; }
.report-head small { color: #5d6e65; }
.report-cols, .report-rows li { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: center; }
.report-cols { padding: 14px 4px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #5d6e65; }
.report-cols span:last-child { text-align: right; }
.report-rows li { padding: 14px 4px; border-top: 1px solid var(--line-ink); font-size: 15px; }
.report-name { font-weight: 620; color: var(--ink); }
.report-vertical { color: var(--ink-soft); font-size: 13.5px; }
.report .chip--ok { color: #13603f; background: #dff3e8; }
.report .chip--warn { color: #8a5600; background: #fbeccd; }
.report .chip--review { color: #1d4f8a; background: #e1ecfb; }
.report-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 4px 0; border-top: 1px solid var(--line-ink); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #5d6e65; }
.report-foot span { display: inline-flex; align-items: center; gap: 8px; }
.report-foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }

/* ---------- Why ---------- */
.why {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(217, 244, 109, .07), transparent 60%),
    linear-gradient(180deg, var(--forest), var(--deep));
}
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-dark-2); margin-bottom: 56px; }
.facts div { padding: 32px 28px 30px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line-dark-2); }
.facts dt { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 7vw, 104px); line-height: .9; color: var(--lime); }
.facts dd { margin-top: 12px; font-size: 15px; color: var(--on-dark-2); max-width: 220px; line-height: 1.45; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principle { position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(3, 21, 15, .28); border: 1px solid var(--line-dark); }
.principle-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--lime); background: rgba(217, 244, 109, .08); border: 1px solid rgba(217, 244, 109, .18); }
.principle-num { position: absolute; top: 30px; right: 28px; font-size: 12px; font-weight: 700; color: var(--on-dark-3); letter-spacing: .08em; }
.principle h3 { margin-top: 28px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.principle p { margin-top: 10px; color: var(--on-dark-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head h2 { font-size: clamp(38px, 4.4vw, 62px); }
.faq-head .section-lede { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line-ink); }
.faq-item { border-bottom: 1px solid var(--line-ink); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 620; letter-spacing: -.015em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-ink); color: var(--moss); transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq-item summary i .icon { width: 18px; height: 18px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--lime); border-color: var(--ink); }
.faq-item summary:hover i { border-color: var(--moss); }
.faq-answer { padding: 0 60px 28px 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.faq-item[open] .faq-answer { animation: fade-down .4s var(--ease-out); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; background: radial-gradient(1100px 700px at 20% 100%, rgba(15, 74, 51, .55), transparent 60%), var(--night); }
.contact-ambient { position: absolute; width: 640px; height: 640px; right: -200px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 244, 109, .08), transparent 62%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy .section-lede { margin-top: 22px; }
.next-steps { margin-top: 40px; display: grid; gap: 4px; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.next-steps li > span { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--lime); }
.next-steps b { font-size: 17px; font-weight: 640; }
.next-steps p { margin-top: 4px; font-size: 15px; color: var(--on-dark-2); }
.contact-emails { margin-top: 28px; display: grid; gap: 14px; }
.contact-emails a { display: grid; gap: 2px; font-size: 16px; font-weight: 550; width: fit-content; }
.contact-emails a:hover { color: var(--lime); }
.contact-emails small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 600; }

.form {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 254, 251, .055), rgba(255, 254, 251, .02));
  border: 1px solid var(--line-dark-2); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; gap: 18px;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.segmented { border: 0; margin: 0; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 999px; background: rgba(3, 21, 15, .6); border: 1px solid var(--line-dark); }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; height: 42px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.segmented input:checked + span { background: var(--lime); color: var(--night); }
.segmented input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--on-dark-2); }
.optional { font-weight: 450; color: var(--on-dark-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line-dark-2); background: rgba(3, 21, 15, .55); color: var(--white);
  font-size: 16px; line-height: 1.4; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9f46d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field select option { background: var(--night); color: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 254, 251, .26); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(217, 244, 109, .14); background: rgba(3, 21, 15, .75); }
.field [aria-invalid='true'] { border-color: #ff9b8a; box-shadow: 0 0 0 4px rgba(255, 155, 138, .12); }
.field-error { min-height: 0; font-size: 13px; color: #ffb3a6; }
.field-error:empty { display: none; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--on-dark-3); }
.form-note .icon { margin-top: 2px; color: var(--lime); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check-box { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-dark-2); display: grid; place-items: center; background: rgba(3, 21, 15, .55); color: var(--night); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.check-box .icon { width: 14px; height: 14px; opacity: 0; stroke-width: 2.4; }
.check input:checked + .check-box { background: var(--lime); border-color: var(--lime); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--lime); outline-offset: 2px; }
.check input[aria-invalid='true'] + .check-box { border-color: #ff9b8a; }
.check a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.field--check { position: relative; }
.form-status { font-size: 15px; line-height: 1.5; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; border-radius: 14px; background: rgba(103, 223, 178, .1); border: 1px solid rgba(103, 223, 178, .3); color: #b8f5d8; }
.form-status.is-error { padding: 14px 16px; border-radius: 14px; background: rgba(255, 155, 138, .08); border: 1px solid rgba(255, 155, 138, .3); color: #ffc8be; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: #020f0a; border-top: 1px solid var(--line-dark); padding: 80px 0 36px; color: var(--on-dark-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, .7fr); gap: 40px; }
.footer-brand p { margin-top: 22px; max-width: 340px; font-size: 16px; line-height: 1.6; }
.footer-mail { margin-top: 24px; display: grid; gap: 12px; }
.footer-mail a { display: inline-flex; gap: 12px; align-items: center; width: fit-content; font-size: 15px; }
.footer-mail a .icon { color: var(--lime); width: 18px; height: 18px; }
.footer-mail span { display: grid; }
.footer-mail small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.footer-mail a:hover { color: var(--white); }
.footer-label { margin-bottom: 16px; font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 15px; line-height: 1.4; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; font-size: 13px; line-height: 1.6; color: var(--on-dark-3); }
.footer-bottom p:last-child { text-align: right; max-width: 760px; justify-self: end; }

/* ---------- Service pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 96px; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(217, 244, 109, .1), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(103, 223, 178, .08), transparent 60%),
    linear-gradient(180deg, var(--night), var(--night-2));
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, #000, transparent 75%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1; letter-spacing: -.04em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 13.5px; color: var(--on-dark-3); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--on-dark-2); }
.summary-card {
  padding: 28px; border-radius: var(--r-xl); border: 1px solid rgba(217, 244, 109, .2);
  background: linear-gradient(160deg, rgba(15, 74, 51, .55), rgba(3, 21, 15, .7)); backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9);
}
.summary-top { display: flex; justify-content: space-between; align-items: center; }
.summary-num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: .8; color: var(--lime); }
.summary-name { margin-top: 22px; font-size: 21px; font-weight: 640; letter-spacing: -.02em; line-height: 1.2; }
.summary-label { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 600; }
.summary-list { margin-top: 12px; display: grid; gap: 10px; }
.summary-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14.5px; color: var(--on-dark-2); line-height: 1.5; }
.summary-list .icon, .checklist .icon { margin-top: 4px; color: var(--lime); }

.page-body-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.page-aside h2 { font-size: clamp(38px, 4vw, 56px); }
.page-aside p:last-child { margin-top: 20px; color: var(--ink-soft); }
.page-blocks { display: grid; gap: 0; }
.block { padding: 40px 0; border-top: 1px solid var(--line-ink); }
.block:first-child { padding-top: 0; border-top: 0; }
.block h2 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.025em; color: var(--ink); margin-bottom: 20px; }
.block p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.6; }
.checklist .icon { width: 18px; height: 18px; padding: 3px; margin-top: 3px; border-radius: 50%; color: var(--moss); background: #dfeadf; box-sizing: content-box; stroke-width: 2.2; }
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.deliverables li { padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line-ink); box-shadow: 0 10px 30px -22px rgba(11, 36, 26, .4); }
.deliverables span { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--moss); }
.deliverables p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.block--authority, .block--note { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px; margin: 20px 0; border-radius: var(--r-lg); background: #e3ebdf; border: 1px solid rgba(11, 36, 26, .07); }
.block--note { background: var(--card); }
.block--authority h2, .block--note h2 { margin-bottom: 10px; font-size: 22px; }
.block-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.block--note .text-link { margin-top: 14px; }

.related { background: var(--night); }
.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.related-card { display: grid; gap: 18px; align-content: start; padding: 22px; min-height: 210px; }
.related-card .vcard-icon { width: 44px; height: 44px; border-radius: 13px; }
.related-card b { font-size: 17px; font-weight: 620; letter-spacing: -.015em; line-height: 1.25; }
.related-arrow { margin-top: auto; color: var(--lime); }
.related-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.related-card:hover .related-arrow .icon { transform: translateX(4px); }

.cta-band { padding: 0 0 clamp(80px, 9vw, 120px); background: var(--night); }
.cta-band-inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--forest-2), var(--forest) 40%, var(--deep));
  border: 1px solid rgba(217, 244, 109, .2);
}
.cta-band-inner::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 244, 109, .2), transparent 62%); }
.cta-band h2 { font-size: clamp(34px, 4vw, 56px); }
.cta-band p { margin-top: 12px; max-width: 560px; color: var(--on-dark-2); }

/* ---------- Legal pages ---------- */
.legal-hero { position: relative; height: calc(var(--header-h) + 8px); }
.legal-wrap { padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.legal-article { max-width: 860px; color: var(--ink); }
.legal-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--moss); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.legal-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.legal-article h1 { margin-top: 18px; font-size: clamp(46px, 6.5vw, 84px); letter-spacing: -.045em; line-height: .98; }
.legal-article .updated { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.legal-article .lede { margin-top: 22px; font-size: 20px; line-height: 1.6; color: var(--ink-2); }
.legal-article h2 { margin: 52px 0 14px; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.15; }
.legal-article p, .legal-article li { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.legal-article p + p { margin-top: 14px; }
.legal-article ul { margin-top: 12px; display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.legal-article ol { margin-top: 12px; padding-left: 22px; list-style: decimal; }
.legal-article ol li + li { margin-top: 14px; }
.legal-article li::marker { color: var(--moss); }
.legal-article a { color: var(--moss); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-article strong { color: var(--ink); }
.role-panel { margin: 44px 0 16px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-ink); box-shadow: 0 20px 50px -35px rgba(11, 36, 26, .45); }
.role-panel h2 { margin: 0 0 18px; font-size: 22px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-grid > div { padding: 20px; border-radius: var(--r-md); background: #edf1e8; border: 1px solid rgba(11, 36, 26, .06); }
.role-grid strong { display: block; margin-top: 6px; font-size: 17px; }
.role-grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.role-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.contact-card { margin-top: 20px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); display: grid; gap: 6px; }
.contact-card strong { color: var(--white); font-size: 18px; }
.contact-card span { color: rgba(255, 254, 251, .7); font-size: 15px; }
.legal-article .contact-card a { color: var(--lime); }
.notice { margin-top: 40px; padding: 20px 22px; border-radius: var(--r-md); background: #e3ebdf; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.deletion-steps li { padding-left: 4px; }

/* 404 */
.page-hero--center { min-height: 80svh; display: flex; align-items: center; }
.nf { text-align: center; display: grid; justify-items: center; }
.nf h1 { max-width: 900px; font-size: clamp(46px, 6.5vw, 92px); }
.nf .hero-actions { justify-content: center; }

/* ---------- Reveal (only for content below the fold; never hides content without JS) ---------- */
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-pending { opacity: 0; transform: translateY(26px); }

/* ---------- Responsive ---------- */
@media (min-width: 1041px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .hero h1 { font-size: clamp(50px, 5.5vw, 80px); }
  .hero-lede { margin-top: 22px; }
  .hero-actions { margin-top: 28px; }
  .hero-points { margin-top: 22px; }
  .hero-visual { max-width: 500px; justify-self: end; width: 100%; }
}
@media (max-width: 1180px) {
  .vgrid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard-top { margin-bottom: 28px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1040px) {
  .primary-nav { display: none; }
  .menu { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; width: 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(3, 21, 15, .82), rgba(3, 21, 15, .9) 50%, var(--night)); }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .section-lede { justify-self: start; }
  .vcard--wide { grid-template-columns: 1fr; }
  .vcard--wide .mini { margin: 0 20px 20px; }
  .vgrid--two { grid-template-columns: 1fr; }
  .reporting-grid, .faq-grid, .contact-grid, .page-hero-grid, .page-body-grid { grid-template-columns: 1fr; }
  .faq-head, .page-aside { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line-dark-2); }
  .summary-card { max-width: 560px; }
  .sound-toggle { display: none; }
}

@media (max-width: 820px) {
  .stages { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .stages-track { left: 31px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .stages-track span { transform-origin: 50% 0; transform: scaleY(var(--progress)); }
  .stage { grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; justify-items: start; text-align: left; column-gap: 20px; row-gap: 2px; padding: 0 0 28px; }
  .stage:last-child { padding-bottom: 0; }
  .stage-node { grid-row: 1 / span 3; margin: 0; }
  .stage-num { padding-top: 4px; }
  .stage small { max-width: none; }
  .deliverables { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom p:last-child { text-align: left; justify-self: start; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --header-h: 68px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .brand-plaque { width: 46px; height: 46px; border-radius: 12px; }
  .brand-plaque img { width: 39px; }
  .hero { padding-bottom: 64px; }
  .hero h1 { font-size: clamp(44px, 12.4vw, 60px); }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 16px; font-size: 13px; }
  .console-bar, .console-foot { padding: 12px 16px; font-size: 10px; }
  .console-foot small { display: none; }
  .node { width: 34%; padding: 7px 8px; gap: 7px; border-radius: 12px; }
  .node-num { width: 22px; height: 22px; font-size: 10px; border-radius: 7px; }
  .node-text b { font-size: 12px; }
  .node-text small, .node-dot { display: none; }
  .core b { display: none; }
  .vgrid--four { grid-template-columns: 1fr; }
  .vgrid { gap: 12px; }
  .vgrid + .group-label { margin-top: 40px; }
  .vcard-main, .vcard--wide .vcard-main { padding: 22px; }
  .vcard-top { margin-bottom: 18px; }
  .vcard-icon { width: 44px; height: 44px; border-radius: 13px; }
  .vcard-icon .icon { width: 21px; height: 21px; }
  .vcard h3 { margin-top: 16px; }
  .vcard p { margin-top: 10px; font-size: 15px; }
  .tags { margin-top: 16px; }
  .vcard-cta { padding-top: 18px; }
  .vcard--wide .mini { display: none; }
  .ticker { padding: 16px 0; }
  .principle { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 22px; }
  .principle-icon { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .principle-num { display: none; }
  .principle h3 { margin-top: 0; font-size: 19px; }
  .principle p { margin-top: 2px; }
  .principles { gap: 10px; }
  .next-steps li { grid-template-columns: 36px 1fr; gap: 12px; }
  .alongside { padding: 18px; }
  .alongside a { width: 100%; }
  .alongside a > .icon:last-child { margin-left: auto; }
  .report { padding: 18px; border-radius: var(--r-lg); }
  .report { box-shadow: 0 30px 60px -30px rgba(11, 36, 26, .35); }
  .report-cols { display: none; }
  .report-rows li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .report-vertical { grid-row: 2; grid-column: 1; }
  .report-rows .chip { grid-row: 1 / span 2; grid-column: 2; }
  .report-foot { flex-direction: column; gap: 6px; }
  .facts dt { font-size: 64px; }
  .facts div { padding: 24px 16px 22px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:nth-child(3) { padding-left: 0; }
  .principles { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 0; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
  .related-card .vcard-num { display: none; }
  .related-arrow { margin: 0; }
  .block--authority, .block--note { grid-template-columns: 1fr; padding: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band-inner .btn { width: 100%; }
  .role-grid { grid-template-columns: 1fr; }
  .role-panel { padding: 20px; }
}

@media (hover: none) {
  .vcard:hover, .related-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .console-links .signal { display: none; }
  .ticker-track { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

@media print {
  .site-header, .scroll-progress, .hero-media, .hero-visual, .ticker, .sound-toggle, .form, .menu { display: none !important; }
  body, .section, .hero, .why, .contact, .services, .lifecycle, .site-footer { background: #fff !important; color: #000 !important; }
}
