/* TechCap Intelligence — website styles (home, platform, research, engagement, about, contact).
   The dashboard keeps its own stylesheet, style.css. Tokens follow the brand system.
   Layout: 1240px column, generous vertical rhythm, white panels on the light page, one deep-purple closing band. */
:root {
  --bg: #F4F6F9; --panel: #FFFFFF; --fg: #101827; --muted: #5B6577; --line: #E3E8EF; --soft: #EEF2F6;
  --label: #FD0A71; --purple: #988AFB; --amber: #F4B860; --teal: #65D6C2;
  --head: #431550; --head-fg: #FFFFFF; --accent-ink: #431550;
  --c-equity: #3B82F6; --c-debt: #988AFB; --c-grant: #F4B860;
  --good: #0E9F6E; --focus: #3B82F6;
  --land: #FFFFFF; --land-out: #E9EDF2; --bubble: rgba(152, 138, 251, .34);
  --font: "Urbanist", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-md: 8px; --r-lg: 12px; --max: 1240px; --sec: clamp(56px, 8vw, 104px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1C1D21; --panel: #26282D; --fg: #F2F3F5; --muted: #A3A8B3; --line: #363940; --soft: #303238;
    --accent-ink: #C9C0FD; --good: #34D399; --focus: #65D6C2; --land: #2B2D33; --land-out: #232429; --bubble: rgba(152, 138, 251, .4); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #1C1D21; --panel: #26282D; --fg: #F2F3F5; --muted: #A3A8B3; --line: #363940; --soft: #303238;
  --accent-ink: #C9C0FD; --good: #34D399; --focus: #65D6C2; --land: #2B2D33; --land-out: #232429; --bubble: rgba(152, 138, 251, .4); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; 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: absolute; left: 16px; top: -60px; z-index: 30; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--r-md); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- type ---------- */
h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.03; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
h2 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -.016em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 700; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.note { font-size: 13px; color: var(--muted); }
.prose { display: grid; gap: 18px; align-content: start; }
.prose > p { font-size: 18px; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn { font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 18px; min-height: 46px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid:hover { background: var(--head); border-color: var(--head); color: var(--head-fg); }
.btn-outline { border-color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-light { background: #FFFFFF; color: #101827; border-color: #FFFFFF; }
.btn-light:hover { background: #F4B860; border-color: #F4B860; }
.btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, .1); }
.btn-text { border: 0; padding: 0; min-height: 44px; color: var(--accent-ink); }
.btn-text .arr { transition: transform .15s; }
.btn-text:hover .arr { transform: translateX(4px); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.home-link { display: inline-flex; text-decoration: none; }
.logo { display: block; width: 188px; aspect-ratio: 304 / 76; position: relative; }
.logo span { position: absolute; inset: 0; }
.logo .w { background: var(--fg); -webkit-mask: url(logo-word.png?v=4) no-repeat 0 0 / 100% 100%; mask: url(logo-word.png?v=4) no-repeat 0 0 / 100% 100%; }
.logo .m { background: url(logo-mark.png?v=4) no-repeat 0 0 / 100% 100%; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav li a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 12px 0; display: inline-block; border-bottom: 2px solid transparent; transition: color .15s; }
.site-nav li a:hover { color: var(--fg); }
.site-nav li a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--label); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-md); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px)); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: 14px 0; font-size: 17px; color: var(--fg); border-bottom: 1px solid var(--line); }
  .site-nav .btn { justify-content: center; }
  .logo { width: 164px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 64px) 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.hero-text .eyebrow { margin: 0; }
.hero-text .cta-row { margin-top: 6px; }
.hero-map svg { display: block; width: 100%; height: auto; max-height: 560px; }
.hero-map figcaption, .roundtable figcaption { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 10px; max-width: 60ch; }
.hero-map .land path { stroke: var(--line); stroke-width: 1; stroke-linejoin: round; }
.hero-map .in { fill: var(--land); } .hero-map .out { fill: var(--land-out); }
.hero-map .bub { fill: var(--bubble); stroke: var(--purple); stroke-width: 1.2; }
.hero-map .core { fill: var(--label); }
.hero-map .arc { fill: none; stroke: var(--label); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 9; opacity: .75; animation: flow 5s linear infinite; }
.hero-map .lab text { font-family: var(--font); fill: var(--fg); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.hero-map .lab .n { font-size: 14px; font-weight: 600; }
.hero-map .lab .v { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.verbs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-top: clamp(32px, 5vw, 56px); }
.verbs li + li { border-left: 1px solid var(--line); }
.verbs a { display: flex; align-items: center; gap: 12px; padding: 22px 20px; text-decoration: none; font-size: clamp(17px, 1.9vw, 23px); font-weight: 500; letter-spacing: -.01em; transition: background-color .15s; }
.verbs li:first-child a { padding-left: 0; }
.verbs a:hover { background: var(--soft); }
.verbs b, .pillar .verb b { font-weight: 700; color: var(--label); }
.sym { flex: none; display: block; }
.sym .off { opacity: .14; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-map svg { max-height: 420px; }
  .verbs { grid-template-columns: 1fr; }
  .verbs li + li { border-left: 0; border-top: 1px solid var(--line); }
  .verbs a, .verbs li:first-child a { padding: 16px 0; }
}

.page-hero { padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero .wrap:not(.hero-in) { display: grid; gap: 22px; justify-items: start; }
.page-hero .eyebrow { margin: 0; }
.page-hero h1 { max-width: 17ch; }
.page-hero.with-figure h1 { max-width: none; }
.roundtable svg { display: block; width: 100%; height: auto; max-height: 420px; }
.roundtable .table { fill: var(--panel); stroke: var(--line); stroke-width: 1.5; }
.roundtable .link { stroke: var(--purple); stroke-width: 1.4; opacity: .85; }
.roundtable .link.faint { stroke: var(--line); stroke-width: 1.2; opacity: 1; }
.roundtable .seat { fill: var(--panel); stroke: var(--purple); stroke-width: 3; }
.roundtable .seat.mod { fill: var(--label); stroke: var(--label); }
.roundtable .q { fill: var(--amber); }
.roundtable text { font-family: var(--font); font-size: 14px; font-weight: 600; fill: var(--fg); }
.roundtable .qt { font-size: 12.5px; font-weight: 600; fill: var(--muted); paint-order: stroke; stroke: var(--panel); stroke-width: 5px; stroke-linejoin: round; }
.roundtable text.mod { font-weight: 700; }

/* ---------- sections ---------- */
.section { padding-block: var(--sec); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.tinted { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.sec-head .eyebrow { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.after { margin-top: 28px; }

.points { display: grid; gap: 0; margin-top: 10px; border-top: 1px solid var(--line); }
.points > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.points dt { font-weight: 700; }
.points dd { color: var(--muted); }
@media (max-width: 520px) { .points > div { grid-template-columns: 1fr; gap: 2px; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.pillar { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto auto 1fr auto; position: relative; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pillar .verb { font-size: 15px; font-weight: 600; color: var(--muted); }
.pillar h3 { font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -.01em; }
.pillar h3 a { text-decoration: none; }
.pillar h3 a::after { content: ""; position: absolute; inset: 0; }
.pillar .line { font-weight: 600; font-size: 17px; }
.pillar .text { color: var(--muted); }
.pillar .more { margin-top: 6px; }
.pillar:hover { background: var(--panel); }
.section.tinted .pillar:hover { background: var(--soft); }
.pillar:hover .arr { transform: translateX(4px); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); } }

/* coverage */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.facts > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 4px; align-content: start; }
.facts dt { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts dd { color: var(--muted); font-size: 15px; }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.track li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.track p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .track { grid-template-columns: 1fr; } }

/* audiences */
.audiences { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--fg); }
.audiences li { padding: 20px 18px 4px 0; display: grid; gap: 8px; align-content: start; }
.audiences li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.audiences .who { font-size: 13.5px; color: var(--muted); }
.audiences p { font-size: 15px; }
@media (max-width: 1020px) {
  .audiences { grid-template-columns: 1fr; }
  .audiences li, .audiences li + li { padding: 18px 0; border-left: 0; }
  .audiences li + li { border-top: 1px solid var(--line); }
}

.name-list { display: grid; gap: 0 clamp(20px, 3vw, 40px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.name-list.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.name-list > div { border-top: 2px solid var(--fg); padding: 16px 0 20px; display: grid; gap: 6px; align-content: start; }
.name-list dt { font-weight: 700; font-size: 18px; }
.name-list dd { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .name-list.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .name-list, .name-list.cols-4 { grid-template-columns: 1fr; } }

/* closing band */
.closing { background: var(--head); color: var(--head-fg); padding-block: clamp(48px, 7vw, 88px); }
.closing-in { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; }
.closing-in > div:first-child { display: grid; gap: 14px; max-width: 760px; min-width: 0; }
.closing p { font-size: clamp(17px, 1.6vw, 20px); color: #E9DDF0; }

/* ---------- lists, tags, statuses ---------- */
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--purple); }
.questions { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.questions li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 600; }
.section.tinted .tags li { background: var(--bg); }
.tags.big li { font-size: 17px; padding: 11px 20px; }
.tailored, .orgs { display: grid; gap: 12px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.tailored h3, .orgs h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-live::before { background: var(--good); }
.status-partial::before { background: var(--amber); }
.status-dev::before { background: transparent; border: 2px solid var(--muted); }
.letter { flex: none; width: 36px; height: 36px; border-radius: var(--r-md); background: var(--fg); color: var(--bg); display: inline-grid; place-items: center; font-weight: 700; font-size: 16px; }

/* modules and services */
.modules, .services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module, .service { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.module { grid-template-rows: auto auto auto 1fr auto; }
.module-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module h3, .service h3 { font-size: 22px; letter-spacing: -.01em; }
.module > p, .service-head p { color: var(--muted); }
.service-head { display: flex; gap: 16px; align-items: start; }
.service-head > div { display: grid; gap: 6px; min-width: 0; }
.service .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .modules, .services { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service .ticks { grid-template-columns: 1fr; } }

/* policy and market pairs */
.pairs { border-top: 2px solid var(--fg); }
.pairs-head, .pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
.pairs-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; padding: 12px 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pair { padding: 20px 0; border-top: 1px solid var(--line); font-size: 18px; }
.pair span:first-child { font-weight: 600; }
.pair .to { height: 2px; margin: 0 14px; background: var(--label); position: relative; }
.pair .to::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--label); border-right: 2px solid var(--label); transform: rotate(45deg); }
@media (max-width: 640px) {
  .pairs-head { display: none; }
  .pair { grid-template-columns: 1fr; gap: 10px; font-size: 16.5px; }
  .pair .to { width: 2px; height: 18px; margin: 0 0 0 6px; }
  .pair .to::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
}

.callout { display: grid; gap: 14px; }
.callout > * { max-width: 780px; }
.callout p { font-size: 18px; color: var(--muted); }

/* ---------- platform terminal ---------- */
.terminal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; font-size: 15px; line-height: 1.5; }
.term-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.term-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 10px; font-size: 13.5px; font-weight: 600; background: var(--bg); }
.chip em { font-style: normal; font-weight: 500; color: var(--muted); margin-right: 6px; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile, .panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; min-width: 0; }
.tile { display: grid; gap: 2px; align-content: start; }
.tile h3, .panel h3 { font-size: 13px; font-weight: 600; color: var(--muted); }
.tile .big { font-size: 28px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.25; }
.tile .chg { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.term-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { display: grid; gap: 10px; align-content: start; }
.panel h3 { font-size: 15px; font-weight: 700; color: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: currentColor; }
.legend span { color: var(--muted); }
.legend .k-equity::before { background: var(--c-equity); } .legend .k-debt::before { background: var(--c-debt); } .legend .k-grant::before { background: var(--c-grant); }
.chart-years { display: block; width: 100%; height: auto; }
.chart-years .k-equity { fill: var(--c-equity); } .chart-years .k-debt { fill: var(--c-debt); } .chart-years .k-grant { fill: var(--c-grant); }
.chart-years .axis { stroke: var(--line); }
.chart-years text { font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart-years .val { font-size: 13px; font-weight: 700; fill: var(--fg); }
.chart-years .tick { font-size: 12px; fill: var(--muted); }
.rank { display: grid; gap: 9px; }
.rank li { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) 4.2rem; gap: 10px; align-items: center; font-size: 14px; }
.rk-n { font-weight: 600; overflow-wrap: anywhere; }
.rk-bar { height: 10px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.rk-bar i { display: block; height: 100%; background: var(--c-equity); border-radius: 3px; }
.rk-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.panel.sample { border-style: dashed; }
.panel.sample .status { justify-self: start; }
.panel.sample dl { display: grid; gap: 0; }
.panel.sample dl > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.panel.sample dt { font-weight: 700; }
.panel.sample dd { color: var(--muted); }
.term-foot { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .term-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tiles { grid-template-columns: 1fr; } .panel.sample dl > div { grid-template-columns: 1fr; gap: 0; } .rank li { grid-template-columns: 6.6rem minmax(0, 1fr) 3.6rem; font-size: 13.5px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.enquiry { display: grid; gap: 14px; min-width: 0; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.form-title { font-size: 24px; }
.signup { min-height: 320px; max-width: 480px; }
.helps { display: grid; gap: 0; }
.helps > div { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; scroll-margin-top: 96px; }
.helps > div:target dt { color: var(--label); }
.helps dt { font-weight: 700; }
.helps dd { color: var(--muted); font-size: 14.5px; }
.types { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.types legend { font-weight: 700; font-size: 19px; padding: 0; margin-bottom: 12px; }
.type { display: flex; gap: 12px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; cursor: pointer; transition: border-color .15s; }
.type:hover { border-color: var(--muted); }
.type:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.type input { margin: 4px 0 0; width: 16px; height: 16px; accent-color: var(--head); flex: none; }
.type span { display: grid; gap: 2px; min-width: 0; }
.type small { color: var(--muted); font-size: 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.fields .full { grid-column: 1 / -1; }
input[type="text"], input[type="email"], textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 12px; width: 100%; min-height: 46px; }
textarea { resize: vertical; line-height: 1.5; }
.hint { font-size: 13.5px; color: var(--muted); max-width: 44ch; }
.form-error { color: #B42318; font-weight: 600; }
:root[data-theme="dark"] .form-error { color: #F87171; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-error { color: #F87171; } }
.composed { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); justify-items: start; }
.direct { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.direct h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 14px; }
.direct h2:first-child { margin-top: 0; }
.email-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.email { font-weight: 700; font-size: 18px; user-select: all; overflow-wrap: anywhere; }
.ph { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px dashed var(--muted); color: var(--muted); border-radius: 999px; padding: 2px 8px; }
.links { display: grid; gap: 8px; }
.todo { color: var(--muted); }
.todo span { font-size: 12.5px; border: 1px dashed var(--muted); border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .types, .fields { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand .logo { width: 220px; }
.slogan { margin: -12px 0 0 48px; font-size: 13.5px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.site-foot h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.site-foot ul { display: grid; gap: 4px; }
.site-foot li a { text-decoration: none; display: inline-block; padding: 5px 0; }
.site-foot li a:hover { text-decoration: underline; }
.site-foot .email { font-size: 15px; font-weight: 600; display: inline-block; padding: 5px 0; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
