/* =====================================================================
   Namexus Corporate Services — site stylesheet
   Brand: Namexus Holdings guidelines (March 2026, v01)
   Primary font: ArdelaEdgeX01 · Secondary font: CoFo Sans
   Colours: Aurora Capital #052599 · Venture Pulse #116AF8
            Summit Tide #1FBBEC · Liquid Ascent #DCE2E9
   ===================================================================== */

/* ---------- Brand fonts (add the licensed .woff2 files to /assets/fonts/brand/) ---------- */
@font-face { font-family: "ArdelaEdgeX01"; font-weight: 300; font-display: swap;
  src: local("ArdelaEdgeX01 Light"), local("ArdelaEdgeX01-Light"), url("/assets/fonts/brand/ArdelaEdgeX01-Light.woff2") format("woff2"); }
@font-face { font-family: "ArdelaEdgeX01"; font-weight: 400; font-display: swap;
  src: local("ArdelaEdgeX01 Regular"), local("ArdelaEdgeX01-Regular"), url("/assets/fonts/brand/ArdelaEdgeX01-Regular.woff2") format("woff2"); }
@font-face { font-family: "ArdelaEdgeX01"; font-weight: 500; font-display: swap;
  src: local("ArdelaEdgeX01 Medium"), local("ArdelaEdgeX01-Medium"), url("/assets/fonts/brand/ArdelaEdgeX01-Medium.woff2") format("woff2"); }
@font-face { font-family: "ArdelaEdgeX01"; font-weight: 700; font-display: swap;
  src: local("ArdelaEdgeX01 Bold"), local("ArdelaEdgeX01-Bold"), url("/assets/fonts/brand/ArdelaEdgeX01-Bold.woff2") format("woff2"); }
@font-face { font-family: "CoFo Sans"; font-weight: 400; font-display: swap;
  src: local("CoFo Sans Regular"), local("CoFoSans-Regular"), url("/assets/fonts/brand/CoFoSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "CoFo Sans"; font-weight: 500; font-display: swap;
  src: local("CoFo Sans Medium"), local("CoFoSans-Medium"), url("/assets/fonts/brand/CoFoSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "CoFo Sans"; font-weight: 700; font-display: swap;
  src: local("CoFo Sans Bold"), local("CoFoSans-Bold"), url("/assets/fonts/brand/CoFoSans-Bold.woff2") format("woff2"); }

/* ---------- Self-hosted fallbacks (used until the brand files are present) ---------- */
@font-face { font-family: "Sora NX"; font-weight: 100 800; font-display: swap;
  src: url("/assets/fonts/fallback/sora.woff2") format("woff2"); }
@font-face { font-family: "Hanken NX"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("/assets/fonts/fallback/hanken-grotesk.woff2") format("woff2"); }
@font-face { font-family: "Hanken NX"; font-weight: 100 900; font-style: italic; font-display: swap;
  src: url("/assets/fonts/fallback/hanken-grotesk-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --aurora: #052599;      /* Aurora Capital */
  --pulse: #116AF8;       /* Venture Pulse */
  --tide: #1FBBEC;        /* Summit Tide */
  --ascent: #DCE2E9;      /* Liquid Ascent */
  --night: #030C35;       /* deep tone derived from Aurora Capital, for dark grounds */
  --night-2: #061446;
  --ink: #0A1747;         /* body text on light grounds */
  --ink-soft: #46527A;
  --white: #FFFFFF;
  --line-light: #C5CEDA;
  --line-dark: rgba(220, 226, 233, 0.14);
  --on-dark: #EEF2F7;
  --on-dark-soft: rgba(220, 226, 233, 0.74);
  --ok: #1FBBEC;

  --f-display: "ArdelaEdgeX01", "Sora NX", "Segoe UI", system-ui, sans-serif;
  --f-body: "CoFo Sans", "Hanken NX", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.125rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --slant: 0.5774; /* tan(30°): the logo's 60° edge, used for slanted shapes */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--pulse); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0 0 0.5em; line-height: 1.08; letter-spacing: -0.015em; font-weight: 400; }
h1 { font-size: var(--step-4); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: var(--step-3); font-weight: 300; letter-spacing: -0.025em; }
h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
h4 { font-size: var(--step-0); font-weight: 500; }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38em; color: var(--ink-soft); }
.measure { max-width: 40em; }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--white); color: var(--aurora); padding: 0.6rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--ascent { background: var(--ascent); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--dark .lede, .section--dark .muted { color: var(--on-dark-soft); }
.section--dark a { color: var(--tide); }
.section--dark a.btn, .cta-band a.btn, .partner a.btn { color: var(--btn-fg); }
.section--dark .btn--outline { --btn-fg: var(--on-dark); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.muted { color: var(--ink-soft); }

/* ---------- Development banner ---------- */
.masthead { position: sticky; top: 0; z-index: 60; }
.dev-banner {
  background: var(--tide); color: var(--night);
  font-size: 0.9rem; line-height: 1.4;
}
.dev-banner__inner { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.6rem; }
.dev-banner__text { margin: 0; }
.dev-banner__link { margin-left: auto; }
.dev-banner strong { font-weight: 700; white-space: nowrap; }
.dev-banner a { color: var(--night); font-weight: 600; white-space: nowrap; }
.dev-banner__pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--night); position: relative; }
.dev-banner__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--night); opacity: 0; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.dev-banner__short { display: none; }
@media (max-width: 760px) { .dev-banner__long { display: none; } .dev-banner__short { display: inline; } .dev-banner { font-size: 0.84rem; } }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  background: rgba(3, 12, 53, 0.9); color: var(--on-dark);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand__name { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.15; }
@media (max-width: 420px) { .brand { gap: 0.6rem; } .brand img { width: 36px; } .brand__name { font-size: 0.98rem; } }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: 0.95rem; padding: 0.55rem 0.8rem; border-radius: 3px; }
.nav a:hover { background: rgba(220, 226, 233, 0.08); }
.nav a[aria-current="page"] { color: var(--tide); }
.nav .nav__login { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); width: 44px; height: 44px; border-radius: 3px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; max-height: calc(100vh - 130px); overflow: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; border-radius: 0; }
  .nav .nav__login { margin: 1rem 0 0; }
  .nav .btn { margin-top: 0.75rem; justify-content: center; }
}

/* ---------- Buttons: parallelograms cut at the logo's 60° angle ---------- */
.btn {
  --btn-bg: var(--pulse); --btn-fg: var(--white); --cut: 14px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1;
  color: var(--btn-fg); text-decoration: none; border: 0; background: none; cursor: pointer;
  padding: 1rem calc(1.5rem + var(--cut) / 2); min-height: 48px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg);
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:hover::before { background: var(--btn-hover, #2b7cff); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--aurora); --btn-hover: var(--ascent); }
.btn--outline::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; clip-path: none; }
.btn--outline { --btn-fg: currentColor; }
.btn--outline:hover::before { background: rgba(17, 106, 248, 0.1); }
.section--dark .btn--outline, .hero .btn--outline { --btn-fg: var(--on-dark); }
.btn--sm { padding: 0.7rem calc(1.1rem + var(--cut) / 2); min-height: 40px; font-size: 0.92rem; --cut: 11px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { border-bottom-width: 3px; }

/* ---------- Status markers ---------- */
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; line-height: 1; padding: 0.42rem 0.7rem 0.42rem 0.6rem; border-radius: 99px; background: rgba(17, 106, 248, 0.1); color: var(--aurora); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--progress { background: rgba(31, 187, 236, 0.16); color: #066A8A; }
.status--progress::before { animation: blink 1.6s ease-in-out infinite; }
.status--build { background: rgba(17, 106, 248, 0.12); color: var(--pulse); }
.status--planned { background: rgba(70, 82, 122, 0.12); color: var(--ink-soft); }
.section--dark .status, .hero .status, .on-dark .status { background: rgba(220, 226, 233, 0.08); color: var(--on-dark); }
.section--dark .status--progress, .hero .status--progress, .on-dark .status--progress { color: var(--tide); }
.section--dark .status--build, .hero .status--build, .on-dark .status--build { color: #6FA6FF; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__lattice { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--night)); pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(4rem, 10vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { font-weight: 500; color: var(--white); }
.hero .lede { color: var(--on-dark-soft); margin-bottom: 2rem; }
.hero__mark { position: relative; }
.hero__mark svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(17, 106, 248, 0.35)); }
.hero--page .hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero--page h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); max-width: 16em; }
.hero--page .lede { max-width: 40em; }
.hero .status, .auth__aside .status { margin-bottom: 1.25rem; }
.hero .status-strip .status { margin-bottom: 0; }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mark { order: -1; width: min(300px, 70%); }
}

/* Logo assembly: the one orchestrated page-load moment */
.nx-assemble .nx-p { transform-box: fill-box; transform-origin: center; }
.js .nx-assemble .nx-p { opacity: 0; }
.js .nx-assemble.is-in .nx-p { animation: nx-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.nx-assemble .nx-top { --dx: -60px; --dy: -104px; animation-delay: 0.05s !important; }
.nx-assemble .nx-left { --dx: -120px; --dy: 0px; animation-delay: 0.2s !important; }
.nx-assemble .nx-right { --dx: 120px; --dy: 0px; animation-delay: 0.35s !important; }
.nx-assemble .nx-bottom { --dx: 60px; --dy: 104px; animation-delay: 0.5s !important; }
@keyframes nx-in { from { opacity: 0; transform: translate(var(--dx), var(--dy)); } to { opacity: 1; transform: none; } }

.status-strip { list-style: none; margin: 2.5rem 0 0; padding: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; border-top: 1px solid var(--line-dark); }
.status-strip li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--on-dark-soft); }

/* ---------- Pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.pillar { grid-column: span 6; position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--white); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; color: inherit; transition: border-color 0.2s; }
.pillar:hover { border-color: var(--pulse); }
.pillar h3 { font-size: var(--step-2); font-weight: 400; margin: 0; }
.pillar p { margin: 0; color: var(--ink-soft); }
.pillar ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.pillar .text-link { margin-top: auto; align-self: flex-start; padding-top: 0.75rem; }
.pillar__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pillar__where { font-size: 0.88rem; color: var(--ink-soft); }
.pillar--feature { grid-column: span 12; background: var(--night); color: var(--on-dark); border-color: var(--night); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; align-items: center; overflow: hidden; }
.pillar--feature:hover { border-color: var(--pulse); }
.pillar--feature h3 { font-size: var(--step-3); font-weight: 300; }
.pillar--feature p, .pillar--feature .pillar__where { color: var(--on-dark-soft); }
.pillar--feature .text-link { color: var(--tide); }
.pillar__copy { display: flex; flex-direction: column; gap: 0.9rem; }
@media (max-width: 880px) {
  .pillar, .pillar--feature { grid-column: span 12; }
  .pillar--feature { grid-template-columns: 1fr; }
}

/* ---------- Pipeline (AI Compliance Officer workflow) ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; position: relative; }
.pipeline li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; align-items: start; padding: 0.7rem 0; position: relative; color: var(--on-dark-soft); transition: color 0.4s; }
.pipeline li::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.1rem;
  font-family: var(--f-display); font-size: 0.9rem; font-weight: 500;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: rgba(220, 226, 233, 0.08); color: var(--on-dark-soft); transition: background 0.4s, color 0.4s;
}
.pipeline li::after { content: ""; position: absolute; left: 1.2rem; top: 2.8rem; bottom: -0.7rem; width: 1px; background: var(--line-dark); }
.pipeline li:last-child::after { display: none; }
.pipeline strong { display: block; color: var(--on-dark); font-weight: 600; }
.pipeline span { font-size: 0.92rem; }
.pipeline li.is-active { color: var(--on-dark); }
.pipeline li.is-active::before { background: var(--pulse); color: var(--white); }
.pipeline li.is-done::before { background: rgba(31, 187, 236, 0.22); color: var(--tide); }
.pipeline li.is-human::before { background: var(--tide); color: var(--night); }
.pipeline--compact li { padding: 0.45rem 0; }
.pipeline--compact span { display: none; }
.pipeline--compact li::after { top: 2.5rem; bottom: -0.45rem; }

/* ---------- Generic grids & blocks ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 880px) { .split, .split--even { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 150px; }
@media (max-width: 880px) { .sticky-col { position: static; } }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.feature-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0.5rem 2rem; }
.feature-list h3 { margin: 0; font-size: 1.15rem; }
.feature-list p { margin: 0; color: var(--ink-soft); }
.section--dark .feature-list, .section--dark .feature-list li { border-color: var(--line-dark); }
.section--dark .feature-list p { color: var(--on-dark-soft); }
@media (max-width: 640px) { .feature-list li { grid-template-columns: 1fr; } }

.tile { padding: 1.6rem; background: var(--white); border: 1px solid var(--line-light); }
.tile h3 { margin-bottom: 0.4rem; }
.tile p:last-child { margin-bottom: 0; }
.tile p { color: var(--ink-soft); }
.section--ascent .tile { border-color: transparent; }
.section--dark .tile { background: var(--night-2); border-color: var(--line-dark); }
.section--dark .tile p { color: var(--on-dark-soft); }

.callout { border-left: 3px solid var(--tide); padding: 1.1rem 1.3rem; background: rgba(31, 187, 236, 0.08); font-size: 0.96rem; }
.callout p:last-child { margin: 0; }
.callout strong { font-weight: 700; }
.section--dark .callout { background: rgba(31, 187, 236, 0.07); }

/* ---------- Jurisdictions ---------- */
.juris { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-light); background: var(--white); }
.juris__col { padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.juris__col + .juris__col { border-left: 1px solid var(--line-light); }
.juris__code { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 0.9; color: var(--aurora); }
.juris__col:nth-child(2) .juris__code { color: var(--pulse); }
.juris__name { font-weight: 600; }
.juris ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.juris li + li { margin-top: 0.3rem; }
.juris + p { margin-top: 1rem; }
@media (max-width: 760px) { .juris { grid-template-columns: 1fr; } .juris__col + .juris__col { border-left: 0; border-top: 1px solid var(--line-light); } }

/* ---------- Tabs (company type explorer) ---------- */
.tabs__list { display: flex; gap: 0; border-bottom: 1px solid var(--line-light); margin-bottom: 1.5rem; overflow-x: auto; }
.tabs__tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 0.9rem 1.25rem; margin-bottom: -1px; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.tabs__tab[aria-selected="true"] { color: var(--aurora); border-bottom-color: var(--pulse); }
.tabs__tab:hover { color: var(--aurora); }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.entity { background: var(--white); padding: 1.4rem; }
.entity h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.entity p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.tabs__panel[hidden] { display: none; }

/* ---------- Process (numbered: this content is a sequence) ---------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.process li { counter-increment: p; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line-light); }
.process li::before { content: counter(p); display: block; font-family: var(--f-display); font-size: 2.4rem; font-weight: 300; color: var(--pulse); line-height: 1; margin-bottom: 0.8rem; }
.process h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.process p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Service catalogue ---------- */
.catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.catalogue h3 { font-size: 1.1rem; padding-top: 1rem; border-top: 2px solid var(--aurora); }
.catalogue ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.catalogue li { padding: 0.4rem 0; border-bottom: 1px solid var(--line-light); font-size: 0.97rem; }
@media (max-width: 880px) { .catalogue { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .catalogue { grid-template-columns: 1fr; } }

/* ---------- Portal mockup ---------- */
.portal-mock { background: #0A1A57; border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); font-size: 0.85rem; color: var(--on-dark); }
.portal-mock__bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line-dark); background: rgba(3, 12, 53, 0.5); }
.portal-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(220, 226, 233, 0.22); }
.portal-mock__bar span { margin-left: 0.6rem; color: var(--on-dark-soft); font-size: 0.78rem; }
.portal-mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.portal-mock__side { border-right: 1px solid var(--line-dark); padding: 0.8rem 0.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.portal-mock__side b { display: block; padding: 0.45rem 0.6rem; border-radius: 4px; font-weight: 500; color: var(--on-dark-soft); }
.portal-mock__side b.on { background: rgba(17, 106, 248, 0.25); color: var(--white); }
.portal-mock__main { padding: 1rem 1.1rem; display: grid; gap: 1rem; }
.portal-mock__title { display: flex; justify-content: space-between; align-items: center; }
.portal-mock__title strong { font-family: var(--f-display); font-weight: 500; font-size: 0.98rem; }
.org { width: 100%; height: auto; }
.org text { font-family: var(--f-body); fill: var(--on-dark); font-size: 12.5px; font-weight: 600; }
.org .org__sub { fill: var(--on-dark-soft); font-size: 10.5px; font-weight: 400; }
.org .org__node--main .org__sub { fill: #E6EEFF; }
.org .org__line { stroke: rgba(31, 187, 236, 0.7); stroke-width: 1.4; fill: none; stroke-dasharray: 220; stroke-dashoffset: 0; }
.js .org.will-draw .org__line { stroke-dashoffset: 220; }
.js .org.is-drawn .org__line { transition: stroke-dashoffset 1.2s ease-out; stroke-dashoffset: 0; }
.org__node rect { fill: #0E2470; stroke: rgba(220, 226, 233, 0.2); }
.org__node--ubo rect { fill: rgba(31, 187, 236, 0.14); stroke: rgba(31, 187, 236, 0.5); }
.org__node--main rect { fill: var(--pulse); stroke: none; }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table td { padding: 0.45rem 0.2rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-soft); }
.mini-table td:first-child { color: var(--on-dark); }
.mini-table td:last-child { text-align: right; }
.chip { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 99px; font-size: 0.72rem; font-weight: 600; background: rgba(220, 226, 233, 0.1); }
.chip--ok { background: rgba(31, 187, 236, 0.18); color: var(--tide); }
.chip--due { background: rgba(17, 106, 248, 0.3); color: #B8D2FF; }
@media (max-width: 560px) { .portal-mock__body { grid-template-columns: 1fr; } .portal-mock__side { display: none; } }

/* ---------- Roadmap (numbered: a genuine sequence) ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.roadmap li { counter-increment: r; display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.roadmap li:last-child { border-bottom: 1px solid var(--line-light); }
.roadmap li::before { content: counter(r); font-family: var(--f-display); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--pulse); }
.roadmap h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.roadmap p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .roadmap li { grid-template-columns: 2.6rem 1fr; } .roadmap .status { grid-column: 2; justify-self: start; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font-family: var(--f-display); font-size: 1.15rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--pulse); border-bottom: 2px solid var(--pulse); transform: rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 1.4rem; max-width: 46em; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--aurora); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -6%; top: -30%; width: 60%; aspect-ratio: 500 / 346.41;
  background: url("/assets/img/mark.svg") no-repeat center / contain; opacity: 0.14; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: end; }
.cta-band h2 { margin: 0 0 0.4em; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 34em; }
@media (max-width: 760px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- AI demo console ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } }
.demo__panel { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 8px; padding: 1.25rem 1.4rem; }
.console { background: #020823; border: 1px solid var(--line-dark); border-radius: 8px; display: flex; flex-direction: column; min-height: 520px; max-height: 760px; overflow: hidden; }
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--on-dark-soft); }
.console__log { flex: 1 1 0; min-height: 240px; margin: 0; padding: 1rem; list-style: none; font-family: var(--f-mono); font-size: 0.8rem; line-height: 1.55; color: #BFD0EA; overflow-y: auto; }
.console__log li { padding: 0.25rem 0; display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.6rem; animation: logIn 0.35s ease-out; }
.console__log time { color: rgba(191, 208, 234, 0.45); }
.console__log .k-ok { color: var(--tide); }
.console__log .k-flag { color: #8FB7FF; font-weight: 600; }
.console__log .k-rfi { color: var(--white); }
.console__log .k-human { color: var(--night); background: var(--tide); padding: 0 0.3rem; border-radius: 2px; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.console__foot { border-top: 1px solid var(--line-dark); padding: 0.9rem 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.console__foot p { margin: 0 auto 0 0; font-size: 0.85rem; color: var(--on-dark-soft); }
.summary-card { display: none; margin: 0 1rem 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(31, 187, 236, 0.4); border-radius: 6px; background: rgba(31, 187, 236, 0.06); font-size: 0.88rem; color: var(--on-dark); }
.summary-card.is-shown { display: block; animation: logIn 0.4s ease-out; }
.summary-card h4 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.summary-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
.summary-card dt { color: var(--on-dark-soft); }
.summary-card dd { margin: 0; }
.decision { margin-top: 0.75rem; font-weight: 600; color: var(--tide); }
.decision:empty { display: none; }

/* ---------- Boundary table (banking: what we do / don't) ---------- */
.boundary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-light); background: var(--white); }
.boundary > div { padding: clamp(1.5rem, 3vw, 2.25rem); }
.boundary > div + div { border-left: 1px solid var(--line-light); background: #F4F6F9; }
.boundary h3 { font-size: 1.15rem; }
.boundary ul { margin: 0; padding: 0; list-style: none; }
.boundary li { padding: 0.55rem 0 0.55rem 1.8rem; position: relative; border-top: 1px solid var(--line-light); }
.boundary li::before { content: ""; position: absolute; left: 0.2rem; top: 0.95rem; width: 12px; height: 7px; border-left: 2px solid var(--pulse); border-bottom: 2px solid var(--pulse); transform: rotate(-45deg); }
.boundary .is-no li::before { width: 12px; height: 2px; border: 0; background: var(--ink-soft); transform: none; top: 1.15rem; }
@media (max-width: 760px) { .boundary { grid-template-columns: 1fr; } .boundary > div + div { border-left: 0; border-top: 1px solid var(--line-light); } }

.partner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night); color: var(--on-dark); border-radius: 4px; }
.partner__logo { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.partner p { margin: 0; color: var(--on-dark-soft); }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #B4BFCE; border-radius: 4px; padding: 0.8rem 0.9rem; min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pulse); box-shadow: 0 0 0 3px rgba(17, 106, 248, 0.2); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #C2185B; }
.field-error { color: #B0154F; font-size: 0.86rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; }
.check input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--pulse); flex: none; }
.form-alert { padding: 0.95rem 1.1rem; border-radius: 4px; font-size: 0.95rem; border: 1px solid; }
.form-alert[hidden] { display: none; }
.form-alert--error { background: #FDEFF3; border-color: #E9A3B8; color: #7E0F37; }
.form-alert--info { background: #EAF4FE; border-color: #A9CBF7; color: var(--aurora); }
.form-alert--success { background: #E8F8FD; border-color: #8DD8F1; color: #05506A; }
.turnstile { min-height: 65px; }
.turnstile[hidden] { display: none; }
.turnstile--preview { display: flex; align-items: center; max-width: 300px; min-height: 65px; padding: 0.75rem 1rem; border: 1.5px dashed #B4BFCE; border-radius: 4px; font-size: 0.85rem; color: var(--ink-soft); background: #F4F6F9; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Auth (portal login) ---------- */
.auth { min-height: calc(100vh - 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--night); }
.auth__aside { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.auth__aside .hero__lattice { z-index: -1; }
.auth__aside h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.auth__aside p { color: var(--on-dark-soft); max-width: 30em; }
.auth__aside ul { margin: 0; padding-left: 1.1rem; color: var(--on-dark-soft); }
.auth__aside li + li { margin-top: 0.35rem; }
.auth__aside a { color: var(--tide); }
.auth__main { background: var(--white); display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.auth__card { width: min(100%, 420px); }
.auth__card h2 { font-size: var(--step-2); font-weight: 400; margin-bottom: 0.35rem; }
.auth__switch { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid #B4BFCE; border-radius: 4px; padding: 3px; margin-bottom: 1.75rem; }
.auth__switch a, .auth__switch span { text-align: center; padding: 0.6rem; border-radius: 3px; font-weight: 600; text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.auth__switch span { background: var(--aurora); color: var(--white); }
.auth__switch a:hover { background: var(--ascent); color: var(--aurora); }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.92rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--pulse); cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.auth .btn { width: 100%; justify-content: center; }
.auth__foot { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__aside { order: 2; } }

/* ---------- Legal prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); font-weight: 400; margin-top: 2.5em; }
.prose h3 { margin-top: 1.8em; font-size: 1.1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.3rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--line-light); border-radius: 99px; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.toc a:hover { border-color: var(--pulse); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-soft); font-size: 0.92rem; padding-block: 4rem 2rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer__top h2 { font-family: var(--f-body); font-size: 0.92rem; font-weight: 700; color: var(--on-dark); margin: 0 0 0.9rem; letter-spacing: 0; }
.footer__top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer__brand p { max-width: 24rem; margin-top: 1rem; }
.footer__legal { padding-top: 1.75rem; display: grid; gap: 0.9rem; font-size: 0.84rem; line-height: 1.6; }
.footer__legal p { margin: 0; max-width: 72rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll (used sparingly) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Structure finder ---------- */
.finder { background: var(--white); border: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr); }
.finder__progress { height: 4px; background: var(--ascent); }
.finder__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--pulse), var(--tide)); transition: width 0.4s ease; }
.finder__body { padding: clamp(1.5rem, 4vw, 3rem); }
.finder__step[hidden] { display: none; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { font-family: var(--f-display); font-size: var(--step-2); font-weight: 400; line-height: 1.15; padding: 0; margin-bottom: 0.4rem; }
.finder__count { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
.finder__hint { color: var(--ink-soft); margin: 0 0 1.5rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.75rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; height: 100%; padding: 1rem 1.1rem; border: 1.5px solid #B4BFCE; border-radius: 4px; transition: border-color 0.15s, background 0.15s; }
.choice b { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.choice small { display: block; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.choice:hover span { border-color: var(--pulse); }
.choice input:checked + span { border-color: var(--pulse); background: rgba(17, 106, 248, 0.07); box-shadow: inset 0 0 0 1px var(--pulse); }
.choice input:focus-visible + span { outline: 2px solid var(--tide); outline-offset: 2px; }
.finder__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }
.finder__error { color: #B0154F; font-weight: 600; font-size: 0.9rem; margin: 1rem 0 0; }
.finder__error:empty { display: none; }
.results { display: grid; gap: 1.5rem; }
.results__zone h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.result { border: 1px solid var(--line-light); border-left: 3px solid var(--pulse); padding: 1.1rem 1.25rem; animation: logIn 0.35s ease-out both; }
.result + .result { margin-top: 0.6rem; }
.result h4 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.result p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.result--alt { border-left-color: var(--tide); }
.result__tag { font-size: 0.8rem; font-weight: 700; color: var(--pulse); margin-bottom: 0.2rem; display: block; }

/* ---------- Group structure (about) ---------- */
.group-chart { width: 100%; max-width: 760px; height: auto; margin-inline: auto; }
.group-chart text { font-family: var(--f-body); font-size: 15px; font-weight: 600; fill: var(--ink); }
.group-chart .gc-sub { font-size: 12.5px; font-weight: 400; fill: var(--ink-soft); }
.group-chart .gc-line { stroke: var(--pulse); stroke-width: 1.5; fill: none; }
.group-chart .gc-dash { stroke-dasharray: 5 5; }
.group-chart .gc-box { fill: var(--white); stroke: var(--line-light); }
.group-chart .gc-top { fill: var(--aurora); stroke: none; }
.group-chart .gc-light { fill: var(--white); }
.group-chart .gc-sub.gc-light { fill: var(--ascent); }
.group-chart .gc-us { fill: rgba(17, 106, 248, 0.08); stroke: var(--pulse); stroke-width: 1.5; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.principles li { padding: 1.4rem 0; border-top: 1px solid var(--line-light); }
.principles h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.principles p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Portal tour ---------- */
.tour .tabs__list { border-color: var(--line-dark); }
.tour .tabs__tab { color: var(--on-dark-soft); }
.tour .tabs__tab[aria-selected="true"] { color: var(--white); border-bottom-color: var(--tide); }
.tour .tabs__tab:hover { color: var(--white); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.tour__copy h3 { font-size: var(--step-2); font-weight: 400; }
.tour__copy p, .tour__copy li { color: var(--on-dark-soft); }
.tour__copy ul { padding-left: 1.1rem; margin: 0; }
.tour__copy li + li { margin-top: 0.35rem; }
.tour__copy ul + p { margin-top: 1.25rem; }
@media (max-width: 900px) { .tour__grid { grid-template-columns: 1fr; } }
.portal-mock--tall .portal-mock__body { min-height: 420px; }
.folder-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.folder-list span { padding: 0.3rem 0.65rem; border-radius: 4px; background: rgba(220, 226, 233, 0.08); color: var(--on-dark-soft); font-size: 0.78rem; }
.folder-list span.on { background: rgba(17, 106, 248, 0.3); color: var(--white); }
.mini-table th { text-align: left; font-weight: 500; color: var(--on-dark-soft); font-size: 0.75rem; padding: 0.3rem 0.2rem; }
.mini-table--cols td:last-child, .mini-table--cols th:last-child { text-align: right; }
.timeline-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.timeline-mini li { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem; border-radius: 5px; background: rgba(220, 226, 233, 0.05); }
.timeline-mini b { font-family: var(--f-display); font-weight: 500; font-size: 0.85rem; color: var(--tide); }
.risk { font-weight: 600; }
.risk--low { color: var(--tide); }
.risk--med { color: #8FB7FF; }
.risk--high { color: #FF9DBB; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.roles > div { background: var(--white); padding: 1.4rem; }
.roles h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.roles p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 960px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Updates ---------- */
.updates { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.update { padding: 2rem 0; border-top: 1px solid var(--line-light); }
.update time { font-size: 0.9rem; font-weight: 600; color: var(--pulse); }
.update h2 { font-size: var(--step-2); font-weight: 400; margin: 0.4rem 0 0.8rem; }
.update p { color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 1.5rem; }
.m-0 { margin: 0; }
.btn-row--center { justify-content: center; }
.summary-card .btn-row { margin-top: 0.9rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound svg { width: 180px; margin: 0 auto 2rem; }
.notfound .lede { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .nx-assemble .nx-p, .js .reveal { opacity: 1; transform: none; }
}
