/* =========================================================
   Velkit — site stylesheet
   Tokens → base → layout → components → sections → pages
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations"), url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* type scale (minor third-ish, fluid at the top end) */
  --fs-xs: 0.8125rem;
  --fs-sm: 1rem;
  --fs-base: 1.125rem;
  --fs-md: 1.3rem;
  --fs-lg: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem);
  --fs-xl: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(2.6rem, 1.5rem + 4vw, 4.6rem);

  /* spacing (4px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* brand */
  --blue: #4A89FF;
  --blue-hover: #6B9FFF;
  --amber: #F2B55C;
}

/* dark (default) */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080D19;
  --bg-raised: #101827;
  --surface: #16233A;
  --surface-2: #1C2B46;
  --line: rgba(156, 170, 194, 0.16);
  --line-strong: rgba(156, 170, 194, 0.3);
  --text: #F8FAFF;
  --muted: #B6C2D8;
  --gold: #E8C673;
  --accent: #4A89FF;
  --accent-text: #6B9FFF;
  --accent-ink: #06101F;
  --accent-soft: rgba(74, 137, 255, 0.12);
  --warn-text: #F2B55C;
  --error: #FF8A8A;
  --success: #5FD3A1;
  --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(74, 137, 255, 0.07);
  --glass: rgba(8, 13, 25, 0.72);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F7FC;
  --bg-raised: #FFFFFF;
  --surface: #E9EFF9;
  --surface-2: #DCE5F4;
  --line: rgba(16, 24, 39, 0.11);
  --line-strong: rgba(16, 24, 39, 0.22);
  --text: #0A1222;
  --muted: #43516B;
  --gold: #8A5F0E;
  --accent: #4A89FF;
  --accent-text: #2159D6;
  --accent-ink: #06101F;
  --accent-soft: rgba(74, 137, 255, 0.12);
  --warn-text: #9A5A00;
  --error: #C62828;
  --success: #0E7A4F;
  --shadow-lg: 0 40px 80px -36px rgba(16, 32, 64, 0.35), 0 10px 24px -12px rgba(16, 32, 64, 0.2);
  --shadow-sm: 0 6px 18px -10px rgba(16, 32, 64, 0.3);
  --grid-line: rgba(33, 89, 214, 0.06);
  --glass: rgba(244, 247, 252, 0.8);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-stretch: 108%; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
main:focus { outline: none; }
.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;
}
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- skip link + progress ---------- */
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); font-weight: 650;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* ---------- buttons ---------- */
.btn {
  --btn-pad-y: 0.72rem; --btn-pad-x: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: 44px;
  border-radius: 8px; border: 1px solid transparent;
  font-weight: 650; font-size: var(--fs-sm); font-stretch: 104%; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--blue-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); text-decoration: none; }
.btn-sm { --btn-pad-y: 0.5rem; --btn-pad-x: 0.9rem; min-height: 40px; }
.btn-lg { --btn-pad-y: 0.95rem; --btn-pad-x: 1.4rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--text);
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  padding-top: env(safe-area-inset-top);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; }
.mark-a { fill: var(--accent); }
.mark-b { fill: var(--text); }
.brand-word { font-weight: 800; font-stretch: 116%; font-size: 1.22rem; letter-spacing: -0.02em; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: var(--s1); align-items: center; }
.main-nav a:not(.btn) {
  display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 520;
}
.main-nav a:not(.btn):hover { color: var(--text); background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.nav-cta-mobile, .menu-toggle { display: none; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
.theme-toggle .i-moon { fill: none; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .main-nav { position: static; margin-left: auto; }
  .main-nav ul {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s4) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom));
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav ul.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); }
  .main-nav a:not(.btn) { padding: 0.95rem 0.25rem; font-size: var(--fs-md); color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:not(.btn):hover { background: transparent; color: var(--accent-text); }
  .nav-cta-mobile { display: block; padding-top: var(--s5); }
  .nav-cta-mobile .btn { width: 100%; min-height: 52px; font-size: var(--fs-base); }
  .main-nav { margin-left: auto; }
  .header-actions { margin-left: 0; }
  .menu-toggle path { transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); transform-origin: 12px 12px; }
  .menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .l2 { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  padding-bottom: clamp(4rem, 3rem + 5vw, 7.5rem);
  isolation: isolate;
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  right: -10%; top: 0; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(74, 137, 255, 0.28), transparent);
}
.hero-wave, .final-wave {
  position: absolute; z-index: -1; left: 0; bottom: -6%; width: 100%; height: 72%;
  object-fit: cover; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%);
  mask-image: linear-gradient(to bottom, transparent, #000 35%);
}
:root[data-theme="light"] .hero-wave, :root[data-theme="light"] .final-wave { opacity: 0.45; }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.hero-title {
  font-size: var(--fs-hero); font-weight: 800; font-stretch: 112%;
  line-height: 1; letter-spacing: -0.035em; max-width: 14ch;
  color: var(--gold);
}
.lead { margin-top: var(--s5); font-size: var(--fs-md); color: var(--muted); max-width: 44ch; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-strong);
  font-size: var(--fs-sm); font-weight: 560;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.hero-visual { position: relative; aspect-ratio: 1.12 / 1; width: 100%; max-width: 640px; margin-inline: auto; }
.laptop { position: absolute; left: 0; top: 6%; width: 90%; }
.laptop-screen {
  aspect-ratio: 16 / 10; overflow: hidden; background: #000;
  border: 10px solid #1A2232; border-bottom-width: 14px; border-radius: 16px 16px 4px 4px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(156, 170, 194, 0.25), 0 0 80px -10px rgba(74, 137, 255, 0.45);
}
.laptop-screen img, .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop-base {
  height: 14px; width: 114%; margin-left: -7%;
  background: linear-gradient(#3A4458, #121927); border-radius: 2px 2px 14px 14px;
  box-shadow: 0 20px 30px -16px rgba(0, 0, 0, 0.8);
}
.phone {
  position: absolute; right: 0; bottom: 0; width: 29%; aspect-ratio: 390 / 844; overflow: hidden;
  border: 7px solid #0E1422; border-radius: 26px; background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(156, 170, 194, 0.3);
}
.price-badge {
  position: absolute; left: 4%; bottom: 2%; display: grid; gap: 2px;
  padding: 0.85rem 1.1rem; border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.pb-amount { font-size: 2rem; font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.03em; }
.pb-per { font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s6); }
}

/* page-load sequence: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title, .js .hero-copy > *:not(h1), .js .hero-visual { animation: rise 0.7s var(--ease) both; }
  .js .hero-copy > *:not(h1) { animation-delay: 0.08s; }
  .js .hero-visual { animation-delay: 0.16s; animation-duration: 0.9s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- showcase ---------- */
.showcase { margin-top: 0; }
.showcase-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s5); margin-bottom: var(--s4); }
.showcase-title { font-size: var(--fs-lg); font-weight: 720; }
.showcase-sub { color: var(--muted); font-size: var(--fs-sm); }
.showcase-bar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; justify-content: space-between; margin-bottom: var(--s4); }
.concept-tabs { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; min-width: 0; max-width: 100%; }
.concept-tabs::-webkit-scrollbar { display: none; }
.concept-tabs [role="tab"] {
  display: grid; text-align: left; gap: 1px; flex: 0 0 auto;
  padding: 0.6rem 1rem; min-height: 52px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; color: var(--muted);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.concept-tabs [role="tab"]:hover { border-color: var(--line-strong); color: var(--text); }
.concept-tabs [role="tab"][aria-selected="true"] { background: var(--surface); border-color: var(--accent); color: var(--text); }
.tab-name { font-weight: 650; font-size: var(--fs-sm); }
.tab-kind { font-size: var(--fs-xs); color: var(--muted); }
.device-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; gap: 3px; align-self: center; }
.device-toggle button {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px;
  padding: 0.4rem 0.8rem; border: 0; border-radius: 7px; background: transparent; color: var(--muted);
  cursor: pointer; font-size: var(--fs-sm); font-weight: 560;
}
.device-toggle button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.device-toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.viewer { margin: 0; }
.frame {
  position: relative; background: var(--bg-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transition: max-width 0.35s var(--ease);
  margin-inline: auto;
}
.frame-chrome {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3);
  height: 44px; padding: 0 var(--s3); border-bottom: 1px solid var(--line); background: var(--bg-raised);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.url {
  justify-self: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0.25rem 0.9rem; border-radius: 999px; background: var(--surface);
  color: var(--muted); font-size: var(--fs-xs);
}
.open-full { font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.frame-view { position: relative; height: clamp(360px, 52vw, 640px); overflow: hidden; background: #fff; }
.frame-view iframe {
  position: absolute; left: 0; top: 0; border: 0; display: block;
  width: 1280px; height: 800px; transform-origin: 0 0; background: #fff;
}
.viewer[data-device="mobile"] .frame { max-width: 360px; border-radius: 28px; border-width: 1px; }
.viewer[data-device="mobile"] .frame-chrome { grid-template-columns: 1fr; height: 38px; }
.viewer[data-device="mobile"] .dots, .viewer[data-device="mobile"] .open-full { display: none; }
.viewer[data-device="mobile"] .frame-view { height: 640px; }
.viewer figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3);
  margin-top: var(--s4); color: var(--muted); font-size: var(--fs-sm);
}
.concept-badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--warn-text); color: var(--warn-text);
  font-size: var(--fs-xs); font-weight: 650;
}
.noscript-note { margin-top: var(--s4); color: var(--muted); }
@media (max-width: 640px) {
  .concept-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; overflow: visible; }
  .concept-tabs [role="tab"] { padding: 0.55rem 0.6rem; min-height: 56px; align-content: center; }
  .tab-name { font-size: var(--fs-xs); line-height: 1.25; }
  .tab-kind { display: none; }
  .frame-view { height: 300px; }
  .viewer[data-device="mobile"] .frame-view { height: 560px; }
  .viewer[data-device="mobile"] .frame { max-width: 300px; }
  .device-toggle { width: 100%; }
  .device-toggle button { flex: 1; justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); border-top: 1px solid var(--line); }
.work, .process, .faq { background: var(--bg-raised); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { font-size: var(--fs-xl); font-weight: 780; font-stretch: 110%; letter-spacing: -0.03em; }
.section-head p { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }

/* included: bento */
.bento { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s5);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tile:hover { border-color: rgba(74, 137, 255, 0.45); }
.tile h3 { font-size: var(--fs-md); font-weight: 720; margin-top: var(--s4); letter-spacing: -0.01em; }
.tile p { color: var(--muted); margin-top: var(--s2); font-size: 1rem; line-height: 1.55; }
.tile-icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; flex: none;
  background: var(--accent-soft); border: 1px solid rgba(74, 137, 255, 0.3);
  fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tile-hero {
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 0% 0%, rgba(74, 137, 255, 0.24), transparent 60%), var(--bg-raised);
  border-color: rgba(74, 137, 255, 0.35);
}
.tile-hero h3 { font-size: var(--fs-lg); margin-top: 0; }
.tile-hero p { font-size: var(--fs-base); max-width: 40ch; }
.tile-shot { margin: var(--s6) calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s6); margin-top: auto; padding-top: var(--s6); }
.tile-shot img { width: 100%; height: auto; border-radius: 12px 0 0 0; border: 1px solid var(--line-strong); border-right: 0; border-bottom: 0; box-shadow: var(--shadow-lg); }
.tile-wide { display: flex; gap: var(--s4); align-items: center; }
.tile-wide h3 { margin-top: 0.4rem; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-hero, .tile-wide { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-hero { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
}
.extras { display: grid; gap: var(--s4); margin-top: var(--s4); }
.extras > div { border-radius: var(--radius-lg); padding: var(--s5) var(--s6); }
.extras h3 { font-size: var(--fs-md); font-weight: 720; }
.extras-out { border: 1px dashed var(--line-strong); }
.extras-out ul { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.extras-out li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: 1rem; }
.extras-out li::before { content: ""; position: absolute; left: 0.1rem; top: 0.72em; width: 10px; height: 2px; background: var(--muted); }
.extras-more { background: var(--surface); border: 1px solid var(--line); }
.extras-more p { margin-top: var(--s2); color: var(--muted); font-size: 1rem; }
.extras-more .btn { margin-top: var(--s4); }
@media (min-width: 900px) { .extras { grid-template-columns: 1.4fr 1fr; } }

/* why */
.why-grid { display: grid; gap: var(--s6); }
.reasons { margin: 0; display: grid; }
.reasons > div { display: grid; gap: var(--s2); padding-block: var(--s5); border-top: 1px solid var(--line); }
.reasons > div:last-child { border-bottom: 1px solid var(--line); }
.reasons dt { font-weight: 700; font-size: var(--fs-md); font-stretch: 106%; }
.reasons dd { margin: 0; color: var(--muted); max-width: 60ch; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: start; }
  .why-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .reasons > div { grid-template-columns: 15rem 1fr; gap: var(--s6); }
}

/* process */
.steps { list-style: none; display: grid; gap: var(--s6); counter-reset: none; }
.steps li { position: relative; padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.step-n {
  display: block; font-size: 3.2rem; line-height: 1; font-weight: 800; font-stretch: 120%;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: var(--s4);
}
.steps h3 { font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s2); }
.steps p { color: var(--muted); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .steps li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 32px; background: var(--accent); }
}

/* pricing */
.pricing-grid { display: grid; gap: var(--s5); align-items: start; }
.price-card, .custom-card { border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.price-card {
  position: relative; background: var(--bg-raised); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2F6BEA, #8CC4FF, #4A89FF); }
.price-card { border-color: rgba(74, 137, 255, 0.4); box-shadow: var(--shadow-lg), 0 0 90px -40px rgba(74, 137, 255, 0.6); }
.price-card h3 { font-size: var(--fs-md); font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: var(--s4); }
.amount { font-size: clamp(3.6rem, 2.6rem + 4vw, 5.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; line-height: 1; }
.per { color: var(--muted); font-size: var(--fs-md); }
.upfront { margin-top: var(--s3); font-size: var(--fs-md); }
.upfront strong { color: var(--accent-text); }
.timeline { margin-top: var(--s5); display: grid; grid-template-columns: 5fr 4fr; gap: 6px; }
.tl-paid, .tl-monthly { display: grid; grid-auto-flow: column; gap: 4px; }
.tl-paid span, .tl-monthly span { height: 12px; border-radius: 3px; }
.tl-paid span { background: var(--accent); }
.tl-monthly span { border: 1.5px dashed var(--line-strong); }
.tl-labels { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 4fr; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.checks { list-style: none; margin: var(--s6) 0; display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A89FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.fine { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--muted); }
.custom-card { border: 1px dashed var(--line-strong); }
.pricing-side { display: grid; gap: var(--s5); }
.security-card {
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: radial-gradient(120% 90% at 100% 0%, rgba(74, 137, 255, 0.2), transparent 60%), var(--bg-raised);
  border: 1px solid rgba(74, 137, 255, 0.35);
}
.security-card h3 { font-size: var(--fs-md); font-weight: 720; margin-top: var(--s4); }
.security-card > p:not(.fine) { margin-top: var(--s2); color: var(--muted); font-size: 1rem; }
.security-card .custom-list { margin: var(--s4) 0 0; }
.addon-toggle {
  display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5);
  padding: var(--s3) var(--s4); border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.addon-toggle:hover { border-color: var(--muted); }
.addon-toggle input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.addon-toggle:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.addon-toggle:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.addon-text { display: grid; flex: 1; line-height: 1.3; }
.addon-text span { font-size: var(--fs-xs); color: var(--muted); }
.addon-price { font-weight: 720; color: var(--accent-text); white-space: nowrap; }
.custom-card h3 { font-size: var(--fs-md); font-weight: 700; }
.custom-card > p:first-of-type { margin-top: var(--s3); color: var(--muted); }
.custom-list { list-style: none; margin: var(--s5) 0; display: grid; }
.custom-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.custom-card .btn { margin-top: var(--s5); }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: 7fr 5fr; gap: var(--s6); } }

/* faq */
.faq-grid { display: grid; gap: var(--s6); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 4fr 8fr; gap: var(--s8); align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-search { margin-bottom: var(--s4); }
.faq-search label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s2); }
.faq-count { margin-top: var(--s2); font-size: var(--fs-xs); color: var(--muted); min-height: 1.2em; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 620; font-size: var(--fs-base);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform 0.2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list details > div { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 65ch; }
.faq-empty { padding: var(--s5) 0; color: var(--muted); }

/* final cta */
.final-cta { position: relative; padding-block: clamp(5rem, 3.5rem + 5vw, 8rem); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.final-cta .final-wave { height: 100%; bottom: -30%; opacity: 0.7; }
.final-inner h2 { font-size: var(--fs-xl); font-weight: 780; font-stretch: 110%; letter-spacing: -0.03em; max-width: 22ch; }
.final-email { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- forms (shared) ---------- */
.field { display: grid; gap: var(--s2); align-content: start; }
.field label, .field legend, .label { font-weight: 620; font-size: var(--fs-sm); }
.optional { font-weight: 450; color: var(--muted); }
.hint { font-size: var(--fs-xs); color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 1rem; /* prevents iOS zoom */
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
select {
  appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CAAC2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 18px;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error-msg { display: flex; gap: 0.4rem; align-items: flex-start; color: var(--error); font-size: var(--fs-sm); font-weight: 520; }
.error-msg:empty { display: none; }

/* ---------- floating + toast ---------- */
.fab-contact {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px;
  padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 680; font-size: var(--fs-sm); text-decoration: none;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.fab-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.fab-contact:hover { background: var(--blue-hover); text-decoration: none; }
.fab-contact.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.to-top {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right)); bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 60px);
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-raised); color: var(--text);
  cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.no-fab .to-top { bottom: max(1rem, env(safe-area-inset-bottom)); }
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.5rem);
  transform: translate(-50%, 10px); max-width: calc(100vw - 2rem);
  padding: 0.75rem 1.1rem; border-radius: var(--radius);
  background: var(--text); color: var(--bg); font-size: var(--fs-sm); font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--s8); padding-bottom: calc(var(--s7) + env(safe-area-inset-bottom)); background: var(--bg-raised); }
.footer-grid { display: grid; gap: var(--s6); }
.footer-brand p { margin-top: var(--s4); color: var(--muted); max-width: 34ch; font-size: var(--fs-sm); }
.footer-h { font-size: var(--fs-xs); font-weight: 650; color: var(--muted); letter-spacing: 0.02em; margin-bottom: var(--s3); font-stretch: 100%; }
.footer-nav ul { list-style: none; display: grid; gap: var(--s2); }
.footer-nav a, .footer-contact a { color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-contact p + p { margin-top: var(--s2); }
.email-link { word-break: break-all; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between;
  margin-top: var(--s7); padding-top: var(--s5);
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--muted); font-size: var(--fs-xs);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-bottom: var(--s6); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch; }
.page-hero p { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-md); max-width: 54ch; }
.page-hero .crumbs { font-size: var(--fs-sm); margin: 0 0 var(--s4); }
.crumbs a { color: var(--muted); }

/* contact */
.contact-layout { display: grid; gap: var(--s7); padding-bottom: var(--s9); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 8fr 4fr; gap: var(--s8); align-items: start; } }
.enquiry { background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); box-shadow: var(--shadow-lg); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-bottom: var(--s6); }
.stepper li { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.stepper li::before { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--line-strong); margin-bottom: var(--s2); transition: background-color 0.2s var(--ease); }
.stepper li[data-state="current"] { color: var(--text); }
.stepper li[data-state="current"]::before, .stepper li[data-state="done"]::before { background: var(--accent); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s5); }
.form-step > legend { font-size: var(--fs-lg); font-weight: 750; font-stretch: 108%; padding: 0; margin-bottom: var(--s1); float: left; width: 100%; }
.form-step > legend + * { clear: both; }
.js .form-step:not(.is-active) { display: none; }
.field-row { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.6rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-raised);
  font-size: var(--fs-sm); line-height: 1.3; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--muted); border-radius: 5px; background: transparent;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306101F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice:hover span { border-color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend { margin-bottom: var(--s3); padding: 0; }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); }
.consent input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--accent); flex: none; }
.step-nav { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.step-nav .spacer { flex: 1; }
.link-btn { background: none; border: 0; padding: 0.5rem 0; color: var(--muted); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 44px; }
.link-btn:hover { color: var(--text); }
.form-alert { display: flex; gap: var(--s3); padding: var(--s4); border-radius: var(--radius); border: 1px solid var(--error); color: var(--text); background: rgba(255, 90, 90, 0.08); margin-bottom: var(--s5); font-size: var(--fs-sm); }
.form-alert svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--error); stroke-width: 2; stroke-linecap: round; }
.draft-note { font-size: var(--fs-xs); color: var(--muted); }
.turnstile-wrap { min-height: 65px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-aside { display: grid; gap: var(--s5); }
.aside-block { padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.aside-block h2 { font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s2); }
.aside-block p, .aside-block li { color: var(--muted); font-size: var(--fs-sm); }
.aside-block ul { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.aside-block .btn { margin-top: var(--s3); }
.aside-block .aside-price { font-size: var(--fs-lg); font-weight: 780; color: var(--text); }

dialog.confirm {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: var(--s6);
  background: var(--bg-raised); color: var(--text); max-width: min(420px, calc(100vw - 2rem)); box-shadow: var(--shadow-lg);
}
dialog.confirm::backdrop { background: rgba(4, 8, 16, 0.6); }
dialog.confirm h2 { font-size: var(--fs-md); font-weight: 720; }
dialog.confirm p { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }
dialog.confirm .dialog-actions { display: flex; gap: var(--s3); justify-content: flex-end; margin-top: var(--s5); flex-wrap: wrap; }

/* status pages (thank-you / 404) */
.status-page { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--s9); }
.status-mark { font-size: clamp(6rem, 3rem + 14vw, 13rem); font-weight: 800; font-stretch: 125%; line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.status-page h1 { margin-top: var(--s5); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; max-width: 20ch; }
.status-page .lead { margin-top: var(--s4); }
.status-links { margin-top: var(--s7); display: grid; gap: 0; max-width: 640px; list-style: none; }
.status-links a { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.status-links a span { color: var(--muted); font-weight: 450; font-size: var(--fs-sm); }
.status-links a:hover { color: var(--accent-text); }
.ref-box { display: inline-flex; gap: var(--s3); align-items: center; margin-top: var(--s5); padding: 0.6rem 1rem; border: 1px solid var(--line-strong); border-radius: 8px; font-size: var(--fs-sm); }
.ref-box strong { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* legal */
.legal-layout { display: grid; gap: var(--s6); padding-bottom: var(--s9); }
@media (min-width: 1000px) {
  .legal-layout { grid-template-columns: 15rem 1fr; gap: var(--s8); align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.toc h2 { font-size: var(--fs-xs); color: var(--muted); font-weight: 650; margin-bottom: var(--s3); font-stretch: 100%; }
.toc ol { list-style: none; display: grid; gap: var(--s1); border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.3rem 0 0.3rem var(--s4); color: var(--muted); text-decoration: none; font-size: var(--fs-sm); margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-lg); font-weight: 740; margin-top: var(--s7); margin-bottom: var(--s3); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--muted); margin-bottom: var(--s4); }
.prose ul { padding-left: 1.25rem; display: grid; gap: var(--s2); }
.prose strong { color: var(--text); }
.page-hero .updated { margin-top: var(--s3); font-size: var(--fs-sm); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
