/* The landing page after mockup C «Family» (docs/design/codex-2026-11-10/v2/landing-c.png), made longer in LV4 (plan
   2026-11-10-lending-v2), built by web/build-landing.mjs. Light only: the page looks the same whatever theme the phone is in
   (Sergei, D3). Tokens are the app's (app/src/global.css, app/src/theme.ts): Manrope, warm paper, blue accent, pastel cards.
   Every text is at least 18 px (header, footer, notification head, table head 16) with a contrast of at least 7:1. Components:
   .phone  CSS frame around a real frame of the app (shot at 1.5 px per app pixel, shown at no less than 0.64 of its size on a
           phone, 0.61 from 700 px); inside a .cut only its top part shows, the frame goes on under the bottom edge of its tile,
           the cut falls between two elements of the screen
   .lock   a lock screen in the same frame, HTML (the hero, the reminders)
   .push   a notification of the app, HTML
   A phone (< 700 px): one column, never two phones side by side. 700+: pairs of phones side by side. 980+: cards in threes;
   1100+: «How to log» in three columns. 1200+: the hero in two columns, as in the mockup. */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url('/fonts/manrope-800.woff2') format('woff2'); }

:root {
  --bg: #F4F3EF; --card: #FFFFFF; --ink: #1E1E20; --muted: #45454A; --line: #E4E2DC; --line-2: #D6D3CB;
  /* the accent #2E5C8A of the mockup as text gives 6.3:1 on the paper: text and buttons take its deeper shades */
  --acc: #2E5C8A; --acc-text: #24496D; --btn: #285380; --on-btn: #FFFFFF;
  --p-blue: #DCE8F4; --p-peach: #FBE3D6; --p-green: #DDEBDD;
  --ok: #26724A; --sys: #C0392B; --dia: #2F5D8A;
  --frame: #1E1E20; --frame-edge: transparent; --app-bg: #F6F5F2; --island: #0B0B0C;
  /* the daughter's lock screen: a deep blue wallpaper, white time */
  --wall: linear-gradient(170deg, #1F4066 0%, #2E5C8A 48%, #6C8FBE 100%); --wall-ink: #FFFFFF; --push-glass: rgba(255, 255, 255, .94);
  --shadow: 0 8px 24px rgba(30, 30, 32, .08);
  --fs-body: 20px; --fs-lead: 22px; --fs-h1: 44px; --fs-h2: 32px; --fs-h3: 22px; --fs-small: 18px;
  --gut: 20px; --sec: 32px; --pw: 302px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 var(--fs-body)/1.45 Manrope, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom); }
img { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.01em; font-weight: 800; }
h4 { font-size: 20px; line-height: 1.3; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: var(--acc-text); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.ic { width: 28px; height: 28px; flex: none; display: block; }

/* the language of the page: site.js sets data-lang on <html>; without scripts Russian shows */
.l, .lt { display: none; }
html[data-lang='ru'] .l-ru, html[data-lang='uk'] .l-uk, html[data-lang='en'] .l-en, html[data-lang='cs'] .l-cs, html:not([data-lang]) .l-ru { display: block; }

.wrap { width: min(1120px, calc(100% - 2 * var(--gut))); margin: 0 auto; }
.l > section { padding: var(--sec) 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.sub { margin-top: 10px; color: var(--muted); }
.acc { color: var(--acc-text); }

/* ---------- header: brand, languages, one button ---------- */
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 0 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -.01em; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 11px; display: block; flex: none; }
@media (max-width: 379px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.top-end { display: flex; align-items: center; gap: 16px; }
.lang { display: none; gap: 2px; }
html[data-lang] .lang { display: flex; }
.lang button { font: inherit; font-size: 18px; font-weight: 800; min-width: 46px; min-height: 46px; padding: 0 6px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed='true'] { background: var(--p-blue); color: var(--acc-text); }

/* ---------- call to action: «coming soon» + mail button (the app is not in the stores yet) ---------- */
.cta { margin-top: 28px; }
.soon { font-weight: 800; font-size: var(--fs-small); }
.btn { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 10px 24px; border-radius: 18px; background: var(--btn); color: var(--on-btn); text-decoration: none; font-size: 20px; line-height: 1.25; box-shadow: var(--shadow); }
.btn .ic { width: 28px; height: 28px; }
.btn b { font-weight: 800; }
.btn-sub { font-weight: 600; }
.btn--top { display: none; margin: 0; min-height: 48px; padding: 8px 18px; border-radius: 14px; font-size: 18px; font-weight: 800; gap: 10px; box-shadow: none; }
.btn--top .ic { width: 24px; height: 24px; }
.fine { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 559px) {
  .cta .btn { display: flex; width: 100%; padding: 10px 18px; }
  .cta .btn > span { display: flex; flex-direction: column; }
  .btn .dash { display: none; }
  .btn-sub { font-size: 18px; }
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores img { height: 56px; width: auto; display: block; }

/* ---------- the phone frame: a real frame of the app in a 10 px frame; .cut shows its top part ---------- */
.cut { --vis: 1; height: calc(10px + (var(--pw) - 20px) * 2.1727 * var(--vis)); overflow: hidden; display: flex; justify-content: center; flex: none; }
.phone { position: relative; width: var(--pw); flex: none; align-self: flex-start; border: 10px solid var(--frame); border-radius: 48px; overflow: hidden; background: var(--app-bg); box-shadow: 0 0 0 1px var(--frame-edge), var(--shadow); }
.phone::before { content: ''; position: absolute; z-index: 1; top: 9px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 999px; background: var(--island); }
.phone img { display: block; width: 100%; height: auto; }
.tile { border-radius: 24px; padding-top: 24px; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; }

/* ---------- a notification ---------- */
.push { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); line-height: 1.3; }
.push img { width: 40px; height: 40px; border-radius: 10px; flex: none; display: block; }
.push > div { min-width: 0; flex: 1; }
.push-h { display: flex; justify-content: space-between; gap: 10px; font-size: 18px; color: var(--muted); }
.push-h b { color: var(--ink); font-weight: 800; }
.push-t { font-size: 20px; font-weight: 600; margin-top: 2px; }

/* ---------- the daughter's lock screen: on a phone a tile, from 700 px a phone ---------- */
.lock { background: var(--wall); color: var(--wall-ink); }
.lock-in { display: flex; flex-direction: column; align-items: stretch; padding: 22px 14px 18px; text-align: center; }
.lock-date { font-size: 18px; font-weight: 600; }
.lock-time { font-size: 72px; font-weight: 600; line-height: 1; letter-spacing: -.02em; margin: 2px 0 22px; }
.push--lock { background: var(--push-glass); color: var(--ink); text-align: left; box-shadow: none; }
.lock-bot { display: none; }

/* ---------- hero: text, then Dad's phone and the daughter's lock screen ---------- */
.hero { padding-top: 16px !important; }
.eyebrow { font-size: var(--fs-small); font-weight: 800; color: var(--acc-text); line-height: 1.35; }
h1 { margin-top: 12px; font-size: var(--fs-h1); }
h1 .acc { display: block; }
.lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--muted); max-width: 30em; }
.duo { margin-top: 36px; display: flex; flex-direction: column; }
.dp { display: flex; flex-direction: column; }
.dp-tag { order: -1; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.tiled { --tbg: var(--p-peach); }
.tiled--blue { --tbg: var(--p-blue); }
.tiled .dp-tag { margin: 0; padding: 16px 20px 0; background: var(--tbg); border-radius: 24px 24px 0 0; }
.tiled .tile { background: var(--tbg); border-radius: 0 0 24px 24px; padding-top: 14px; }
.lock { width: auto; border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.lock::before { display: none; }
.arrow { display: block; color: var(--acc); }
.arrow-d { width: 48px; height: 44px; margin: 8px 0 8px 22px; }
.arrow-r { display: none; width: 48px; height: 28px; flex: none; }

/* ---------- family: the blue band, a big notification ---------- */
.band { background: var(--p-blue); border-radius: 24px; padding: 28px 20px; display: grid; gap: 24px; }
.ticks { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.35; }
.ticks .ic { width: 28px; height: 28px; color: var(--acc); margin-top: 1px; }
.push--big img { width: 56px; height: 56px; border-radius: 14px; }
.push--big .push-t { font-size: 22px; font-weight: 800; }

/* ---------- why: three pastel cards ---------- */
.cards { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; }
.card { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border-radius: 24px; }
.card > .ic { width: 48px; height: 48px; color: var(--acc-text); }
.card p { margin-top: 6px; color: var(--muted); }
.card.blue { background: var(--p-blue); } .card.peach { background: var(--p-peach); } .card.green { background: var(--p-green); }

/* ---------- how to log + the doctor's report ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: s; align-content: start; }
.steps li { counter-increment: s; display: flex; align-items: flex-start; gap: 16px; }
.steps li::before { content: counter(s); flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--btn); color: var(--on-btn); display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.steps p { margin-top: 4px; color: var(--muted); }
.tile--card { background: var(--card); box-shadow: var(--shadow); }
.paper { margin-top: 24px; background: var(--card); border-radius: 18px; padding: 22px 22px 18px; box-shadow: var(--shadow); max-width: 520px; }
.paper-h { display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 1.2; }
.paper-h img { width: 40px; height: 40px; border-radius: 10px; }
.chart { display: block; width: 100%; height: auto; margin: 16px 0 10px; }
.chart text { font: 600 13px Manrope, sans-serif; fill: var(--muted); text-anchor: end; }
.chart path { stroke: var(--line); stroke-width: 1; }
.chart polyline { fill: none; stroke-width: 2.4; stroke-linejoin: round; }
.chart .sys { stroke: var(--sys); } .chart circle.sys { fill: var(--sys); stroke: none; }
.chart .dia { stroke: var(--dia); } .chart circle.dia { fill: var(--dia); stroke: none; }
.paper table { width: 100%; border-collapse: collapse; font-size: 18px; font-variant-numeric: tabular-nums; }
.paper th, .paper td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.paper th { font-weight: 800; color: var(--muted); background: var(--bg); }

/* ---------- price: the green band ---------- */
.band--green { background: var(--p-green); }
.price-in h2 { font-size: 40px; color: var(--acc-text); }
.price-in .cta { margin-top: 0; }

/* ---------- faq: plain rows ---------- */
.faq h2 { margin-bottom: 16px; }
details { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; margin-top: 10px; padding: 0 20px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 0; font-weight: 600; font-size: 20px; line-height: 1.3; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--acc-text); width: 28px; height: 28px; }
details[open] summary .ic { transform: rotate(180deg); }
details p { margin: 0 0 18px; color: var(--muted); font-size: 20px; }

/* ---------- footer: one line on a wide screen ---------- */
.foot { margin-top: 24px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 10px; justify-items: start; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.foot-brand b { font-size: 24px; font-weight: 800; }
.foot-co, .copy { color: var(--muted); font-size: 16px; }
.foot-links { display: grid; }
.foot-links a { display: inline-block; min-height: 48px; padding: 12px 0; font-size: 18px; font-weight: 600; }

/* ---------- wider screens ---------- */
@media (min-width: 600px) { :root { --gut: 32px; } }
@media (min-width: 700px) {
  /* the hero phones side by side: both whole, 288 px (the frame at 0.61 of the app) */
  :root { --pw: 288px; }
  .btn--top.lt { display: none; }
  html[data-lang='ru'] .lt-ru, html[data-lang='uk'] .lt-uk, html[data-lang='en'] .lt-en, html[data-lang='cs'] .lt-cs, html:not([data-lang]) .lt-ru { display: inline-flex; }
  .duo { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
  .dp { align-items: center; }
  .dp-tag, .tiled .dp-tag { order: 0; margin: 14px 0 0; padding: 0; background: none; border-radius: 0; }
  .tiled .tile { background: none; padding: 0; border-radius: 0; overflow: visible; }
  .cut--hero { height: auto; overflow: visible; }
  .lock { width: var(--pw); border: 10px solid var(--frame); border-radius: 48px; box-shadow: 0 0 0 1px var(--frame-edge), var(--shadow); }
  .lock::before { display: block; }
  .lock-in { aspect-ratio: 440 / 956; padding: 52px 12px 14px; }
  .lock-date { font-size: 16px; }
  .lock-time { font-size: 68px; margin-bottom: 18px; }
  .push--lock { padding: 12px; gap: 10px; border-radius: 18px; }
  .push--lock img { width: 34px; height: 34px; border-radius: 8px; }
  .push--lock .push-h { font-size: 15px; }
  .push--lock .push-t { font-size: 16px; }
  .lock-bot { display: flex; justify-content: space-between; margin-top: auto; padding: 0 14px 8px; }
  .lock-bot span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .28); }
  .lock-bot .ic { width: 22px; height: 22px; }
  .arrow-d { display: none; }
  .arrow-r { display: block; margin-bottom: 40px; }
  .tile--card { padding: 24px 24px 0; }
}
@media (min-width: 900px) {
  :root { --fs-body: 22px; --fs-h1: 56px; --fs-h2: 40px; --fs-h3: 24px; --sec: 48px; --gut: 40px; }
  .lead { font-size: 24px; }
  .band { padding: 40px 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .doc .paper { transform: rotate(-1.5deg); }
  .price-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .price-in h2 { font-size: 48px; }
  .steps p { font-size: 20px; }
  .foot-in { grid-template-columns: auto auto 1fr auto; align-items: center; column-gap: 32px; }
  .foot-links { display: flex; gap: 28px; justify-content: center; }
  .foot-co { padding-left: 32px; border-left: 1px solid var(--line-2); }
}
@media (min-width: 1200px) {
  :root { --fs-h1: 52px; }
  .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
  .duo { margin-top: 0; }
  .hero .cta .btn > span { display: flex; flex-direction: column; }
  .hero .btn .dash { display: none; }
  .hero .btn-sub { font-size: 18px; }
  /* «7 days free» on the left over two rows, the text and the button on the right */
  .price-in { grid-template-columns: auto minmax(0, 1fr); column-gap: 48px; row-gap: 20px; align-items: start; }
  .price-in h2 { grid-row: 1 / span 2; align-self: center; padding-right: 48px; border-right: 1px solid var(--line-2); }
}

/* ---------- LV4: the longer page ---------- */
/* family: how to connect, inside the blue band */
.connect { border-top: 1px solid rgba(36, 73, 109, .2); padding-top: 24px; }
.connect > h3 { margin-bottom: 18px; }
/* two sizes: the normal and the large Today, captions on the tiles like Dad's phone in the hero */
.pair { margin-top: 28px; display: grid; gap: 28px; }
/* how to log: three steps, each with its phone under it */
.how3 { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 40px; counter-reset: s; }
.how3 li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 18px; align-content: start; }
.how3 li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--btn); color: var(--on-btn); display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.how3 .hw p { margin-top: 4px; color: var(--muted); }
.how3 .tile { grid-column: 1 / -1; }
/* text | picture */
.split { display: grid; gap: 28px; align-items: center; }
.split-t .ticks { margin-top: 20px; }
.split .paper { margin-top: 0; }
.rem-lock { display: flex; justify-content: center; }
.rem-lock .lock { flex: 1 1 auto; max-width: 460px; }
.lock-in .push + .push { margin-top: 10px; }
.band--peach { background: var(--p-peach); }
/* plans: a table from 700 px, three cards on a phone */
.ptable { display: none; width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; font-size: 20px; line-height: 1.3; }
.ptable th, .ptable td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ptable thead th { font-weight: 800; background: var(--p-blue); }
.ptable tbody th { text-align: left; font-weight: 600; width: 46%; }
.ptable tr:last-child > * { border-bottom: 0; }
.ptable td .ic { margin: 0 auto; width: 26px; height: 26px; color: var(--ok); }
.ptable .no { color: var(--muted); }
.pcards { margin-top: 24px; display: grid; gap: 16px; }
.pcard { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.pcard h3 { color: var(--acc-text); }
.pcard .ticks { margin-top: 14px; }
.note { margin-top: 18px; }
/* languages: a thin band */
.band--thin { display: block; text-align: center; padding: 28px 20px; }
.band--thin h2 { font-size: var(--fs-h3); }
.langs-w { margin-top: 12px; font-size: 28px; font-weight: 800; line-height: 1.35; color: var(--acc-text); }
.langs-w span { white-space: nowrap; }
.langs-w + .sub { margin-top: 8px; }
@media (max-width: 699px) {
  /* a phone inside a band: the tile takes the band's padding, the frame is cut by the band's bottom edge */
  .band .tile--card { margin: 0 -20px -28px; background: none; box-shadow: none; border-radius: 0 0 24px 24px; }
}
@media (min-width: 700px) {
  .pair { display: flex; justify-content: center; gap: 56px; }
  .rem-lock .lock { flex: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ptable { display: table; }
  .pcards { display: none; }
}
@media (min-width: 900px) {
  .connect { grid-column: 1 / -1; }
  .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .split { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
  .split--doc { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
  .split--rev { grid-template-columns: auto minmax(0, 1fr); }
  .split--rev .split-t { order: 2; }
  .band.split { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
  .band--thin { padding: 32px 48px; }
}
@media (min-width: 980px) {
  .cards:not(.cards--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* three phones of 288 px in a row need a column of 288 + 2 × 18: from 1100 px (at 980 a column is 286) */
@media (min-width: 1100px) {
  .how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 24px; }
  .how3 li { grid-row: span 2; grid-template-rows: subgrid; row-gap: 20px; }
  .how3 .tile { padding: 20px 18px 0; align-self: start; }
}

/* ---------- G2: the gift (the landing's band, /gift/, /gift/done/; web/build-gift.mjs) ---------- */
/* the error red is deeper than --sys: 7.2:1 on the peach of the alert, 8.9:1 on white */
:root { --err: #8E1F14; --mono: ui-monospace, 'SF Mono', Menlo, 'Roboto Mono', Consolas, monospace; }
/* the certificate is a picture of the real PDF: a sheet on the table */
.cert img, .gift-band .cert-pic img, .tile--cert img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 2px 6px rgba(30, 30, 32, .08), 0 18px 40px rgba(30, 30, 32, .14); }
.cert figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); text-align: center; }
.gift-hero { padding-top: 16px !important; }
.gift-hero-in { display: grid; gap: 28px; }
.cert { max-width: 620px; }
/* the landing: a peach band before the plans */
.gift-band { background: var(--p-peach); border-radius: 24px; padding: 28px 20px; display: grid; gap: 24px; align-items: center; }
.gift-band .btn { margin-top: 20px; }
.gift-band .cert-pic { max-width: 520px; transform: rotate(-1.5deg); }
/* the form: one white card */
.buy { background: var(--card); border-radius: 24px; padding: 24px 18px 28px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.buy-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.buy-h2 { margin-top: 36px; }
.cur { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cur legend { float: left; margin-right: 8px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.cur label { position: relative; }
.cur input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cur span { display: grid; place-items: center; min-width: 64px; min-height: 48px; padding: 0 10px; border-radius: 12px; border: 2px solid var(--line-2); font-size: 18px; font-weight: 800; color: var(--muted); }
.cur input:checked + span { background: var(--p-blue); border-color: var(--acc); color: var(--acc-text); }
.cur input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 3px; }
.plans2 { margin-top: 20px; display: grid; gap: 16px; }
.pl { position: relative; display: block; padding: 20px 20px 22px; border: 2px solid var(--line-2); border-radius: 20px; cursor: pointer; background: var(--card); }
.pl input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pl:has(input:checked) { border-color: var(--acc); background: var(--p-blue); box-shadow: 0 0 0 2px var(--acc) inset; }
.pl:has(input:focus-visible) { outline: 3px solid var(--acc); outline-offset: 3px; }
.pl-h { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); line-height: 1.2; }
.pl-h b { font-weight: 800; }
.pl-dot { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px solid var(--muted); background: var(--card); }
.pl:has(input:checked) .pl-dot { border: 8px solid var(--btn); }
.pl-price { display: block; margin: 8px 0 0 40px; font-size: 30px; font-weight: 800; color: var(--acc-text); font-variant-numeric: tabular-nums; min-height: 1.2em; line-height: 1.2; }
.pl .ticks { margin-top: 14px; }
.pl-tag { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font-size: 18px; font-weight: 800; }
.flds { margin-top: 18px; display: grid; gap: 22px; }
.fld label { display: block; font-weight: 600; font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); font-size: var(--fs-small); }
.fld input, .fld textarea { display: block; width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--ink); font: 400 20px/1.35 Manrope, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.fld textarea { resize: vertical; min-height: 104px; }
.fld input::placeholder, .fld textarea::placeholder { color: #56565C; opacity: 1; }
.fld input:focus, .fld textarea:focus { border-color: var(--acc); outline: 3px solid rgba(46, 92, 138, .25); outline-offset: 0; }
.fld [aria-invalid='true'] { border-color: var(--err); }
.hint { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.count { text-align: right; font-variant-numeric: tabular-nums; }
.err { margin-top: 6px; font-size: var(--fs-small); font-weight: 600; color: var(--err); }
.chk { display: flex; align-items: center; gap: 14px; min-height: 48px; font-size: 20px; line-height: 1.3; cursor: pointer; }
.chk input { width: 28px; height: 28px; flex: none; margin: 0; accent-color: var(--btn); }
.legal { margin-top: 26px; font-size: var(--fs-small); color: var(--muted); }
button.btn { border: 0; font: inherit; font-size: 20px; cursor: pointer; }
.btn.go { width: 100%; margin-top: 16px; font-weight: 800; min-height: 64px; }
.btn.go:disabled { cursor: progress; opacity: .8; }
.buy .fine { text-align: center; }
.alert { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--p-peach); color: var(--err); font-weight: 600; font-size: var(--fs-small); }
.alert[hidden], .err[hidden], .send-to[hidden] { display: none; }
.tile--cert { background: var(--p-peach); padding: 22px 18px; align-items: center; }
/* the done page: one of six states (gift.js puts it on <html data-state>) */
.done-in { max-width: 760px; text-align: center; }
.st { display: none; }
html:not([data-state]) .st-wait, html[data-state='wait'] .st-wait, html[data-state='slow'] .st-slow, html[data-state='paid'] .st-paid,
html[data-state='used'] .st-used, html[data-state='missing'] .st-missing, html[data-state='error'] .st-error { display: block; }
.again { display: none; margin-top: 32px; }
html[data-state='paid'] .again, html[data-state='used'] .again, html[data-state='missing'] .again, html[data-state='error'] .again { display: block; }
.st-paid .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.st-paid h1 .acc { display: inline; }
.st-paid .lead { margin: 12px auto 0; }
.spin { display: block; width: 56px; height: 56px; margin: 8px auto 20px; border-radius: 50%; border: 5px solid var(--p-blue); border-top-color: var(--btn); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
.codebox { margin: 28px auto 0; max-width: 560px; padding: 22px 16px; border: 3px dashed var(--acc); border-radius: 22px; background: var(--card); }
.codebox-l { font-size: var(--fs-small); font-weight: 800; color: var(--muted); }
.code { margin-top: 6px; font: 800 clamp(26px, 8vw, 44px)/1.15 var(--mono); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.done-btns { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.done-btns .btn { margin-top: 0; }
.btn--ghost { background: transparent; color: var(--acc-text); box-shadow: inset 0 0 0 2px var(--btn); font-weight: 800; }
.btn[hidden] { display: none; }
.mailed { margin: 20px auto 0; display: flex; justify-content: center; align-items: flex-start; gap: 10px; color: var(--muted); max-width: 34em; text-align: left; }
.mailed .ic { color: var(--acc-text); margin-top: 1px; }
.tell { margin-top: 40px; padding: 26px 20px; border-radius: 24px; background: var(--p-blue); text-align: left; }
.tell .steps { margin-top: 18px; }
.tell .steps p { margin-top: 10px; color: var(--ink); }
.tell .soon { margin-top: 18px; }
@media (max-width: 559px) {
  .done-btns .btn { width: 100%; }
}
@media (min-width: 600px) {
  .plans2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy { padding: 32px 32px 36px; }
}
@media (min-width: 900px) {
  .gift-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; align-items: center; }
  .gift-band { padding: 40px 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; }
  .tile--cert { padding: 28px 24px; }
}
@media (min-width: 900px) {
  /* four links in the gift pages' footer: a link wraps as a whole, never inside its words */
  .foot-links { flex-wrap: wrap; column-gap: 28px; row-gap: 0; }
  .foot-links a { white-space: nowrap; }
}
@media (min-width: 1100px) {
  /* the certificate's tile as tall as the phones' tiles next to it */
  .how3 .tile--cert { align-self: stretch; }
}
