/* getbanknote.com — built from the app's Fresh design system.
   Tokens are copied from design-system/tokens.css (generated from
   src/theme/tokens.ts); components mirror the app's screens: Karşılama
   (logo tile, headline, feature rows), Özet (hero card), Ayarlar (section
   label + grouped rows) and PushHeader. Light only, like the app.
   Fonts are self-hosted so the site makes no third-party requests. */

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('./fonts/PlusJakartaSans_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('./fonts/PlusJakartaSans_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('./fonts/PlusJakartaSans_700Bold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('./fonts/PlusJakartaSans_800ExtraBold.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-alt: #FBFAF8;
  --ink: #37352F;
  --muted: #787774;
  --faint: #9B9A97;
  --line: #E9E9E7;
  --primary: #2C9364;
  --primary-dark: #1F7350;
  --primary-soft: #E4F1EA;
  --on-primary: #FFFFFF;
  --accent: #C77D33;
  --accent-soft: #F6EAD9;
  --danger: #E03E3E;
  --danger-soft: #FBE6E3;
  --cat-g-produce: #3E9A6B;
  --cat-g-dairy: #D69A2E;
  --cat-g-household: #4E73B8;
  --float-shadow: 0 14px 34px rgba(55,53,47,0.12), 0 2px 6px rgba(55,53,47,0.05);
  --src-subscription: #6E5BD0;
  --radius: 18px;
  --radius-sm: 12px;
  --card-shadow: 0 3px 14px rgba(55,53,47,0.05);
  --hero-shadow: 0 12px 18px rgba(44,147,100,0.26);
  /* Layout: gutters grow with the screen; notch-safe on iPhone landscape. */
  --gutter: clamp(16px, 4vw, 32px);
  --gutter-l: max(var(--gutter), env(safe-area-inset-left));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right));
  --page-max: 1120px;
  --doc-w: 700px;           /* legal text column */
  --doc-w-toc: 988px;       /* TOC 240 + gap 48 + text 700 */
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-family); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--primary); font-weight: 700; text-decoration: none; border-radius: 6px; }
@media (hover: hover) { a:hover { color: var(--primary-dark); } }
:focus-visible { outline: none; box-shadow: var(--focus); }
svg { display: block; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px;
  background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--card-shadow);
}
.skip:focus { top: 12px; }

.page {
  max-width: var(--page-max); margin: 0 auto;
  padding: 0 var(--gutter-r) calc(40px + env(safe-area-inset-bottom)) var(--gutter-l);
}

/* ── Site header: Karşılama's logo tile + wordmark ───────────────────── */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: max(24px, env(safe-area-inset-top));
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
@media (hover: hover) { .brand:hover { color: var(--ink); } }
.brand-tile {
  width: 46px; height: 46px; border-radius: 14px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--hero-shadow);
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.head-nav { display: none; gap: 4px; }
.head-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14.5px; color: var(--muted); border-radius: var(--radius-sm);
}
@media (hover: hover) { .head-nav a:hover { color: var(--ink); background: var(--surface); } }
@media (min-width: 640px) { .head-nav { display: flex; } }

/* Pills — the app's 999px status pills */
.pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 800; background: var(--primary-soft); color: var(--primary-dark);
}

/* ── Landing intro ───────────────────────────────────────────────────── */
.intro { display: grid; gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 7vw, 80px) 0 8px; align-items: center; }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.headline {
  margin: 16px 0 0; font-size: clamp(31px, 4.2vw + 16px, 56px); line-height: 1.08;
  font-weight: 800; letter-spacing: -0.03em; text-wrap: balance;
}
.br-lg { display: none; }
@media (min-width: 480px) { .br-lg { display: inline; } }
.lede {
  margin: 16px 0 0; max-width: 34em; font-size: clamp(15.5px, 0.4vw + 14px, 17.5px); line-height: 1.6;
  font-weight: 500; color: var(--muted);
}

/* Product preview — Özet's hero card + budgets card, sample figures */
.preview { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 400px; justify-self: center; }
@media (min-width: 900px) { .preview { justify-self: end; } }
.hero-card {
  position: relative; overflow: hidden; background: var(--primary); color: var(--on-primary);
  border-radius: 24px; padding: clamp(18px, 5vw, 22px); box-shadow: var(--hero-shadow);
}
.hero-card::before {
  content: ''; position: absolute; right: -34px; top: -34px; width: 150px; height: 150px;
  border-radius: 75px; background: rgba(255,255,255,0.08);
}
.hero-card > * { position: relative; }
.hero-label { font-size: 13px; font-weight: 700; opacity: 0.88; }
.hero-amount { font-size: clamp(32px, 9vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 18px; }
.hero-meta span:first-child { font-size: 12.5px; font-weight: 700; opacity: 0.92; }
.hero-chip { font-size: 12px; font-weight: 800; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 999px; }
.hero-track { margin-top: 10px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.22); overflow: hidden; }
.hero-track div { height: 100%; border-radius: 999px; background: var(--accent); }
.budget-head { padding: 16px 18px 6px; font-size: 15px; font-weight: 800; }
.budget-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; }
.budget-row + .budget-row { border-top: 1px solid var(--line); }
.budget-tile { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.budget-main { flex: 1; min-width: 0; }
.budget-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.budget-top b { font-size: 14.5px; font-weight: 700; }
.budget-top span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.budget-top span i { font-style: normal; color: var(--faint); }
.bar { margin-top: 7px; height: 7px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; }
.bar div { height: 100%; border-radius: 999px; }
.caption { font-size: 12.5px; font-weight: 500; color: var(--faint); text-align: center; margin: 0; }

/* The one motion moment: bars fill on load, like the app's count-up. */
@media (prefers-reduced-motion: no-preference) {
  .fill { transform-origin: left center; animation: fill 900ms cubic-bezier(.2,.7,.2,1) 250ms both; }
  .bar .fill { animation-delay: 450ms; }
  .budget-row + .budget-row .fill { animation-delay: 560ms; }
  @keyframes fill { from { transform: scaleX(0); } }
}

/* ── Feature rows — Karşılama ────────────────────────────────────────── */
.section-title {
  margin: clamp(40px, 6vw, 72px) 0 8px; font-size: clamp(20px, 1vw + 16px, 26px);
  font-weight: 800; letter-spacing: -0.02em;
}
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(24px, 4vw, 44px); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: flex; gap: 15px; align-items: flex-start; padding: 14px 0; }
.tile-lg {
  width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.feature h3 { margin: 1px 0 0; font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.feature p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; color: var(--muted); max-width: 38em; }

/* ── Cards + Ayarlar-style groups ────────────────────────────────────── */
.groups { display: grid; gap: 0 24px; margin-top: 12px; }
@media (min-width: 900px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--card-shadow); overflow: hidden;
}
.section-label {
  margin: 0; padding: 26px 4px 8px; font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.row {
  display: flex; align-items: center; gap: 13px; min-height: 62px; padding: 12px 16px;
  color: var(--ink); font-weight: 500; border-radius: 0;
}
.row + .row { border-top: 1px solid var(--line); }
@media (hover: hover) { a.row:hover { color: var(--ink); background: var(--surface-alt); } }
a.row:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); }
.tile {
  width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.row-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
.row-detail { font-size: 14px; font-weight: 500; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
@media (max-width: 419px) { .row-detail.hide-sm { display: none; } }
.row.danger .tile { background: var(--danger-soft); }
.row.danger .row-title { color: var(--danger); }

/* ── Legal pages: PushHeader, label/card sections, TOC on wide screens ─ */
.push-head {
  position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line);
  padding: max(10px, env(safe-area-inset-top)) var(--gutter-r) 12px var(--gutter-l);
}
.push-head-inner { max-width: var(--doc-w); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.push-back {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin-left: -8px;
}
@media (hover: hover) { .push-back:hover { background: var(--bg); color: var(--ink); } }
.push-title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; letter-spacing: -0.3px; margin: 0; }
.push-spacer { width: 36px; height: 44px; }
@media (min-width: 1100px) {
  /* On desktop the header reads left-to-right like a site, not a phone screen. */
  .push-title { flex: 0 1 auto; text-align: left; color: var(--muted); font-size: 15px; font-weight: 500; }
  .push-spacer { flex: 1; }
}

.doc { display: grid; gap: 0 48px; grid-template-columns: minmax(0, var(--doc-w)); justify-content: center; }
.doc-main { min-width: 0; }
.doc + .site-foot { max-width: var(--doc-w); margin-left: auto; margin-right: auto; }
.toc { display: none; }
@media (min-width: 1100px) {
  .doc { grid-template-columns: 240px minmax(0, var(--doc-w)); }
  .doc + .site-foot, .push-head-inner { max-width: var(--doc-w-toc); }
  .toc { display: block; position: sticky; top: 92px; align-self: start; padding-top: 34px; }
}
.toc .section-label { padding-top: 0; }
.toc ol { list-style: none; margin: 0; padding: 6px 0; }
.toc a {
  display: block; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--muted);
  border-radius: 0;
}
@media (hover: hover) { .toc a:hover { color: var(--primary); background: var(--surface-alt); } }

.doc-title {
  margin: clamp(24px, 4vw, 34px) 4px 4px; font-size: clamp(26px, 1.6vw + 20px, 36px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance;
}
.doc-date { margin: 0 4px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.summary {
  margin-top: 20px; display: flex; gap: 13px; align-items: flex-start; padding: 16px;
  background: var(--primary-soft); border-radius: var(--radius);
}
.summary .tile { background: var(--primary); }
.summary.danger { background: var(--danger-soft); }
.summary.danger .tile { background: var(--danger); }
.summary p { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.prose { padding: 4px clamp(16px, 3vw, 22px); }
.prose p, .prose li { font-size: clamp(15px, 0.2vw + 14.4px, 16px); line-height: 1.6; font-weight: 400; overflow-wrap: break-word; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--primary); font-weight: 800; }
.prose strong { font-weight: 700; }
.prose a { overflow-wrap: anywhere; }
code {
  font-family: var(--font-family); font-weight: 700; font-size: 0.92em; background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-foot {
  margin-top: 40px; padding: 14px 4px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: 13px; font-weight: 500; color: var(--faint);
}
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 700; }
@media (hover: hover) { .site-foot a:hover { color: var(--primary); } }
.site-foot .sep { flex: 1; }

/* ── Language switch — the app's segmented pill ─────────────────────── */
.head-right { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line);
}
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px;
  padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--muted);
}
.lang [aria-current] { background: var(--primary-soft); color: var(--primary-dark); }
@media (hover: hover) { .lang a:hover { color: var(--ink); } }
.push-head-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.push-head .push-spacer { display: none; }
.push-head .lang { justify-self: end; }
@media (min-width: 1100px) { .push-head-inner { grid-template-columns: auto 1fr auto; } }

/* ── Depth: soft circles behind the intro (the hero card's own motif) ── */
.backdrop {
  position: absolute; inset: 0 0 auto 0; height: min(1100px, 150vh); z-index: -1;
  overflow: hidden; pointer-events: none;
}
body { position: relative; isolation: isolate; }
.orb { position: absolute; border-radius: 50%; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.orb-1 { width: clamp(320px, 48vw, 640px); aspect-ratio: 1; right: -12vw; top: -8vw; background: radial-gradient(closest-side, rgba(44,147,100,0.16), rgba(44,147,100,0)); }
.orb-2 { width: clamp(220px, 30vw, 420px); aspect-ratio: 1; left: -10vw; top: 38%; background: radial-gradient(closest-side, rgba(199,125,51,0.10), rgba(199,125,51,0)); }
.orb-3 { width: 150px; aspect-ratio: 1; right: 22%; top: 62%; border: 1.5px solid rgba(44,147,100,0.14); }

/* ── Floating app pieces around the preview ──────────────────────────── */
.intro-visual { position: relative; width: 100%; max-width: 400px; justify-self: center; padding: 34px 0 30px; }
@media (min-width: 900px) { .intro-visual { justify-self: end; } }
.intro-visual .preview { max-width: none; }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--float-shadow); white-space: nowrap;
  transform: translate3d(0, var(--py, 0px), 0);
}
.float .tile { width: 36px; height: 36px; border-radius: 10px; }
.float b { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: -0.1px; }
.float small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.float .due { margin-left: 4px; font-size: 11px; font-weight: 800; color: var(--danger); background: var(--danger-soft); padding: 3px 8px; border-radius: 999px; }
.float-scan { left: -14px; top: 0; }
.float-pay  { right: -12px; top: 47%; }
.float-goal { left: -8px; bottom: 0; }
@media (max-width: 559px) { .intro-visual { padding-bottom: 64px; } .intro-visual .caption { text-align: right; } }
@media (min-width: 560px) {
  .float-scan { left: -56px; top: 6px; }
  .float-pay  { right: -48px; }
  .float-goal { left: -44px; bottom: 2px; }
}
@media (min-width: 900px) and (max-width: 1099px) { .float-pay { right: -16px; } }
.ring { position: relative; width: 36px; height: 36px; flex: none; }
.ring svg { width: 36px; height: 36px; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; }

/* ── How it works: steps + a receipt that gets read as it scrolls in ── */
.how { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 8vw, 96px); }
@media (min-width: 900px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.how .section-title { margin-top: 0; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: step; }
.step { display: flex; gap: 15px; align-items: flex-start; padding: 12px 0; }
.step-no {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); font-size: 15px; font-weight: 800;
  box-shadow: var(--hero-shadow);
}
.step h3 { margin: 5px 0 0; font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.step p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; color: var(--muted); max-width: 34em; }

.receipt-stage { position: relative; display: grid; place-items: center; padding: 20px 0 34px; }
.receipt {
  position: relative; width: min(100%, 340px); background: var(--surface); border-radius: 16px 16px 0 0;
  box-shadow: var(--float-shadow); padding: 20px 20px 26px; overflow: hidden; transform: rotate(-2deg);
}
.receipt::after {
  /* torn paper edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px;
  background: linear-gradient(135deg, transparent 50%, var(--bg) 50%) 0 0 / 12px 12px repeat-x,
              linear-gradient(-135deg, transparent 50%, var(--bg) 50%) 0 0 / 12px 12px repeat-x;
}
.receipt-head { text-align: center; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line); }
.receipt-head b { display: block; font-size: 15px; font-weight: 800; }
.receipt-head small { font-size: 12px; font-weight: 500; color: var(--faint); }
.r-line { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13.5px; font-weight: 600; }
.r-line + .r-line { border-top: 1px solid var(--surface-alt); }
.r-name { flex: 1; min-width: 0; }
.r-cat {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px; background: var(--surface-alt); color: var(--muted);
}
.r-cat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.r-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 4px; border-top: 1.5px dashed var(--line); font-weight: 800; font-size: 15px; }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(44,147,100,0) 0%, rgba(44,147,100,0.16) 85%, rgba(44,147,100,0.9) 100%);
}
.read-badge {
  position: absolute; right: max(0px, calc(50% - 200px)); bottom: 8px; z-index: 2;
}

/* ── Motion (all of it opt-in: JS on + no reduced-motion preference) ── */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  .js-motion .reveal.in { opacity: 1; transform: none; }

  .bob { animation: bob 6s ease-in-out infinite alternate; }
  .bob-2 { animation-duration: 7.5s; animation-delay: -2s; }
  .bob-3 { animation-duration: 6.8s; animation-delay: -4s; }
  @keyframes bob { from { translate: 0 -6px; } to { translate: 0 6px; } }

  .js-motion .float { animation: pop .6s cubic-bezier(.2,.9,.3,1.2) both; }
  .js-motion .float-scan { animation-delay: .5s; }
  .js-motion .float-pay  { animation-delay: .75s; }
  .js-motion .float-goal { animation-delay: 1s; }
  @keyframes pop { from { opacity: 0; scale: .85; } }

  /* Receipt: scan line sweeps once, then categories land row by row. */
  .js-motion .receipt .r-cat, .js-motion .receipt-stage .read-badge { opacity: 0; scale: .8; transition: opacity .35s ease, scale .35s cubic-bezier(.2,.9,.3,1.3); }
  .js-motion .in .scanline { animation: sweep 1.5s cubic-bezier(.45,0,.35,1) .2s both; }
  @keyframes sweep { 0% { opacity: 1; transform: translateY(-64px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--sweep, 320px)); } }
  .js-motion .in .r-cat { opacity: 1; scale: 1; }
  .js-motion .in .r-line:nth-child(2) .r-cat { transition-delay: .55s; }
  .js-motion .in .r-line:nth-child(3) .r-cat { transition-delay: .8s; }
  .js-motion .in .r-line:nth-child(4) .r-cat { transition-delay: 1.05s; }
  .js-motion .in .r-line:nth-child(5) .r-cat { transition-delay: 1.3s; }
  .js-motion .in .read-badge { opacity: 1; scale: 1; transition-delay: 1.8s; }
}

@media print {
  .push-head, .toc, .site-foot, .skip, .backdrop { display: none; }
  body { background: #fff; }
  .card, .summary { box-shadow: none; break-inside: avoid; }
  .doc { display: block; }
}
@media (prefers-reduced-motion: no-preference) { .js-motion .read-badge { animation: none; } }
