/* ──────────────────────────────────────────────────────────────────────────
   Techix Services — site.css
   Built light on purpose: system fonts for text, one display face (Bellina
   Slant Condensed, 24 KB) for a few words, no images in the layout, no WebGL,
   no third-party fonts or images. Light and dark follow the OS.
   ────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Bellina Condensed";
  src: url("/assets/fonts/bellina-slant-condensed.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --orange: #E65416;          /* big type and fills */
  --brand-ink: #C24510;       /* small orange text and buttons (5.1:1 on white) */
  --brand-rgb: 230 84 22;
  --green: #2F6B3F;           /* sustainability accents */
  --green-rgb: 47 107 63;

  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --surface-2: #ECEBE5;
  --text: #26282B;
  --text-2: #4E5156;
  --text-3: #63666B;
  --line: #E1DFD6;
  --line-strong: #8A8C88;

  --stage: #161719;           /* dark blocks stay dark in both themes */
  --stage-line: #34363B;
  --on-stage: #F5F5F5;
  --on-stage-2: #D8D6C9;
  --on-stage-3: #A9AAA3;
  --stage-ink: #F07A45;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bellina Condensed", Georgia, serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-full: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #F07A45;
    --green: #7BC48E;
    --green-rgb: 123 196 142;
    --bg: #1A1B1E;
    --surface: #222327;
    --surface-2: #2A2C30;
    --text: #F2F2EF;
    --text-2: #D3D1C6;
    --text-3: #A9AAA3;
    --line: #36383D;
    --line-strong: #74777C;
    --stage: #0F1012;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(var(--brand-rgb) / .25); }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--brand-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.stage { background: var(--stage); color: var(--on-stage); }

/* ── Type ─────────────────────────────────────────────────────────────────── */
.display { font-family: var(--display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h2 .display { color: var(--brand-ink); font-size: 1.15em; line-height: .9; }
.stage h2 .display { color: var(--stage-ink); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.stage .eyebrow { color: var(--stage-ink); }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.stage .lede { color: var(--on-stage-2); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }

/* ── Buttons and links ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r-full);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s;
}
.btn-primary { background: var(--brand-ink); color: #fff; }
.btn-primary:hover { background: #A93C0D; }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--orange); color: #161719; } .btn-primary:hover { background: #F4925F; } }
.stage .btn-primary { background: var(--orange); color: #161719; }
.stage .btn-primary:hover { background: #F4925F; }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow, .go .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.stage .link-arrow { color: var(--stage-ink); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 8px; height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-full); font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand-ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgb(0 0 0 / .25);
  }
  .nav:not(.open) { display: none; }
  .nav a:not(.btn) { min-height: 52px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .nav a:not(.btn):hover { background: none; color: var(--brand-ink); }
  .nav .btn { margin: 16px 0 0; min-height: 52px; font-size: 16px; }
}

/* ── Hero: one line, two cards ────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(40px, 6.6vw, 84px); letter-spacing: -.04em; line-height: 1; max-width: 15ch; }
.hero h1 .display { color: var(--orange); font-size: 1.14em; line-height: .9; }
.ventures { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 860px) { .ventures { grid-template-columns: 1fr 1fr; gap: 20px; } }

.venture {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  text-decoration: none; min-height: 340px;
  transition: border-color .2s, transform .3s var(--ease);
}
.venture:hover { border-color: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) { .venture:hover { transform: translateY(-3px); } }
.venture .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.venture .tag { padding: 4px 12px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; background: rgb(var(--brand-rgb) / .1); color: var(--brand-ink); white-space: nowrap; }
.venture h2 { font-size: clamp(34px, 3.8vw, 48px); letter-spacing: -.035em; }
.venture h2 .display { color: var(--orange); font-size: 1.15em; }
.venture p { color: var(--text-2); max-width: 46ch; }
.venture .go { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.venture .go span:first-child { color: var(--brand-ink); }
.venture .go .url { font-size: 14px; font-weight: 500; color: var(--text-3); }
.venture:hover .go .arrow { transform: translateX(4px); }
@media (max-width: 520px) { .venture .go .url { display: none; } .venture { min-height: 0; } }
.venture:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }

.venture.dark { background: var(--stage); border-color: var(--stage); color: var(--on-stage); }
.venture.dark .top, .venture.dark .go .url { color: var(--on-stage-3); }
.venture.dark p { color: var(--on-stage-2); }
.venture.dark h2 .display, .venture.dark .go span:first-child { color: var(--stage-ink); }
.venture.dark .tag { background: rgb(240 122 69 / .16); color: var(--stage-ink); }
.venture.dark .go { border-top-color: var(--stage-line); }
@media (prefers-color-scheme: dark) { .venture.dark { border-color: var(--stage-line); } }

/* Tiny, static motifs: a score readout and a voice waveform. CSS only. */
.motif { display: flex; align-items: flex-end; gap: 18px; min-height: 52px; }
.motif .score { display: grid; line-height: 1; }
.motif .score b { font-family: var(--display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: 44px; color: var(--text); }
.motif .score span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.wave { display: flex; align-items: center; gap: 4px; height: 52px; }
.wave i { width: 5px; border-radius: 3px; background: var(--stage-ink); height: var(--h); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .venture:hover .wave i { animation: talk .9s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1s); }
}
@keyframes talk { to { height: calc(var(--h) * .35); } }

/* ── Services ─────────────────────────────────────────────────────────────── */
.levers { list-style: none; display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .levers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .levers { grid-template-columns: repeat(3, 1fr); } }
.lever { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 24px 0; border-bottom: 1px solid var(--line); align-content: start; }
.lever .n { grid-row: span 2; font-family: var(--display); font-style: italic; font-synthesis: none; font-size: 30px; line-height: 1; color: var(--orange); }
.lever p { color: var(--text-2); font-size: 16px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 36px; font-weight: 600; }
.flow li { list-style: none; display: inline-flex; align-items: center; gap: 14px; }
.flow li + li::before { content: "→"; color: var(--text-3); font-weight: 400; }
.flow-note { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* ── Values: affordable, sustainable ──────────────────────────────────────── */
.alt { background: var(--surface-2); }
.values { display: grid; gap: 20px; }
@media (min-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.value .k { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.value.green .k { color: var(--green); }
.value .k svg { width: 20px; height: 20px; }
.value h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; margin: 12px 0 8px; }
.value ul { list-style: none; margin-top: 16px; }
.value li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.value li strong { font-size: 17px; }
.value li span { color: var(--text-2); font-size: 16px; }
.weight { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border-radius: var(--r-full); background: rgb(var(--green-rgb) / .12); color: var(--green); font-size: 14px; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; min-height: 44px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--brand-ink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--text-2); max-width: 62ch; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 40px 64px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.contact-aside { display: grid; gap: 18px; }
.contact-aside .small { color: var(--on-stage-3); font-size: 15px; }
.contact-aside a { color: var(--stage-ink); }
.form { display: grid; gap: 16px; background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-ink); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #b91c1c; }
.err { font-size: 14px; color: #b91c1c; font-weight: 500; }
@media (prefers-color-scheme: dark) { .err { color: #F87171; } .field input[aria-invalid="true"] { border-color: #F87171; } }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.form-foot .small { font-size: 14px; color: var(--text-3); }
.form-status { padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; }
.form-status.ok { background: rgb(var(--green-rgb) / .12); color: var(--green); }
.form-status.fail { background: rgb(185 28 28 / .08); color: #b91c1c; }
.form-status a { color: inherit; font-weight: 600; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--stage); color: var(--on-stage-2); padding-block: 56px 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 14px; font-family: var(--display); font-style: italic; font-synthesis: none; font-size: 26px; line-height: 1.1; color: var(--on-stage); }
.site-footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-stage-3); margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--stage-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--stage-line); color: var(--on-stage-3); font-size: 14px; }
.footer-bottom .weight { margin: 0; background: rgb(123 196 142 / .12); color: #7BC48E; }

/* ── Texture ──────────────────────────────────────────────────────────────── */
/* A paper grain over the whole page (one 160 px SVG tile, under 1 KB, drawn
   once and cached), a dot grid behind the hero, and a fine grid on the dark
   blocks. No images to download. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px; opacity: .05;
}
@media (prefers-color-scheme: dark) { body::after { opacity: .08; mix-blend-mode: soft-light; } }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(38 40 43 / .22) 1px, transparent 1.4px);
  background-size: 22px 22px; background-position: -11px -11px;
  -webkit-mask-image: radial-gradient(120% 75% at 70% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 75% at 70% 0%, #000 30%, transparent 75%);
}
@media (prefers-color-scheme: dark) { .hero::before { background-image: radial-gradient(rgb(242 242 239 / .16) 1px, transparent 1.4px); } }
.stage, .venture.dark, .product.dark {
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgb(240 122 69 / .10), transparent 70%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.site-footer { background-image: linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px); background-size: 32px 32px; }

/* ── Products page ────────────────────────────────────────────────────────── */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.04em; max-width: 18ch; }
.page-hero h1 .display { color: var(--orange); font-size: 1.14em; line-height: .9; }
.page-hero .lede { margin-top: 20px; }
.product { display: grid; gap: 32px 64px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.product + .product { margin-top: 20px; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.product.dark { background: var(--stage); border-color: var(--stage); color: var(--on-stage); }
.product .eyebrow + h2 { margin-top: 12px; }
.product .lede { margin-top: 16px; }
.product-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.product-ctas .note { font-size: 15px; color: var(--text-3); }
.product.dark .note { color: var(--on-stage-3); }
.product.dark .lede { color: var(--on-stage-2); }
.product.dark .eyebrow, .product.dark h2 .display { color: var(--stage-ink); }
.product.dark .btn-primary { background: var(--orange); color: #161719; }
.product.dark .btn-primary:hover { background: #F4925F; }
.features { list-style: none; border-top: 1px solid var(--line); }
.product.dark .features { border-top-color: var(--stage-line); }
.features li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.product.dark .features li { border-bottom-color: var(--stage-line); }
.features span { color: var(--text-2); font-size: 16px; }
.product.dark .features span { color: var(--on-stage-2); }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.nf .code { font-family: var(--display); font-style: italic; font-synthesis: none; font-size: clamp(110px, 22vw, 220px); line-height: .8; color: var(--orange); }
.nf .lede { margin-inline: auto; }
.nf .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Legal pages (privacy.html, terms.html) ───────────────────────────────── */
.legal { padding-bottom: clamp(64px, 9vw, 120px); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.legal-tabs a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-full); color: var(--text-2); text-decoration: none; }
.legal-tabs a[aria-current="page"] { border-color: var(--brand-ink); color: var(--brand-ink); font-weight: 600; }
.page-hero .meta { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 48px; margin-bottom: 14px; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; }
.legal-body p, .legal-body li { color: var(--text-2); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body ol + p, .legal-body p + ol, .legal-body .table-wrap + p, .legal-body p + .table-wrap { margin-top: 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-top: 6px; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--brand-ink); }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-top: 20px; }
.legal-card.summary { border-left: 4px solid var(--brand-ink); }
.legal-card.summary li, .legal-card p { color: var(--text); }
.legal-card ul { margin-top: 8px; }
.legal-toc { columns: 2; column-gap: 32px; list-style: none; padding-left: 0 !important; font-size: 15px; }
.legal-toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--brand-ink); text-decoration: underline; }
@media (max-width: 640px) { .legal-toc { columns: 1; } }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.legal-body th { color: var(--text); background: var(--surface-2); font-weight: 600; }
.legal-body td { color: var(--text-2); }
.form-foot .small a { color: inherit; }
