/* 1wallet.com stylesheet. System fonts only, light first with prefers-color-scheme: dark, no external resources.
   Visual system of the 2026-11-28 redesign, the same as the app's: a quiet page (#F4F6FA / #0B1019) with white cards, capsule buttons,
   round icon wells in the soft accent, amber for caution and red only for risk. The signature surface is the app's balance card: a
   blue gradient with the key-shaped 1 as a faint watermark (home hero illustration and the closing panel).
   Colours are the app's tokens: --brand = accent.base, --brand-strong = accent.pressed, --link and --info-ink = accent.text,
   --soft and --info-bg = accent.soft (packages/ui/src/tokens/colors.ts). Text contrast is measured, not guessed (README "设计"):
   --ink-3 is for large numerals and decoration only, never for body text. */

:root {
  --brand: #1d5cf2;
  --brand-strong: #1a4bde;
  --brand-ink: #ffffff;
  --link: #1a4bde;
  --page: #f4f6fa;
  --band: #f4f6fa;
  --card: #ffffff;
  --raised: #ffffff;
  --ink: #0b1b33;
  --ink-2: #506079;
  --ink-3: #8795ac;
  --line: #e3e9f2;
  --soft: #e8f1ff;
  --soft-strong: #dae6ff;
  --stage: #eef2f8;
  --stage-top: #f6f8fc;
  --mask: #cbd5e1;
  --soft-hover: #cbdcff;
  --chip: #eaeef5;
  --info-bg: #e8f1ff;
  --info-ink: #1a4bde;
  --ok-bg: #ecfdf3;
  --ok-ink: #067a55;
  --warn-bg: #fffaeb;
  --warn-ink: #b54708;
  --warn-line: #fde3a7;
  --info-line: #d6e2fd;
  --ok-line: #c6efd9;
  --danger-ink: #b42318;
  --danger-bg: #fef3f2;
  --danger-line: #fbd5d1;
  --wordmark: #0b1b33;
  --hero-top: #ffffff;
  --hero-bottom: #e6eefb;
  --glow: rgba(58, 92, 245, 0.16);
  --header-bg: rgba(255, 255, 255, 0.78);
  --shadow-card: 0 1px 2px rgba(11, 27, 51, 0.04), 0 2px 8px rgba(11, 27, 51, 0.03);
  --shadow-pop: 0 2px 6px rgba(11, 27, 51, 0.06), 0 18px 48px rgba(11, 27, 51, 0.14);
  --edge: transparent;
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --track-display: -0.026em;
  --track-h2: -0.022em;
  --track-h3: -0.012em;
  --lh-display: 1.04;
  --lh-h2: 1.1;
  /* the app inside the illustrations (prototype Theme.swift) */
  --app-page: #f4f6fa;
  --app-card: #ffffff;
  --app-sheet: #ffffff;
  --app-ink: #0b1b33;
  --app-ink-2: #506079;
  --app-line: #e3e9f2;
  --app-well: #e8f1ff;
  --app-accent: #1a4bde;
  --app-chip: #e9edf4;
  --app-seg-on: #ffffff;
  --app-tab: #1a4bde;
  --app-glass: rgba(255, 255, 255, 0.82);
  --app-glass-line: rgba(11, 27, 51, 0.08);
  --app-dim: rgba(11, 27, 51, 0.22);
  --app-hl: #e8f1ff;
  --app-sk: #e3e9f2;
  --app-close: #ffffff;
  --app-close-line: #e3e7ee;
  --app-grab: #d0d5dd;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #1d5cf2;
    --brand-strong: #1a4bde;
    --link: #8fb2ff;
    --page: #0b1019;
    --band: #0b1019;
    --card: #171f33;
    --raised: #1b2439;
    --ink: #f2f5fb;
    --ink-2: #a9b4cc;
    --ink-3: #6c7892;
    --line: #243150;
    --soft: #1e2f55;
    --soft-strong: #1e2f55;
    --stage: #111827;
    --stage-top: #16203a;
    --mask: #334155;
    --soft-hover: #273a66;
    --chip: #222b40;
    --info-bg: #1e2f55;
    --info-ink: #8fb2ff;
    --ok-bg: #0e2a1e;
    --ok-ink: #3ccb8f;
    --warn-bg: #2a1f08;
    --warn-ink: #fdb022;
    --warn-line: #4d3810;
    --info-line: #2a3d6a;
    --ok-line: #1a4a34;
    --danger-ink: #ff6b5e;
    --danger-bg: #2a1210;
    --danger-line: #4f211c;
    --wordmark: #ffffff;
    --hero-top: #101827;
    --hero-bottom: #0b1019;
    --glow: rgba(58, 92, 245, 0.28);
    --header-bg: rgba(11, 16, 25, 0.76);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-pop: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 48px rgba(0, 0, 0, 0.45);
    --edge: rgba(255, 255, 255, 0.05);
    --app-page: #0b1019;
    --app-card: #171f33;
    --app-sheet: #172036;
    --app-ink: #f2f5fb;
    --app-ink-2: #a9b4cc;
    --app-line: #243150;
    --app-well: #1e2f55;
    --app-accent: #8fb2ff;
    --app-chip: #263049;
    --app-seg-on: #3d4964;
    --app-tab: #6aa5ff;
    --app-glass: rgba(28, 36, 54, 0.86);
    --app-glass-line: rgba(255, 255, 255, 0.1);
    --app-dim: rgba(0, 0, 0, 0.5);
    --app-hl: #26375f;
    --app-sk: #1c2436;
    --app-close: #26314c;
    --app-close-line: rgba(255, 255, 255, 0.08);
    --app-grab: #3a4560;
  }
}

/* ------------------------------------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Language-specific system fonts. An element with its own lang (notice pages, the language menu) picks its own. */
:lang(zh-Hans) {
  /* the Chinese font first: quotes and punctuation shared with Latin (“ ” ：) take its full-width forms */
  --font: "PingFang SC", -apple-system, BlinkMacSystemFont, "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
}
:lang(zh-Hant) {
  --font: "PingFang TC", -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", system-ui, sans-serif;
}
:lang(ja) {
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", system-ui, sans-serif;
  line-break: strict;
  /* break between phrases, not inside a word (Chromium; elsewhere the normal Japanese line breaking applies), and inside a word
     only when nothing else fits a narrow column */
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
:lang(ko) {
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all;
}
/* CJK glyphs fill the em box: no negative tracking, a little more leading */
:lang(zh),
:lang(ja),
:lang(ko) {
  --track-display: -0.01em;
  --track-h2: -0.005em;
  --track-h3: 0;
  --lh-display: 1.2;
  --lh-h2: 1.25;
}
[lang] {
  font-family: var(--font);
}
/* Hiragino's bold is a weight heavier than PingFang's and SF's: one step lighter keeps headings even across languages */
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  font-weight: 600;
}
p,
li,
dd,
figcaption {
  text-wrap: pretty;
}
.nowrap {
  white-space: nowrap;
}
/* Latin runs inside CJK text (hyphenated names, dates): the Latin font, whose hyphen is a hyphen */
.latin {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, var(--font);
}
.faq-item summary > span,
.facts dt,
.contact-label,
.link-rows strong,
.notice-h1-zh {
  text-wrap: balance;
}
:lang(zh),
:lang(ja) {
  text-spacing-trim: trim-start;
}
.cta p {
  text-wrap: balance;
}
/* In Chromium, balanced wrapping drops Japanese phrase breaking (署名方 / 式); Japanese takes "pretty" there instead */
:lang(ja) :is(.cta p, .ex-banner > span, figcaption, .hero-copy .lead, .status-note, .toc a, .faq-item summary > span, .facts dt, .contact-label, .link-rows strong) {
  text-wrap: pretty;
}

svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}
/* --brand is 2.43:1 on the dark --soft surface and 3.51:1 on the dark page; --link is 6.27:1 and 9.05:1 (a focus indicator needs 3:1) */
@media (prefers-color-scheme: dark) {
  :focus-visible {
    outline-color: var(--link);
  }
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
}
h2 {
  font-size: clamp(1.875rem, 1.35rem + 2vw, 2.875rem);
  line-height: var(--lh-h2);
  letter-spacing: var(--track-h2);
}
h3 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: var(--track-h3);
  font-weight: 650;
}
.phrase {
  display: inline-block;
  /* a phrase that has to wrap fills its first line ("Clear on every / signature.") */
  text-wrap: wrap;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
strong {
  font-weight: 650;
  color: var(--ink);
}
ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

main:focus {
  outline: none;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.icon-sm {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------------------------------------ buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover {
  background: var(--brand-strong);
}
.button:active {
  transform: scale(0.98);
}
.button-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1.0625rem;
}
/* the app's secondary button: soft accent fill, accent text (a step stronger than --soft so it reads on the hero gradient) */
.button-soft {
  background: var(--soft-strong);
  color: var(--link);
}
.button-soft:hover {
  background: var(--soft-hover);
}
/* on the blue panel: white capsule, and the balance card's translucent navy capsule */
.button-light {
  background: #ffffff;
  color: #1a4bde;
}
.button-light:hover {
  background: #eef3ff;
}
.button-glass {
  background: rgba(3, 26, 112, 0.34);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.button-glass:hover {
  background: rgba(3, 26, 112, 0.5);
}

.more {
  margin: 28px 0 0;
  font-weight: 600;
}
.more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.more a:hover span,
.more a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.more .icon {
  transition: transform 0.15s ease;
}
.more a:hover .icon {
  transform: translateX(3px);
}
.more-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

/* Lockup proportions from packages/ui/brand/kit/1wallet-lockup-on-light.svg (mark 160, wordmark 278.76 × 67.2 at x 192, y 56.4) */
.brand {
  --m: 34px;
  display: inline-flex;
  align-items: flex-start;
  flex: none;
  color: var(--wordmark);
  text-decoration: none;
  border-radius: 10px;
}
.brand .mark {
  width: var(--m);
  height: var(--m);
}
.brand .wordmark {
  width: calc(var(--m) * 278.76 / 160);
  height: calc(var(--m) * 67.2 / 160);
  margin: calc(var(--m) * 56.4 / 160) 0 0 calc(var(--m) * 32 / 160);
}

.nav-desktop ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-desktop a,
.menu-panel a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-desktop a:hover,
.menu-panel a:hover {
  color: var(--ink);
  background: var(--chip);
}
.nav-desktop a[aria-current="page"],
.menu-panel a[aria-current="page"],
.menu-panel a[aria-current="true"] {
  color: var(--ink);
  background: var(--chip);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.menu {
  position: relative;
}
.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  background: var(--chip);
  transition: background-color 0.15s ease;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary:hover {
  background: color-mix(in srgb, var(--chip) 80%, var(--ink) 8%);
}
.menu summary .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-2);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  border-radius: 20px;
  background: var(--raised);
  box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--edge);
  list-style: none;
}
.menu-panel ul {
  list-style: none;
}
.menu-panel a {
  padding: 10px 14px;
  font-size: 1rem;
}
.nav-mobile {
  display: none;
}

@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  .lang-menu .lang-name {
    display: none;
  }
  .lang-menu summary {
    padding: 0 11px;
  }
}

/* ------------------------------------------------------------------------------------------------ sections */

.section {
  padding: clamp(48px, 5.6vw, 80px) 0;
}
.section-first {
  padding-top: clamp(40px, 5vw, 64px);
}
.section-band {
  background: var(--band);
  overflow: hidden;
  overflow: clip;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 {
  margin-bottom: 0;
}
.section-intro {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
}
.lead {
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* status capsules: one style everywhere (white capsule, hairline, a dot that says which status) */
.tag,
.badge,
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}
.tag-dot,
.badge .dot,
.badge-inline::before {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.badge-inline::before {
  content: "";
}
/* "In the beta" is not "available": the accent, like the launch badge, not green */
.tag-beta .tag-dot {
  background: var(--brand);
}
.tag-soon .tag-dot {
  background: var(--ink-3);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink-3) 18%, transparent);
}

/* round icon wells, as on the app's action row */
.well {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--link);
}
.well .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
.well-sm {
  width: 40px;
  height: 40px;
}
.well-sm .icon {
  width: 20px;
  height: 20px;
}

/* tiles: white cards with a well (four ideas, principles) */
.tiles {
  display: grid;
  gap: 24px;
  list-style: none;
}
.tiles-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
}
.tile .well {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
}
.tile .well .icon {
  width: 26px;
  height: 26px;
}
.tile h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: var(--track-h2);
  margin-bottom: 10px;
}
.tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 56ch;
}
/* tiles with an excerpt of the app on a quiet stage */
.tile-visual {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.tile-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(120% 90% at 50% 0%, var(--stage-top), var(--stage) 70%);
}
.tile-visual .tile-text {
  padding: 28px 32px 32px;
}
@media (max-width: 680px) {
  .tile-stage {
    height: 264px;
  }
  .tile-visual .tile-text {
    padding: 24px;
  }
}
.tiles-compact .tile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
}
.tiles-compact .tile .well {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}
.tiles-compact .tile .well .icon {
  width: 20px;
  height: 20px;
}
.tiles-compact .tile h3 {
  margin: 8px 0 4px;
  font-size: 1.125rem;
}

/* panel: one white card holding a grid of cells separated by hairlines (an app grouped list, laid out wide) */
.panel {
  display: grid;
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  overflow: hidden;
}
.panel-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.panel-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* coming soon: the same cells, wells in neutral grey (not yet available) */
.panel-soon .cell-icon {
  background: var(--chip);
  color: var(--ink-2);
}
.cell {
  display: flex;
  gap: 16px;
  padding: 32px;
  /* hairlines between cells: each cell draws its left and bottom edge, the panel clips the outer ones; the line above a short
     last row comes from the full row above it, so it runs the whole width */
  box-shadow: -1px 0 0 0 var(--line), 0 1px 0 0 var(--line);
}
.cell-icon {
  color: var(--link);
}
.cell h3 {
  margin: 8px 0 6px;
  font-size: 1.0625rem;
}
.cell p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}
.group-title {
  margin: 48px 0 16px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:lang(zh) .group-title,
:lang(ja) .group-title,
:lang(ko) .group-title {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.section-head + .group-title {
  margin-top: 0;
}

.note {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.note p {
  margin-bottom: 0.4em;
}
.meta {
  color: var(--ink-2);
  font-size: 0.875rem;
}

@media (max-width: 1000px) {
  .panel-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .tiles-2,
  .panel-3,
  .panel-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell {
    padding: 24px;
  }
}

/* ------------------------------------------------------------------------------------------------ home hero */
/* Centred: the headline gets the full width (two lines in English at desktop sizes), the phone stands below it in the light of the
   welcome screen. */

.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(32px, 4.5vw, 64px) 0 clamp(32px, 4vw, 48px);
  /* ends in the colour of the band below it: no seam */
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 60%, var(--band) 100%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.25rem);
}
:lang(zh) .hero-copy h1,
:lang(ja) .hero-copy h1,
:lang(ko) .hero-copy h1 {
  font-size: clamp(2.375rem, 1.3rem + 3.8vw, 4.5rem);
}
.hero-copy .lead {
  max-width: 34em;
  margin: 0 0 36px;
  text-wrap: balance;
}
.hero-copy .actions {
  justify-content: center;
}
.hero-copy .badge {
  margin-bottom: 28px;
  font-size: 0.9375rem;
}
.status-note {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: balance;
}
.status-note .icon {
  display: inline-block;
  margin: 0 6px 0 0;
  vertical-align: -3px;
}
.status-note span {
  display: inline;
}

.hero-figure {
  margin: clamp(48px, 6vw, 80px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-figure figcaption,
.split-figure figcaption {
  text-wrap: balance;
  max-width: 340px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}
.hero-stage {
  --s: 0.82;
  position: relative;
}
/* the glow of the welcome screen behind the phone */
.hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-stage {
    --s: 0.76;
  }
}
@media (max-width: 560px) {
  .hero-copy {
    align-items: stretch;
  }
  .hero-copy .badge {
    align-self: center;
  }
  .hero-copy .actions .button {
    flex: 1 1 100%;
  }
  .hero-stage {
    --s: 0.7;
  }
}
@media (max-width: 380px) {
  .hero-stage {
    --s: 0.64;
  }
}

/* ------------------------------------------------------------------------------------------------ home: security summary */

/* One two-column grid for every split section (equal halves, 24 px gutter), so second columns line up down the page. */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "fig head" "fig body";
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  align-items: start;
}
.split-head {
  grid-area: head;
  padding-left: clamp(0px, 4vw, 56px);
}
.split-body {
  grid-area: body;
  padding-left: clamp(0px, 4vw, 56px);
}
.split-figure {
  --s: 1.1;
  grid-area: fig;
  align-self: center;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.split-head .section-intro {
  margin-bottom: 40px;
}
.points {
  display: grid;
  gap: 28px;
  list-style: none;
}
.points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.points .well {
  width: 40px;
  height: 40px;
}
.points .well .icon {
  width: 20px;
  height: 20px;
}
.points h3 {
  margin: 7px 0 4px;
  font-size: 1.125rem;
}
.points p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "fig" "body";
    grid-template-rows: auto;
  }
  .split-head,
  .split-body {
    padding-left: 0;
  }
  .split-head .section-intro {
    margin-bottom: 0;
  }
  .split-figure {
    margin: 40px 0 48px;
  }
}
@media (max-width: 1100px) {
  .split-figure {
    --s: 1;
  }
}
@media (max-width: 560px) {
  .split-figure {
    --s: 0.88;
  }
}
@media (max-width: 380px) {
  .split-figure {
    --s: 0.8;
  }
}

/* ------------------------------------------------------------------------------------------------ FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  align-items: start;
}
.faq-layout .section-head {
  margin-bottom: 0;
}
.faq-layout .more {
  margin-top: 20px;
}
.faq {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  overflow: hidden;
}
.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--link);
}
.faq-item summary:focus-visible {
  outline-offset: -3px;
  border-radius: 0;
}
.faq-sign {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--link);
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-sign {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 28px 24px;
  color: var(--ink-2);
}
.faq-answer p {
  margin: 0;
  max-width: 62ch;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .faq-item summary {
    padding: 20px;
  }
  .faq-answer {
    padding: 0 20px 22px;
  }
}

/* ------------------------------------------------------------------------------------------------ closing panel (the balance card, large) */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px);
  border-radius: clamp(28px, 3vw, 36px);
  color: #ffffff;
  /* prototype BalanceCard: cyan light from the top left, violet from the bottom right, over a three-stop blue */
  /* lighter than the card in the app at the top left would put the body text below 4.5:1 (measured), so the cyan light stays in the
     corner and the top stop is the accent itself */
  background:
    radial-gradient(32% 48% at 0% 0%, rgba(107, 220, 255, 0.26), rgba(107, 220, 255, 0) 100%),
    radial-gradient(60% 90% at 100% 110%, rgba(124, 59, 255, 0.55), rgba(124, 59, 255, 0) 70%),
    linear-gradient(180deg, #1f62f4 0%, #1d5cf2 45%, #2b2fd8 100%);
  box-shadow: 0 16px 40px -24px rgba(11, 60, 176, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.cta-watermark {
  position: absolute;
  right: 6%;
  bottom: -18%;
  z-index: -1;
  height: 104%;
  width: auto;
  color: #ffffff;
  opacity: 0.09;
}
@media (max-width: 640px) {
  .cta-watermark {
    right: -6%;
    bottom: -16%;
    height: 62%;
    opacity: 0.08;
  }
  .cta .actions .button {
    flex: 1 1 100%;
  }
}
.cta h2 {
  max-width: 16em;
  margin: 0 0 16px;
  color: #ffffff;
}
.cta p {
  max-width: 34em;
  margin: 0 0 36px;
  color: #ffffff;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
}
.cta :focus-visible {
  outline-color: #ffffff;
}

/* ------------------------------------------------------------------------------------------------ inner pages */

.page-head {
  padding: clamp(56px, 8vw, 112px) 0 clamp(8px, 2vw, 24px);
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--page) 100%);
}
.page-head-inner {
  max-width: 820px;
}
.page-head h1 {
  margin-bottom: 20px;
}
.page-head .lead {
  margin: 0;
  max-width: 40em;
}
.page-head .lead + .lead {
  margin-top: 12px;
}
/* page head with an illustration on the right (security) */
.page-head-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.page-head-figure {
  --s: 1.04;
  justify-self: end;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-head-figure figcaption {
  max-width: 340px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 900px) {
  .page-head-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-head-figure {
    justify-self: center;
    margin-top: 40px;
  }
}
@media (max-width: 400px) {
  .page-head-figure {
    --s: 0.82;
  }
}
/* features: the top of the phone rises out of the bottom of the page head */
.page-head-peek {
  padding-bottom: 0;
}
.page-head-peek .page-head-grid {
  align-items: end;
}
.page-head-peek .page-head-inner {
  align-self: center;
  padding-bottom: clamp(24px, 4vw, 56px);
}
.page-head-peek .page-head-figure {
  --s: 0.72;
}
.peek {
  position: relative;
  height: calc(620px * var(--s));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 110px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 110px), transparent);
}
.page-head-peek figcaption {
  display: none;
}
@media (max-width: 900px) {
  .page-head-peek .page-head-figure {
    --s: 0.66;
    margin-top: 32px;
  }
}
/* download: the app icon as it will appear in the stores */
.page-head-icon .page-head-figure {
  justify-self: end;
}
.app-icon {
  position: relative;
  display: block;
  width: clamp(128px, 14vw, 200px);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 36px rgba(16, 42, 110, 0.18)) drop-shadow(0 2px 4px rgba(11, 27, 51, 0.08));
}
.app-icon svg {
  width: 100%;
  height: 100%;
}
.app-icon-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .app-icon-light {
    display: none;
  }
  .app-icon-dark {
    display: block;
  }
  .app-icon {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.22)) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  }
}
@media (max-width: 900px) {
  .page-head-icon .page-head-figure {
    justify-self: start;
    margin-top: 32px;
  }
}

.crumb {
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.crumb a:hover span {
  text-decoration: underline;
}

/* document pages: sticky contents on the left, cards on the right */
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
}
.toc-title {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
:lang(zh) .toc-title,
:lang(ja) .toc-title,
:lang(ko) .toc-title {
  letter-spacing: 0;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
  margin-left: -12px;
}
.toc a {
  display: flex;
  gap: 12px;
  text-wrap: balance;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
  background: var(--chip);
}
.toc-num {
  flex: none;
  min-width: 1.5em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.doc-body,
.doc-narrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.doc-narrow {
  max-width: 820px;
}
.doc-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
}
.doc-card h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  letter-spacing: var(--track-h2);
}
.doc-num {
  flex: none;
  color: var(--ink-3);
  font-size: 0.6em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.doc-card > p {
  max-width: 68ch;
}
.doc-card > p:last-child {
  margin-bottom: 0;
}
.doc-card h3 {
  margin-top: 28px;
}
/* rows: list items as short paragraphs with a small accent dot, no rules (a reading page, not a settings table) */
.rows {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0 0 1em;
}
.rows:last-child {
  margin-bottom: 0;
}
.rows li {
  position: relative;
  max-width: 64ch;
  padding-left: 22px;
}
.rows li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(0.8em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.rows li strong {
  color: var(--ink);
}
/* items with a bold lead-in: the term in its own column */
.rows-terms {
  gap: 0;
}
.rows-terms li {
  display: grid;
  grid-template-columns: minmax(0, 13em) minmax(0, 1fr);
  gap: 4px 24px;
  max-width: none;
  padding: 16px 0;
}
.rows-terms li::before {
  display: none;
}
.rows-terms li + li {
  border-top: 1px solid var(--line);
}
.rows-terms li:first-child {
  padding-top: 0;
}
.rows-terms li:last-child {
  padding-bottom: 0;
}
.rows-terms span {
  max-width: 60ch;
}
@media (max-width: 640px) {
  .rows-terms li {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* what stays in your hands: the reader's part, on the soft accent */
.doc-card-note {
  background: var(--soft);
  box-shadow: none;
}
.doc-card-note .doc-num {
  color: var(--link);
}
.doc-card-note .rows li::before {
  background: var(--link);
}

.doc-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin: 4px 0 28px;
}
@media (max-width: 640px) {
  .doc-visuals {
    grid-template-columns: minmax(0, 1fr);
  }
}
.doc-card-mission .statement {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.doc-group {
  margin: 20px 0;
}
.group-heading {
  margin: 0 0 16px;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
}

@media (max-width: 1000px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  }
  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-card h2 {
    flex-direction: column;
    gap: 6px;
  }
  .doc-num {
    transform: none;
    font-size: 0.9375rem;
  }
}

/* main column + a side column that stays in view (download, about, legal, notices) */
.doc-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.doc-main,
.doc-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.doc-aside {
  position: sticky;
  top: 96px;
}
.doc-card-side {
  padding: 28px;
}
.doc-card-side h2,
.doc-aside .callout h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.doc-card-side .rows {
  gap: 8px;
}
.doc-card-side .facts > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 12px 0;
}
.doc-group-first {
  margin-top: 0;
}
@media (max-width: 1000px) {
  .doc-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-aside {
    position: static;
  }
}

/* the FAQ heading travels with a long list */
.section-head-sticky {
  position: sticky;
  top: 96px;
}
.page-support .faq-layout h2 {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2rem);
  line-height: 1.15;
}
@media (max-width: 900px) {
  .section-head-sticky {
    position: static;
  }
}

/* key facts (company, download verification) */
.facts {
  display: grid;
  margin: 8px 0 0;
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 8px 24px;
  padding: 16px 0;
}
.facts > div + div {
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.facts dd {
  margin: 0;
  font-weight: 500;
}
.facts .address {
  font-weight: 500;
}
@media (max-width: 560px) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* callouts: one pattern everywhere (40 px well on the left, title, text). info = soft accent, ok = green, warn = amber;
   red is reserved for risk. */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--callout-line);
}
.callout > .well {
  width: 40px;
  height: 40px;
  flex: none;
}
.callout > .well .icon {
  width: 20px;
  height: 20px;
}
.callout > div {
  min-width: 0;
  padding-top: 7px;
}
.callout h2 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: var(--track-h3);
}
.callout p {
  margin: 0;
}
.callout p + p {
  margin-top: 12px;
}
.callout .rows {
  margin-top: 10px;
}
.callout-info {
  --callout-line: var(--info-line);
  background: var(--info-bg);
}
.callout-info > .well {
  background: var(--card);
}
.callout-ok {
  --callout-line: var(--ok-line);
  background: var(--ok-bg);
}
.callout-ok > .well {
  background: color-mix(in srgb, var(--ok-ink) 14%, var(--ok-bg));
  color: var(--ok-ink);
}
.callout-warn {
  --callout-line: var(--warn-line);
  background: var(--warn-bg);
}
.callout-warn > .well {
  background: color-mix(in srgb, var(--warn-ink) 14%, var(--warn-bg));
  color: var(--warn-ink);
}
.callout-warn .rows li {
  color: var(--ink);
}
.callout-warn .rows li::before {
  background: var(--warn-ink);
}
@media (max-width: 560px) {
  .callout {
    padding: 20px;
    gap: 14px;
  }
}

/* contact rows */
.stack {
  display: grid;
  gap: 16px;
}
.contact-list {
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  overflow: hidden;
}
.doc-card .contact-list {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}
.doc-card .contact-list li {
  padding: 14px 0;
}
.contact-list li + li {
  border-top: 1px solid var(--line);
}
.contact-list .well {
  width: 40px;
  height: 40px;
}
.contact-list .well .icon {
  width: 20px;
  height: 20px;
}
.contact-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.contact-label {
  color: var(--ink-2);
  font-size: 0.875rem;
}
.contact-list a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* notice list rows */
.link-rows {
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  overflow: hidden;
}
.link-rows li + li {
  border-top: 1px solid var(--line);
}
.link-rows a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  color: var(--ink);
  text-decoration: none;
}
.link-rows a:hover {
  background: color-mix(in srgb, var(--chip) 60%, transparent);
}
.link-rows a:focus-visible {
  outline-offset: -3px;
  border-radius: 0;
}
.link-rows a > span:not(.well) {
  display: grid;
  gap: 2px;
  flex: 1;
}
.link-rows a > span > span {
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.link-rows .well {
  width: 40px;
  height: 40px;
}
.link-rows .well .icon {
  width: 20px;
  height: 20px;
}
.link-chev {
  color: var(--ink-3);
}

/* bilingual notice pages */
.notice-h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3rem);
}
.notice-h1-zh {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  letter-spacing: 0;
}
.crumb-zh {
  margin-left: 14px;
}
.page-head-notice .crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.lang-jump {
  margin: 16px 0 0;
  font-weight: 600;
}
/* "Chinese version below" is true only where the two versions stack */
@media (min-width: 1001px) {
  .lang-jump {
    display: none;
  }
}
.page-head .meta {
  margin: 20px 0 0;
}
.notice-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
@media (max-width: 1000px) {
  .notice-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
.notice-part {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
}
.notice-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.375rem;
}
.notice-lang {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.notice-part .callout {
  margin-bottom: 20px;
}
.notice-part h3 {
  margin-top: 28px;
}
.bulletins {
  list-style: none;
  margin-bottom: 1em;
}
.bulletins li + li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* 404 */
.page-head-404 {
  padding-bottom: clamp(72px, 10vw, 140px);
}
.code-404 {
  margin: 0 0 8px;
  color: var(--link);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.page-head-404 .page-head-inner {
  max-width: none;
}
.page-head-404 .lead {
  max-width: 40em;
  text-wrap: balance;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  list-style: none;
}
@media (max-width: 560px) {
  .lang-list {
    flex-direction: column;
  }
  .lang-list a {
    width: 100%;
    min-height: 52px;
  }
}
.lang-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}
.lang-list a:hover {
  color: var(--link);
}

/* ------------------------------------------------------------------------------------------------ footer */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 40px;
  border-top: 1px solid var(--line);
  background: var(--page);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
}
.footer-about .brand {
  --m: 40px;
  margin-bottom: 20px;
}
.footer-about p {
  max-width: 30em;
  color: var(--ink-2);
}
.footer-about .badge-inline {
  margin: 4px 0 0;
  font-size: 0.8125rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0;
}
.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-nav a,
.footer-bottom a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.875rem;
}
.footer-bottom p {
  margin: 0;
}
.translation-note {
  margin-top: 8px !important;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}
.footer-bottom a,
.footer-nav a {
  white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------ small phones */
/* At 480 px and below every pixel of measure counts: tighter margins and padding, body text one step down. */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
    line-height: 1.55;
  }
  .doc-card,
  .notice-part {
    padding: 24px 20px;
  }
  .rows li {
    padding-left: 16px;
  }
  .rows li::before {
    left: 0;
  }
  .tile-visual .tile-text {
    padding: 22px 20px 24px;
  }
  .well {
    width: 40px;
    height: 40px;
  }
  .well .icon {
    width: 20px;
    height: 20px;
  }
  .hero-copy h1 {
    font-size: clamp(2.375rem, 9.6vw, 2.75rem);
  }
}

/* ------------------------------------------------------------------------------------------------ app illustrations (src/phone.mjs) */
/* Laid out at the real screen size (402 × 874 pt as px) and scaled as one piece: --s on an ancestor sets the scale. */

.fit {
  position: relative;
  width: calc(var(--w) * var(--s));
  height: calc(var(--h) * var(--s));
  flex: none;
}
.fit-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  transform: scale(var(--s));
  transform-origin: 0 0;
}
.fit-phone {
  --w: 426px;
  --h: 898px;
}
.fit-card {
  --w: 386px;
  --h: 500px;
}
.device {
  padding: 12px;
  border-radius: 66px;
  background: linear-gradient(160deg, #3a4254 0%, #1b202b 38%, #12161e 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 5px #0c0f15,
    0 2px 4px rgba(11, 27, 51, 0.08),
    0 40px 80px -24px rgba(16, 42, 110, 0.38),
    0 24px 48px -28px rgba(0, 0, 0, 0.35);
}
.device-screen {
  position: relative;
  width: 402px;
  height: 874px;
  overflow: hidden;
  border-radius: 54px;
  background: var(--app-page);
  color: var(--app-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.app,
.app * {
  box-sizing: border-box;
}
.app,
.ex {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", var(--font);
}
.app {
  color: var(--app-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}
.device-screen > .app {
  position: absolute;
  inset: 0;
  padding: 0 16px;
}
.app b {
  font-weight: 600;
}
.app small {
  display: block;
  font-size: 13px;
  color: var(--app-ink-2);
}
.app .g {
  width: 1em;
  height: 1em;
  flex: none;
}
.app-mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0;
}

.app-status {
  position: relative;
  height: 54px;
  margin: 0 -16px;
  padding: 0 34px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-time {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-top: 4px;
}
.app-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 18px;
  background: #000000;
}
.app-sys {
  width: 78px;
  height: 14px;
  margin-top: 4px;
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin-top: 4px;
}
.app-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 8px;
  border-radius: 22px;
  background: var(--app-glass);
  box-shadow: inset 0 0 0 1px var(--app-glass-line), 0 2px 10px rgba(11, 27, 51, 0.06);
  font-size: 16px;
  font-weight: 600;
}
.app-chev {
  font-size: 11px;
  color: var(--app-ink-2);
}
.app-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(160deg, #3d86ff, #1d5cf2);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.app-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--app-glass);
  box-shadow: inset 0 0 0 1px var(--app-glass-line), 0 2px 10px rgba(11, 27, 51, 0.06);
  font-size: 22px;
}

/* the balance card: the app's signature surface */
.app-balance {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 10px;
  padding: 20px;
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(250px circle at 6% 0%, rgba(107, 220, 255, 0.5), rgba(107, 220, 255, 0)),
    radial-gradient(230px circle at 100% 105%, rgba(124, 59, 255, 0.55), rgba(124, 59, 255, 0)),
    linear-gradient(180deg, #2f8cff 0%, #1d5cf2 50%, #2b2fd8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 28px rgba(11, 60, 176, 0.28);
}
.app-watermark {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: -1;
  height: 150px;
  width: 96px;
  margin-top: -39px;
  color: #ffffff;
  opacity: 0.14;
}
.app-balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
}
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 13px;
  background: rgba(3, 26, 112, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
}
.app-pill .g {
  font-size: 13px;
}
.app-amount {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.app-amount span {
  color: rgba(230, 237, 255, 0.92);
}
.app-address {
  height: 28px;
  margin-top: 14px;
  padding: 0 11px;
  gap: 7px;
  font-size: 13px;
}

.app-card {
  border-radius: 26px;
  background: var(--app-card);
}
.app-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  padding: 14px 20px 12px;
}
.app-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 72px;
  font-size: 13px;
  font-weight: 500;
}
.app-well {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--app-well);
  color: var(--app-accent);
  font-size: 22px;
}

.app-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.app-seg {
  display: inline-flex;
  width: 148px;
  height: 32px;
  padding: 2px;
  border-radius: 16px;
  background: var(--app-chip);
  font-size: 13px;
  font-weight: 500;
}
.app-seg > span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  white-space: nowrap;
}
.app-seg-on {
  background: var(--app-seg-on);
  box-shadow: 0 1px 3px rgba(11, 27, 51, 0.12);
  font-weight: 600;
}
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 13px;
  border-radius: 16px;
  background: var(--app-card);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.app-chip .g {
  font-size: 11px;
  color: var(--app-ink-2);
}

.app-list {
  margin-top: 16px;
  overflow: hidden;
}
.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 16px;
}
.app-row {
  position: relative;
}
.app-row + .app-row::before {
  content: "";
  position: absolute;
  left: 68px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--app-line);
}
.app-row-main {
  flex: 1;
  min-width: 0;
}
.app-row-end {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.app-row b {
  display: block;
  font-size: 17px;
}
.app-coin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  flex: none;
}
.app-coin .g {
  width: 24px;
  height: 24px;
}
.app-coin-eth {
  background: #e9edf8;
  color: #4f5fa8;
}
.app-coin-usdc {
  background: #2775ca;
}
.app-coin-arb {
  background: #213147;
  color: #9dccf4;
  box-shadow: inset 0 0 0 1.5px rgba(157, 204, 244, 0.35);
}
.app-coin-bnb {
  background: #f3ba2f;
}
.app-coin-bnb .g {
  width: 28px;
  height: 28px;
}
.app-coin-pol {
  background: #7b3fe4;
}
.app-coin-base {
  background: #0052ff;
}
.app-coin-base .g {
  width: 40px;
  height: 40px;
}
.app-coin-all,
.app-coin-add {
  background: var(--app-well);
  color: var(--app-accent);
}
.app-coin-all .g,
.app-coin-add .g {
  width: 20px;
  height: 20px;
}
.app-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: inline-flex;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 0 0 2px var(--app-card);
  overflow: hidden;
}
.app-badge svg {
  width: 17px;
  height: 17px;
}
@media (prefers-color-scheme: dark) {
  .app-coin-eth {
    background: #2a3450;
    color: #c3ccf5;
  }
}

.app-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  background: linear-gradient(180deg, transparent, var(--app-page) 70%);
}
.app-tabbar {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 2px;
  width: 276px;
  height: 64px;
  margin-left: -138px;
  padding: 4px;
  border-radius: 32px;
  background: var(--app-glass);
  box-shadow: inset 0 0 0 1px var(--app-glass-line), 0 8px 30px rgba(11, 27, 51, 0.12);
}
.app-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 28px;
  color: var(--app-ink-2);
  font-size: 10px;
  font-weight: 600;
}
.app-tab .g {
  font-size: 24px;
}
.app-tab-on {
  background: var(--app-chip);
  color: var(--app-tab);
}

/* the native confirmation card */
.app-native {
  padding: 8px 22px 22px;
  border-radius: 34px;
  background: var(--app-sheet);
  box-shadow: inset 0 0 0 1px var(--app-glass-line), 0 1px 3px rgba(11, 27, 51, 0.08), 0 18px 44px -18px rgba(16, 42, 110, 0.28);
}
.app-sheet-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 6px;
  text-align: center;
  font-size: 17px;
}
.app-sheet-head .app-iconbtn {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: var(--app-close);
  box-shadow: inset 0 0 0 1px var(--app-close-line);
}
.app-grabber {
  display: block;
  width: 36px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 3px;
  background: var(--app-grab);
}
.app-field {
  padding: 15px 0;
  font-size: 13px;
  color: var(--app-ink-2);
}
.app-field + .app-field {
  box-shadow: inset 0 1px 0 var(--app-line);
}
.app-field > b {
  display: block;
  margin-top: 6px;
  color: var(--app-ink);
}
.app-field > .app-addr {
  margin-top: 8px;
  color: var(--app-ink);
}
.app-field-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.app-field-row > b {
  align-items: baseline;
}
.app-field-row .app-coin,
.app-field-row .app-avatar {
  align-self: center;
}
.app-field-row > b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.app-field-row .app-coin {
  width: 22px;
  height: 22px;
}
.app-field-row .app-coin .g {
  width: 15px;
  height: 15px;
}
.app-field-row .app-avatar {
  width: 22px;
  height: 22px;
  font-size: 12px;
}
.app-big {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.app-addr {
  display: grid;
  gap: 6px;
  font-size: 15.5px;
  line-height: 1.5;
}
.app-addr > span {
  white-space: pre;
}
.app-addr > span + span {
  padding-left: 3ch;
}
.app-0x {
  color: var(--app-ink-2);
}
.app-hl {
  padding: 2px 0.3em;
  margin: 0 -0.3em;
  border-radius: 6px;
  background: var(--app-hl);
}
.app-wait {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--app-ink-2);
}
.app-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--app-line);
  overflow: hidden;
}
.app-bar span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: 2px;
  background: var(--brand);
}

/* excerpts of the app at page size (src/phone.mjs): same tokens as the app, text at 12 px or more */
.ex {
  color: var(--app-ink);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}
.ex .g {
  width: 20px;
  height: 20px;
  flex: none;
}
.ex b {
  font-weight: 650;
}

/* recovery phrase, masked */
.ex-phrase {
  position: relative;
  width: min(330px, 86%);
}
.ex-phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ex-word {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--app-card);
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.05), inset 0 0 0 1px var(--app-line);
}
.ex-n {
  min-width: 1.4em;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ex-mask {
  height: 6px;
  border-radius: 3px;
  background: var(--mask);
}
.ex-mask-1 {
  width: 40%;
}
.ex-mask-2 {
  width: 50%;
}
.ex-mask-3 {
  width: 60%;
}
.ex-mask-4 {
  width: 70%;
}
/* warning banners */
.ex-warnings {
  display: grid;
  gap: 10px;
  width: min(400px, 90%);
}
.ex-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.ex-banner .g {
  margin-top: 0;
}
.ex-banner > span {
  display: grid;
  gap: 2px;
  text-wrap: balance;
}
.ex-banner > .ex-inline {
  display: block;
}
.ex-banner-caution {
  background: var(--warn-bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--warn-line);
}
.ex-banner-caution .g {
  color: var(--warn-ink);
}
.ex-banner-risk {
  background: var(--danger-bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--danger-line);
}
.ex-banner-risk .g,
.ex-banner-risk b,
.ex-banner-risk .ex-sub {
  color: var(--danger-ink);
}
.ex-warnings .ex-banner-risk > span {
  display: block;
}
.ex-banner-blocked {
  background: var(--app-card);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.05), inset 0 0 0 1px var(--app-line);
}
.ex-banner-blocked .g {
  color: var(--ink-2);
}
.ex-banner .app-mono {
  font-size: 13.5px;
}
.ex-sub {
  color: var(--ink-2);
  font-weight: 400;
}

/* a generic hardware wallet with the sync code on its screen */
.ex-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 168px;
  height: 236px;
  margin-top: 56px;
  padding: 14px 14px 0;
  border-radius: 26px;
  background: linear-gradient(170deg, #2b3242, #161a23 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 2px 6px rgba(11, 27, 51, 0.12), 0 18px 40px -12px rgba(11, 27, 51, 0.35);
}
.ex-device-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  background: #ffffff;
  color: #0b1b33;
}
.ex-device-button {
  width: 34px;
  height: 34px;
  margin-top: 18px;
  border-radius: 50%;
  background: #232937;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.ex-qr-code {
  width: 120px;
  height: 120px;
}

/* the network list */
.ex-networks {
  width: min(340px, 88%);
}
/* the list runs on below the stage: it fades out instead of being cut */
.ex-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 6px 0;
  border-radius: 20px;
  background: var(--app-card);
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.05), 0 12px 32px rgba(11, 27, 51, 0.08), inset 0 0 0 1px var(--edge);
}
.ex-net {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px 0 16px;
  font-size: 15px;
}
.ex-net + .ex-net::before {
  content: "";
  position: absolute;
  left: 58px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--app-line);
}
.ex-net .app-coin {
  width: 30px;
  height: 30px;
}
.ex-net .app-coin .g {
  width: 18px;
  height: 18px;
}
.ex-net .app-coin-base .g {
  width: 30px;
  height: 30px;
}
.ex-net .app-coin-bnb .g {
  width: 21px;
  height: 21px;
}
.ex-net-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ex-net-on .ex-net-name {
  font-weight: 650;
}
.ex-val {
  color: var(--app-ink-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ex-check {
  display: inline-flex;
  justify-content: center;
  width: 22px;
  color: var(--app-accent);
}
.ex-net-add {
  color: var(--app-accent);
}

/* address poisoning, the unlimited approval and the check before signing (security page) */
.doc-stage {
  display: flex;
  justify-content: center;
  margin: 4px 0 28px;
  padding: 28px 20px;
  border-radius: 20px;
  background: radial-gradient(120% 90% at 50% 0%, var(--stage-top), var(--stage) 70%);
}
.ex-poison,
.ex-unlimited {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: radial-gradient(120% 90% at 50% 0%, var(--stage-top), var(--stage) 70%);
}
.ex-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--app-card);
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.05), inset 0 0 0 1px var(--edge);
}
.ex-label {
  color: var(--app-ink-2);
  font-size: 13px;
}
.ex-rule {
  height: 1px;
  margin: 6px 0;
  background: var(--app-line);
}
.ex-addr {
  display: block;
  font-size: 14px;
  white-space: nowrap;
}
.ex-diff,
.ex-known {
  padding: 1px 0.3em;
  margin: 0 -0.3em;
  border-radius: 5px;
}
.ex-diff {
  background: var(--danger-bg);
  color: var(--danger-ink);
}
.ex-known {
  background: var(--app-hl);
}
.ex-amount {
  color: var(--danger-ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ex-preview {
  width: min(360px, 100%);
}
.ex-change {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.ex-change .app-coin {
  width: 30px;
  height: 30px;
}
.ex-change .app-coin .g {
  width: 18px;
  height: 18px;
}
.ex-change-amt {
  margin-left: auto;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.ex-change-fee {
  justify-content: space-between;
  min-height: 0;
  color: var(--app-ink-2);
  font-size: 13px;
}
.ex-change-fee span:last-child {
  color: var(--app-ink);
  font-size: 14px;
}

/* ------------------------------------------------------------------------------------------------ motion and print */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .button:active {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-figure,
  .split-figure,
  .toc,
  .skip-link {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .doc-card,
  .tile,
  .panel,
  .faq,
  .callout {
    box-shadow: none !important;
    border: 1px solid #cccccc;
  }
}
