/* TeenTechies — shared styles */
:root {
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: var(--font); --font-body: var(--font); --font-mono: var(--mono);
  --night: #080B11; --panel: #121722; --line-d: #252C3A;
  --ink: #0B0D12; --muted: #505866; --muted-d: #B6BDC9; --dim: #8B93A1;
  --paper: #F3F4F6; --line: #E5E7EB; --field: #D7DAE0;
  --accent: #2EE6D6; --accent-hi: #5FF0E3; --teal: #0A7C74; --teal-d: #075E58; --teal-m: #12B5A6;
  --pad-x: clamp(20px, 4vw, 56px); --pad-y: clamp(80px, 10vw, 128px);
  /* read by the 3D scenes */
  --tt-accent: #2EE6D6; --tt-font: "Schibsted Grotesk"; --tt-body: "Schibsted Grotesk"; --tt-mono: "IBM Plex Mono", ui-monospace, monospace;
  --tt-panel: rgba(18, 23, 34, 0.94); --tt-line: #252C3A; --tt-paper: #F3F4F6; --tt-disc: #121722; --tt-fg: #F3F4F6; --tt-day: #EEF0F3; --tt-night: #080B11;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.home { background: var(--night); }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); }
input, textarea, button, select { font: inherit; }
h1, h2, h3 { font-family: var(--font); }
:focus-visible { outline: 2px solid var(--teal-m); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--night); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: 1360px; margin: 0 auto; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background 120ms ease, color 120ms ease; }
.btn-accent { background: var(--accent); color: var(--night); }
.btn-accent:hover { background: var(--accent-hi); color: var(--night); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--field); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.link-u { font-weight: 600; font-size: 15px; color: var(--teal); border-bottom: 2px solid var(--teal); padding-bottom: 4px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(8, 11, 17, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); max-width: calc(100% - 24px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; }
.brand span { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--paper); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav a { color: var(--muted-d); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.site-header .btn { height: 36px; padding: 0 16px; font-size: 13px; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }
.mobile-nav { position: fixed; z-index: 39; top: 68px; left: 12px; right: 12px; display: none; flex-direction: column; padding: 10px; border-radius: 20px; background: rgba(8, 11, 17, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.1); }
.mobile-nav a { padding: 14px 12px; color: var(--paper); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: flex; }
@media (max-width: 1000px) { .nav { display: none; } .menu-btn { display: inline-flex; } }

/* ---------- Sections / type ---------- */
.sec { padding: var(--pad-y) var(--pad-x); }
.sec-dark { background: var(--night); color: var(--paper); }
.sec-white { background: #fff; border-bottom: 1px solid var(--line); }
.sec-paper { background: var(--paper); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.sec-dark .eyebrow { color: var(--accent); }
.h-xl { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; text-wrap: balance; }
.h-xl b, .h-l b { font-weight: 700; }
.h-xl em, .h-l em { font-style: normal; color: var(--teal); }
.sec-dark .h-xl em { color: var(--accent); }
.h-l { margin: 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; text-wrap: balance; }
.h-m { margin: 0; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.sec-dark .lead { color: var(--muted-d); }
.body { font-size: 16px; line-height: 1.7; color: var(--muted); }
.body p { margin: 0 0 1em; }
.body strong { color: var(--ink); font-weight: 600; }

/* ---------- Home: arc hero ---------- */
.arc { position: relative; height: 640vh; }
.arc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background-color: #EEF0F3; }
.arc-stage tt-site-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.fade { transition: opacity 320ms ease, transform 520ms cubic-bezier(.22,.61,.36,1); }
.off { opacity: 0 !important; transform: translateY(14px) !important; pointer-events: none !important; }
.hero-text { position: absolute; z-index: 2; left: clamp(20px, 4vw, 64px); top: 112px; max-width: min(640px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 22px; }
.hero-text.off { transform: translateY(-16px) !important; }
.hero-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.hero-h1 { margin: 0; font-weight: 700; font-size: clamp(38px, 5.2vw, 84px); line-height: 0.98; letter-spacing: -0.05em; color: var(--ink); text-wrap: balance; }
.hero-sub { margin: 0; max-width: 480px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-hint { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.zones { position: absolute; z-index: 2; left: clamp(20px, 4vw, 64px); bottom: 36px; width: min(440px, calc(100% - 40px)); display: grid; }
.zone { grid-area: 1 / 1; align-self: end; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: rgba(8, 11, 17, 0.84); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--paper); }
.zone-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.zone-top span:first-child { color: var(--accent); }
.zone h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.035em; color: var(--paper); text-wrap: balance; }
.zone p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-d); }
.zone dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.zone dl div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 14px 0; }
.zone dd { margin: 0; font-family: var(--mono); font-size: 22px; color: var(--paper); }
.zone dt { font-size: 12px; color: var(--dim); }
.zone-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--dim); }
.zone .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.arc-final { position: absolute; z-index: 2; left: clamp(20px, 4vw, 64px); bottom: 48px; max-width: min(600px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 16px; }
.arc-final h2 { margin: 0; font-weight: 700; font-size: clamp(36px, 4.8vw, 72px); line-height: 1; letter-spacing: -0.05em; color: var(--paper); }
.arc-final h2 span { color: var(--accent); }
.arc-final p { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.5; color: var(--muted-d); }
.rail { position: absolute; z-index: 2; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; padding: 8px 4px; border-radius: 999px; background: rgba(8, 11, 17, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rail button { cursor: pointer; border: 0; background: transparent; width: 24px; height: 24px; padding: 0; display: flex; align-items: center; justify-content: center; }
.rail button span { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--dim); transition: height 200ms ease, background 200ms ease; }
.rail button.on span { height: 18px; background: var(--accent); }
@media (max-width: 760px) { .rail { display: none; } .hero-text { top: 92px; } }
@media (max-height: 620px) { .hero-sub { display: none; } }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(8, 11, 17, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer[hidden] { display: none; }
.drawer aside { width: min(540px, 100%); height: 100%; overflow-y: auto; display: flex; flex-direction: column; background: #0D1118; border-left: 1px solid var(--line-d); color: var(--paper); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.drawer-head button { cursor: pointer; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: var(--paper); font-weight: 600; font-size: 13px; }
.drawer-stage { position: relative; flex: 1 0 240px; min-height: 240px; }
.drawer-stage tt-device-scene { position: absolute; inset: 0; }
.drawer-stage .hint { position: absolute; left: 22px; top: 14px; z-index: 3; font-family: var(--mono); font-size: 12px; color: var(--dim); pointer-events: none; }
.drawer-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; border-top: 1px solid var(--line-d); }
.drawer-body h2 { margin: 0; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.drawer-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-d); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.chip { font-family: var(--mono); font-size: 11px; padding: 5px 10px; border: 1px solid var(--line-d); border-radius: 999px; color: var(--paper); }
.chips-light .chip { border-color: var(--field); color: var(--ink); }

/* ---------- Platform ---------- */
.plat-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px 64px; align-items: end; }
.plat-head .h-xl b { color: var(--paper); }
.plat { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.side-tabs { display: flex; flex-direction: column; gap: 6px; }
.side-tab { text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; border: 0; border-left: 3px solid transparent; background: transparent; padding: 14px 16px; border-radius: 0 8px 8px 0; transition: background 160ms ease; }
.side-tab b { font-weight: 600; font-size: 16px; color: var(--muted-d); }
.side-tab span { font-size: 13px; line-height: 1.45; color: var(--dim); }
.side-tab:hover { background: var(--panel); }
.side-tab[aria-selected="true"] { background: var(--panel); border-left-color: var(--accent); }
.side-tab[aria-selected="true"] b { color: #fff; }
.console { border-radius: 24px; background: var(--paper); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); color: var(--ink); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.console-bar .crumb { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-bar .crumb img { width: 22px; height: 22px; flex: none; }
.console-bar .crumb b { font-weight: 600; font-size: 14px; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E6F6EE; color: #03713A; font-weight: 600; font-size: 12px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #03A64E; }
.console-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { cursor: pointer; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 600; font-size: 13px; transition: background 140ms ease, color 140ms ease; }
.pill[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill[hidden] { display: none; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.kpis div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.kpis dt { font-size: 12px; color: var(--muted); }
.kpis dd { margin: 0; font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.monitor { display: flex; flex-direction: column; min-height: 380px; }
.dash-side { display: flex; flex-direction: column; gap: 14px; }
.card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card h3 { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.alerts i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #03A64E; }
.alerts i.warn { background: #F59E0B; } .alerts i.bad { background: #D92D20; }
.alerts b { display: block; font-weight: 600; font-size: 13px; }
.alerts span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.insight { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--night); color: var(--paper); }
.insight h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.insight h3 img { width: 18px; height: 18px; }
.insight p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-d); }
.uc-panel[hidden] { display: none; }
.note { font-size: 11px; color: var(--muted); text-align: right; }
.plat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.plat-foot p { margin: 0; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--muted-d); }
.plat-foot b { font-weight: 600; color: var(--paper); }
@media (max-width: 900px) {
  .plat, .dash, .ai-grid, .s4, .split { grid-template-columns: minmax(0, 1fr) !important; }
  .side-tabs { flex-direction: row; flex-wrap: wrap; }
  .side-tabs > .side-tab { flex: 1 1 200px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-stage { height: 100vh; }
}

/* ---------- AI section ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.ai-tabs .side-tab b { font-size: 17px; color: var(--ink); }
.ai-tabs .side-tab span { font-size: 14px; color: var(--muted); }
.ai-tabs .side-tab:hover { background: #E3FAF7; }
.ai-tabs .side-tab[aria-selected="true"] { background: #E3FAF7; border-left-color: var(--teal-m); }
.ai-tabs .side-tab[aria-selected="true"] b { color: var(--teal-d); }
.ai-demo { display: flex; flex-direction: column; min-height: 420px; }

/* ---------- Service columns ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px clamp(32px, 5vw, 72px); }
.col-h { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.col-h img { width: 22px; height: 22px; }
.col-h h3 { margin: 0; font-weight: 600; font-size: 20px; }
.numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numlist li { counter-increment: n; display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; line-height: 1.35; }
.numlist li::before { content: counter(n, decimal-leading-zero); flex: none; width: 22px; font-family: var(--mono); font-size: 12px; color: var(--teal); }
.numlist a { color: var(--ink); }
.numlist a:hover { color: var(--teal); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: inherit; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: url(/assets/icons/plus-muted.svg) center / contain no-repeat; transition: transform 200ms ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); background-image: url(/assets/icons/plus.svg); }
.faq details p { margin: 0; padding: 0 36px 20px 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Contact ---------- */
.s4 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.contact { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 90px; }
.contact h2 { margin: 0; font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.contact form { display: flex; flex-direction: column; gap: 20px; }
.contact fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact legend { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field); color: var(--muted); font-weight: 600; font-size: 13px; transition: background 140ms ease, color 140ms ease; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--teal-m); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 13px; color: var(--muted); }
.field input, .field textarea { padding: 10px 2px; min-height: 44px; border: 0; border-bottom: 1px solid var(--field); border-radius: 0; font-size: 16px; line-height: 1.5; color: var(--ink); background: transparent; outline: none; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--teal); }
.field.err input { border-bottom-color: #D92D20; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.err { color: #D92D20; }
.hp { position: absolute; left: -9999px; }
.sent { display: flex; flex-direction: column; gap: 12px; }
.sent[hidden] { display: none; }
.sent img { width: 36px; height: 36px; }
.sent b { font-weight: 600; font-size: 20px; }
.sent p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; padding-top: 8px; }
.tiers p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tiers b { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 0 var(--pad-x) 36px; }
.foot { padding-top: 36px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.foot .brand span { color: var(--ink); font-weight: 600; }
.foot address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 28px; font-size: 14px; }
.foot-links a, .foot-sol a { color: var(--muted); }
.foot-links a:hover, .foot-sol a:hover { color: var(--ink); }
.foot-sol { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13px; }
.copy { max-width: 1360px; margin: 28px auto 0; font-size: 13px; color: var(--muted); }

/* ---------- Service pages ---------- */
.page-hero { background: var(--night); color: var(--paper); padding: 150px var(--pad-x) clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(46,230,214,.16), transparent); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-d); }
.crumbs a { color: var(--accent); }
.page-hero h1 { margin: 0; max-width: 980px; font-weight: 700; font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.page-hero h1 span { font-weight: 400; color: var(--accent); }
.page-hero .lead { color: var(--muted-d); font-size: 19px; max-width: 680px; }
.page-hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.page-hero .btn-ghost { color: var(--paper); border-color: var(--line-d); }
.page-hero .btn-ghost:hover { background: var(--panel); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line-d); }
.facts div { padding: 18px 18px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin: 0; font-family: var(--mono); font-size: 15px; color: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.split > :first-child { display: flex; flex-direction: column; gap: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--teal); }
.steps h3 { margin: 0; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 0 40px; }
.feat li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat li img { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.feat b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.feat span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.sec-dark .feat li { border-color: var(--line-d); }
.sec-dark .feat b { color: var(--paper); }
.sec-dark .feat span { color: var(--muted-d); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color 140ms ease, transform 140ms ease; }
.related a:hover { border-color: var(--teal-m); transform: translateY(-2px); color: var(--ink); }
.related b { font-weight: 600; font-size: 17px; }
.related span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: 120px var(--pad-x); background: var(--night); color: var(--paper); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; } }
@media print { .site-header, .mobile-nav, .rail, tt-site-scene { display: none !important; } .arc { height: auto; } .arc-stage { position: static; height: auto; } }
@media (max-width: 520px) {
  .site-header { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .site-header > .btn { display: none; }
}
.mobile-nav .mn-cta { margin-top: 8px; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--night); font-weight: 700; border: 0; }
