/* Tong Shang public website — Bronze Ledger v1.0. Tokens live in DESIGN.md; this file consumes them. */

:root {
  --espresso-950: #140e09;
  --espresso-900: #1c140c;
  --espresso-800: #2e2312;
  --espresso-700: #3f3120;
  --bronze-600: #584a35;
  --bronze-500: #7a6446;
  --brass-500: #b48643;
  --brass-300: #d9bd86;
  --ivory-50: #f4ece0;
  --ivory-300: #c9bda9;
  --paper-50: #fbf9f4;
  --paper-100: #f3efe6;
  --paper-200: #e6dfd0;
  --ink-900: #1a1410;
  --ink-600: #5a4f44;
  --line-light: #ded8cc;
  --line-dark: #3a2d1e;
  --positive: #26745a;
  --warning: #a36a18;
  --risk: #b54747;
  --focus: #d9bd86;

  --font-display: "Spectral", "Iowan Old Style", Baskerville, Georgia, serif;
  --font-body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.625rem, 7cqi, 5.25rem);
  --fs-h1: clamp(2.25rem, 4.5cqi, 3.5rem);
  --fs-h2: clamp(1.75rem, 3cqi, 2.5rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.125rem, 1.6cqi, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.8125rem;
  --fs-mono-lg: 1rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-control: 4px;
  --radius-sheet: 8px;
  --header-h: 64px;
  --wrap-max: 1200px;
  --measure: 68ch;
  --pad-x: 20px;
}

@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/spectral-400.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/spectral-500.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/spectral-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/spectral-600.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/hanken-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plexmono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/plexmono-600.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--espresso-950);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; transition: text-decoration-thickness 120ms ease; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex: none; stroke-width: 1.75; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Site container ---------- */
.site { container: site / inline-size; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--pad-x); }
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-3) var(--space-4); background: var(--brass-500); color: var(--espresso-900);
  border-radius: var(--radius-control); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: var(--space-4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brass-300); display: flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--brass-500); flex: none; }
.on-paper .eyebrow, .on-paper-alt .eyebrow { color: var(--ink-600); }
.on-paper .eyebrow::before, .on-paper-alt .eyebrow::before { background: var(--brass-500); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono-lg); }
.accent { font-style: italic; font-weight: 500; color: var(--brass-300); }
.on-paper .accent, .on-paper-alt .accent { color: var(--bronze-600); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ivory-300); max-width: 46ch; }
.on-paper .lead, .on-paper-alt .lead { color: var(--ink-600); }
.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: var(--space-4); }
.prose h2 { font-size: var(--fs-h2); line-height: 1.12; margin-top: var(--space-6); }
.prose h3 { font-size: var(--fs-h3); line-height: 1.25; margin-top: var(--space-4); }
.prose ul { display: flex; flex-direction: column; gap: var(--space-2); padding-left: 1.2em; list-style: disc; }
.prose li::marker { color: var(--brass-500); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-16); }
.on-dark { background: var(--espresso-900); color: var(--ivory-50); }
.on-paper { background: var(--paper-50); color: var(--ink-900); }
.on-paper-alt { background: var(--paper-100); color: var(--ink-900); }
.section__head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.section__title { font-size: var(--fs-h2); line-height: 1.12; }
.section__intro { max-width: 56ch; color: var(--ink-600); }
.on-dark .section__intro { color: var(--ivory-300); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--espresso-900); color: var(--ivory-50);
  border-bottom: 1px solid var(--line-dark);
  padding-top: env(safe-area-inset-top);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; min-height: 44px; }
.brand__crest { width: 36px; height: 36px; border-radius: var(--radius-sheet); }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-300); margin-top: 3px; }
.nav { display: none; }
.nav__list { display: flex; gap: var(--space-6); }
.nav__link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-1);
  text-decoration: none; font-weight: 500; font-size: var(--fs-small); color: var(--ivory-300);
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--ivory-50); }
.nav__link[aria-current="page"] { color: var(--ivory-50); border-bottom-color: var(--brass-500); }
.menu-btn {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; min-width: 44px; padding: 0 var(--space-2);
  color: var(--ivory-50); font-weight: 500; font-size: var(--fs-small); border-radius: var(--radius-control);
}
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Drawer (mobile navigation) ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--espresso-800); color: var(--ivory-50);
  padding: calc(var(--header-h) + env(safe-area-inset-top)) var(--pad-x) calc(var(--space-6) + env(safe-area-inset-bottom));
  display: none; flex-direction: column; gap: var(--space-8); overflow-y: auto;
}
.drawer[data-open="true"] { display: flex; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: absolute; top: env(safe-area-inset-top); left: var(--pad-x); right: var(--pad-x); }
.drawer__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.drawer__link {
  display: flex; align-items: center; gap: var(--space-4); min-height: 56px; padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line-dark); text-decoration: none; font-family: var(--font-display); font-size: 1.375rem;
}
.drawer__link .icon { color: var(--brass-300); width: 22px; height: 22px; }
.drawer__link[aria-current="page"] { color: var(--brass-300); }
.drawer__foot { color: var(--ivory-300); font-size: var(--fs-small); display: flex; flex-direction: column; gap: var(--space-2); }
.drawer__foot a { display: inline-flex; align-items: center; min-height: 44px; }
body[data-drawer-open="true"] { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-control);
  font-weight: 500; font-size: var(--fs-body); text-decoration: none; border: 1px solid transparent;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform 120ms ease; }
.btn:hover .icon { transform: translateX(4px); }
.on-dark .btn--primary { background: var(--brass-500); color: var(--espresso-900); border-color: var(--brass-500); }
.on-dark .btn--primary:hover { background: var(--brass-300); border-color: var(--brass-300); }
.on-dark .btn--secondary { color: var(--ivory-50); border-color: var(--ivory-300); }
.on-dark .btn--secondary:hover { border-color: var(--ivory-50); background: var(--espresso-800); }
.on-paper .btn--primary, .on-paper-alt .btn--primary { background: var(--espresso-800); color: var(--ivory-50); border-color: var(--espresso-800); }
.on-paper .btn--primary:hover, .on-paper-alt .btn--primary:hover { background: var(--espresso-700); }
.on-paper .btn--secondary, .on-paper-alt .btn--secondary { color: var(--ink-900); border-color: var(--ink-900); }
.on-paper .btn--secondary:hover, .on-paper-alt .btn--secondary:hover { background: var(--paper-100); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: var(--space-12) var(--space-16); }
.hero__grid { display: grid; gap: var(--space-8); align-items: center; }
.hero__visual { width: min(100%, 300px); margin-inline: auto; }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-6); text-align: center; align-items: center; }
.hero__title { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; }
.hero__slogan { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--fs-lead); color: var(--brass-300); }
.hero__lead { max-width: 44ch; }
.hero__facts {
  display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-6);
  border-top: 1px solid var(--line-dark); width: 100%; align-items: center;
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--ivory-50);
}
.hero__facts li { display: flex; align-items: center; gap: var(--space-2); }
.hero__facts .icon { width: 16px; height: 16px; color: var(--brass-500); }
.hairline { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-500); opacity: 0.4; box-shadow: 0 0 12px 0 var(--brass-500); }

/* ---------- Ledger ---------- */
.ledger { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.ledger__row {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: var(--space-4); row-gap: var(--space-1);
  align-items: start; padding: var(--space-6) 0; border-bottom: 1px solid var(--line-light);
  text-decoration: none; color: inherit;
}
.ledger__row:hover .ledger__title { color: var(--bronze-600); }
.ledger__row:hover .ledger__arrow .icon { transform: translateX(4px); }
.ledger__index { grid-row: span 2; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; color: var(--bronze-600); padding-top: 0.45em; min-width: 2ch; }
.ledger__title { font-size: var(--fs-h3); line-height: 1.25; display: flex; align-items: center; gap: var(--space-3); transition: color 120ms ease; }
.ledger__title .icon { color: var(--bronze-500); }
.ledger__desc { grid-column: 2; color: var(--ink-600); max-width: 60ch; }
.ledger__arrow { grid-row: span 2; align-self: center; color: var(--bronze-600); }
.ledger__arrow .icon { transition: transform 120ms ease; }
.ledger--dark { border-top-color: var(--line-dark); }
.ledger--dark .ledger__row { border-bottom-color: var(--line-dark); }
.ledger--dark .ledger__index { color: var(--brass-500); }
.ledger--dark .ledger__desc { color: var(--ivory-300); }
.ledger--dark .ledger__row:hover .ledger__title { color: var(--brass-300); }

/* ---------- Posture triptych ---------- */
.triptych { display: grid; gap: var(--space-8); }
.triptych__item { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line-light); }
.triptych__item h3 { font-size: var(--fs-h3); line-height: 1.25; }
.triptych__item p { color: var(--ink-600); }

/* ---------- Contact band ---------- */
.band__grid { display: grid; gap: var(--space-8); }
.band__facts { display: grid; gap: var(--space-6); }
.fact { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--line-dark); }
.fact__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-300); display: flex; align-items: center; gap: var(--space-2); }
.fact__label .icon { width: 16px; height: 16px; color: var(--brass-500); }
.fact__value { font-family: var(--font-mono); font-size: var(--fs-mono-lg); line-height: 1.5; }
.fact__value a { text-decoration-color: var(--bronze-500); display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.on-paper .fact { border-top-color: var(--line-light); }
.on-paper .fact__label { color: var(--ink-600); }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-block: var(--space-12); }
.page-header__inner { display: flex; flex-direction: column; gap: var(--space-4); max-width: 60ch; }
.page-header__title { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.015em; }

/* ---------- Definition sheet ---------- */
.sheet { background: var(--paper-50); border: 1px solid var(--line-light); border-radius: var(--radius-sheet); overflow: hidden; }
.sheet__head { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); border-bottom: 1px solid var(--line-light); }
.sheet__title { font-size: var(--fs-h3); display: flex; align-items: center; gap: var(--space-3); }
.sheet__title .icon { color: var(--bronze-500); }
.sheet__who { color: var(--ink-600); }
.dl { display: grid; }
.dl__row { display: grid; gap: var(--space-1); padding: var(--space-4) var(--space-6); }
.dl__row:nth-child(even) { background: var(--paper-100); }
.dl__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); }
.dl__value { color: var(--ink-900); }
.sheet-grid { display: grid; gap: var(--space-6); }

/* ---------- Honest-state notice ---------- */
.notice {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-6);
  background: var(--paper-100); border: 1px solid var(--line-light); border-radius: var(--radius-sheet);
  color: var(--ink-600); max-width: var(--measure);
}
.notice .icon { color: var(--bronze-600); margin-top: 3px; }
.notice strong { color: var(--ink-900); font-weight: 500; }
.on-dark .notice { background: var(--espresso-800); border-color: var(--line-dark); color: var(--ivory-300); }
.on-dark .notice .icon { color: var(--brass-300); }
.on-dark .notice strong { color: var(--ivory-50); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso-950); color: var(--ivory-300); border-top: 1px solid var(--line-dark); padding-block: var(--space-12) calc(var(--space-8) + env(safe-area-inset-bottom)); margin-top: auto; }
.footer__grid { display: grid; gap: var(--space-8); }
.footer__plate { display: inline-block; background: var(--paper-50); border-radius: var(--radius-sheet); padding: var(--space-4) var(--space-6); }
.footer__lockup { width: min(100%, 360px); }
.footer__nav { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; text-decoration: none; font-size: var(--fs-small); color: var(--ivory-300); }
.footer__link:hover { color: var(--ivory-50); }
.footer__link .icon { width: 16px; height: 16px; color: var(--brass-500); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.02em; line-height: 1.6; }
.footer__contact a { text-decoration-color: var(--bronze-500); display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.footer__legal { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--fs-small); }
.footer__legal [lang="zh-Hans"] { font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", var(--font-body); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__code { font-family: var(--font-mono); font-size: var(--fs-mono-lg); color: var(--brass-300); letter-spacing: 0.08em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reveal > *:nth-child(2) { animation-delay: 80ms; }
  .reveal > *:nth-child(3) { animation-delay: 160ms; }
  .reveal > *:nth-child(4) { animation-delay: 240ms; }
  .reveal > *:nth-child(5) { animation-delay: 320ms; }
  .reveal > *:nth-child(6) { animation-delay: 400ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Container queries: 720px ---------- */
@container site (min-width: 720px) {
  .wrap { padding-inline: 40px; }
  .hero__facts { flex-direction: row; flex-wrap: wrap; gap: var(--space-6); justify-content: center; }
  .triptych { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
  .triptych__item { border-top: 0; border-left: 1px solid var(--line-light); padding-top: 0; padding-left: var(--space-6); }
  .triptych__item:first-child { border-left: 0; padding-left: 0; }
  .band__facts { grid-template-columns: repeat(3, 1fr); }
  .sheet-grid { grid-template-columns: repeat(2, 1fr); }
  .dl__row { grid-template-columns: 128px 1fr; gap: var(--space-4); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-4); }
}

/* ---------- Container queries: 1080px ---------- */
@container site (min-width: 1080px) {
  .wrap { padding-inline: 64px; }
  .section { padding-block: var(--space-24); }
  .header__inner { min-height: 80px; }
  .brand__crest { width: 44px; height: 44px; }
  .nav { display: block; }
  .menu-btn { display: none; }
  .hero { padding-block: var(--space-24) var(--space-24); }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--space-16); }
  .hero__copy { text-align: left; align-items: flex-start; order: 1; }
  .hero__visual { order: 2; width: min(100%, 340px); margin-inline: auto 0; }
  .hero__facts { justify-content: flex-start; align-items: flex-start; }
  .band__grid { grid-template-columns: 2fr 1fr; align-items: end; }
  .band__cta { justify-self: end; }
  .page-header { padding-block: var(--space-16); }
  .ledger__row { grid-template-columns: 4ch 1fr auto; column-gap: var(--space-8); padding: var(--space-8) 0; }
  .ledger__desc { grid-column: 2; }
}

/* ---------- Phone mockup (illustration of the app; see DESIGN.md section 8) ---------- */
.phone {
  width: 100%; aspect-ratio: 9 / 16.5; background: var(--espresso-950); border: 1px solid var(--bronze-600);
  border-radius: 36px; padding: 12px; box-shadow: 0 32px 64px -40px var(--espresso-950);
}
.phone__screen { height: 100%; border-radius: 26px; background: var(--espresso-900); border: 1px solid var(--line-dark); display: flex; flex-direction: column; overflow: hidden; }
.phone__bar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-4) var(--space-3); border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-300); }
.phone__bar .icon { width: 14px; height: 14px; color: var(--brass-500); }
.chat { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.bubble { max-width: 88%; padding: var(--space-3) var(--space-3); border-radius: 12px; font-size: 0.875rem; line-height: 1.45; display: flex; flex-direction: column; gap: var(--space-1); }
.bubble__who { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.bubble--you { align-self: flex-end; background: var(--espresso-800); color: var(--ivory-50); border-bottom-right-radius: 4px; }
.bubble--tong { align-self: flex-start; background: var(--paper-50); color: var(--ink-900); border-bottom-left-radius: 4px; }
.bubble .amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.phone__actions { display: flex; gap: var(--space-2); padding: 0 var(--space-4) var(--space-4); margin-top: auto; }
.phone__btn { flex: 1; min-height: 40px; border-radius: var(--radius-control); display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 500; }
.phone__btn--primary { background: var(--brass-500); color: var(--espresso-900); }
.phone__btn--ghost { border: 1px solid var(--ivory-300); color: var(--ivory-50); }
.phone__caption { margin-top: var(--space-3); text-align: center; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--ivory-300); }

/* ---------- Scenes (app page: a short conversation inside a paper sheet) ---------- */
.scenes { display: grid; gap: var(--space-6); }
.scene { display: flex; flex-direction: column; }
.scene .chat { padding: var(--space-6); gap: var(--space-3); }
.scene .bubble--you { background: var(--espresso-800); color: var(--ivory-50); }
.scene .bubble--tong { background: var(--paper-100); color: var(--ink-900); border: 1px solid var(--line-light); }
.scene__foot { margin-top: auto; padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line-light); color: var(--ink-600); font-size: var(--fs-small); }
.section__crest { width: 96px; margin-bottom: var(--space-6); }

@container site (min-width: 720px) {
  .scenes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Phone: prepared-payment card ---------- */
.phone__card { margin: 0 var(--space-4); padding: var(--space-3); border: 1px solid var(--line-dark); border-radius: var(--radius-sheet); background: var(--espresso-800); color: var(--ivory-50); display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.8125rem; }
.phone__card-label { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-300); }
.phone__card-row { display: flex; justify-content: space-between; gap: var(--space-3); }
.phone__card-row .amount { color: var(--brass-300); }

/* ---------- Crest figure (about page) ---------- */
.crest-figure { width: min(100%, 340px); margin-inline: auto; }
@container site (min-width: 1080px) { .crest-figure { margin-inline: 0; } }
