/* generated by tools/build.mjs from css/*.css */
/* ===== css/base.css ===== */
/* ---------- Tokens ---------- */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --panel: #eef0eb;
  --panel-2: #e6e9e3;
  --ink: #0d1f17;
  --ink-2: #3d4a43;
  --ink-3: #66726b;
  --line: #e0e4dd;
  --accent: #2fd27f;
  --accent-2: #8ff0b9;
  --accent-ink: #0b7d45;
  --accent-soft: #dbf6e7;
  --dark: #0b1a13;
  --focus: #1769e0;

  --font: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --h1: clamp(2.6rem, 4.2vw + 1rem, 4.75rem);
  --h2: clamp(2rem, 2.2vw + 1rem, 3.25rem);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --radius: 10px;
  --radius-card: 24px;
  --maxw: 1240px;
  --gutter: 16px;
  --nav-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); line-height: 1.08; }
h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
p { text-wrap: pretty; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

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

/* ---------- Layout and shared components ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; }
.section__head--split { max-width: none; display: grid; gap: 18px; align-items: end; }
.section__head--split p { margin: 0; max-width: 400px; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.4fr 1fr; justify-items: start; } .section__head--split > :last-child { justify-self: end; } }
.hl { color: var(--accent-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; font: 500 .9375rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: #1f3529; border-color: #1f3529; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: #cfd5cc; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; color: var(--ink); }
.link-arrow .ico { width: 1em; height: 1em; transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .875rem; color: var(--ink-2); text-decoration: none; box-shadow: 0 1px 2px rgba(13,31,23,.04); transition: border-color .25s var(--ease); }
.pill:hover { border-color: #c8d0c5; }
.pill b { padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .8125rem; }
.pill .ico { width: 14px; height: 14px; color: var(--ink-3); }

.card { position: relative; overflow: hidden; background: var(--panel); border-radius: var(--radius-card); padding: clamp(22px, 2.5vw, 32px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); }
.grid-dots { background-image: radial-gradient(circle at 1px 1px, rgba(13,31,23,.13) 1px, transparent 0); background-size: 18px 18px; }

/* Scroll reveal. JS adds .js to <html>; without JS everything stays visible. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.05em; }
.wordmark__mark { transition: transform .5s var(--ease-out); }
.wordmark:hover .wordmark__mark { transform: rotate(-8deg) scale(1.05); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease); }
.nav.is-scrolled { background: rgba(246,247,244,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__menu { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__item:has(.dd--mega) { position: static; }
.nav__trigger, .nav__link { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 11px; border: 0; border-radius: 8px; background: none; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s var(--ease); }
.nav__trigger:hover, .nav__link:hover, [data-dd].is-open > .nav__trigger { background: rgba(13,31,23,.05); }
.nav__chev { width: 15px; height: 15px; color: var(--ink-3); transition: transform .3s var(--ease-out); }
[data-dd].is-open .nav__chev { transform: rotate(180deg); }
.nav__arrow { width: 14px; height: 14px; color: var(--ink-3); }
.nav__cta { display: flex; gap: 8px; }
.nav__cta .btn { height: 36px; padding: 0 15px; font-size: .875rem; }
.nav__toggle { display: none; }

.dd { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 10; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center; transition: opacity .22s var(--ease), transform .3s var(--ease-out), visibility 0s linear .3s; }
[data-dd].is-open > .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .3s var(--ease-out), visibility 0s; }
.dd--mega { inset-inline: auto; left: 50%; translate: -50% 0; top: calc(100% - 4px); width: min(960px, calc(100vw - 2 * var(--gutter))); }
.dd__panel { display: flex; gap: 8px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(13,31,23,.22), 0 8px 18px -10px rgba(13,31,23,.12); }
.dd:not(.dd--mega) .dd__panel { width: 330px; }
.dd--mega .dd__panel { display: grid; grid-template-columns: 1fr 1fr 1.1fr; }
.dd__col { padding: 10px; border-radius: 12px; }
.dd__col--feature { background: var(--panel); }
.dd__h { margin: 2px 10px 10px; font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dd__col--feature .dd__h { color: var(--accent-ink); }
.dd__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; transition: background .2s var(--ease); }
.dd__link:hover, .dd__link:focus-visible { background: var(--panel); }
.dd__col--feature .dd__link:hover { background: var(--surface); }
.dd__ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.dd__ico .ico { width: 18px; height: 18px; }
.dd__link:hover .dd__ico { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.dd__link b { display: block; font-weight: 500; font-size: .9375rem; letter-spacing: -0.01em; }
.dd__link small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.dd__col--feature .dd__link small { font-family: var(--mono); font-size: .75rem; }
/* Staggered entrance for mega-menu items */
.dd__link { opacity: 0; transform: translateY(4px); transition: background .2s var(--ease), opacity .3s var(--ease-out), transform .4s var(--ease-out); }
[data-dd].is-open .dd__link { opacity: 1; transform: none; }
[data-dd].is-open li:nth-child(2) .dd__link { transition-delay: 0s, 40ms, 40ms; }
[data-dd].is-open li:nth-child(3) .dd__link { transition-delay: 0s, 80ms, 80ms; }
[data-dd].is-open .dd__col:nth-child(2) .dd__link { transition-delay: 0s, 60ms, 60ms; }
[data-dd].is-open .dd__col:nth-child(3) .dd__link { transition-delay: 0s, 110ms, 110ms; }

/* Language switcher (filled in by tools/i18n.mjs). Opens towards the inside edge. */
.dd--end { inset-inline-start: auto; inset-inline-end: 0; }
.nav__cta > .nav__item .nav__trigger { gap: 6px; }
.nav__globe { width: 17px; height: 17px; color: var(--ink-2); }
.nav__lang-cur { font: 500 .8125rem/1 var(--mono); }
.lang__list { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang__link { display: block; padding: 9px 12px; border-radius: 8px; font-size: .9375rem; text-decoration: none; transition: background .2s var(--ease); }
.lang__link:hover, .lang__link:focus-visible { background: var(--panel); }
.lang__link[aria-current] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
@media (min-width: 1024px) { .nav__lang-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

@media (max-width: 1023px) {
  .nav__toggle { display: grid; place-items: center; width: 40px; height: 40px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
  .nav__close, .nav.is-open .nav__open { display: none; }
  .nav.is-open .nav__close { display: block; }
  .nav.is-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  .nav__menu { position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 12px var(--gutter) 32px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s linear .35s; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__trigger, .nav__link { width: 100%; height: 56px; padding: 0 4px; justify-content: space-between; font-size: 1.0625rem; }
  .nav__trigger:hover, .nav__link:hover, [data-dd].is-open > .nav__trigger { background: none; }
  /* Collapsed groups stay hidden (not just clipped) so their links are out of the tab order. */
  .dd, .dd--mega { position: static; width: auto; translate: none; display: grid; grid-template-rows: 0fr; opacity: 1; visibility: hidden; transform: none; transition: grid-template-rows .35s var(--ease-out), visibility 0s linear .35s; }
  [data-dd].is-open > .dd { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease-out), visibility 0s; }
  .dd__panel, .dd--mega .dd__panel { min-height: 0; overflow: hidden; display: block; width: auto !important; padding: 0; border: 0; box-shadow: none; background: none; }
  .dd__col { padding: 0 0 12px; }
  .dd__col--feature { background: none; }
  .dd__h { margin: 4px 4px 6px; }
  .dd__link { padding: 8px 4px; }
  .nav__cta { flex-direction: column; }
  .nav__cta > .nav__item .nav__trigger { justify-content: flex-start; }
  .nav__cta > .nav__item .nav__chev { margin-inline-start: auto; }
  .nav__lang-cur { color: var(--ink-3); }
  .lang__list { padding-bottom: 12px; }
  .nav__cta .btn { height: 48px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- CTA band ---------- */
.cta { padding-block: clamp(48px, 7vw, 96px); }
.cta__box { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) clamp(24px, 5vw, 64px); border-radius: 32px; background-color: var(--dark); background-image: radial-gradient(circle at 1px 1px, rgba(143,240,185,.18) 1px, transparent 0); color: #fff; text-align: center; isolation: isolate; }
.cta__box::before { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 90%; z-index: -1; background: radial-gradient(closest-side, rgba(47,210,127,.45), transparent); filter: blur(10px); }
.cta__box p { margin: 18px auto 0; max-width: 520px; color: rgba(255,255,255,.72); font-size: 1.125rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform .3s var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 0 22px; padding-inline-end: 40px; color: var(--ink-2); }

/* ---------- Inquiry form ---------- */
.iform { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.iform h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.iform__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .iform__row { grid-template-columns: 1fr 1fr; } }
.iform__f { display: grid; gap: 6px; }
.iform label { font-size: .875rem; font-weight: 500; }
.iform .req { color: var(--accent-ink); }
.iform input, .iform select, .iform textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font: inherit; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.iform input:focus, .iform select:focus, .iform textarea:focus { outline: none; background: var(--surface); border-color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.iform [aria-invalid="true"] { border-color: #c43d2f; }
.iform .btn { justify-self: start; }
.iform__msg { font-size: .9375rem; }
.iform__msg.ok { color: var(--accent-ink); }
.iform__msg.err { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { margin-top: 24px; padding-block: 64px 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr 1.6fr; } }
.footer__brand p { margin-top: 14px; max-width: 320px; color: var(--ink-3); font-size: .9375rem; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.footer h3 { margin-bottom: 14px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.footer li + li { margin-top: 10px; }
.footer__cols a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; transition: color .2s var(--ease); }
.footer__cols a:hover { color: var(--ink); }
.footer__legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 1000px; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }

/* ---------- Simple text pages (disclaimer) ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose p { color: var(--ink-2); margin-top: 14px; }
.prose a { color: var(--accent-ink); }

/* ---------- Languages ---------- */
/* Noto Sans Arabic is loaded on ar pages only (tools/i18n.mjs); Chinese uses system CJK fonts. */
:root:lang(ar) { --font: 'Noto Sans Arabic', 'Inter Tight', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', 'Noto Sans Arabic', ui-monospace, monospace; }
:root:lang(zh-Hans) { --font: 'Inter Tight', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', ui-monospace, monospace; }
:root:lang(zh-Hant) { --font: 'Inter Tight', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', ui-monospace, monospace; }
/* Letter-spacing breaks Arabic joining; Arabic and CJK headings need taller lines. */
:root:lang(ar) body * { letter-spacing: 0 !important; }
:root:is(:lang(ar), :lang(zh)) :is(h1, h2, h3) { line-height: 1.3; }
/* RTL: arrows and chevrons that point "forward" flip. `scale` composes with hover transforms, which flip with it. */
[dir="rtl"] svg:has(> use[href="#i-arrow-right"], > use[href="#i-chevron-right"]) { scale: -1 1; }

/* ===== css/home.css ===== */
/* Home page. Every class is prefixed h- so it cannot collide with css/pages.css. */

/* ---------- Mock UI primitives ---------- */
.h-ui { position: relative; width: min(360px, 100%); padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(13,31,23,.3), 0 2px 6px -2px rgba(13,31,23,.06); font-size: .875rem; line-height: 1.35; color: var(--ink); text-align: left; }
.h-ui > * + * { margin-top: 14px; }
.h-ui p { color: inherit; } /* .card p would grey out mock numbers */
.h-ui, .h-hero__card, .h-route__node { font-variant-ligatures: no-contextual; } /* keep "0x" from turning into a times sign */
.h-ui__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h-ui__lbl { display: block; font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.h-ui__name b, .h-ui__name small { display: block; }
.h-ui__name b { font-weight: 600; }
.h-ui__name small { color: var(--ink-3); font-size: .75rem; }
.h-ui__big { font-size: 2rem; font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-ui em, .h-field em { font-style: normal; font-size: .45em; letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.h-field em { font-size: .75rem; }
.h-ui__list { margin-top: 10px; }
.h-ui__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.h-ui__row:first-child { border-top: 0; }
.h-ui__row > span:nth-child(2) { flex: 1; min-width: 0; }
.h-ui__row b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-ui__row small { display: block; color: var(--ink-3); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-ui__amt { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-ui__amt.is-in { color: var(--accent-ink); }

.h-ccy { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; font-weight: 600; font-size: .875rem; }
.h-ccy .ico { width: 16px; height: 16px; }
.h-ccy--eur { background: var(--accent-soft); color: var(--accent-ink); }
.h-ccy--usd { background: #e6ecf2; color: #234160; }
.h-ccy--gbp { background: #f1ebde; color: #6d4c17; }
.h-ccy--coin { background: var(--dark); color: var(--accent); }
.h-ccy--av { background: var(--panel); color: var(--ink-2); font-size: .6875rem; letter-spacing: .02em; }

.h-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--panel); font: 500 .6875rem/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.h-chip .ico { width: 12px; height: 12px; }
.h-chip--ok { background: var(--accent-soft); color: var(--accent-ink); }
.h-btns { display: flex; gap: 8px; }
.h-btns span { flex: 1; display: grid; place-items: center; height: 36px; padding: 0 10px; border-radius: 10px; background: var(--panel); font-weight: 500; font-size: .8125rem; white-space: nowrap; }
.h-btns span:first-child { background: var(--ink); color: #fff; }
.h-seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--panel); font: 500 .75rem/1 var(--mono); }
.h-seg span { flex: 1; padding: 7px 0; border-radius: 7px; text-align: center; color: var(--ink-3); transition: background .4s var(--ease), color .4s var(--ease); }
.h-seg .is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13,31,23,.1); }
.h-addr { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 8px; background: rgba(255,255,255,.08); font: 500 .6875rem/1 var(--mono); }
.h-addr .ico { width: 12px; height: 12px; opacity: .7; }
.h-field { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.h-field small { display: block; color: var(--ink-3); font-size: .75rem; }
.h-field b { display: block; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h-ui > .h-swap { display: grid; place-items: center; width: 30px; height: 30px; margin: -6px auto -20px; position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); }
.h-swap .ico { width: 14px; height: 14px; }
.h-ui > .h-swap + .h-field { margin-top: 0; }

.h-ui--dark { background: var(--dark); border-color: rgba(255,255,255,.08); color: #fff; }
.h-ui--dark .h-ui__lbl, .h-ui--dark em, .h-ui--dark .h-ui__row small { color: rgba(255,255,255,.55); }
.h-ui--dark .h-ui__row { border-color: rgba(255,255,255,.08); }
.h-ui--dark .h-ui__amt.is-in { color: var(--accent); }
.h-ui--dark .h-ccy--coin { background: rgba(47,210,127,.14); }
.h-ui--dark .h-btns span { background: rgba(255,255,255,.08); }
.h-ui--dark .h-btns span:first-child { background: var(--accent); color: var(--ink); }

/* Business bars, balance meters, account details, payment tracker */
.h-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; padding: 10px 12px 0; border-radius: 12px; background: var(--bg); }
.h-bars i { flex: 1; height: 100%; border-radius: 5px 5px 0 0; background: var(--accent-soft); transform: scaleY(var(--h)); transform-origin: bottom; }
.h-bars i:nth-child(6) { background: var(--accent); }
.h-meter { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--panel); overflow: hidden; }
.h-meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform: scaleX(var(--w)); transform-origin: left; }
.h-dl { display: grid; gap: 0; }
.h-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.h-dl div:first-child { border-top: 0; }
.h-dl dt { color: var(--ink-3); }
.h-dl dd { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-variant-numeric: tabular-nums; }
.h-dl .ico { width: 13px; height: 13px; color: var(--ink-3); }
.h-track { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg); font-size: .8125rem; color: var(--ink-3); }
.h-track li { display: flex; align-items: center; gap: 10px; }
.h-track li::before { content: ''; width: 10px; height: 10px; flex: none; border-radius: 50%; border: 2px solid var(--line); }
.h-track .is-done { color: var(--ink); }
.h-track .is-done::before { border-color: var(--accent); background: var(--accent); }
.h-track .is-now { color: var(--ink); font-weight: 500; }
.h-track .is-now::before { border-color: var(--accent); animation: hPulse 1.6s var(--ease) infinite; }

/* Move between wallet and account */
.h-move { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; width: min(440px, 100%); }
.h-move__tile { display: grid; gap: 6px; padding: 16px; }
.h-move__tile > * + * { margin-top: 0; }
.h-move__tile .h-ccy { margin-bottom: 6px; }
.h-move__tile b { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h-move__tile small { color: var(--ink-3); font-size: .75rem; }
.h-move__lane { position: relative; display: grid; place-items: center; height: 60px; }
.h-move__lane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #c9d1c6; }
.h-move__lane .h-chip { position: relative; margin-top: 52px; background: var(--surface); border: 1px solid var(--line); }
.h-move__dot { position: absolute; left: 0; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(47,210,127,.25); animation: hLane 2.4s var(--ease) infinite; }

@keyframes hPulse { 50% { box-shadow: 0 0 0 5px rgba(47,210,127,.25); } }
@keyframes hLane { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(62px); opacity: 0; } }

/* ---------- Hero ---------- */
.h-hero { position: relative; padding-top: clamp(48px, 8vw, 104px); text-align: center; }
.h-hero__inner { display: flex; flex-direction: column; align-items: center; }
.h-hero h1 { max-width: 13ch; margin-top: 28px; font-size: clamp(2.75rem, 6vw + 1rem, 5.75rem); letter-spacing: -0.05em; line-height: .98; }
.h-hero__sub { max-width: 560px; margin-top: 24px; font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); color: var(--ink-2); }
.h-hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 34px; }
.h-hero__band { position: relative; height: clamp(260px, 30vw, 420px); margin-top: clamp(24px, 4vw, 48px); }
.h-hero__field { display: block; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 45%, transparent 100%); }
.h-hero__card { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; translate: -50% -50%; white-space: nowrap; text-align: left; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(13,31,23,.35); }
.h-hero__card small { display: block; font: 500 .625rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.h-hero__card b { display: block; margin-top: 4px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h-hero__card > .h-ccy:last-child { order: 0; }
.h-hero__via { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dark); color: var(--accent); }
.h-hero__via .ico { width: 14px; height: 14px; }
@media (max-width: 560px) { .h-hero__card > .h-ccy { display: none; } .h-hero__card { gap: 10px; padding: 12px 14px; } }

/* ---------- Marquee ---------- */
.h-mq { overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.h-mq__track { display: flex; width: max-content; animation: hMarquee 42s linear infinite; }
.h-mq:hover .h-mq__track { animation-play-state: paused; }
.h-mq__list { display: flex; gap: 12px; padding-right: 12px; }
.h-mq__list li { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.h-mq__list .ico { width: 18px; height: 18px; color: var(--accent-ink); }
.h-mq__list b { font: 500 .75rem/1 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
@keyframes hMarquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.h-pillars__more { margin-top: 14px; }
.h-pillars__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .h-pillars__grid { grid-template-columns: repeat(3, 1fr); } }
.h-pil { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); }
.h-pil:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(13,31,23,.28); }
.js .h-pil[data-reveal].is-in:hover { transform: translateY(-4px); }
.h-pil p { margin-bottom: 18px; }
.h-pil .link-arrow { margin-top: auto; }
.h-pil:hover .link-arrow .ico { transform: translateX(3px); }
.h-pil__mock { position: relative; display: grid; place-items: center; height: 300px; margin-bottom: 26px; overflow: hidden; border-radius: 18px; background-color: var(--panel-2); }
.h-ui--phone { position: absolute; top: 28px; width: 250px; padding-bottom: 8px; border-radius: 28px 28px 18px 18px; }
.h-ui--phone .h-ui__big { font-size: 1.875rem; }
.h-globe { width: 100%; height: 100%; }
.h-toast { position: absolute; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 28px); padding: 10px 14px 10px 10px; translate: -50% 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(13,31,23,.35); font-size: .8125rem; text-align: left; animation: hToast 6s var(--ease-out) infinite; }
.h-toast b { display: block; font-weight: 600; }
.h-toast small { display: block; color: var(--ink-3); font-size: .75rem; }
.h-toast__ok { width: 18px; height: 18px; color: var(--accent-ink); }
.h-wcard { width: min(300px, calc(100% - 32px)); }
.h-wcard .h-ui__big { font-size: 1.75rem; }
.h-incoming { animation: hIncoming 5s var(--ease-out) infinite; }
.js .h-pil:not(.is-live) .h-anim { animation-play-state: paused; }
@keyframes hToast { 0% { opacity: 0; transform: translateY(16px) scale(.96); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes hIncoming { 0% { opacity: 0; transform: translateX(-18px); } 12%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* ---------- Sticky feature tabs ---------- */
.h-ft + .h-ft { padding-top: 0; }
.h-ft__body { display: grid; gap: 32px; }
@media (min-width: 900px) { .h-ft__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; } }
.h-ft__list { display: flex; flex-direction: column; }
.h-ft__tabs { display: contents; }
.h-ft__tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 0; border: 0; border-top: 1px solid var(--line); background: none; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.02em; text-align: left; cursor: pointer; transition: opacity .3s var(--ease); }
.h-ft__tab:focus-visible { outline-offset: -2px; }
.js .h-ft__tab[aria-selected="false"] { opacity: .5; }
.js .h-ft__tab[aria-selected="false"]:hover { opacity: .8; }
.h-ft__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.h-ft__ico .ico { width: 18px; height: 18px; }
.h-ft__tab[aria-selected="true"] .h-ft__ico { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.h-ft__panel { position: relative; padding: 0 0 24px 52px; }
.h-ft__panel p { color: var(--ink-2); max-width: 420px; }
.h-ft__panel .link-arrow { margin-top: 12px; }
.js .h-ft__panel:not([hidden]) > :not(.h-ft__bar) { animation: hPanelIn .6s var(--ease-out) both; }
.h-ft__bar { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.is-auto .h-ft__panel:not([hidden]) .h-ft__bar { animation: hFill 5s linear forwards; }
.is-auto.is-paused .h-ft__bar { animation-play-state: paused; }
.h-ft__list::after { content: ''; order: 99; border-top: 1px solid var(--line); } /* closing line under the last item */
@keyframes hPanelIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes hFill { to { transform: scaleX(1); } }

.h-ft__stage { position: relative; height: clamp(460px, 44vw, 580px); padding: 0; background-color: var(--panel); }
@media (min-width: 900px) { .h-ft__stage { position: sticky; top: calc(var(--nav-h) + 24px); } }
.h-ft__stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(47,210,127,.16), transparent 70%); }
.h-ft__scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px 16px; opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease-out); pointer-events: none; }
.h-ft__scene.is-active { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------- Routing (dark) ---------- */
.h-route { padding-block: clamp(24px, 4vw, 56px); }
.h-route__box { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px); border-radius: 32px; background-color: var(--dark); background-image: radial-gradient(circle at 1px 1px, rgba(143,240,185,.14) 1px, transparent 0); background-size: 20px 20px; color: #fff; isolation: isolate; }
.h-route__box::before { content: ''; position: absolute; inset: -30% 10% auto; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(47,210,127,.28), transparent); }
.h-route .eyebrow { color: var(--accent-2); }
.h-route .hl { color: var(--accent); }
.h-route .section__head p { color: rgba(255,255,255,.72); }
.h-route__flow { position: relative; display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 900px) { .h-route__flow { grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); } }
.h-route__node { position: relative; z-index: 1; display: grid; justify-items: start; gap: 4px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #10261b; }
.h-route__node::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1px var(--accent), 0 0 36px -4px rgba(47,210,127,.55); opacity: 0; pointer-events: none; }
@media (max-width: 899px) {
  .h-route__node { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; row-gap: 4px; padding: 14px 16px; }
  .h-route__node > .h-route__ico { grid-row: span 2; margin: 0; }
  .h-route__node > .h-route__tag { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .h-route__node > small { grid-column: 2; grid-row: 1; }
  .h-route__node > b { grid-column: 2; grid-row: 2; font-size: 1.125rem; }
}
.h-route__ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 11px; background: rgba(47,210,127,.14); color: var(--accent); }
.h-route__ico .ico { width: 18px; height: 18px; }
.h-route__node small { font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.h-route__node b { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h-route__tag { margin-top: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.07); font: 500 .6875rem/1 var(--mono); color: rgba(255,255,255,.75); }
.h-route__track { position: absolute; left: 50%; top: 20px; bottom: 20px; width: 2px; translate: -1px 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
.h-route__fill { position: absolute; inset: 0; background: linear-gradient(var(--accent-2), var(--accent)); transform-origin: top; transition: transform 1.4s var(--ease-out); }
.h-route__run { position: absolute; inset: 0; opacity: 0; }
.h-route__run i { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(47,210,127,.35), 0 0 22px 6px rgba(47,210,127,.7); }
@media (min-width: 900px) {
  .h-route__track { left: 12.5%; right: 12.5%; top: 50%; bottom: auto; width: auto; height: 2px; translate: 0 -1px; background: repeating-linear-gradient(to right, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
  .h-route__fill { background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform-origin: left; }
  .h-route__run i { left: 0; top: 50%; }
}
.js .h-route__fill { transform: scale(1, 0); }
@media (min-width: 900px) { .js .h-route__fill { transform: scale(0, 1); } }
.js .h-route__flow.is-live .h-route__fill { transform: none; }
.h-route__flow.is-live .h-route__run { animation: hRunY 4.5s linear 1.2s infinite; }
.h-route__flow.is-live .h-route__node::after { animation: hNode 4.5s var(--ease) calc(1.2s + var(--n) * 1.2s) infinite; }
@media (min-width: 900px) { .h-route__flow.is-live .h-route__run { animation-name: hRunX; } }
@keyframes hRunY { 0% { transform: translateY(0); opacity: 0; } 6%, 74% { opacity: 1; } 80%, 100% { transform: translateY(100%); opacity: 0; } }
@keyframes hRunX { 0% { transform: translateX(0); opacity: 0; } 6%, 74% { opacity: 1; } 80%, 100% { transform: translateX(100%); opacity: 0; } }
@keyframes hNode { 0% { opacity: 1; } 22%, 100% { opacity: 0; } }
.h-route__steps { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 560px) { .h-route__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .h-route__steps { grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); } }
.h-route__steps span { font: 500 .75rem/1 var(--mono); color: var(--accent); }
.h-route__steps h3 { margin-top: 12px; font-size: 1.125rem; }
.h-route__steps p { margin-top: 8px; color: rgba(255,255,255,.66); font-size: .9375rem; }

/* ---------- Who it's for ---------- */
.h-who__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .h-who__grid { grid-template-columns: 1fr 1fr; } }
.h-who__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.5vw, 44px); text-decoration: none; color: inherit; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); }
.h-who__card:hover, .js .h-who__card[data-reveal].is-in:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(13,31,23,.28); }
.h-who__card:hover .link-arrow .ico { transform: translateX(3px); }
.h-who__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 14px; background: var(--surface); color: var(--accent-ink); }
.h-who__card h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); letter-spacing: -0.035em; }
.h-who__card ul { display: grid; gap: 12px; width: 100%; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.h-who__card li { display: flex; align-items: flex-start; gap: 10px; }
.h-who__card li .ico { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.h-who__card .link-arrow { margin-top: auto; }

/* ---------- Get started ---------- */
.h-steps__list { position: relative; display: grid; gap: 36px; --gap: 32px; }
@media (min-width: 768px) { .h-steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } }
.h-steps__list li::before, .h-steps__list li::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: -36px; width: 2px; background: var(--line); }
.h-steps__list li:last-child::before, .h-steps__list li:last-child::after { display: none; }
.h-steps__list li::after { background: var(--accent); transform-origin: top; transition: transform .7s var(--ease-out); }
.h-steps__list li:nth-child(2)::after { transition-delay: .45s; }
.js .h-steps__list li::after { transform: scaleY(0); }
.js .h-steps__list.is-live li::after { transform: none; }
@media (min-width: 768px) {
  .h-steps__list li::before, .h-steps__list li::after { display: none; }
  .h-steps__list::before, .h-steps__list::after { content: ''; position: absolute; left: 22px; top: 22px; width: calc((200% + 2 * var(--gap)) / 3); height: 2px; translate: 0 -1px; background: var(--line); }
  .h-steps__list::after { background: var(--accent); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s; }
  .js .h-steps__list::after { transform: scaleX(0); }
  .js .h-steps__list.is-live::after { transform: none; }
}
.h-steps__list li { position: relative; padding-left: 68px; }
@media (min-width: 768px) { .h-steps__list li { padding: 72px 24px 0 0; } }
.h-steps__n { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font: 500 .8125rem/1 var(--mono); transition: background .5s var(--ease) calc(.3s + var(--i) * .45s), color .5s var(--ease) calc(.3s + var(--i) * .45s), border-color .5s var(--ease) calc(.3s + var(--i) * .45s); }
.is-live .h-steps__n { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.h-steps__list h3 { padding-top: 10px; }
@media (min-width: 768px) { .h-steps__list h3 { padding-top: 0; } }
.h-steps__list p { margin-top: 8px; max-width: 320px; color: var(--ink-2); }

/* ---------- Reduced motion: loops show their resting state ---------- */
@media (prefers-reduced-motion: reduce) {
  .h-mq__track, .h-anim, .h-move__dot, .h-track .is-now::before, .h-route__run, .h-route__node::after { animation: none !important; }
  .h-move__dot { display: none; }
}

/* RTL: step circles and connectors sit on the right. */
[dir="rtl"] .h-steps__list li { padding-left: 0; padding-right: 68px; }
[dir="rtl"] .h-steps__list li::before, [dir="rtl"] .h-steps__list li::after { left: auto; right: 21px; }
[dir="rtl"] .h-steps__n { left: auto; right: 0; }
@media (min-width: 768px) {
  [dir="rtl"] .h-steps__list li { padding: 72px 0 0 24px; }
  [dir="rtl"] .h-steps__list::before, [dir="rtl"] .h-steps__list::after { left: auto; right: 22px; }
  [dir="rtl"] .h-steps__list::after { transform-origin: right; }
}

/* ===== css/pages.css ===== */
/* Service pages, contact and 404. Owner: service pages build. Mock states are driven by js/pages.js (.is-off). */
.svc .section { padding-block: clamp(56px, 7vw, 104px); }
/* base .section__head p outranks .eyebrow; restore it here (shared fix belongs in base.css). */
@keyframes svc-up { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------- Hero ---------- */
.svc-hero { display: grid; gap: 40px; align-items: center; padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) { .svc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.svc-hero h1 { font-size: clamp(2.5rem, 3.2vw + 1rem, 4.25rem); }
.svc-hero__sub { margin-top: 22px; max-width: 34rem; font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); color: var(--ink-2); }
.svc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.js .svc-hero__text > * { animation: svc-up .9s var(--ease-out) both; }
.js .svc-hero__text > :nth-child(2) { animation-delay: 70ms; }
.js .svc-hero__text > :nth-child(3) { animation-delay: 140ms; }
.js .svc-hero__text > :nth-child(4) { animation-delay: 210ms; }
.js .svc-stage--hero { animation: svc-up 1.1s var(--ease-out) 180ms both; }

/* ---------- Stage: pale dotted panel that holds a mock ---------- */
.svc-stage { display: grid; place-items: center; min-height: clamp(340px, 34vw, 460px); padding: clamp(36px, 5vw, 64px) clamp(14px, 4vw, 56px); isolation: isolate; }
.svc-stage::before { content: ''; position: absolute; inset: 18% 12%; z-index: -1; background: radial-gradient(closest-side, rgba(47,210,127,.32), transparent); filter: blur(28px); }
.svc-stage--hero { min-height: clamp(440px, 42vw, 580px); }

/* ---------- Mock UI ---------- */
.m { position: relative; isolation: isolate; width: min(100%, 392px); padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(13,31,23,.05), 0 30px 60px -30px rgba(13,31,23,.32); font-size: .9375rem; line-height: 1.35; font-variant-numeric: tabular-nums; font-feature-settings: 'calt' 0; color: var(--ink); }
.m .m-big { color: var(--ink); }
.m .m-note { color: var(--ink-3); }
.m--wide { width: min(100%, 440px); }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 14px; }
.m-label { font: 500 .6875rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.m-big { font-size: clamp(2.1rem, 1.6vw + 1.4rem, 2.75rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; white-space: nowrap; }
.m-big small { margin-left: 8px; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.m-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.m-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.m-center { display: flex; justify-content: center; }
.m-gap { margin-top: 20px; }

.m-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--panel); }
.m-seg > span { position: relative; z-index: 0; padding: 6px 10px; border-radius: 999px; font: 500 .75rem/1 var(--mono); color: var(--ink); }
.m-seg > span::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface); box-shadow: 0 1px 3px rgba(13,31,23,.14); transition: opacity .35s var(--ease); }
.m-seg > .is-off { color: var(--ink-3); }
.m-seg > .is-off::before { opacity: 0; }
.m-seg--wide { display: flex; margin-bottom: 16px; }
.m-seg--wide > span { flex: 1; padding: 9px 8px; text-align: center; font: 500 .8125rem/1 var(--font); }

.m-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--panel); font-size: .8125rem; font-weight: 500; }
.m-btn .ico { width: 15px; height: 15px; }
.m-btn--dark { background: var(--ink); color: #fff; }
.m-btn--full { display: flex; height: 44px; margin-top: 16px; }

.m-list { margin-top: 18px; border-top: 1px solid var(--line); }
.m-list--flush { margin-top: 0; border-top: 0; }
.m-list--gap { margin-top: 12px; }
.m-li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.m-li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-list--flush > .m-li:first-child { padding-top: 0; }
.m-li__t b { display: block; overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.m-li__t small { display: block; margin-top: 2px; overflow: hidden; font-size: .75rem; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
.m-amt { display: grid; justify-items: end; gap: 5px; font-weight: 500; white-space: nowrap; }
.m-amt > .ico { width: 18px; height: 18px; color: var(--accent-ink); }
.m-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--panel); color: var(--ink); font-size: .9375rem; font-weight: 600; }
.m-ico .ico { width: 16px; height: 16px; }
.m-ico--ok { background: var(--accent-soft); color: var(--accent-ink); }
.m-ico--dark { background: var(--ink); color: var(--accent); }
.m-ico--av { border-radius: 50%; background: var(--panel-2); font-size: .6875rem; letter-spacing: .02em; }

/* Status chip: two stacked labels cross-fade, so the flip is opacity-only. */
.m-chip { display: inline-grid; justify-items: end; font-size: .75rem; font-weight: 500; line-height: 1; }
.m-chip > * { grid-area: 1 / 1; padding: 5px 9px; border-radius: 999px; font-style: normal; font-weight: 500; white-space: nowrap; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.m-chip i { background: var(--panel); color: var(--ink-2); opacity: 0; transform: scale(.9); }
.m-chip b { background: var(--accent-soft); color: var(--accent-ink); }
.m-chip.is-off i { opacity: 1; transform: none; }
.m-chip.is-off b { opacity: 0; transform: scale(.9); }

.m-in { transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), filter .5s var(--ease-out); }
.m-in.is-off { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(4px); }

.m-sel::before { content: ''; position: absolute; inset: 4px -10px; z-index: -1; border-radius: 12px; background: var(--accent-soft); transition: opacity .4s var(--ease); }
.m-sel .m-amt { transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.m-sel.is-off::before, .m-sel.is-off .m-amt { opacity: 0; }
.m-sel.is-off .m-amt { transform: scale(.6); }

.m-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.m-field + .m-field { margin-top: 8px; }
.m-field small { display: block; margin-bottom: 4px; font-size: .75rem; color: var(--ink-3); }
.m-field b { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.m-unit { margin-left: 6px; font-size: .8125rem; letter-spacing: 0; color: var(--ink-2); }
.m-via { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 8px 14px; border: 1px dashed #cfd6cc; border-radius: 12px; font-size: .75rem; color: var(--ink-2); }
.m-via .ico { width: 15px; height: 15px; color: var(--accent-ink); }
.m-in.m-via { margin-top: 14px; }
.m-swap { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: -12px auto; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); transition: transform .7s var(--ease-out); }
.m-swap .ico { width: 16px; height: 16px; }
.m-swap.is-off { transform: rotate(180deg); }
.m-swap + .m-field { margin-top: 0; }

.m-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.m-step { display: grid; gap: 8px; font-size: .75rem; color: var(--ink-2); transition: opacity .4s var(--ease); }
.m-step i, .m-link, .m-bar { position: relative; overflow: hidden; border-radius: 999px; background: var(--panel); }
.m-step i { height: 4px; }
.m-step i::after, .m-link::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transition: transform .7s var(--ease-out); }
.m-step.is-off { opacity: .5; }
.m-step.is-off i::after, .m-link.is-off::after { transform: scaleX(0); }

.m-route { display: flex; align-items: center; padding: 6px 0 2px; }
.m-node { display: grid; justify-items: center; gap: 8px; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.m-node > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--panel); font-size: 1.25rem; font-weight: 600; }
.m-node--mid > span { background: var(--ink); color: var(--accent); }
.m-node .ico { width: 22px; height: 22px; }
.m-node small { font: 500 .625rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.m-node.is-off { opacity: .35; transform: scale(.92); }
.m-link { flex: 1; height: 2px; margin: 0 6px 18px; }

.m-bar { display: block; height: 6px; margin-top: 8px; }
.m-bar > i { display: block; width: calc(var(--w) * 100%); height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; transition: transform .9s var(--ease-out); }
.m-bar.is-off > i { transform: scaleX(0); }

.m-tl > li { position: relative; padding: 0 0 18px 28px; transition: opacity .4s var(--ease); }
.m-tl > li:last-child { padding-bottom: 0; }
.m-tl > li::before { content: ''; position: absolute; left: 3px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transition: transform .45s var(--ease-out); }
.m-tl > li::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.m-tl > li:last-child::after { display: none; }
.m-tl b { display: block; font-weight: 500; }
.m-tl small { display: block; margin-top: 2px; font-size: .75rem; color: var(--ink-3); }
.m-tl > li.is-off { opacity: .4; }
.m-tl > li.is-off::before { transform: scale(.5); }

.m-toast { position: absolute; left: 50%; bottom: -24px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .8125rem; white-space: nowrap; box-shadow: 0 18px 30px -14px rgba(13,31,23,.5); }
.m-toast .m-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--ink); }

.m-qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 140px; margin: 0 auto 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.m-qr i { aspect-ratio: 1; background: var(--ink); }
.m-qr i.o { background: transparent; }
.m-addr { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: var(--panel); font: 500 .75rem/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.m-addr .ico { width: 13px; height: 13px; }

/* ---------- Tiles (features and related) ---------- */
.tiles { display: grid; gap: 16px; }
.tiles > li { display: grid; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; isolation: isolate; color: inherit; text-decoration: none; transition: transform .45s var(--ease-out); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--surface); opacity: 0; transition: opacity .35s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile:hover::before { opacity: .65; }
.tile h3 { font-size: 1.25rem; }
.tile p a { color: var(--accent-ink); }
.tile__ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: clamp(24px, 3vw, 40px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tile__ico::before { content: ''; position: absolute; inset: 0; background: var(--accent); opacity: 0; transition: opacity .3s var(--ease); }
.tile__ico .ico { position: relative; width: 20px; height: 20px; }
.tile:hover .tile__ico::before, .tile:focus-visible .tile__ico::before { opacity: 1; }
.tile--link .link-arrow { margin-top: auto; padding-top: 24px; }
.tile--link:hover .link-arrow .ico { transform: translateX(3px); }
.tile--link:focus-visible { border-radius: var(--radius-card); outline-offset: 3px; }

/* ---------- Deep-dive rows ---------- */
.dive { display: grid; gap: 36px; align-items: center; }
.dive + .dive { margin-top: clamp(72px, 9vw, 128px); }
@media (min-width: 1024px) { .dive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; } .dive:nth-child(even) .dive__text { order: 2; } }
.dive h2 { font-size: clamp(1.875rem, 1.8vw + 1rem, 2.75rem); }
.dive__text > p:not(.eyebrow) { margin-top: 18px; max-width: 32rem; font-size: 1.125rem; color: var(--ink-2); }
.dive__list { display: grid; gap: 12px; margin-top: 28px; }
.dive__list li { display: flex; align-items: flex-start; gap: 12px; }
.dive__list .ico { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Guide: plain-language explainer blocks ---------- */
.guide__grid { display: grid; gap: clamp(32px, 4vw, 48px) 64px; }
@media (min-width: 900px) { .guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide__item { padding-top: 24px; border-top: 1px solid var(--line); }
.guide__item h3 { font-size: 1.25rem; }
.guide__item p { margin-top: 12px; max-width: 36rem; color: var(--ink-2); }
.guide__item a { color: var(--accent-ink); }

/* ---------- How it works: the line draws when the list reveals ---------- */
/* Phone: one segment per gap, drawn in turn. Desktop: one line across the three circles. */
.steps { position: relative; display: grid; gap: 36px; }
.steps__item { position: relative; padding-left: 68px; }
.steps__item:not(:last-child)::before, .steps__item:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: -36px; width: 2px; }
.steps__item::after { background: var(--line); }
.steps__item::before { z-index: 1; background: var(--accent); transform-origin: top; transition: transform .6s var(--ease-out) calc(.35s + var(--i) * .5s); }
.js .steps:not(.is-in) .steps__item::before { transform: scaleY(0); }
.steps__n { position: absolute; left: 0; top: 0; z-index: 2; isolation: isolate; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font: 500 .8125rem/1 var(--mono); }
.steps__n::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent); transition: opacity .4s var(--ease) calc(.3s + var(--i) * .5s); }
.js .steps:not(.is-in) .steps__n::before { opacity: 0; }
.steps h3 { margin: 9px 0 8px; }
.steps p { max-width: 22rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .steps__item:not(:last-child)::before, .steps__item:not(:last-child)::after { display: none; }
  .steps::before, .steps::after { content: ''; position: absolute; top: 21px; left: 22px; right: calc((100% - 80px) / 3 - 22px); height: 2px; }
  .steps::after { background: var(--line); }
  .steps::before { z-index: 1; background: var(--accent); transform-origin: left; transition: transform 1.4s var(--ease-out) .35s; }
  .js .steps:not(.is-in)::before { transform: scaleX(0); }
  .steps__item { padding: 72px 0 0; }
  .steps h3 { margin-top: 0; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; } .contact > .iform { position: sticky; top: calc(var(--nav-h) + 24px); } }
.contact h1 { font-size: clamp(2.6rem, 3.6vw + 1rem, 4.25rem); }
.contact__lede { margin-top: 20px; max-width: 30rem; font-size: 1.1875rem; color: var(--ink-2); }
.contact__h { margin-top: 48px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.contact__next { display: grid; gap: 20px; margin-top: 20px; }
.contact__next li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.contact__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); font: 500 .75rem/1 var(--mono); color: var(--accent-ink); }
.contact__next h3 { font-size: 1.0625rem; font-weight: 500; margin: 2px 0 4px; }
.contact__next p { max-width: 28rem; color: var(--ink-2); }
.contact__note { display: flex; align-items: flex-start; gap: 14px; max-width: 30rem; margin-top: 40px; padding: 18px 20px; border-radius: 16px; background: var(--panel); color: var(--ink-2); }
.contact__note .ico { margin-top: 1px; color: var(--accent-ink); }
.contact__note a { color: var(--accent-ink); font-weight: 500; }

/* ---------- 404 ---------- */
.nf__box { max-width: 880px; margin-inline: auto; padding: clamp(48px, 9vw, 112px) clamp(20px, 5vw, 64px); text-align: center; }
.nf .nf__code { font: 500 clamp(4.5rem, 12vw, 9rem)/1 var(--mono); letter-spacing: -0.06em; color: var(--accent-ink); }
.nf h1 { margin-top: 12px; font-size: clamp(2.1rem, 2.6vw + 1rem, 3.25rem); }
.nf__box > p:not(.nf__code) { max-width: 30rem; margin: 18px auto 0; color: var(--ink-2); font-size: 1.125rem; }
.nf__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* RTL: step circles and connectors sit on the right. */
[dir="rtl"] .steps__item { padding-left: 0; padding-right: 68px; }
[dir="rtl"] .steps__item::before, [dir="rtl"] .steps__item::after { left: auto; right: 21px; }
[dir="rtl"] .steps__n { left: auto; right: 0; }
@media (min-width: 900px) {
  [dir="rtl"] .steps__item { padding: 72px 0 0; }
  [dir="rtl"] .steps::before, [dir="rtl"] .steps::after { left: calc((100% - 80px) / 3 - 22px); right: 22px; }
  [dir="rtl"] .steps::before { transform-origin: right; }
}

/* ===== css/blog.css ===== */
/* ---------- Blog index ---------- */
.blog-hero { padding-block: clamp(28px, 5vw, 72px) clamp(28px, 4vw, 48px); }
.blog-hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 3.2vw + 1rem, 4.25rem); }
.blog-hero__sub { margin-top: 22px; max-width: 40rem; font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); color: var(--ink-2); }

.blog-index { padding-bottom: clamp(24px, 4vw, 48px); }
.blog-list { display: grid; gap: 16px; }
@media (min-width: 720px) { .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .blog-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: clamp(22px, 2.5vw, 30px); border: 1px solid transparent; border-radius: var(--radius-card); background: var(--panel); text-decoration: none; transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease-out); }
.blog-card:hover { background: var(--surface); border-color: var(--line); transform: translateY(-2px); }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 8px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.blog-card__title { font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.15; }
.blog-card__sum { color: var(--ink-2); }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 500; }
.blog-card__more .ico { width: 1em; height: 1em; transition: transform .3s var(--ease-out); }
.blog-card:hover .blog-card__more .ico { transform: translateX(3px); }

.blog-empty { max-width: 720px; display: grid; gap: 12px; justify-items: start; padding: clamp(28px, 4vw, 48px); }
.blog-empty h2 { font-size: 1.75rem; letter-spacing: -0.025em; }
.blog-empty a { color: var(--accent-ink); }
.blog-empty__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--accent-ink); }

/* ---------- Article ---------- */
.post-head { padding-block: clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.post-crumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--ink-3); }
.post-crumb li { display: inline-flex; gap: 6px; min-width: 0; }
.post-crumb li + li::before { content: '/'; color: #bcc4b9; }
.post-crumb a { color: var(--ink-2); text-decoration: none; }
.post-crumb a:hover { color: var(--ink); text-decoration: underline; }
.post-crumb [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.post-head h1 { margin-top: 22px; max-width: 22ch; font-size: clamp(2.25rem, 2.6vw + 1rem, 3.75rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font: 500 .8125rem/1.5 var(--mono); color: var(--ink-3); }
.post-meta span:first-child { color: var(--ink); }

/* Phones: summary, contents, body, sources. Wide screens: contents in a sticky left column. */
.post-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'tldr' 'toc' 'body' 'sources'; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: 230px minmax(0, 68ch); grid-template-areas: 'toc tldr' 'toc body' 'toc sources'; column-gap: clamp(48px, 6vw, 96px); justify-content: start; }
  .post-toc { align-self: start; position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding: 0; border: 0; background: none; }
}
.post-tldr { grid-area: tldr; max-width: 68ch; padding: 22px 24px; border-radius: 16px; background: var(--accent-soft); }
.post-tldr__h, .post-toc__h { margin-bottom: 8px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.post-tldr p:not(.post-tldr__h) { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }

.post-toc { grid-area: toc; max-width: 68ch; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.post-toc__h { color: var(--ink-3); margin-bottom: 12px; }
.post-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: 10px; padding: 6px 0; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: color .2s var(--ease); }
.post-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; padding-top: 2px; font: 500 .6875rem/1.35 var(--mono); color: var(--ink-3); }
.post-toc a:hover { color: var(--ink); }

/* Article text: one comfortable measure, generous leading. */
.post-body { grid-area: body; max-width: 68ch; font-size: 1.0625rem; line-height: 1.72; color: var(--ink-2); }
@media (min-width: 768px) { .post-body { font-size: 1.125rem; } }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 2.4em; font-size: clamp(1.625rem, 1vw + 1.2rem, 2.125rem); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
.post-body h3 { margin-top: 1.9em; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.post-body h2 + *, .post-body h3 + * { margin-top: .6em; }
.post-body > :first-child { margin-top: 0; }
.post-body a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body strong, .post-body b { font-weight: 600; color: var(--ink); }
.post-body ul, .post-body ol { padding-inline-start: 1.4em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--accent-ink); }
.post-body blockquote { margin: 1.6em 0 0; padding: 4px 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--accent); font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
.post-body blockquote p + p { margin-top: .8em; }
.post-body code { padding: 1px 6px; border-radius: 6px; background: var(--panel); font: .875em/1.4 var(--mono); }

.post-table { margin-top: 1.6em; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.post-table:focus-visible { outline-offset: 3px; }
.post-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.post-table th, .post-table td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-table thead th { background: var(--panel); font-weight: 600; font-size: .8125rem; color: var(--ink); white-space: nowrap; }
.post-table tbody th { font-weight: 500; color: var(--ink); }
.post-table tbody tr:last-child > * { border-bottom: 0; }

.post-sources { grid-area: sources; max-width: 68ch; margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-sources h2 { font-size: 1.25rem; letter-spacing: -0.02em; }
.post-sources ol { margin-top: 14px; padding-inline-start: 1.4em; list-style: decimal; font-size: .9375rem; color: var(--ink-3); }
.post-sources li + li { margin-top: 8px; }
.post-sources a { color: var(--ink-2); overflow-wrap: anywhere; text-underline-offset: 3px; }
.post-sources a:hover { color: var(--ink); }
.post-note { margin-top: 22px; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }

/* Related product pages */
.post-related { padding-block: clamp(40px, 6vw, 72px) 0; }
.post-related h2 { font-size: clamp(1.625rem, 1vw + 1.2rem, 2.125rem); letter-spacing: -0.03em; }
.post-related__list { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 720px) { .post-related__list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.post-rel { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: border-color .25s var(--ease), transform .35s var(--ease-out); }
.post-rel:hover { border-color: #c8d0c5; transform: translateY(-2px); }
.post-rel__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.post-rel b { display: block; font-weight: 500; letter-spacing: -0.01em; }
.post-rel small { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.4; color: var(--ink-3); }
.post-rel__go { width: 18px; height: 18px; margin-inline-start: auto; color: var(--ink-3); transition: transform .3s var(--ease-out); }
.post-rel:hover .post-rel__go { transform: translateX(3px); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .blog-card:hover, .post-rel:hover { transform: none; } }
