/* ═══════════════════════════════════════════════════════════════════════════
   Yggdrasil CX v2 · Microsite styles
   Apple × Advania × Yggdrasil Roots. Editorial serif display, warm neutrals,
   single strategic accent (Advania purple). Hex motifs as ambient texture.
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ═════════════════════════════════════════════════════════════════════════
   Layout primitives
   ═════════════════════════════════════════════════════════════════════════ */

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
/* Right rail floats over the right edge of the viewport (matches Figma where
   sections are full 1512 wide and content centers in that full width). The
   body no longer reserves a right gutter — section backgrounds extend full
   viewport width and content centers with the rail layered above. */
@media (min-width: 1100px) {
  .site-header .hdr-inner { padding-right: var(--gutter); }
  .page-rail { right: 20px; }
}
.wrap-wide   { max-width: var(--wrap-wide); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section.tint {
  background: var(--bg-tint);
  position: relative;
  isolation: isolate;
}
.section.soft { background: var(--bg-soft); }
.section-dark {
  background: var(--purple-900);
  color: #ece8e2;
  padding: calc(var(--section-y) + 20px) 0;
  position: relative;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(224, 20, 134, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(58, 190, 218, 0.16), transparent 55%);
  pointer-events: none;
}

.section-head {
  max-width: 780px;
  margin: 0 auto var(--stack-2xl);
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

.section-index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: var(--stack-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-index::before {
  content: "";
  width: 14px;
  height: 12px;
  background: var(--accent);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  display: inline-block;
}
.section-index.on-dark { color: #c7b8c9; }
.section-index.on-dark::before { background: var(--purple-300); }

/* ═════════════════════════════════════════════════════════════════════════
   Typography
   ═════════════════════════════════════════════════════════════════════════ */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--stack-md);
}
.on-dark.eyebrow, .eyebrow.on-dark { color: #d087d0; }

.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  margin: 0 0 var(--stack-lg);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.display-lg {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink-0);
  margin: 0 0 var(--stack-md);
  text-wrap: balance;
}
.display-lg em { font-style: italic; color: var(--accent); font-weight: 500; }
.on-dark .display, .display.on-dark,
.on-dark .display-lg, .display-lg.on-dark { color: #f7f2ec; }
.on-dark .display em, .display.on-dark em,
.on-dark .display-lg em, .display-lg.on-dark em { color: #e0b0e0; }

h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  margin: 0 0 var(--stack);
}
.on-dark h3 { color: #f7f2ec; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 var(--stack-lg);
  font-weight: 300;
}
.lead-narrow {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0 auto;
  font-weight: 300;
}
.section-head.left .lead-narrow { margin-left: 0; }
.on-dark .lead, .lead.on-dark,
.on-dark .lead-narrow, .lead-narrow.on-dark { color: #d7cec5; }

/* ═════════════════════════════════════════════════════════════════════════
   Buttons
   ═════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all var(--dur-base) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(152, 19, 156, 0.18);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(152, 19, 156, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--line-hard);
}
.btn-ghost:hover {
  border-color: var(--ink-2);
  background: var(--bg-soft);
}
.on-dark .btn-ghost, .section-dark .btn-ghost {
  color: #ece8e2;
  border-color: rgba(255,255,255,0.22);
}
.on-dark .btn-ghost:hover, .section-dark .btn-ghost:hover {
  border-color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.04);
}

/* ═════════════════════════════════════════════════════════════════════════
   Header + nav (Apple-blur, morphs on scroll)
   ═════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  height: 96px;
  display: flex;
  align-items: center;
}
.hdr-inner {
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--stack-lg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand .logo-mark {
  height: 59px;
  width: auto;
}
.brand-advania {
  height: 59px;
  width: auto;
  display: block;
}
.brand-lock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.brand-sep {
  width: 1px;
  height: 32px;
  background: var(--line-hard);
}
.brand-product {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.site-nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 6px;
  transition: color var(--dur-quick) var(--ease-out), background var(--dur-quick) var(--ease-out);
}
.site-nav a:hover { color: var(--ink-0); background: rgba(0,0,0,0.04); }
.site-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-1); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ═════════════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 32px 0 0;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}
/* Align hero copy with the fixed header (which centers in full viewport,
   ignoring body padding-right for the floating rail) */
@media (min-width: 1100px) {
  .hero-inner {
    margin-left: calc((100vw - var(--wrap-wide)) / 2);
    margin-right: auto;
  }
}
.hero-copy { position: relative; max-width: 640px; padding-top: 164px; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--stack-md);
}
.eyebrow-hex {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hero .display em { display: block; }

.hero-visual {
  position: relative;
  width: 100%;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .hex-net {
  width: 100%;
  height: 100%;
  max-height: 640px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin: var(--stack-lg) 0 0;
  flex-wrap: wrap;
}

.hero-marquee {
  margin-top: var(--stack-2xl);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.marquee-track span:not(:first-child) { /* dot separators colored */ }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; }
}

/* ═════════════════════════════════════════════════════════════════════════
   2. PROBLEM · Gap cards with counting numbers
   ═════════════════════════════════════════════════════════════════════════ */

.gap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: var(--stack-xl);
}
@media (max-width: 820px) { .gap-grid { grid-template-columns: 1fr; } }

.gap-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.gap-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, var(--accent-wash), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.gap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-hard);
}
.gap-card:hover::before { opacity: 1; }
.gap-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: var(--stack);
}
.gap-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.gap-card p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.gap-stat {
  display: flex;
  gap: 28px;
  margin: var(--stack) 0;
}
.gap-stat > div {
  display: flex; flex-direction: column; gap: 4px;
}
.gap-stat .num {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  line-height: 1;
}
.gap-stat .lbl {
  font-size: 13px;
  color: var(--ink-4);
  max-width: 18ch;
  line-height: 1.4;
}

.section-closer {
  max-width: 680px;
  margin: var(--stack-xl) auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
  font-style: italic;
  font-weight: 400;
}

/* ═════════════════════════════════════════════════════════════════════════
   3. PLATFORM · Pillars
   ═════════════════════════════════════════════════════════════════════════ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--stack-xl);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-hard);
}
.pillar-hex {
  width: 200px;
  aspect-ratio: 1 / 1;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 22px;
  transition: transform var(--dur-base) var(--ease-out);
  filter: drop-shadow(0 10px 22px rgba(89, 7, 92, 0.22));
}
.pillar-hex::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.26), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.pillar-hex span { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.pillar:hover .pillar-hex { transform: scale(1.03); }
.pillar-hex[data-hex="access"]      { background: linear-gradient(165deg, #b547b8, #98139c 50%, #5d0660); }
.pillar-hex[data-hex="sovereignty"] { background: linear-gradient(165deg, #e5108f, #bf007e 55%, #7a0b5a); }
.pillar-hex[data-hex="governance"]  { background: linear-gradient(165deg, #aacf75, #3abeda 55%, #0088a7); }

.pillar-tag {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--stack);
}
.pillar h3 { margin: 0; }
.pillar p { color: var(--ink-3); font-size: 15px; line-height: 1.55; margin: 0; }

.foundation-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: fit-content;
  margin: 0 auto;
  background: var(--bg);
  font-size: 13px;
  color: var(--ink-3);
}
.fl-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-right: 8px;
}
.fl-item { color: var(--ink-2); font-weight: 500; }
.fl-dot { color: var(--ink-5); }

/* ═════════════════════════════════════════════════════════════════════════
   4. SEGMENTS
   ═════════════════════════════════════════════════════════════════════════ */

.segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .segments { grid-template-columns: 1fr; } }

.seg-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.seg-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.seg-glyph {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}
.seg-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
}
/* Reserve two lines of headline so all five cards align even when one title
   wraps (e.g. "Legal & professional services"). */
.seg-card h3 {
  font-size: 20px;
  margin: 0;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
}
.seg-short {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
  flex: 1 1 auto;
}

/* ═════════════════════════════════════════════════════════════════════════
   5. ARCHITECTURE (SVG + layer cards)
   ═════════════════════════════════════════════════════════════════════════ */

.arch-frame {
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

/* ── Layered band stack ────────────────────────────────────────────── */

.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.arch-row {
  --arch-tone: var(--purple-500);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: stretch;
}
.arch-row[data-tone="applications"]   { --arch-tone: #c41d7a; --arch-tone-soft: #fbe6f0; }
.arch-row[data-tone="platform"]       { --arch-tone: #6c2b8f; --arch-tone-soft: #efe4f5; }
.arch-row[data-tone="infrastructure"] { --arch-tone: #5a8c2b; --arch-tone-soft: #eaf3de; }
.arch-row[data-tone="identity"]       { --arch-tone: #0088a7; --arch-tone-soft: #d8edf3; }

.arch-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--arch-tone);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
  min-height: 72px;
  border-radius: 6px;
  line-height: 1.3;
}

.arch-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: var(--shadow-1);
}

.arch-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-left: 218px;            /* align with arch-box inner edge (tag 200 + gap 18) */
  color: var(--ink-3);
}
.arch-arrow {
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* ── Applications row: icon pills ──────────────────────────────────── */
.arch-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.arch-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  min-width: 0;
  flex: 1 1 160px;
}
.arch-app-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--arch-tone-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--arch-tone);
  flex: 0 0 30px;
}
.arch-app-label {
  font-size: 14px;
  color: var(--ink-1);
  font-weight: 500;
}

/* ── Platform row: capability subgroups ────────────────────────────── */
.arch-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.arch-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.arch-group-head {
  background: var(--arch-tone);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  text-align: center;
}
.arch-group-list {
  list-style: none;
  padding: 10px 14px 12px;
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.arch-group-list li { position: relative; padding-left: 0; }

/* ── Infrastructure / identity rows: bullet grids ──────────────────── */
.arch-bullets {
  list-style: none;
  padding: 4px 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 32px;
}
.arch-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-1);
  line-height: 1.4;
}
.arch-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 12px; height: 12px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--arch-tone);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
  .arch-tag { min-height: 48px; }
  .arch-flow { margin-left: 0; }
  .arch-groups { grid-template-columns: repeat(2, 1fr); }
  .arch-bullets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .arch-groups { grid-template-columns: 1fr; }
  .arch-bullets { grid-template-columns: 1fr; gap: 8px; }
  .arch-app { flex: 1 1 140px; }
}

.arch-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: var(--stack-xl);
}
@media (max-width: 1000px) { .arch-layers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .arch-layers { grid-template-columns: 1fr; } }

.arch-layer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  transition: all var(--dur-base) var(--ease-out);
}
.arch-layer:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.al-num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.al-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-0);
  margin-bottom: 10px;
}
.arch-layer p { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* ═════════════════════════════════════════════════════════════════════════
   6. SECURE ROUTER (dark)
   ═════════════════════════════════════════════════════════════════════════ */

.router-interactive {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: var(--stack-xl);
  backdrop-filter: blur(8px);
}
.router-tier-controls {
  display: flex;
  gap: 10px;
  margin-bottom: var(--stack-lg);
  flex-wrap: wrap;
}
.tier-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ece8e2;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all var(--dur-base) var(--ease-out);
}
.tier-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tier-btn:hover:not(.active) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}
.tier-btn .tb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
}

.router-pipeline {
  position: relative;
  aspect-ratio: 2.3 / 1;
  min-height: 280px;
  margin-bottom: var(--stack-lg);
}
.router-pipeline svg { width: 100%; height: 100%; }

.router-explain {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #d7cec5;
}
.explain-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: var(--radius);
  flex: 1 1 220px;
}
.explain-row strong { color: #f7f2ec; }
.explain-row .path-pill {
  display: inline-block;
  padding: 2px 10px;
  margin-left: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  border-radius: 999px;
  background: rgba(152,19,156,0.28);
  color: #e0b0e0;
  border: 1px solid rgba(224,176,224,0.3);
}
.path-pill.on-prem { background: rgba(10,110,120,0.4); color: #a0d9e1; border-color: rgba(160,217,225,0.4); }
.path-pill.fail-closed { background: rgba(235,90,40,0.25); color: #f9b89e; border-color: rgba(249,184,158,0.3); }

.router-tiers {
  max-width: 900px;
  margin: var(--stack-xl) auto 0;
  position: relative;
  z-index: 2;
}
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: #ece8e2;
}
.tier-table th, .tier-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
}
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table th {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c7bdb5;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.tier-cell { width: 64px; }
.lead-cell {
  width: 180px;
  color: #f7f2ec;
  font-weight: 500;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: -0.005em;
}
/* Tier pill — matches Figma `Tier table` 231:2: 39×24 rounded-rect with 20%
   tint background and full-opacity tier-color text. */
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 24px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  clip-path: none;
}
.tier-badge.t1 { background: rgba(235, 15, 117, 0.20); color: #eb0f75; }
.tier-badge.t2 { background: rgba(240, 92, 66, 0.20); color: #f05c42; }
.tier-badge.t3 { background: rgba(181, 71, 184, 0.20); color: #b547b8; }
.tier-badge.t4 { background: rgba(59, 191, 219, 0.20); color: #3bbfdb; }

.router-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--stack-xl);
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .router-trust { grid-template-columns: 1fr; } }
.trust-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
}
.tc-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-300);
  margin-bottom: 12px;
}
.trust-card p {
  font-size: 15px;
  color: #d7cec5;
  line-height: 1.6;
  margin: 0;
}
.trust-card strong { color: #f7f2ec; }

/* ═════════════════════════════════════════════════════════════════════════
   7. CAPABILITIES — gradient hex rows
   ═════════════════════════════════════════════════════════════════════════ */

.cap-hex-field {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.cap-hex-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  gap: 18px;
  align-items: start;
}

/* Gradient connector line through the hex centers — uses tokens */
.cap-hex-row::before {
  content: "";
  position: absolute;
  top: 55px;                    /* vertical center of a 110px hex */
  left: 7%;
  right: 7%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--magenta-500) 0%, transparent)   0%,
    color-mix(in srgb, var(--magenta-500) 85%, transparent) 10%,
    color-mix(in srgb, var(--ember-500)   85%, transparent) 45%,
    color-mix(in srgb, var(--purple-700)  85%, transparent) 75%,
    color-mix(in srgb, var(--purple-900)  0%, transparent) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.cap-hex-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding: 0 4px;
}

.cap-hex-shape {
  width: 110px;
  /* √3/2 ratio gives a regular pointy-top hexagon with the clip-path below */
  aspect-ratio: 0.866 / 1;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--cap-grad, var(--grad-cap-3));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.cap-hex-cell:hover .cap-hex-shape {
  transform: scale(1.05);
}
.cap-hex-icon {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.cap-hex-body-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 26ch;
}
.cap-hex-id {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ink-4);
}
.cap-hex-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--title-col, var(--accent));
  letter-spacing: -0.005em;
}
.cap-hex-body {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .cap-hex-row { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .cap-hex-row::before { display: none; }
}
@media (max-width: 620px) {
  .cap-hex-row { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .cap-hex-shape { width: 90px; }
  .cap-hex-icon { width: 34px; height: 34px; }
}

/* ═════════════════════════════════════════════════════════════════════════
   8. GOVERNANCE
   ═════════════════════════════════════════════════════════════════════════ */

.gov-table {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--stack-xl);
}
.gov-row {
  display: contents;
}
.gov-row > div {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background var(--dur-quick) var(--ease-out);
}
.gov-row:last-child > div { border-bottom: none; }
.gov-row:not(.gov-head):hover > div { background: var(--bg-soft); }
/* Header row — mono caps labels (matches Figma `Header` 231:3 / equivalent in 148:2) */
.gov-row.gov-head > .gov-h {
  padding: 18px 28px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 500;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}
.gov-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-0);
}
.gov-short {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 780px) {
  .gov-table { grid-template-columns: 1fr; }
  .gov-row > div { padding: 18px 20px; }
}

.gov-audit {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 780px) { .gov-audit { grid-template-columns: 1fr; } }
.gov-audit-head .ga-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.gov-audit-head .ga-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-0);
  line-height: 1.3;
}
.ga-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.ga-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.ga-bullet {
  width: 10px; height: 10px;
  margin-top: 8px;
  flex-shrink: 0;
  background: var(--accent);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* ═════════════════════════════════════════════════════════════════════════
   9. PRICING
   ═════════════════════════════════════════════════════════════════════════ */

/* Two choices, four combinations — application isolation × inference placement.
   The matrix mirrors the Advania GTM slide: bold mono row/column labels frame
   the four cells, T1 and T3 anchor opposite corners (purple, green), the two
   MIX cells are the orange diagonal. */
.tier-matrix {
  margin-bottom: var(--stack-xl);
}
.tm-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.tm-corner { /* deliberately empty — top-left of the matrix */ }
.tm-col-head, .tm-row-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
}
.tm-col-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); align-self: end; }
.tm-row-head { justify-content: center; padding-right: 24px; border-right: 1px solid var(--line); align-self: stretch; }
.tm-col-head h3,
.tm-row-head h3 {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-1);
  font-weight: 500;
  margin: 0;
}
.tm-col-head p,
.tm-row-head p {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

.tm-cell {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--purple-500);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.tm-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.tm-tier-t1  { border-top-color: var(--purple-500); }
.tm-tier-mix { border-top-color: var(--ember-500); }
.tm-tier-t3  { border-top-color: var(--green-700); }

/* Tier tag — same translucent-tint + full-color treatment as the router
   tier-table pills, so the page's badge vocabulary stays consistent. */
.tm-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(152, 19, 156, 0.14);
  color: var(--purple-500);
}
.tm-tag--t1  { background: rgba(152, 19, 156, 0.14); color: var(--purple-500); }
.tm-tag--mix { background: rgba(235,  90, 40, 0.14); color: var(--ember-700); }
.tm-tag--t3  { background: rgba( 95, 143, 61, 0.18); color: var(--green-700); }

.tm-cell h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink-0);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  padding-right: 64px; /* leave room for the tag */
}
.tm-cell ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.tm-cell ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
/* Hex bullet — matches `.section-index::before` and the original design-system
   bullet so the matrix reads as "the same component family" as the rest of the
   page. */
.tm-cell ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 8px;
  background: var(--accent);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.tm-tier-t1  ul li::before { background: var(--purple-500); }
.tm-tier-mix ul li::before { background: var(--ember-500); }
.tm-tier-t3  ul li::before { background: var(--green-700); }

/* "Best for" — mirrors the `.dt-bestfor span` pattern: small mono caps eyebrow
   above the body line, separated from the bullets by a hairline. */
.tm-bestfor {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}
.tm-bestfor span {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
}

.tm-foot {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  text-align: center;
}

@media (max-width: 980px) {
  .tm-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tm-corner, .tm-col-head { display: none; }
  .tm-row-head {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
    margin-top: var(--stack-md);
  }
  .tm-cell { min-height: 0; }
}

.pricing-components {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pc-head {
  padding: 24px 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.pc-row {
  display: grid;
  grid-template-columns: 44px 200px 150px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}
.pc-row:last-child { border-bottom: none; }
@media (max-width: 820px) {
  .pc-row { grid-template-columns: 44px 1fr; }
  .pc-meta, .pc-desc { grid-column: 2 / 3; }
}
.pc-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--accent);
}
.pc-label {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-0);
}
.pc-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}
.pc-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.pc-desc strong { color: var(--ink-0); }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.pill-roadmap {
  background: var(--bg-tint);
  color: var(--ink-3);
  border: 1px solid var(--line-hard);
}

.pricing-trust {
  max-width: 640px;
  margin: var(--stack-xl) auto 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 400;
}

/* ═════════════════════════════════════════════════════════════════════════
   10. FAQs
   ═════════════════════════════════════════════════════════════════════════ */

.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto var(--stack-xl);
  width: fit-content;
  flex-wrap: wrap;
  justify-content: center;
}
.faq-tab {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 999px;
  transition: all var(--dur-base) var(--ease-out);
}
.faq-tab.active {
  background: var(--accent);
  color: #fff;
}
.faq-tab:hover:not(.active) { background: var(--bg-tint); color: var(--ink-1); }
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.faq-item[open] {
  border-color: var(--accent);
}
.faq-item summary {
  list-style: none;
  padding: 22px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-0);
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--f-sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "–";
  transform: rotate(0deg);
}
.faq-item .faq-a {
  padding: 0 28px 24px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.7;
  font-family: var(--f-sans);
  font-weight: 400;
}

/* ═════════════════════════════════════════════════════════════════════════
   10.5 ROADMAP
   ═════════════════════════════════════════════════════════════════════════ */

.roadmap { position: relative; }

.rm-rail {
  position: relative;
  padding: 12px 0 28px;
  margin-bottom: 32px;
}
.rm-track {
  position: absolute;
  left: 3%; right: 3%; top: 38px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 1;
}
.rm-track-fill {
  position: absolute;
  left: 3%; top: 38px;
  width: calc((100% - 6%) * (var(--rm-fill, 0%) / 100));
  height: 2px;
  background: linear-gradient(90deg, #5fa53d 0%, #2aa4a8 20%, #c61283 45%, #db1c88 70%, #e58a30 85%, #7f28a6 100%);
  border-radius: 2px;
  z-index: 2;
  transition: width var(--dur-slow) var(--ease-out);
}

.rm-markers {
  display: grid;
  grid-template-columns: repeat(var(--rm-count, 6), 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 3;
}
.rm-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.rm-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rm-color, var(--accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 4px #fff,
    0 2px 12px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(152, 19, 156, 0.10);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
  position: relative;
}
.section.tint .rm-dot {
  box-shadow:
    0 0 0 4px var(--bg-tint),
    0 2px 12px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(152, 19, 156, 0.10);
}
.rm-dot:hover { transform: scale(1.07); }
.rm-dot[aria-selected="true"] {
  transform: scale(1.12);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 7px color-mix(in srgb, var(--rm-color, var(--accent)) 40%, transparent),
    0 6px 20px rgba(152, 19, 156, 0.22);
}
.rm-dot:focus-visible {
  outline: 2px solid var(--ink-1);
  outline-offset: 8px;
}
.rm-num { font-variant-numeric: tabular-nums; }
.rm-tick {
  position: absolute;
  right: -2px; bottom: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--rm-color);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.rm-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 4px;
}
.rm-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-0);
  letter-spacing: -0.005em;
}
.rm-window {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.rm-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 4px;
}
.rm-badge[data-status="done"]    { background: rgba(95, 165, 61, 0.14); color: #4a8230; }
.rm-badge[data-status="active"]  { background: rgba(235, 138, 40, 0.15); color: #b0661f; }
.rm-badge[data-status="planned"] { background: var(--purple-100); color: var(--purple-700); }

.rm-panels {
  position: relative;
  margin-top: 8px;
}
.rm-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rm-color, var(--accent));
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-1);
}
.rm-panel[hidden] { display: none; }

.rm-panel-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.rm-panel-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.rm-panel-badge[data-status="done"]    { background: rgba(95, 165, 61, 0.14); color: #4a8230; }
.rm-panel-badge[data-status="active"]  { background: rgba(235, 138, 40, 0.15); color: #b0661f; }
.rm-panel-badge[data-status="planned"] { background: var(--purple-100); color: var(--purple-700); }

.rm-panel-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink-0);
  margin: 0;
  letter-spacing: -0.015em;
}
.rm-panel-window {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}
.rm-panel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rm-panel-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink-2);
  font-size: 15px;
  border-top: 1px solid var(--line-soft);
}
.rm-panel-list li:first-child,
.rm-panel-list li:nth-child(2) { border-top: none; }
.rm-panel-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 16px; height: 16px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--rm-color, var(--accent));
  opacity: 0.85;
}

.rm-note {
  margin: 20px 4px 0;
  font-size: 13px;
  color: var(--ink-4);
  font-style: italic;
  max-width: 68ch;
}

@media (max-width: 900px) {
  .rm-markers { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .rm-track, .rm-track-fill { display: none; }
  .rm-panel-title { font-size: 22px; }
  .rm-panel { padding: 24px; }
}
@media (max-width: 520px) {
  .rm-markers { grid-template-columns: repeat(2, 1fr); }
}

/* ═════════════════════════════════════════════════════════════════════════
   10.7 TEAM
   ═════════════════════════════════════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--dur-base) var(--ease-out);
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-1);
}
.team-card.pending {
  border-style: dashed;
  background: var(--bg-soft);
}
.team-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-avatar {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(160deg, var(--purple-400), var(--purple-700));
  flex: 0 0 52px;
}
/* Drop in <img> inside .team-avatar later — it will fill the circle and
   the initials are hidden automatically. Until then, the gradient + initials
   act as the placeholder. */
.team-avatar:has(img) { font-size: 0; background: var(--bg-soft); }
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card.pending .team-avatar {
  background: linear-gradient(160deg, var(--ink-muted), var(--ink-4));
  color: rgba(255,255,255,0.85);
}
.team-who { min-width: 0; }
.team-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-0);
  line-height: 1.2;
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.team-role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.team-bio {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
.team-card .dec-mark {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(235, 90, 40, 0.12);
  color: #b84419;
  border: 1px solid rgba(235, 90, 40, 0.22);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

/* ═════════════════════════════════════════════════════════════════════════
   11. GET STARTED + contact
   ═════════════════════════════════════════════════════════════════════════ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--stack-2xl);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--dur-base) var(--ease-out);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.step-num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step-duration {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.step h3 { margin: 0; }
.step p { font-size: 15px; color: var(--ink-3); line-height: 1.6; margin: 0; }

.contact-block {
  /* Synced to Figma `Contact block` 83:131: linear gradient #98139c → #350736 */
  background: linear-gradient(135deg, #98139c 0%, #350736 100%);
  color: #ece8e2;
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
.contact-block::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 62%);
  pointer-events: none;
}
/* CTA button on dark gradient — translucent border + cream text (matches Figma `Button - email` 193:7) */
.contact-block .btn-ghost {
  color: #ece8e2;
  border-color: rgba(255,255,255,0.22);
  background: transparent;
}
.contact-block .btn-ghost:hover {
  border-color: rgba(255,255,255,0.48);
  background: rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .contact-block { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
}
.contact-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-300);
  margin-bottom: 8px;
}
.contact-block h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  color: #f7f2ec;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  line-height: 1.15;
}
.contact-block p { color: #c7c2bb; font-size: 16px; line-height: 1.55; max-width: 48ch; }
.contact-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.people { display: flex; flex-direction: column; gap: 16px; }
.person {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.p-avatar {
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.p-name { font-weight: 500; color: #f7f2ec; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.p-role { font-size: 13px; color: #a29c96; }
.dec-mark {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(235,90,40,0.16);
  color: #f9b89e;
  border: 1px solid rgba(249,184,158,0.25);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.contact-meta {
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #a29c96;
  letter-spacing: 0.06em;
}

/* ═════════════════════════════════════════════════════════════════════════
   Footer
   ═════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  color: var(--ink-3);
  font-size: 14px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand .logo-mark { height: 30px; }
.foot-brand .brand-ad {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-1);
}
.foot-parent {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-700);
  font-weight: 600;
  margin-top: 2px;
}
.foot-tag { font-family: var(--f-display); font-style: italic; color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.fc-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.foot-col a { color: var(--ink-2); transition: color var(--dur-quick) var(--ease-out); }
.foot-col a:hover { color: var(--accent); }
.foot-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.foot-legal { display: flex; gap: 20px; }
.foot-legal a:hover { color: var(--accent); }

.advania-bar {
  margin-top: 32px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.advania-bar:hover {
  border-color: var(--cyan-700);
  box-shadow: 0 2px 14px rgba(0, 136, 167, 0.10);
  transform: translateY(-1px);
}
.advania-bar-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.advania-bar-logo {
  height: 26px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.advania-bar-arrow {
  margin-left: auto;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan-700);
  letter-spacing: 0.02em;
}
.advania-bar:hover .advania-bar-arrow { color: var(--cyan-900); }

@media (max-width: 640px) {
  .advania-bar { justify-content: flex-start; padding: 16px 20px; }
  .advania-bar-arrow { margin-left: 0; width: 100%; }
}

/* ═════════════════════════════════════════════════════════════════════════
   Floating page rail
   ═════════════════════════════════════════════════════════════════════════ */

/* Hero v4 icon-only rail: 56px wide pill, 13 small icons, labels on hover */
.page-rail {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: calc(var(--z-nav) - 1);
}
.page-rail ol {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 13, 11, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 56px;
}
.page-rail li { display: block; }
.page-rail a {
  position: relative;
  width: 56px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur-quick) var(--ease-out);
}
.page-rail a:hover { color: var(--ink-1); }
.page-rail a.active { color: var(--accent); }
.page-rail a svg { width: 20px; height: 20px; }
.page-rail .rail-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  background: var(--ink-1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-quick) var(--ease-out),
              transform var(--dur-quick) var(--ease-out);
}
.page-rail .rail-label::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--ink-1);
}
.page-rail a:hover .rail-label,
.page-rail a:focus-visible .rail-label {
  opacity: 1;
  transform: translate(0, -50%);
}
.page-rail a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Adapt to the dark Router section */
.page-rail.on-dark-section ol {
  background: rgba(46, 0, 71, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
}
.page-rail.on-dark-section a { color: rgba(255, 255, 255, 0.55); }
.page-rail.on-dark-section a:hover { color: #fff; }
.page-rail.on-dark-section a.active { color: var(--purple-200); }

@media (max-width: 1100px) { .page-rail { right: 12px; } }
@media (max-width: 820px)  { .page-rail { display: none; } }

/* ═════════════════════════════════════════════════════════════════════════
   Cookie banner + tweaks panel
   ═════════════════════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  z-index: var(--z-toast);
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink-0);
  color: #ece8e2;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-text { flex: 1 1 360px; font-size: 13px; line-height: 1.5; color: #d7cec5; }
.cookie-text strong { color: #f7f2ec; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn-ghost {
  border-color: rgba(255,255,255,0.22);
  color: #ece8e2;
}

.tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: var(--z-toast);
  width: 300px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 18px;
  font-size: 13px;
}
.tp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tp-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-4); }
.tp-close { width: 24px; height: 24px; font-size: 18px; line-height: 1; color: var(--ink-3); border-radius: 4px; }
.tp-close:hover { background: var(--bg-tint); }
.tp-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.tp-label { color: var(--ink-3); font-size: 12px; }
.tp-options { display: flex; gap: 6px; }
.tw-swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--s);
  border: 2px solid transparent;
  transition: border-color var(--dur-quick) var(--ease-out);
}
.tw-swatch.active { border-color: var(--ink-2); }
.tp-options.segmented button {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 999px;
  color: var(--ink-3);
  background: var(--bg-tint);
  transition: all var(--dur-quick) var(--ease-out);
}
.tp-options.segmented button.active { background: var(--accent); color: #fff; }

.tweaks-fab {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: calc(var(--z-toast) - 1);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all var(--dur-base) var(--ease-out);
}
.tweaks-fab:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.05); }

/* ── Launch countdown badge (header, right) ─────────────────────────── */
.launch-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--color-border-brand);
  border-radius: 999px;
  background: var(--accent-wash);
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--color-text-brand);
  white-space: nowrap;
}
.launch-badge[hidden] { display: none; }
.launch-badge .lb-clock { flex: none; opacity: 0.85; }
.launch-badge .lb-seg strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.launch-badge .lb-seg em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  margin-left: 1px;
  color: var(--color-text-secondary);
}
.launch-badge .lb-sep {
  margin: 0 7px;
  color: var(--purple-300);
  font-weight: 400;
}
.launch-badge .lb-to {
  margin-left: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.launch-badge .lb-compact { display: none; }

/* Live state (launch day onward) */
.launch-badge.is-live {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--color-text-on-brand);
}

@media (max-width: 720px) {
  .launch-badge { padding: 7px 14px; font-size: 13px; }
  .launch-badge .lb-full { display: none; }
  .launch-badge .lb-compact { display: inline; font-weight: 600; }
}
@media (max-width: 600px) {
  /* make room for the launch badge: collapse brand to the Advania logo */
  .brand-sep, .brand-product { display: none; }
}
