/* FTH Trading — site styles. Tokens come from tokens.css (generated from brand/system/tokens.json).
   Two themes: dark (Executive Deep Navy) and light (Crisp Signal White). No third-party CSS. */
@import './tokens.css';

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('/testnet/fonts/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/testnet/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/testnet/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/testnet/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/testnet/fonts/inter-latin-800-normal.woff2') format('woff2'); }

:root {
  --sans: var(--font-family-brand);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: var(--radius-lg);
  --ease: var(--motion-easing-standard);
  --dot: color-mix(in srgb, var(--ink-muted) 22%, transparent);
  --glow: color-mix(in srgb, var(--accent) 26%, transparent);
  --mark-fill: url(#fth-plat);
}
:root[data-theme="light"] { --dot: color-mix(in srgb, var(--ink-muted) 16%, transparent); --glow: color-mix(in srgb, var(--accent) 12%, transparent); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--motion-duration-base), color var(--motion-duration-base);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: var(--font-tracking-tight); line-height: 1.06; margin: 0; color: var(--ink); }
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
em, .it { font-style: normal; font-weight: 300; color: var(--accent); }
.eyebrow { font-size: var(--font-size-xs); font-weight: 500; letter-spacing: var(--font-tracking-caps); text-transform: uppercase; color: var(--ink-subtle); display: inline-flex; gap: 12px; align-items: center; margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--ink-subtle); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-muted); max-width: 58ch; }
.small { font-size: var(--font-size-sm); color: var(--ink-muted); }
.muted { color: var(--ink-muted); }

/* ---------- logo (inline SVG partial) ---------- */
.logo { height: 34px; width: auto; }
.logo__mark { fill: var(--mark-fill); }
.logo__word { fill: var(--ink); }
.logo__rule { fill: var(--ink-subtle); }
:root[data-theme="light"] .logo__mark { fill: var(--ink); }
.markicon { width: 100%; height: auto; }
.markicon path { fill: var(--mark-fill); }
:root[data-theme="light"] .markicon path { fill: var(--ink); }
.svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 22px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: var(--ink); font-size: 0.95rem; font-weight: 500; position: relative; padding: 6px 0; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink-muted); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-duration-base) var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu__cta { border: 1px solid var(--control-border); border-radius: var(--radius-md); padding: 8px 16px !important; }
.menu__cta::after { display: none; }
.menu__cta:hover { background: var(--btn-bg); color: var(--btn-ink) !important; border-color: var(--btn-bg); }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--radius-md); border: 1px solid var(--control-border); background: transparent; color: var(--ink); font: inherit; font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun, :root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
.nav__toggle { display: none; background: none; border: 1px solid var(--control-border); border-radius: var(--radius-md); width: 44px; height: 40px; cursor: pointer; position: relative; }
.nav__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav__bar:first-child { top: 14px; } .nav__bar:nth-child(2) { top: 24px; }
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 760px) {
  .logo { height: 28px; }
  .nav__end { gap: 10px; }
  .theme-toggle__label { display: none; }
  .theme-toggle { width: 44px; justify-content: center; padding: 0; }
  .nav__toggle { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none; }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu__cta { margin-top: 12px; text-align: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 72px); display: grid; align-items: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero__field { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
.hero__canvas.is-live { opacity: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(56px, 10vh, 120px) 0; }
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero .lede { margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__note { font-size: 0.86rem; color: var(--ink-subtle); max-width: 60ch; border-left: 1px solid var(--line-strong); padding-left: 14px; margin: 0; }
.hero__mark { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hero__mark::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 72%); z-index: -1; }
.hero__mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(6, 11, 25, 0.35)); }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 32px; }
  .hero__mark { order: -1; width: min(62vw, 260px); }
}

/* sub-page header band */
.band { position: relative; padding: clamp(64px, 9vh, 112px) 0 clamp(44px, 6vh, 72px); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.band__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.band__mark { width: clamp(96px, 13vw, 168px); height: auto; filter: drop-shadow(0 18px 36px rgba(6, 11, 25, 0.3)); }
.band h1 { margin-bottom: 18px; text-wrap: balance; }
@media (max-width: 760px) { .band__inner { grid-template-columns: 1fr; } .band__mark { order: -1; width: 80px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius-md); border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; font-size: 0.97rem; transition: transform var(--motion-duration-base) var(--ease), box-shadow var(--motion-duration-base), background var(--motion-duration-base); }
.btn:hover { color: var(--btn-ink); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--control-border); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); box-shadow: none; }
.btn .arrow { transition: transform var(--motion-duration-base) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { margin-bottom: 18px; text-wrap: balance; }
.section--tint { background: var(--surface); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.who__mark { margin: clamp(28px, 4vw, 48px) 0 0; max-width: 400px; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(closest-side, var(--glow), transparent 75%), var(--surface); display: grid; place-items: center; }
.who__mark img { width: 72%; height: auto; }
@media (max-width: 860px) { .who__mark { max-width: 280px; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.fact { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.fact strong { display: block; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.fact span { color: var(--ink-muted); font-size: 0.92rem; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; border: 1px solid var(--line-strong); background: var(--bg); border-radius: var(--radius); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; transition: border-color var(--motion-duration-base), transform var(--motion-duration-slow) var(--ease), box-shadow var(--motion-duration-base); }
:root:not([data-theme="light"]) .card { background: var(--surface); }
.card:hover { border-color: var(--control-border); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card__kicker { font-size: var(--font-size-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-subtle); }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--ink-muted); margin: 0; flex: 1; }
.card__status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.card__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.card__status--new::before { background: transparent; border: 1px solid var(--accent); box-shadow: none; }
.card a.more { margin-top: 6px; font-size: 0.95rem; font-weight: 500; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
th { font-weight: 600; font-size: 1.1rem; color: var(--ink); }
thead th { border-bottom: 1px solid var(--line-strong); }
tbody th { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-subtle); width: 22%; }
td { color: var(--ink); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td strong { color: var(--ink); font-weight: 600; }

.dl { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-subtle); padding-top: 4px; }
.dl dd { margin: 0; font-size: 1.04rem; }
@media (max-width: 640px) { .dl > div { grid-template-columns: 1fr; gap: 6px; } }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 300; font-size: 1.5rem; color: var(--accent); line-height: 1; padding-top: 2px; }
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; }
.steps p { color: var(--ink-muted); margin: 0; }

.honest { border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: var(--surface); }
.honest p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.honest em { color: var(--ink); font-weight: 500; }
.honest .small { margin-top: 14px; font-size: var(--font-size-sm); }

.cta { text-align: center; padding: clamp(72px, 10vw, 128px) 0; }
.cta h2 { margin-bottom: 18px; }
.cta p { color: var(--ink-muted); max-width: 50ch; margin: 0 auto 28px; }

/* perimeter + footer (always navy: the footer is the brand's ground in both themes) */
.perimeter { border-top: 1px solid var(--line-strong); background: var(--surface); padding: 26px 0; }
.perimeter__line { margin: 0; font-size: 0.95rem; color: var(--ink); text-align: center; }
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ink-muted); font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__links a { color: var(--ink); }
.footer__small { margin: 14px 0 0; }
.footer__legal { grid-column: 1 / -1; color: var(--ink-subtle); font-size: 0.82rem; line-height: 1.6; max-width: 90ch; margin: 0; }
.footer__copy { grid-column: 1 / -1; margin: 0; color: var(--ink-subtle); font-size: 0.82rem; }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--control-border); border-radius: var(--radius-md); color: var(--ink); font: inherit; padding: 13px 15px; transition: border-color var(--motion-duration-base), box-shadow var(--motion-duration-base); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 22%, transparent); }
.field textarea { min-height: 160px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: 0.95rem; color: var(--ink-muted); min-height: 1.4em; }
.form__status.is-ok { color: var(--ink); }
.form__status.is-err { color: var(--danger); }
.contact-aside { border-left: 1px solid var(--line-strong); padding-left: 24px; }
.contact-aside h3 { margin-bottom: 10px; }
.contact-aside p { color: var(--ink-muted); }
.contact-aside a { font-size: 1.05rem; }
#sent, #error { display: none; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); margin-bottom: 24px; }
#sent:target { display: block; color: var(--ink); }
#error:target { display: block; color: var(--danger); }

/* ---------- brand page ---------- */
.kit-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .kit-hero { grid-template-columns: 1fr; } }
.kit-panel { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(22px, 3vw, 32px); }
.kit-folder { width: 132px; margin: 0 auto 18px; position: relative; }
.kit-folder svg { width: 100%; height: auto; }
.kit-folder .fold { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; }
.kit-folder .front { fill: var(--bg); stroke: var(--control-border); stroke-width: 1.5; }
.kit-folder .markicon { position: absolute; width: 34px; left: 49px; top: 46px; }
.kit-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 0 0 20px; }
.kit-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ink-muted), var(--accent)); transform-origin: left; }
.kit-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kit-dl { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--control-border); border-radius: var(--radius-md); background: var(--bg); color: var(--ink); transition: border-color var(--motion-duration-base), background var(--motion-duration-base); }
.kit-dl:hover { color: var(--ink); border-color: var(--focus); background: var(--surface-2); }
.kit-dl strong { display: block; font-weight: 600; font-size: 0.98rem; }
.kit-dl span { display: block; color: var(--ink-muted); font-size: 0.85rem; }
.kit-dl small { color: var(--ink-subtle); font-size: 0.8rem; white-space: nowrap; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kit-dl .ico { width: 26px; height: 26px; color: var(--accent); justify-self: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .tiles, .tiles--2 { grid-template-columns: 1fr; } }
.tile { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.tile__art { display: grid; place-items: center; padding: 28px 22px; min-height: 180px; }
.tile__art img { width: min(100%, 300px); height: auto; }
.tile__art--sq img { width: auto; height: 132px; }
.tile__art--wide img { max-height: none; width: 100%; }
.tile__art--navy { background: #060B19; }
.tile__art--white { background: #FFFFFF; }
.tile__art--graphite { background: #16191F; }
.tile figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-muted); }
.tile figcaption strong { color: var(--ink); font-weight: 600; display: block; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.swatch { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.swatch__chip { height: 92px; }
.swatch figcaption { padding: 10px 12px 12px; font-size: 0.84rem; color: var(--ink-muted); }
.swatch figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.swatch code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.82rem; color: var(--ink); }
.c-navy-950 { background: #060B19; } .c-navy-900 { background: #0B1530; } .c-navy-800 { background: #111D3D; } .c-navy-700 { background: #1E2A45; }
.c-plat { background: linear-gradient(135deg, #EEF2F7, #A3B1C6 42%, #6E7C93 70%, #C9D3E0); } .c-plat-500 { background: #A3B1C6; }
.c-white { background: #FFFFFF; } .c-steel-300 { background: #9DB4D9; } .c-steel-700 { background: #2A4A7F; } .c-graphite { background: #16191F; }
.typespec { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: clamp(20px, 3vw, 32px); background: var(--surface); }
.typespec__aa { font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.typespec__w { display: grid; gap: 6px; }
.typespec__w span { font-size: 1.15rem; }
.w300 { font-weight: 300; } .w400 { font-weight: 400; } .w500 { font-weight: 500; } .w600 { font-weight: 600; } .w800 { font-weight: 800; }
@media (max-width: 600px) { .typespec { grid-template-columns: 1fr; } }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .themes { grid-template-columns: 1fr; } }
.tp { border-radius: var(--radius-md); padding: 22px; border: 1px solid; }
.tp--dark { background: #060B19; color: #FFFFFF; border-color: #34446A; }
.tp--light { background: #FFFFFF; color: #060B19; border-color: #C9D3E0; }
.tp h3 { color: inherit; font-size: 1.2rem; margin-bottom: 6px; }
.tp p { margin: 0 0 14px; font-size: 0.92rem; }
.tp--dark p { color: #A3B1C6; } .tp--light p { color: #3A4660; }
.tp__card { border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.tp--dark .tp__card { background: #0B1530; border: 1px solid #1C2847; } .tp--light .tp__card { background: #F4F6F9; border: 1px solid #E1E6ED; }
.tp__btn { display: inline-block; border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 0.9rem; }
.tp--dark .tp__btn { background: #EEF2F7; color: #060B19; } .tp--light .tp__btn { background: #060B19; color: #FFFFFF; }
.tp__accent { font-weight: 300; }
.tp--dark .tp__accent { color: #9DB4D9; } .tp--light .tp__accent { color: #2A4A7F; }
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .icons { grid-template-columns: repeat(2, 1fr); } }
.icon-cell { border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 18px; background: var(--surface); display: grid; gap: 10px; }
.icon-cell .ico { width: 30px; height: 30px; color: var(--ink); }
.icon-cell span { font-size: 0.9rem; color: var(--ink-muted); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rules ul { margin: 0; padding-left: 1.1em; color: var(--ink-muted); }
.rules li { margin-bottom: 6px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__canvas, .btn, .card, body { transition: none; }
}

.mt-22 { margin-top: 22px; } .mt-26 { margin-top: 26px; } .mt-28 { margin-top: 28px; }
.eyebrow--center { justify-content: center; }
.h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); }
