/* Marginus — public site · design system "Hexa" (2026)
   Navy + bordó, Outfit / Work Sans, hexagon motif from the logo. No external requests. */

/* ---------- fonts */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-latin-ext.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; src: url("/assets/fonts/WorkSans-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; src: url("/assets/fonts/WorkSans-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-var.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

/* ---------- tokens */
:root {
  --navy-950: #0A1330;
  --navy-900: #111C40;
  --navy-800: #1B2A5A;
  --blue-700: #2F4475;
  --blue-500: #3F6AD8;
  --blue-300: #8FA8D8;
  --blue-100: #E4EBFA;
  --bordo-800: #5E1520;
  --bordo-700: #7A1F2B;
  --bordo-600: #8B2232;
  --bordo-300: #E0828F;
  --bordo-100: #F8E6E9;
  --ok: #2FBF7F;

  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --line: #DCE3EE;
  --line-2: #C9D3E3;
  --ink: #0E1733;
  --ink-2: #2A3556;
  --muted: #56607A;

  --on-dark: #EEF1F8;
  --on-dark-2: #C3CCE0;
  --on-dark-muted: #94A0BD;
  --line-dark: rgba(143, 168, 216, .18);

  --f-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow-sm: 0 1px 2px rgba(14, 23, 51, .06), 0 2px 8px -2px rgba(14, 23, 51, .06);
  --shadow: 0 2px 4px rgba(14, 23, 51, .04), 0 18px 40px -18px rgba(14, 23, 51, .22);
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cpath d='M0 24.25 14 0h28l14 24.25L42 48.5H14zM56 24.25h28' fill='none' stroke='%238FA8D8' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- reset / base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }
h1 em, h2 em, h3 em, .statement em, .big em { color: var(--bordo-600); }
.dark h1 em, .dark h2 em, .dark h3 em, .dark .statement em, .dark .big em { color: var(--bordo-300); }
strong, b { font-weight: 600; }
::selection { background: var(--bordo-600); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--blue-300); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 500; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--navy-950); color: var(--on-dark); position: relative; isolation: isolate; }
.hx-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--honeycomb); background-size: 84px 48.5px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 10%, transparent 70%); }
.dark > .hx-field::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 80% 10%, rgba(63, 106, 216, .22), transparent 70%), radial-gradient(500px 360px at 10% 100%, rgba(139, 34, 50, .22), transparent 70%); }

/* ---------- buttons & links */
.btn { --bg: var(--navy-900); --fg: #fff; --bd: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .25s var(--ease); }
.btn .arrow svg { width: 13px; height: 13px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-accent { --bg: var(--bordo-600); --fg: #fff; box-shadow: 0 10px 24px -12px rgba(139, 34, 50, .7); }
.btn-accent:hover { --bg: var(--bordo-700); }
.btn-light { --bg: #fff; --fg: var(--navy-900); }
.btn-light .arrow { background: var(--bordo-600); color: #fff; }
.btn-light:hover { --bg: var(--blue-100); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--line-2); }
.btn-outline .arrow { background: var(--surface-2); }
.btn-outline:hover { --bd: var(--navy-900); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(238, 241, 248, .34); }
.btn-outline-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .06); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .07); --fg: #fff; --bd: rgba(255, 255, 255, .1); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-sm .arrow { width: 22px; height: 22px; margin-right: -6px; }
.btn-block { width: 100%; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; color: var(--blue-700); min-height: 44px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--bordo-600); }
.link-arrow.on-dark, .dark .link-arrow { color: var(--blue-300); }
.link-arrow.on-dark:hover, .dark .link-arrow:hover { color: #fff; }

/* ---------- small atoms */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-2); }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.hx { --s: 52px; position: relative; display: inline-grid; place-items: center; width: var(--s); height: calc(var(--s) * .9); flex: none; clip-path: var(--hex); background: linear-gradient(140deg, var(--blue-700), var(--navy-900)); color: #fff; }
.hx svg { width: 46%; height: auto; }
.hx-sm { --s: 42px; }
.hx-lg { --s: 76px; }
.hx-xs { --s: 24px; }
.tile:nth-child(3n+2) .hx, .pillar:nth-child(2) .hx { background: linear-gradient(140deg, var(--bordo-600), var(--bordo-800)); }
.hx-dot { display: inline-block; width: 9px; height: 8px; clip-path: var(--hex); background: var(--bordo-600); flex: none; }
.dark .hx-dot { background: var(--bordo-300); }
.hx-num { display: inline-grid; place-items: center; width: 34px; height: 30px; clip-path: var(--hex); background: var(--bordo-600); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 14px; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 500; line-height: 1.4; }
.tags-dark li, .dark .tags li { background: rgba(255, 255, 255, .07); color: var(--on-dark-2); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.dark .ticks li { color: var(--on-dark-2); }
.dark .ticks svg { background: rgba(143, 168, 216, .16); color: var(--blue-300); }
.ph { display: inline-block; padding: 0 7px; border-radius: 5px; border: 1px dashed var(--bordo-600); background: var(--bordo-100); color: var(--bordo-700); font-family: var(--f-mono); font-size: .86em; }

/* ---------- section scaffolding */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-tint { background: var(--surface-2); }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bordo-700); }
.section-label .sl-hx { width: 12px; height: 11px; clip-path: var(--hex); background: var(--bordo-600); }
.section-label b { font-weight: 500; color: var(--muted); }
.dark .section-label { color: var(--bordo-300); }
.dark .section-label .sl-hx { background: var(--bordo-300); }
.dark .section-label b { color: var(--on-dark-muted); }
.h2 { margin-top: 18px; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.03em; line-height: 1.06; max-width: 18ch; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.lede { color: var(--muted); font-size: 18px; max-width: 52ch; }
.dark .lede { color: var(--on-dark-muted); }

/* ---------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- utility bar */
.utility { background: var(--navy-950); color: var(--on-dark-2); font-size: 13.5px; position: relative; z-index: 101; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.u-alert { display: flex; align-items: center; gap: 10px; min-width: 0; }
.u-alert b { color: #fff; font-weight: 600; white-space: nowrap; }
.u-alert > span:not(.live) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-links { display: flex; align-items: center; gap: 4px; }
.u-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px; color: var(--on-dark-2); border-radius: 8px; transition: color .2s; white-space: nowrap; }
.u-links a:hover { color: #fff; }
.u-links svg { width: 16px; height: 16px; color: var(--bordo-300); }
.u-links li:first-child a { color: #fff; font-weight: 600; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 23, 51, .35); }
.hdr-shell { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); transition: height .3s var(--ease); }
.is-scrolled .hdr-shell { height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 42px; }
.nav { position: relative; margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--navy-900); background: var(--surface-2); }
.nav a.is-active { color: var(--bordo-700); }
.nav-ind { position: absolute; left: 0; bottom: -6px; width: 8px; height: 7px; clip-path: var(--hex); background: var(--bordo-600); transform: translateX(var(--x, 0)) scale(var(--s, 0)); transition: transform .4s var(--ease); }
.nav-ind.no-anim { transition: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; font-weight: 500; color: var(--ink-2); }
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--bordo-700); }
.hdr-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.hdr-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--bordo-600)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.menu-toggle span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; gap: 24px; padding: calc(var(--header-h) + 64px) var(--gutter) 24px; background: var(--navy-950); color: var(--on-dark); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background-image: var(--honeycomb); background-size: 84px 48.5px; -webkit-mask-image: radial-gradient(ellipse 80% 50% at 100% 0, #000, transparent 70%); mask-image: radial-gradient(ellipse 80% 50% at 100% 0, #000, transparent 70%); pointer-events: none; }
.mobile-menu > * { position: relative; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.mm-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bordo-300); }
.mobile-menu li { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 35ms + 80ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.mobile-menu li a .go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.mobile-menu li a .go svg { width: 14px; height: 14px; }
.mobile-menu li a:hover .go { background: var(--bordo-600); border-color: var(--bordo-600); color: #fff; }
.mm-foot { margin-top: auto; display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); }
.mm-avail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark-2); }
.mm-avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.mm-foot a.mail { font-family: var(--f-display); font-size: 20px; font-weight: 500; }
.mm-foot .btn { width: 100%; justify-content: space-between; }

/* ---------- hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; color: #fff; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-2); max-width: 54ch; }
.hero .actions { margin-top: 36px; }
.hero-facts { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.hero-facts > div { padding: 20px 20px 0 0; }
.hero-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.hero-facts dt { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.hero-facts dd { margin-top: 6px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.45; white-space: pre-line; }

.console { border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(27, 42, 90, .72), rgba(17, 28, 64, .82)); border: 1px solid rgba(143, 168, 216, .22); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.console-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); background: rgba(10, 19, 48, .4); }
.dots { display: flex; gap: 6px; }
.dots i, .browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(238, 241, 248, .18); }
.dots i:first-child, .browser-bar i:first-child { background: var(--bordo-300); }
.console-title { font-family: var(--f-mono); font-size: 12.5px; color: var(--on-dark-2); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(47, 191, 127, .12); color: #7FE0B4; font-family: var(--f-mono); font-size: 11.5px; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 191, 127, .2); }
.console-body { padding: 24px; display: grid; gap: 20px; }
.console-k { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.steps-mini { display: grid; gap: 4px; position: relative; }
.steps-mini li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.steps-mini li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 42px; bottom: -8px; width: 2px; background: linear-gradient(var(--bordo-600), transparent); opacity: .5; }
.steps-mini b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16px; color: #fff; line-height: 1.3; }
.steps-mini small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--on-dark-muted); }
.console-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.node-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; border-top: 1px dashed var(--line-dark); }
.node-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-2); }
.console-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); border-top: 1px solid var(--line-dark); background: rgba(10, 19, 48, .35); }
.console-foot > div { padding: 14px 18px; display: grid; gap: 2px; }
.console-foot > div + div { border-left: 1px solid var(--line-dark); }
.console-foot span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.console-foot strong { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: #fff; }

/* ---------- tech strip */
.tech-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.strip-label { flex: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 22ch; line-height: 1.4; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee li { display: inline-flex; align-items: center; gap: 40px; font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--blue-700); white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 6px; clip-path: var(--hex); background: var(--bordo-600); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- approach */
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.approach-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.statement { margin-top: 20px; font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.22; letter-spacing: -0.025em; color: var(--ink); }
.statement-sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 50ch; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.pillar:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 20px; }
.pillar p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- services bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.tile-wide { grid-column: span 2; }
.tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tile-num { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; }
.tile h3 a { transition: color .2s; }
.tile:hover h3 a { color: var(--bordo-700); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.tile p { color: var(--muted); font-size: 16px; }
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; padding: 6px 0; }
.tile-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile-go { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--navy-900); transition: background .25s, color .25s, transform .3s var(--ease); }
.tile-go svg { width: 15px; height: 15px; }
.tile:hover .tile-go { background: var(--bordo-600); color: #fff; transform: rotate(-45deg); }

.feature { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; overflow: hidden; }
.feature .hx-field { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 75%); }
.feature h3 { margin-top: 20px; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.03em; color: #fff; }
.feature-copy > p:not(.pill) { margin-top: 16px; color: var(--on-dark-2); max-width: 52ch; }
.feature .tags { margin-top: 20px; }
.feature .actions { margin-top: 28px; }
.browser { border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); background: rgba(10, 19, 48, .4); }
.browser-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-muted); }
.pipeline { padding: 10px 16px; display: grid; }
.pipeline li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px dashed var(--line-dark); font-size: 15px; color: var(--on-dark-2); }
.pipeline li:last-child { border-bottom: 0; }
.pl-dot { width: 12px; height: 11px; clip-path: var(--hex); background: rgba(238, 241, 248, .2); flex: none; }
.pipeline .done .pl-dot { background: var(--ok); }
.pipeline .run .pl-dot { background: var(--blue-300); animation: blink 1.4s ease-in-out infinite; }
.pl-name { flex: 1; min-width: 0; }
.pipeline em { font-family: var(--f-mono); font-size: 11.5px; color: var(--on-dark-muted); }
.pipeline .done em { color: #7FE0B4; }
.pipeline .run em { color: var(--blue-300); }
@keyframes blink { 50% { opacity: .35; } }
.pl-bar { margin: 0 20px 20px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pl-bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--bordo-300)); }

/* ---------- stats */
.stats { padding: clamp(72px, 8vw, 112px) 0; overflow: hidden; }
.stats .hx-field { -webkit-mask-image: radial-gradient(ellipse 60% 100% at 0 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 100% at 0 50%, #000 10%, transparent 70%); }
.stats-head { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.big { font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: #fff; }
.stats-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.stat-value { display: flex; align-items: flex-start; gap: 4px; font-family: var(--f-display); font-size: clamp(44px, 5vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.stat-value sup { font-size: .42em; margin-top: .2em; color: var(--bordo-300); letter-spacing: -0.02em; }
.stat p { margin-top: 14px; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- audience */
.au-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 20px; }
.au-tabs [role="tab"] { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.au-tabs [role="tab"]:hover { border-color: var(--blue-300); }
.au-tabs [role="tab"][aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: 0 16px 30px -18px rgba(17, 28, 64, .8); }
.au-ico { display: grid; place-items: center; width: 40px; height: 36px; flex: none; clip-path: var(--hex); background: var(--surface-2); color: var(--blue-700); }
.au-ico svg { width: 20px; height: 20px; }
[aria-selected="true"] .au-ico { background: var(--bordo-600); color: #fff; }
.au-tab-text { display: grid; min-width: 0; line-height: 1.3; }
.au-tab-text b { font-family: var(--f-display); font-size: 15.5px; font-weight: 600; }
.au-tab-text small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[aria-selected="true"] .au-tab-text small { color: var(--on-dark-muted); }
.au-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.au-panel + .au-panel { margin-top: 16px; }
.js .au-tabs:not([hidden]) ~ .au-panels .au-panel + .au-panel { margin-top: 0; }
.au-panel.is-switching { animation: au-in .45s var(--ease); }
@keyframes au-in { from { opacity: 0; transform: translateY(8px); } }
.au-problem { padding: clamp(28px, 4vw, 48px); background: var(--surface-2); border-right: 1px solid var(--line); }
.au-solution { padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; align-content: start; }
.au-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bordo-700); }
.au-problem h3 { margin-top: 14px; font-size: clamp(24px, 2.4vw, 30px); }
.au-problem blockquote { margin: 18px 0 24px; font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 23px); font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.au-problem .tags li { background: var(--surface); border: 1px solid var(--line); }

/* ---------- models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.model { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.model.featured { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(10, 19, 48, .7); background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); }
.model-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.model-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark .model-kicker { color: var(--blue-300); }
.ribbon, .badge { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ribbon { background: var(--bordo-600); color: #fff; }
.badge { background: var(--surface-2); color: var(--ink-2); }
.model h3 { font-size: 26px; }
.model.featured h3 { color: #fff; }
.model > p { color: var(--muted); font-size: 16px; }
.model.featured > p { color: var(--on-dark-2); }
.ideal { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14.5px; }
.ideal b { color: var(--bordo-700); }
.model.featured .ideal { background: rgba(255, 255, 255, .06); }
.model.featured .ideal b { color: var(--bordo-300); }
.model .ticks { margin-bottom: 8px; }
.model .btn { margin-top: auto; }
.models-note { margin-top: 28px; display: flex; gap: 10px; align-items: flex-start; justify-content: center; color: var(--muted); font-size: 15px; text-align: left; }
.models-note svg { width: 20px; height: 20px; flex: none; color: var(--blue-500); }

/* ---------- process timeline */
.timeline { --n: 5; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.tl-step { position: relative; display: grid; gap: 16px; align-content: start; }
.tl-marker { position: relative; display: grid; place-items: center; width: 58px; height: 52px; clip-path: var(--hex); background: var(--navy-900); color: #fff; font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.tl-step:first-child .tl-marker, .tl-step:last-child .tl-marker { background: var(--bordo-600); }
.tl-body { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; display: grid; gap: 8px; align-content: start; }
.tl-body h3 { font-size: 18.5px; }
.tl-body p { color: var(--muted); font-size: 15px; }
.tl-tag { justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-family: var(--f-mono); font-size: 11.5px; }

/* ---------- tech stack */
.stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.stack-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.stack-card:hover { border-color: var(--blue-300); }
.stack-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stack-head .code { display: grid; place-items: center; min-width: 46px; height: 40px; padding: 0 8px; clip-path: var(--hex); background: var(--bordo-100); color: var(--bordo-700); font-family: var(--f-mono); font-size: 12px; font-weight: 600; }
.stack-head h3 { font-size: 18px; }
.stack-card ul { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-card li { padding: 5px 11px; border-radius: 8px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); }

/* ---------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-copy .body { margin-top: 20px; color: var(--ink-2); font-size: 17.5px; max-width: 60ch; }
.quote { margin-top: 36px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--bordo-600); }
.quote blockquote { font-family: var(--f-display); font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.quote figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.about-side { display: grid; gap: 16px; }
.brand-card { padding: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.brand-card img { width: 190px; height: auto; }
.brand-card p { margin-top: 18px; color: var(--on-dark-2); font-size: 16px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.p-num { font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--bordo-600); }
.p-num small { font-size: .5em; margin-left: 2px; color: var(--muted); }
.principle h3 { margin-top: 14px; font-size: 17.5px; }
.principle p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; justify-items: start; }
.faq-aside > p { color: var(--muted); }
.help-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.help-card div > span { display: block; font-size: 13px; color: var(--muted); }
.help-card a { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--navy-900); }
.help-card a:hover { color: var(--bordo-700); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq-list details[open] { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; border-radius: var(--radius); }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface-2); transition: background .25s, transform .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm { background: var(--bordo-600); transform: rotate(180deg); }
details[open] .pm::before, details[open] .pm::after { background: #fff; }
details[open] .pm::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 22px; color: var(--ink-2); }
.faq-answer a, .au-solution a:not(.btn):not(.link-arrow), .contact-cards a, .about-copy .body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47, 68, 117, .35); }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy > p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 48ch; }
.contact-cards { margin-top: 32px; display: grid; gap: 10px; }
.contact-cards li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-cards li > div { display: grid; min-width: 0; flex: 1; line-height: 1.4; }
.contact-cards li > div > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-cards li > div > a, .contact-cards b { font-family: var(--f-display); font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-cards b a { color: inherit; text-decoration: none; }
.contact-cards a:hover { color: var(--bordo-700); }
.contact-cards small { font-size: 13.5px; color: var(--muted); }
.copy-btn { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.copy-btn:hover { border-color: var(--navy-900); background: var(--surface-2); }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue-500), var(--bordo-600)); }
.form-card h3 { font-size: 26px; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: var(--bg); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232A3556' stroke-width='1.7'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(63, 106, 216, .16); }
.field .err { display: none; font-size: 13.5px; color: var(--bordo-700); }
.field.invalid input, .field.invalid textarea { border-color: var(--bordo-600); background: #fff; }
.field.invalid .err { display: block; }
.field.flash textarea { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 34, 50, 0); } 30% { box-shadow: 0 0 0 6px rgba(139, 34, 50, .22); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.form-foot p { flex: 1 1 260px; font-size: 13.5px; color: var(--muted); }
.form-foot p a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(47, 191, 127, .1); border: 1px solid rgba(47, 191, 127, .35); color: #155E3F; font-size: 15px; }
.form-status.show { display: block; }
.form-status.is-error { background: var(--bordo-100); border-color: rgba(139, 34, 50, .35); color: var(--bordo-700); }

/* ---------- CTA band + footer */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, var(--bordo-700), var(--bordo-800) 60%, #3E0E17); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .hx-field { -webkit-mask-image: radial-gradient(ellipse 50% 100% at 100% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 50% 100% at 100% 50%, #000 10%, transparent 75%); }
.cta-band .hx-field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cpath d='M0 24.25 14 0h28l14 24.25L42 48.5H14zM56 24.25h28' fill='none' stroke='%23FFFFFF' stroke-opacity='.12' stroke-width='1'/%3E%3C/svg%3E"); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; max-width: 22ch; color: #fff; }
.cta-band h2 em { color: #FFD2D8; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 56ch; }

.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer--compact { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: 15px; color: var(--on-dark-muted); max-width: 36ch; }
.footer-col h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col h4 a { font: inherit; color: inherit; padding: 0; }
.footer-col h4 a:hover { color: #fff; }
.footer-col a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--on-dark-2); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col li:not(:has(a)) { padding: 5px 0; font-size: 15px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 13.5px; color: var(--on-dark-muted); }
.footer-bottom > span { margin-right: auto; }
.footer-bottom a { color: var(--on-dark-2); }
.to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.to-top svg { width: 14px; height: 14px; }
.to-top:hover { color: #fff; }

/* ---------- inner pages (services, legal) */
.legal-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.legal-hero h1 { margin-top: 20px; font-size: clamp(36px, 4.8vw, 62px); letter-spacing: -0.035em; line-height: 1.04; max-width: 22ch; color: #fff; }
.legal-hero .intro { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--on-dark-2); max-width: 64ch; }
.legal-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-muted); }
.legal-meta b { color: #fff; font-weight: 500; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.svc-hero-ico { margin-top: 32px; }
.svc-hero .crumbs + h1 { margin-top: 28px; }
.svc-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.svc-body { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.svc-faq, .svc-related { margin-top: clamp(56px, 7vw, 88px); }
.svc-faq h2, .svc-related h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.025em; margin-bottom: 24px; }
.svc-faq .faq-list { max-width: 880px; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.svc-cards a { position: relative; display: grid; gap: 10px; align-content: start; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.svc-cards a:hover { border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-cards a .hx { margin-bottom: 6px; }
.svc-cards li:nth-child(3n+2) .hx { background: linear-gradient(140deg, var(--bordo-600), var(--bordo-800)); }
.svc-cards strong { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.svc-cards span:not(.hx) { color: var(--muted); font-size: 15px; }
.svc-cards em { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--f-display); font-weight: 600; color: var(--blue-700); }
.svc-cards em svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.svc-cards a:hover em { color: var(--bordo-700); }
.svc-cards a:hover em svg { transform: translateX(4px); }
.svc-cards-hub a { padding: 28px; }

.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 112px); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-toc h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bordo-700); margin-bottom: 10px; }
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.legal-toc a:hover { background: var(--surface-2); color: var(--navy-900); }

.prose { max-width: 76ch; min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.025em; margin: 56px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--bordo-700); letter-spacing: .04em; }
.prose > h2:first-child, .prose > section:first-child > h2 { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 9px; clip-path: var(--hex); background: var(--bordo-600); }
.prose a { color: var(--blue-700); text-decoration: underline; text-decoration-color: rgba(47, 68, 117, .35); text-underline-offset: 3px; }
.prose a:hover { color: var(--bordo-700); text-decoration-color: currentColor; }
.prose strong { color: var(--ink); }
.prose .note { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--blue-100); border-left: 4px solid var(--blue-500); font-size: 15.5px; color: var(--ink-2); }
.data-table { margin: 18px 0 0; border-top: 1px solid var(--line); }
.data-table > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.data-table dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.data-table dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.data-table dd small { display: block; color: var(--muted); font-size: 14px; }

/* ---------- maintenance / 404 */
.maint-body { min-height: 100vh; }
.maint { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.maint header { padding-top: 32px; }
.maint header img { width: 150px; height: auto; }
.maint main { display: grid; align-content: center; justify-items: start; gap: 24px; padding-top: 48px; padding-bottom: 64px; }
.maint h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.04em; line-height: 1; max-width: 16ch; color: #fff; }
.maint-text { font-size: 19px; color: var(--on-dark-2); max-width: 52ch; }
.maint footer { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-muted); }
.maint footer a { color: var(--on-dark-2); }

/* ---------- cookie consent */
.cc { position: fixed; right: 16px; bottom: 16px; z-index: 160; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 30px 70px -24px rgba(10, 19, 48, .5); animation: cc-in .45s var(--ease); overflow: hidden; }
.cc::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--bordo-600)); }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
.cc-inner { padding: 22px 22px 18px; display: grid; gap: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.cc h2 { font-size: 19px; }
.cc p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cc p a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.cc-prefs { display: grid; gap: 8px; }
.cc-cat { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; }
.cc-cat input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bordo-600); }
.cc-cat b { display: block; font-family: var(--f-display); font-size: 15px; }
.cc-cat small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.cc-cat em { font-family: var(--f-mono); font-size: 11px; color: #1C7A52; white-space: nowrap; padding-top: 2px; }
.cc-cat.is-locked { cursor: default; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.cc-actions .cc-link { margin-right: auto; }
.cc-btn { padding: 0 20px; min-width: 120px; }
.cc-btn[data-cc="accept"] { --bg: var(--bordo-600); }
.cc-btn[data-cc="accept"]:hover { --bg: var(--bordo-700); }
.cc-link, .cc-open { background: none; border: 0; padding: 4px 0; min-height: 40px; cursor: pointer; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cc-link:hover { color: var(--bordo-700); }
.cc-open { color: var(--on-dark-muted); font-size: 13.5px; }
.cc-open:hover { color: #fff; }

.admin-bar { position: fixed; left: 16px; bottom: 16px; z-index: 150; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: var(--navy-900); color: var(--on-dark); font-size: 13.5px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); max-width: calc(100vw - 32px); border: 1px solid var(--line-dark); }
.admin-bar a { color: var(--bordo-300); font-weight: 600; white-space: nowrap; }
.admin-bar b { color: var(--bordo-300); }
.ab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.ab-dot.on { background: var(--bordo-300); }

/* ---------- responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hdr-actions { margin-left: auto; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid, .approach-grid, .about-grid, .faq-grid, .contact-grid, .feature { grid-template-columns: minmax(0, 1fr); }
  .console { max-width: 620px; }
  .approach-copy, .faq-aside { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-head { grid-template-columns: minmax(0, 1fr); }
  .models { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .au-panel { grid-template-columns: minmax(0, 1fr); }
  .au-problem { border-right: 0; border-bottom: 1px solid var(--line); }
  .au-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .au-tabs::-webkit-scrollbar { display: none; }
  .au-tabs [role="tab"] { flex: 0 0 auto; scroll-snap-align: start; min-height: 56px; }
  .au-tab-text small { display: none; }
  .strip-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  .strip-label { max-width: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .is-scrolled .hdr-shell { height: 60px; }
  .brand img { height: 40px; }
  .is-scrolled .brand img { height: 36px; }
  .u-hide-sm { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
  .ticks-2 { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl-step { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; }
  .tl-step:not(:last-child)::before { content: ""; position: absolute; left: 28px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .data-table > div { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts > div, .hero-facts > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); display: flex; align-items: baseline; gap: 16px; }
  .hero-facts dd { margin-top: 0; }
  .hero .actions .btn, .feature .actions .btn { width: 100%; justify-content: space-between; }
  .cta-band .actions, .cta-band .btn { width: 100%; }
  .cta-band .btn { justify-content: space-between; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .u-alert { display: none; }
  .utility-inner { justify-content: center; }
  .console-title { display: none; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 22px; }
  .tile, .model, .pillar { padding: 22px; }
  .pillar { flex-direction: column; gap: 14px; }
  .console-body { padding: 20px; }
  .console-actions .btn { flex: 1 1 auto; }
  .console-foot { grid-template-columns: minmax(0, 1fr); }
  .console-foot > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .console-foot > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .contact-cards li { flex-wrap: wrap; }
  .copy-btn { margin-left: 56px; }
  .faq-list summary { padding: 18px; font-size: 17px; }
  .faq-answer { padding: 0 18px 18px; }
  .cc { right: 8px; left: 8px; bottom: 8px; width: auto; }
  .cc-inner { padding: 18px 16px 14px; }
  .cc-actions .cc-link { width: 100%; margin: 0 0 4px; text-align: left; }
  .cc-btn { flex: 1 1 0; min-width: 0; }
  .cc-actions [data-cc="save"] { flex: 1 1 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media print {
  .utility, .site-header, .mobile-menu, .cc, .admin-bar, .cta-band, .marquee { display: none !important; }
  .dark { background: #fff; color: #000; }
}
