/* Visual-right hero */
.hero {
  position: relative; max-width: 100%; overflow-x: clip;
  background: linear-gradient(180deg, var(--c-hero-top), var(--c-hero-bottom));
  padding-block: 40px 48px;
}
.hero::before {
  content: ""; position: absolute; inset: 0 2% 26% 52%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-accent), var(--glow-sky) 55%, var(--hl-none));
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; min-height: 32px; max-width: 100%;
  padding: 4px 14px 4px 10px; margin-bottom: 24px; border-radius: var(--radius-pill);
  background: var(--c-panel); box-shadow: 0 0 0 1px var(--c-border-soft), 0 6px 16px -10px var(--shadow-tint-20);
  font-size: 13px; font-weight: var(--weight-label);
}
.tag__dot { width: 8px; height: 8px; flex: none; border-radius: var(--radius-round); background: var(--gradient-pair); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.hero__title { font-size: var(--type-h1); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 32px; }
.hero__brand { display: block; margin-bottom: 10px; font-size: 22px; line-height: 1.2; font-weight: var(--weight-strong); letter-spacing: -.01em; color: var(--c-muted); }
.hero__line { display: block; }
.hero .cta-row { margin-bottom: 28px; }
.hero__lede { max-width: 27em; margin-bottom: 24px; font-size: 17px; line-height: 1.7; color: var(--c-muted); }
.hero__lede strong { color: var(--c-text); font-weight: var(--weight-strong); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; max-width: 31em; margin-bottom: 32px; }
.fact {
  display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 42px;
  padding: 4px 14px 4px 8px; border-radius: var(--radius-pill); background: var(--c-panel);
  box-shadow: 0 0 0 1px var(--c-border-soft), 0 8px 20px -14px var(--shadow-tint-20);
  font-size: var(--type-small); font-weight: var(--weight-label);
}
.fact__ico {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  border-radius: var(--radius-round); background: var(--gradient-tint); color: var(--c-accent-dark);
}
.reach { min-width: 0; }
.reach__label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: var(--weight-label); color: var(--c-muted); }
.reach__label::after { content: ""; flex: 1; height: 1px; background: var(--c-border-soft); }
.platforms, .flags { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.platforms { margin-bottom: 16px; }
.platforms li, .flags li { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: var(--weight-label); white-space: nowrap; }
.platforms svg { width: 18px; height: 18px; }
.flag { position: relative; display: inline-block; flex: none; width: 24px; height: 16px; border-radius: var(--radius-flag); overflow: hidden; }
.flag::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--flag-edge); }
.flag svg { display: block; width: 24px; height: 16px; }
.fr { fill: var(--flag-red); }
.fw { fill: var(--flag-white); }
.fn { fill: var(--flag-navy); }
.svg-bank { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* Client window */
.stage { position: relative; min-width: 0; max-width: 100%; display: flow-root; }
.stage__plate { position: absolute; z-index: 0; max-width: 100%; pointer-events: none; }
.stage__plate::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, var(--hl-gloss), var(--hl-none) 46%);
}
.stage__plate--plum {
  top: 0; left: 0; width: 48%; height: 58%; border-radius: var(--radius-plate);
  background: linear-gradient(150deg, var(--c-accent-hi), var(--c-accent) 52%, var(--c-accent-dark));
  box-shadow: 0 24px 48px -24px var(--shadow-tint-40);
  animation: drift-a 14s ease-in-out infinite alternate;
}
.stage__plate--sky {
  right: 0; bottom: 20px; width: 52%; height: 64%; border-radius: var(--radius-arc) var(--radius-plate) var(--radius-plate);
  background: linear-gradient(205deg, var(--c-sky-hi), var(--c-sky));
  box-shadow: 0 24px 48px -24px var(--shadow-sky-14);
  animation: drift-b 16s ease-in-out infinite alternate;
}
.win {
  position: relative; z-index: 1; margin: 44px 40px 72px 24px; border-radius: var(--radius-card);
  background: var(--c-panel); overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-border-soft), 0 2px 6px var(--shadow-ink), 0 36px 72px -18px var(--shadow-tint-12), 0 14px 30px -18px var(--shadow-tint-10);
}
.win::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 var(--hl-edge), inset 0 0 0 1px var(--hl-soft); }
.win__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; padding-inline: 18px 16px;
  background: linear-gradient(180deg, var(--c-panel), var(--c-pane)); border-bottom: 1px solid var(--c-border-soft);
}
.win__lights { display: flex; gap: 8px; }
.win__lights i { width: 12px; height: 12px; border-radius: var(--radius-round); box-shadow: inset 0 -1px 2px var(--shadow-ink-strong); }
.win__lights .l-r { background: var(--c-error); }
.win__lights .l-y { background: var(--c-warn); }
.win__lights .l-g { background: var(--c-success); }
.win__name { font: var(--weight-strong) 13px var(--font-display); letter-spacing: -.01em; }
.win__shield { justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--radius-seg); background: var(--c-accent-soft); color: var(--c-accent); }
.win__body { display: grid; grid-template-columns: 250px minmax(0,1fr); }
.routes { min-width: 0; display: flex; flex-direction: column; padding: 16px 12px 14px; background: var(--c-pane); border-right: 1px solid var(--c-border-soft); }
.routes__head { padding: 0 8px 10px; font-size: 12px; font-weight: var(--weight-strong); letter-spacing: .04em; color: var(--c-muted); }
.routes__list { display: flex; flex-direction: column; gap: 4px; }
.route { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); }
.route__code {
  height: 26px; display: grid; place-items: center; border-radius: var(--radius-inset);
  font: var(--weight-label) 11px var(--font-mono); letter-spacing: .02em;
  background: var(--c-panel); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-border-soft);
}
.route__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.route__txt b { font-size: 13.5px; font-weight: var(--weight-strong); }
.route__txt em { font: normal 12px/1.3 var(--font-body); color: var(--c-muted); }
.route__mark { width: 18px; height: 18px; }
.route.is-on { background: linear-gradient(135deg, var(--c-text), var(--c-text-2)); color: var(--c-white); box-shadow: 0 12px 22px -12px var(--shadow-ink-strong), inset 0 1px 0 var(--c-on-dark-chip); }
.route.is-on .route__code { background: var(--c-on-dark-chip); color: var(--c-white); box-shadow: none; }
.route.is-on .route__txt em { color: var(--c-on-dark-muted); }
.routes__foot {
  margin-top: 14px; padding: 12px 8px 0; border-top: 1px dashed var(--c-border);
  font: 500 12px/1.5 var(--font-mono); color: var(--c-muted);
}
.ctrl { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 20px 22px 40px; }
.conn { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-conn); background: var(--gradient-tint); box-shadow: inset 0 0 0 1px var(--c-border-soft); }
.switch {
  position: relative; flex: none; width: 78px; height: 42px; border-radius: var(--radius-pill); overflow: hidden;
  background: linear-gradient(120deg, var(--c-accent), var(--c-accent-hi));
  box-shadow: inset 0 2px 5px var(--shadow-tint-40), 0 10px 20px -10px var(--shadow-tint-40);
}
.switch__off { position: absolute; inset: 0; border-radius: inherit; background: var(--c-groove); opacity: 0; animation: off-fade .6s ease .5s both; }
.switch__knob {
  position: absolute; top: 4px; left: 4px; width: 34px; height: 34px; border-radius: var(--radius-round);
  background: var(--c-white); box-shadow: 0 3px 8px var(--shadow-ink-strong);
  transform: translateX(36px); animation: knob-on .65s cubic-bezier(.3,.7,.2,1) .5s both;
}
.conn__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.conn__state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: var(--weight-strong); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: var(--radius-round); background: var(--c-success); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-success); opacity: 0; animation: breathe 2.8s ease-out infinite; }
.conn__route { font: var(--weight-display) 18px/1.35 var(--font-display); letter-spacing: -.01em; }
.mode { min-width: 0; }
.mode__label, .plan__tag { font-size: 12px; font-weight: var(--weight-strong); letter-spacing: .04em; }
.mode__label { display: block; margin-bottom: 8px; color: var(--c-muted); }
.seg { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px; border-radius: var(--radius-sm); background: var(--c-groove); }
.seg__opt { min-height: 36px; display: grid; place-items: center; border-radius: var(--radius-seg); font-size: 13.5px; font-weight: var(--weight-label); color: var(--c-muted); }
.seg__opt.is-on { background: var(--c-panel); color: var(--c-text); box-shadow: 0 4px 10px -4px var(--shadow-ink-strong); }
.plan { padding: 14px 16px; border-radius: var(--radius-md); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-border-soft), 0 12px 26px -16px var(--shadow-tint-20); }
.plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.plan__tag { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-accent-soft); color: var(--c-accent-dark); }
.plan__price { font: var(--weight-display) 26px/1 var(--font-display); letter-spacing: -.02em; }
.plan__price small { font-size: var(--type-small); font-weight: var(--weight-label); letter-spacing: 0; }
.plan__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--c-muted); }
.plan__gb { padding: 3px 9px; border-radius: var(--radius-inset); background: var(--c-sky-tint); color: var(--c-text-2); font: var(--weight-label) 12px/1.6 var(--font-mono); }
.ctrl__note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--c-muted); }
.ctrl__note svg { color: var(--c-accent); }
.float { position: absolute; z-index: 2; background: var(--c-panel); max-width: 100%; }
.float--pill {
  top: 26px; left: 100px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 4px 14px 4px 6px; border-radius: var(--radius-pill); font-size: 13px; font-weight: var(--weight-strong);
  box-shadow: 0 0 0 1px var(--c-border-soft), 0 14px 28px -12px var(--shadow-tint-40);
}
.float__ico { flex: none; display: grid; place-items: center; }
.float--pill .float__ico { width: 24px; height: 24px; border-radius: var(--radius-round); background: var(--gradient-pair); color: var(--c-white); }
.float--pack {
  right: 4px; bottom: 8px; width: 236px; display: grid; grid-template-columns: 40px minmax(0,1fr);
  gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-conn); transform: rotate(-3deg);
  box-shadow: 0 0 0 1px var(--c-border-soft), inset 0 1px 0 var(--hl-edge), 0 20px 40px -16px var(--shadow-sky-14), 0 10px 24px -14px var(--shadow-tint-20);
}
.float--pack .float__ico { width: 40px; height: 40px; border-radius: var(--radius-sm); background: linear-gradient(140deg, var(--c-sky-hi), var(--c-sky)); color: var(--c-white); }
.float__copy { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.4; }
.float__copy small { font-size: 12px; }
@keyframes drift-a { to { transform: translate(5px, 4px); } }
@keyframes drift-b { to { transform: translate(-5px, -4px); } }
@keyframes off-fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes knob-on { from { transform: translateX(0); } to { transform: translateX(36px); } }
@keyframes breathe { from { transform: scale(1); opacity: .4; } to { transform: scale(2); opacity: 0; } }

/* Content controls */
.switch-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%; padding: 4px;
  border-radius: var(--radius-sm); background: var(--c-groove);
}
.switch-tabs [role="tab"] {
  min-height: 40px; padding: 6px 14px; border: 0; border-radius: var(--radius-seg);
  background: none; color: var(--c-muted); font-weight: var(--weight-label);
}
.switch-tabs [aria-selected="true"] { background: var(--c-panel); color: var(--c-text); box-shadow: 0 4px 10px -4px var(--shadow-ink-strong); }
.tab-sheet { min-width: 0; margin-top: 20px; }
.toc-tabs {
  position: sticky; top: var(--toc-offset); z-index: 5; display: flex; gap: 6px;
  max-width: 100%; margin-block: 16px 24px; padding: 7px;
  overflow-x: auto; overscroll-behavior-inline: contain;
  border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-panel);
  box-shadow: 0 12px 26px -16px var(--shadow-tint-20);
}
.toc-tabs.is-static { position: static; }
.toc-tabs a {
  display: inline-flex; flex: none; align-items: center; min-height: 36px;
  padding-inline: 12px; color: var(--c-muted); font-size: var(--type-small); font-weight: var(--weight-label);
  white-space: nowrap; border-radius: var(--radius-btn);
}
.toc-tabs a:hover { background: var(--c-pane); }
.toc-tabs a.is-current { background: var(--c-text); color: var(--c-white); }
body:has(.toc-tabs) section[id] { scroll-margin-top: calc(var(--toc-offset) + 74px); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary {
  position: relative; display: block; min-height: 44px; padding: 16px 40px 16px 2px;
  list-style: none; font-weight: var(--weight-strong); text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: var(--radius-round); color: var(--c-accent-dark); background: var(--c-accent-soft);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item > p { padding: 0 32px 16px 2px; max-width: 42em; color: var(--c-muted); }

.feature-browser {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: start; gap: 32px; position: relative; isolation: isolate;
}
.feature-browser > * { min-width: 0; }
.feature-list { display: grid; grid-row: 1 / span 6; }
.feature-step {
  position: relative; display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: start;
  gap: 12px; width: 100%; min-height: 60px; padding: 12px 4px; text-align: start;
  border: 0; border-bottom: 1px solid var(--c-border); background: none; color: var(--c-muted);
}
.feature-step strong, .feature-step small { display: block; }
.feature-step:hover, .feature-step[aria-selected="true"] { color: var(--c-text); }
.feature-step[aria-selected="true"]::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
  background: var(--c-sky); transform-origin: left; animation: step-line .24s ease-out both;
}
@keyframes step-line { from { transform: scaleX(.25); } to { transform: scaleX(1); } }
.feature-step[data-step="1"], .feature-sheet[data-step="1"] { --step: 1; }
.feature-step[data-step="2"], .feature-sheet[data-step="2"] { --step: 2; }
.feature-step[data-step="3"], .feature-sheet[data-step="3"] { --step: 3; }
.feature-step[data-step="4"], .feature-sheet[data-step="4"] { --step: 4; }
.feature-step[data-step="5"], .feature-sheet[data-step="5"] { --step: 5; }
.feature-step[data-step="6"], .feature-sheet[data-step="6"] { --step: 6; }
.feature-step[aria-selected="true"][data-step]::after { width: calc(var(--step) * 100% / 6); }
.feature-sheet { grid-column: 2; position: relative; isolation: isolate; padding: 20px 18px 18px; min-width: 0; }
.feature-sheet::before, .feature-sheet::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.feature-sheet::before { inset: 0 47% 24% 0; border-radius: var(--radius-plate); background: var(--gradient-action); }
.feature-sheet::after { inset: 32% 0 0 42%; border-radius: var(--radius-arc) var(--radius-plate) var(--radius-plate); background: linear-gradient(205deg, var(--c-sky-hi), var(--c-sky)); }
.feature-card { display: grid; gap: 16px; }
.feature-card > p { max-width: 38em; color: var(--c-muted); }

.badge, .chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; max-width: 100%;
  padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: var(--weight-label);
  overflow-wrap: anywhere;
}
.badge { color: var(--c-accent-dark); background: var(--c-accent-soft); }
.chip { color: var(--c-text-2); background: var(--c-sky-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-grid, .platform-grid, .article-grid { display: grid; gap: 18px; }
.plan-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.price-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative;
  text-wrap: pretty;
}
.price-card.is-spotlight { box-shadow: 0 0 0 1px var(--c-accent), inset 0 1px 0 var(--hl-edge), 0 26px 55px -16px var(--shadow-tint-20); }
.price-card__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; width: 100%; }
.price-card__price { font: var(--weight-display) clamp(26px,4vw,40px)/1.2 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-card__price small { font-size: var(--type-small); font-weight: var(--weight-label); letter-spacing: 0; }
.price-card > p:not(.price-card__price) { color: var(--c-muted); }
.price-card .btn { margin-top: auto; align-self: stretch; }

.table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-border-soft); border-radius: var(--radius-md); background: var(--c-panel); }
.data-table { width: 100%; min-width: 35em; border-collapse: collapse; text-align: start; }
.table-scroll th, .table-scroll td, .data-table th, .data-table td { padding: 13px 16px; border-bottom: 1px solid var(--c-border-soft); text-align: start; word-break: keep-all; }
.table-scroll th, .data-table th { white-space: nowrap; color: var(--c-text); }
.data-table caption { padding: 12px 16px; text-align: start; font-weight: var(--weight-strong); color: var(--c-text); }
.data-table thead, .data-table .table-region th { background: var(--c-groove); }
.data-table td:first-child { color: var(--c-text); font-weight: var(--weight-label); }
.data-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.prose > .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }

.platform-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.platform-card { display: grid; justify-items: start; gap: 12px; }
.platform-card .btn { padding-inline: 12px; }
.platform-card svg { box-sizing: content-box; padding: 9px; border-radius: var(--radius-sm); background: var(--gradient-tint); }
.article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.article-card { display: grid; align-content: start; gap: 12px; }
.article-card .badge { justify-self: start; }
.article-card h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.article-card time { color: var(--c-muted); font: 13px var(--font-mono); }
.article-card p { color: var(--c-muted); }
.callout {
  margin-inline: 0; padding: 16px 18px; border-inline-start: 3px solid var(--c-accent);
  border-radius: var(--radius-sm); background: var(--gradient-tint); color: var(--c-text);
}
.promo-block {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: clamp(20px, 4vw, 40px); border-radius: var(--radius-card);
  background: linear-gradient(115deg, var(--c-text), var(--c-text-2)); color: var(--c-white);
  box-shadow: 0 26px 60px -24px var(--shadow-tint-20);
}
.promo-block h2, .promo-block h3 { text-wrap: pretty; }
.promo-block p { max-width: 36em; margin-top: 6px; color: var(--c-on-dark); }
.promo-block .btn { flex-shrink: 0; white-space: nowrap; }
.stats-band { padding-block: 12px; color: var(--c-text-2); background: var(--c-pane); text-align: center; font: var(--weight-label) var(--type-small)/1.6 var(--font-mono); }
.motion-ticker { max-width: 100%; overflow: hidden; padding-block: 10px; }
.motion-ticker__track, .motion-ticker__group { display: flex; flex-wrap: wrap; gap: 8px; }
.motion-ticker[data-running] .motion-ticker__track { width: max-content; flex-wrap: nowrap; gap: 0; }
.motion-ticker[data-running] .motion-ticker__group { flex: none; flex-wrap: nowrap; padding-inline-end: 8px; }

/* Preview samples */
.preview-zone { border-top: 1px solid var(--c-border-soft); }
.preview-stack { display: grid; gap: 24px; min-width: 0; }
.preview-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.preview-type { display: grid; gap: 12px; align-content: start; }
.preview-display { font: var(--weight-display) var(--type-h1)/1.12 var(--font-display); letter-spacing: -.02em; }
.preview-buttons { display: flex; flex-wrap: wrap; align-items: start; gap: 14px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 138px),1fr)); gap: 10px; }
.swatch { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 8px; background: var(--c-panel); border-radius: var(--radius-sm); }
.swatch::before { content: ""; min-height: 38px; border-radius: var(--radius-inset); background: var(--sample); border: 1px solid var(--c-border-soft); }
.swatch figcaption { font: 12px/1.5 var(--font-mono); color: var(--c-muted); }
[data-swatch="bg"] { --sample: var(--c-bg); }
[data-swatch="panel"] { --sample: var(--c-panel); }
[data-swatch="pane"] { --sample: var(--c-pane); }
[data-swatch="groove"] { --sample: var(--c-groove); }
[data-swatch="border"] { --sample: var(--c-border); }
[data-swatch="border-soft"] { --sample: var(--c-border-soft); }
[data-swatch="hero-top"] { --sample: var(--c-hero-top); }
[data-swatch="hero-bottom"] { --sample: var(--c-hero-bottom); }
[data-swatch="accent"] { --sample: var(--c-accent); }
[data-swatch="accent-dark"] { --sample: var(--c-accent-dark); }
[data-swatch="accent-hi"] { --sample: var(--c-accent-hi); }
[data-swatch="accent-soft"] { --sample: var(--c-accent-soft); }
[data-swatch="accent-tint"] { --sample: var(--c-accent-tint); }
[data-swatch="sky"] { --sample: var(--c-sky); }
[data-swatch="sky-hi"] { --sample: var(--c-sky-hi); }
[data-swatch="sky-soft"] { --sample: var(--c-sky-soft); }
[data-swatch="sky-tint"] { --sample: var(--c-sky-tint); }
[data-swatch="text"] { --sample: var(--c-text); }
[data-swatch="text-2"] { --sample: var(--c-text-2); }
[data-swatch="muted"] { --sample: var(--c-muted); }
[data-swatch="success"] { --sample: var(--c-success); }
[data-swatch="success-soft"] { --sample: var(--c-success-soft); }
[data-swatch="warn"] { --sample: var(--c-warn); }
[data-swatch="error"] { --sample: var(--c-error); }
[data-swatch="white"] { --sample: var(--c-white); }
[data-swatch="on-dark"] { --sample: var(--c-on-dark); }
[data-swatch="on-dark-muted"] { --sample: var(--c-on-dark-muted); }
[data-swatch="on-dark-chip"] { --sample: var(--c-on-dark-chip); }
[data-swatch="glow-accent"] { --sample: var(--glow-accent); }
[data-swatch="glow-sky"] { --sample: var(--glow-sky); }
[data-swatch="ink"] { --sample: var(--shadow-ink); }
[data-swatch="ink-strong"] { --sample: var(--shadow-ink-strong); }
[data-swatch="tint-10"] { --sample: var(--shadow-tint-10); }
[data-swatch="tint-12"] { --sample: var(--shadow-tint-12); }
[data-swatch="tint-20"] { --sample: var(--shadow-tint-20); }
[data-swatch="tint-40"] { --sample: var(--shadow-tint-40); }
[data-swatch="sky-14"] { --sample: var(--shadow-sky-14); }
[data-swatch="edge"] { --sample: var(--hl-edge); }
[data-swatch="soft"] { --sample: var(--hl-soft); }
[data-swatch="gloss"] { --sample: var(--hl-gloss); }
[data-swatch="none"] { --sample: var(--hl-none); }
[data-swatch="flag-red"] { --sample: var(--flag-red); }
[data-swatch="flag-navy"] { --sample: var(--flag-navy); }
[data-swatch="flag-white"] { --sample: var(--flag-white); }
[data-swatch="flag-edge"] { --sample: var(--flag-edge); }
[data-swatch="word"] { --sample: var(--gradient-word); }
[data-swatch="action"] { --sample: var(--gradient-action); }
[data-swatch="pair"] { --sample: var(--gradient-pair); }
[data-swatch="tint"] { --sample: var(--gradient-tint); }

@media (max-width: 1190px) {
  .hero__grid { gap: 24px; }
  .win { margin-inline: 18px 22px; }
  .win__body { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .ctrl { padding-inline: 14px; }
  .conn { padding: 12px; gap: 10px; }
  .platforms li, .flags li { gap: 4px; font-size: 12px; }
}
@media (max-width: 960px) {
  .platforms li, .flags li { flex-direction: column; }
  .route { grid-template-columns: 29px minmax(0,1fr) 14px; gap: 6px; padding-inline: 5px; }
  .route__mark { width: 14px; height: 14px; }
  .fact { font-size: 12px; gap: 5px; }
  .fact__ico { width: 24px; height: 24px; }
  .platform-grid { gap: 12px; }
  .platform-card h3 { font-size: 17px; }
}
@media (max-width: 768px) {
  .hero { padding-block: 28px 36px; }
  .hero__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero__title { margin-bottom: 20px; }
  .hero__brand { font-size: 17px; }
  .hero .cta-row { margin-bottom: 20px; }
  .tag, .hero__lede { margin-bottom: 16px; }
  .facts { margin-bottom: 20px; }
  .hero::before { inset-inline: 30% 0; }
  .stage { display: flex; flex-direction: column; align-items: stretch; padding: 14px 10px 12px; isolation: isolate; border-radius: var(--radius-card); overflow-x: clip; background: var(--c-panel); box-shadow: var(--card-shadow); }
  .stage__plate { z-index: -1; }
  .stage__plate--sky { bottom: 0; }
  .win { margin: 0; }
  .float { position: relative; inset: auto; transform: none; max-width: 100%; margin: 8px 0 0; }
  .float--pill { align-self: flex-start; }
  .float--pack { align-self: flex-end; }
  .ctrl { padding-bottom: 18px; }
  .feature-browser { grid-template-columns: minmax(0,1fr); gap: 0; }
  .feature-list { display: contents; }
  .feature-step { order: calc(var(--step,1) * 2); }
  .feature-sheet { grid-column: 1; order: calc(var(--step,1) * 2 + 1); margin-block: 12px; }
  .preview-pair, .article-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .plan-grid, .platform-grid { grid-template-columns: minmax(0,1fr); }
  .platform-card { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; }
  .platform-card h3 { font-size: 15px; }
  .table-scroll { padding: 8px; }
  .data-table, .prose > .data-table { display: block; width: 100%; min-width: 0; }
  .data-table caption, .data-table tbody, .data-table tr { display: block; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table tr { margin-bottom: 8px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--c-pane); }
  .data-table tbody:last-child tr:last-child { margin-bottom: 0; }
  .data-table td {
    display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); align-items: baseline; gap: 10px;
    padding: 7px 0; overflow-wrap: anywhere; word-break: normal;
  }
  .data-table td::before { content: attr(data-label); font-size: 13px; font-weight: var(--weight-strong); color: var(--c-text); }
  .data-table .table-region th { display: block; white-space: normal; border: 0; border-radius: var(--radius-inset); padding: 7px 10px; }
  .data-table tbody:last-child tr:last-child > td:not(:last-child) { border-bottom: 1px solid var(--c-border-soft); }
}
@media (max-width: 480px) {
  .win__body { grid-template-columns: minmax(0,1fr); }
  .routes { border-right: 0; border-bottom: 1px solid var(--c-border-soft); }
  .ctrl { gap: 12px; }
  .hero .btn { padding-inline: 16px; }
  .platforms, .flags { gap: 2px; }
  .platforms li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__plate, .switch__off, .switch__knob, .pulse::after, .feature-step[aria-selected="true"]::after { animation: none; }
}