/* Lenote landing — a dark ruled notebook page with a red margin.
   Handwritten notes in coral, cards with offset shadows, rounded pictures. */

:root {
  --bg: #141C30;          /* the page */
  --card: #1A2440;        /* a sheet on the page */
  --card-2: #1F2B4D;
  --deep: #0E1526;        /* offset shadow under cards */
  --edge: #2E3B60;        /* card edges, dashed separators */
  --rule: rgba(150, 175, 220, .07);
  --margin: #B3262E;      /* the notebook's red margin */
  --ink: #CFE0F8;         /* headings */
  --text: #AEBCD6;        /* running text */
  --muted: #8392B2;
  --coral: #FF6F6F;       /* handwriting, overdue */
  --green: #4CC38A;
  --blue: #2F63C4;
  --btn: #26272D;

  --m: clamp(24px, 4.2vw, 64px);
  --gap: clamp(88px, 9vw, 150px);
  --r: 14px;              /* card radius */
  --r-pic: 26px;          /* picture radius */

  --f-text: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Itim", "Be Vietnam Pro", cursive;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --step-head: clamp(2rem, 1.2rem + 2.8vw, 3.5rem);
  --step-display: clamp(2.4rem, 1rem + 4.4vw, 4.6rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; background: var(--bg); }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, var(--rule) 39px 40px);
  color: var(--text);
  font: 400 var(--step-body)/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* the red double margin line, running the full page */
body::before {
  content: ""; position: fixed; z-index: 0; top: 0; bottom: 0; left: clamp(8px, 1.6vw, 24px);
  width: 6px; border-left: 1.5px solid var(--margin); border-right: 1.5px solid var(--margin);
  pointer-events: none; opacity: .85;
}
body > * { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-text); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
strong { color: var(--ink); }
::selection { background: var(--coral); color: var(--bg); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hand { font-family: var(--f-hand); color: var(--coral); font-size: 1.25rem; line-height: 1.4; letter-spacing: 0; }
.wavy { text-decoration: underline wavy var(--coral); text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-skip-ink: none; }

/* ---------- buttons: dark key with a red offset shadow ---------- */
.btn, .cell, .bar, .inline-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 700 var(--step-body)/1 var(--f-text); text-decoration: none;
  background: var(--btn); color: #EEF1F7;
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--margin);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.btn:hover, .cell:hover, .bar:hover, .inline-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--margin); }
.btn:active, .cell:active, .bar:active, .inline-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--margin); }
.btn-tone, .cell-tone { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--edge), 4px 4px 0 var(--deep); }
.btn-tone:hover, .cell-tone:hover { box-shadow: inset 0 0 0 1.5px var(--muted), 6px 6px 0 var(--deep); }
.btn-tone:active, .cell-tone:active { box-shadow: inset 0 0 0 1.5px var(--muted), 1px 1px 0 var(--deep); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: var(--step-small); }

/* ---------- HERO ---------- */
.hero { padding: 28px var(--m) var(--gap); }
.hero-card {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.6rem/1 var(--f-text); letter-spacing: -0.02em; color: var(--ink); }
.brand em { font-style: normal; color: var(--coral); }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a, .foot-cols a { text-decoration: underline wavy transparent; text-underline-offset: 6px; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
.nav-links a:hover, .foot-cols a:hover { text-decoration-color: var(--coral); color: var(--ink); }
.lang { display: flex; gap: 6px; }
.lang button {
  font: 700 var(--step-small)/1 var(--f-text); color: var(--text);
  background: transparent; border: 1.5px solid var(--edge); border-radius: 6px; min-width: 44px; min-height: 40px; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--btn); color: #fff; border-color: var(--btn); box-shadow: 3px 3px 0 var(--margin); }
.lang button:hover:not([aria-pressed="true"]) { border-color: var(--muted); color: var(--ink); }

.hero-text .hand { margin-bottom: 18px; }
.hero h1 { font-size: var(--step-display); max-width: 12em; }
.hero .lead { margin-top: 30px; font-size: var(--step-lead); max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero .note { margin-top: 24px; font-size: 1.125rem; color: var(--muted); }

.hero-plate { position: relative; justify-self: end; width: min(100%, 400px); }
.hero-plate figcaption { margin: 0 0 12px 8px; transform: rotate(-2deg); transform-origin: left; }
.hero-plate img {
  width: 100%;
  border-radius: var(--r-pic);
  border: 6px solid var(--card-2);
  box-shadow: 10px 10px 0 var(--deep);
  will-change: transform;
}

/* ---------- TRY: the live ledger ---------- */
.try {
  max-width: calc(1240px + 2 * var(--m)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px);
  padding: 0 var(--m) var(--gap);
  align-items: center;
}
.ledger-hint { margin: 0 0 12px 6px; transform: rotate(-1.5deg); transform-origin: left; }
.ledger {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--deep);
  padding: clamp(20px, 2.6vw, 32px);
}
.ledger-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--edge); }
.ledger-title { font: 400 1.6rem/1.2 var(--f-hand); color: var(--ink); }
.ledger-month { font-size: var(--step-small); color: var(--muted); margin-top: 4px; }
.ledger-sum { text-align: right; }
.ledger-sum-label { font-size: var(--step-small); color: var(--muted); }
.ledger-total { font: 800 clamp(1.5rem, 1rem + 1.4vw, 2.25rem)/1.15 var(--f-text); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.ledger-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ledger-table th { text-align: left; font-weight: 600; font-size: var(--step-small); color: var(--muted); padding: 14px 8px 6px; }
.ledger-table th:nth-child(3), .ledger-table th:nth-child(4) { text-align: right; }
.ledger-table td { padding: 14px 8px; border-bottom: 1px dashed var(--edge); vertical-align: middle; }
.ledger-table tbody tr:last-child td { border-bottom: 0; }
.ledger-table .chk { width: 40px; padding-left: 0; }
.ledger-table .who { font: 400 1.25rem/1.2 var(--f-hand); color: var(--ink); }
.ledger-table .num { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }
.ledger-table .st { text-align: right; white-space: nowrap; font-size: var(--step-small); color: var(--muted); }
.ledger-table .st.over span, .ledger-table .st.paid span { display: inline-block; padding: 2px 9px; border-radius: 6px; font-weight: 600; }
.ledger-table .st.over span { background: rgba(255, 111, 111, .14); color: var(--coral); }
.ledger-table .st.paid span { background: rgba(76, 195, 138, .14); color: var(--green); }
.ledger-table tr.new td { background: rgba(169, 204, 247, .06); }
.ledger-table tr.new td:first-child { border-radius: 10px 0 0 10px; }
.ledger-table tr.new td:last-child { border-radius: 0 10px 10px 0; }
.ledger-table tr.flash td { animation: ink .6s var(--ease); }
@keyframes ink { from { background: rgba(255, 111, 111, .18); } }
.ledger-table tr.done .who, .ledger-table tr.done .num { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; color: var(--muted); }

.tick {
  display: block; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #5B6B91; background: transparent; cursor: pointer; position: relative; padding: 0;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.tick:hover { border-color: var(--ink); transform: scale(1.08); }
.tick[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.tick[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px;
  border: solid #10251A; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

.ledger-form { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--edge); display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; gap: 12px; }
.ledger-form label { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.ledger-form input {
  font: 600 var(--step-body)/1.2 var(--f-text); color: var(--ink); color-scheme: dark;
  background: var(--bg); border: 1.5px solid var(--edge); border-radius: 8px;
  padding: 11px 12px; min-height: 50px; width: 100%; min-width: 0;
  transition: border-color .15s var(--ease);
}
.ledger-form input:hover { border-color: var(--muted); }
.ledger-form input:focus { outline: none; border-color: var(--coral); }

.try-side { display: flex; flex-direction: column; gap: 36px; }
.try-side h2 { font-size: var(--step-head); }
.try-side h2 + p { margin-top: 24px; max-width: 40ch; }
.sms { background: var(--card); border: 1px solid var(--edge); border-radius: var(--r); padding: 22px; box-shadow: 8px 8px 0 var(--deep); }
.sms-to { font-size: var(--step-small); color: var(--muted); }
.sms-bubble {
  margin-top: 14px; margin-left: clamp(0px, 3vw, 40px);
  background: var(--blue); color: #fff;
  padding: 14px 18px; border-radius: 20px 20px 4px 20px; line-height: 1.5;
}
.sms-meta { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cell { min-height: 60px; }

/* ---------- FEATURES: pinned story ---------- */
.features { max-width: calc(1240px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 48px; }
.feat-title { font-size: var(--step-head); max-width: 15em; }
.strike { font-size: 1.5rem; text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 3px; transform: rotate(-3deg); }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.stage {
  grid-column: 1 / 7;
  position: sticky; top: 24px; height: calc(100svh - 48px);
  background: var(--card); border: 1px solid var(--edge); border-radius: 24px;
  box-shadow: 10px 10px 0 var(--deep);
  overflow: hidden;
  transition: background-color .6s var(--ease);
}
.stage[data-active="1"] { background: #2A2236; }
.stage[data-active="2"] { background: var(--card-2); }
.stage[data-active="3"] { background: #1B2C3A; }
.stage[data-active="4"] { background: var(--card); }
.stage-img {
  position: absolute; left: 50%; top: 7%;
  width: min(62%, 380px);
  border-radius: var(--r-pic); border: 6px solid var(--bg);
  transform: translate(-50%, 40px); opacity: 0;
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.stage-img.on { opacity: 1; transform: translate(-50%, 0); }
.steps { grid-column: 8 / 13; }
.step { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.step h3 { font-size: clamp(1.625rem, 1rem + 1.8vw, 2.5rem); transition: color .3s var(--ease); }
.step p { margin-top: 22px; max-width: 38ch; font-size: var(--step-lead); }
.step-shot { display: none; }
@media (min-width: 901px) { .js .step.active h3 { color: var(--coral); } }

/* ---------- HOW: the slip ---------- */
.how {
  max-width: calc(1240px + 2 * var(--m)); margin: 0 auto;
  padding: var(--gap) var(--m);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  align-items: center;
}
.how-text { grid-column: 1 / 6; }
.how-text h2 { font-size: var(--step-head); }
.how-text p { margin-top: 24px; max-width: 32ch; font-size: var(--step-lead); }
.slip {
  grid-column: 7 / 13; justify-self: end; width: 100%; max-width: 520px;
  background: var(--card);
  border-radius: var(--r) var(--r) 0 0;
  padding: 32px 30px 60px;
  font-size: 1rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
}
.slip h3 { font: 400 1.25rem/1.3 var(--f-hand); color: var(--coral); letter-spacing: 0; margin-top: 26px; }
.slip h3:first-child { margin-top: 0; }
.slip .row { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; color: var(--text); }
.slip .row i { flex: 1; min-width: 24px; height: 0; border-bottom: 3px dotted var(--edge); }
.slip .row b { font-weight: 700; white-space: nowrap; color: var(--ink); }
.slip .total { margin: 30px -30px 0; padding: 0 30px; min-height: 52px; align-items: center; justify-content: space-between; background: var(--btn); color: #fff; font-weight: 700; }
.slip .total b { color: #fff; }

/* ---------- PRICING: the ticket ---------- */
.pricing { padding: 0 var(--m) var(--gap); display: grid; place-items: center; }
.ticket {
  --notch: 32px;
  position: relative;
  width: min(1240px, 100%);
  display: grid; grid-template-columns: 7fr 3fr;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--deep);
  min-height: 420px;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 70%; width: var(--notch); height: var(--notch);
  background: var(--bg); border-radius: 50%; transform: translateX(-50%); z-index: 2;
}
.ticket::before { top: calc(var(--notch) / -2); }
.ticket::after { bottom: calc(var(--notch) / -2); }
.ticket-main { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ticket-main h2 { font-size: var(--step-head); max-width: 12em; }
.ticket-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.ticket-cols h3 { font: 400 1.375rem/1.3 var(--f-hand); color: var(--coral); letter-spacing: 0; margin-bottom: 8px; }
.ticket-cols p { font-size: 1.0625rem; }
.ticket-stub {
  background: var(--card-2);
  border-radius: 0 var(--r) var(--r) 0;
  border-left: 3px dashed var(--edge);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: center; align-items: stretch; text-align: center;
}
.price { font: 800 clamp(3.5rem, 1rem + 6vw, 6.5rem)/1 var(--f-text); letter-spacing: -0.04em; color: var(--ink); }
.price-sub { margin-top: 10px; font-family: var(--f-hand); font-size: 1.25rem; color: var(--coral); }
.bar { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: calc(1240px + 2 * var(--m)); margin: 0 auto;
  padding: 0 var(--m) var(--gap);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
}
.faq h2 { grid-column: 1 / 5; font-size: var(--step-head); }
.faq-text { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 26px; }
.faq-text strong { font-weight: 700; }

/* ---------- CTA ---------- */
.cta {
  max-width: calc(1240px + 2 * var(--m)); margin: 0 auto;
  padding: 0 var(--m) var(--gap);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px;
}
.cta h2 { font-size: clamp(2.5rem, 1rem + 5.6vw, 6rem); line-height: 1.05; }
.cta-line { margin-top: 36px; font: 700 clamp(1.375rem, 1rem + 1.4vw, 2rem)/2 var(--f-text); color: var(--ink); }
.inline-btn { min-height: 0; padding: .1em .55em; font-size: inherit; line-height: 1.4; vertical-align: baseline; margin: 0 .15em; }
.cta-note { margin-top: 20px; }
.cta-logo { width: clamp(200px, 24vw, 360px); border-radius: 50%; box-shadow: 12px 12px 0 var(--deep); animation: turn 24s linear infinite; }
@keyframes turn { from { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } to { transform: rotate(-6deg); } }

/* ---------- FOOTER: the mark, built large ---------- */
.foot { max-width: calc(1240px + 2 * var(--m)); margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--m) 32px; border-top: 1px dashed var(--edge); }
.mark { display: block; width: 100%; height: auto; overflow: visible; }
.mark rect { fill: var(--card); stroke: var(--edge); stroke-width: 2; rx: 16px; }
.mark text { font: 800 200px/1 var(--f-text); letter-spacing: -0.04em; fill: var(--ink); }
.mark .blk:nth-child(n+3) text { fill: var(--coral); }
.mark .blk { transform-box: fill-box; transform-origin: bottom; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; max-width: 760px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols a { font-size: 0.9375rem; justify-self: start; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- motion ---------- */
.js .reveal > *, .js .reveal.solo { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in > *, .js .reveal.solo.in { opacity: 1; transform: none; }
.js .reveal.in > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal.in > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal.in > *:nth-child(n+4) { transition-delay: 240ms; }
.js .reveal.in > .ledger-hint { transform: rotate(-1.5deg); }
.js .hero-text > *, .js .nav, .js .hero-plate { animation: rise .8s var(--ease) both; }
.js .hero-text > *:nth-child(2) { animation-delay: 80ms; }
.js .hero-text > *:nth-child(3) { animation-delay: 160ms; }
.js .hero-text > *:nth-child(4) { animation-delay: 220ms; }
.js .hero-text > *:nth-child(5) { animation-delay: 280ms; }
.js .hero-plate { animation-delay: 200ms; animation-duration: 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.js .mark .blk { transform: scaleY(.7); transition: transform .9s var(--ease); transition-delay: var(--d); }
.js .mark.in .blk { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > *, .js .reveal.solo, .js .mark .blk { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-text > *, .js .nav, .js .hero-plate, .cta-logo { animation: none; }
  .hero-plate img { transform: none !important; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero-card { grid-template-columns: minmax(0, 1fr) minmax(220px, 40%); }
  .try { grid-template-columns: 1fr; }
  .how-text { grid-column: 1 / 7; }
  .slip { grid-column: 7 / 13; }
  .faq h2 { grid-column: 1 / -1; margin-bottom: 36px; }
  .faq-text { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; }
  .cta-logo { grid-row: 1; width: 180px; }
}

/* ---------- features stack below 900px ---------- */
@media (max-width: 900px) {
  .story { display: block; }
  .stage { display: none; }
  .step { min-height: 0; padding: 0 0 56px; }
  .step-shot { display: block; aspect-ratio: 4 / 3.6; overflow: hidden; background: var(--card); border: 1px solid var(--edge); border-radius: 22px; padding: 22px 22px 0; margin-bottom: 24px; box-shadow: 8px 8px 0 var(--deep); }
  .step-shot img { width: 72%; margin: 0 auto; border-radius: 22px; border: 5px solid var(--bg); }
  .step h3 { font-size: 1.625rem; }
  .step p { margin-top: 14px; font-size: 1.0625rem; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --m: 22px; }
  body::before { left: 6px; width: 5px; }
  .hero { padding-top: 18px; }
  .hero-card { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
  .nav-links { order: 3; width: 100%; gap: 24px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .actions .btn { flex: 1 1 100%; }
  .hero-plate { justify-self: center; margin-top: 56px; width: min(100%, 320px); }

  .ledger { padding: 18px 14px; }
  .ledger-head { flex-direction: column; }
  .ledger-sum { text-align: left; }
  .ledger-table td { padding: 12px 4px; }
  .ledger-table .chk { width: 34px; }
  .ledger-table .who { font-size: 1.125rem; }
  .ledger-table th:nth-child(4), .ledger-table td.st { display: none; }
  .ledger-form { grid-template-columns: 1fr 1fr; }
  .ledger-form label:last-child { grid-column: 1 / -1; }
  .cells { grid-template-columns: 1fr; }

  .how { display: block; }
  .slip { margin-top: 40px; max-width: none; padding: 26px 20px 56px; }
  .slip .total { margin: 28px -20px 0; padding: 12px 20px; }
  .slip .row { flex-wrap: wrap; }
  .slip .row span { flex: 1 1 60%; }

  .ticket { grid-template-columns: 1fr; min-height: 0; }
  .ticket::before, .ticket::after { left: auto; top: auto; bottom: auto; transform: none; }
  .ticket::before { left: calc(var(--notch) / -2); top: var(--cut, 70%); }
  .ticket::after { right: calc(var(--notch) / -2); top: var(--cut, 70%); }
  .ticket-cols { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 3px dashed var(--edge); border-radius: 0 0 var(--r) var(--r); }
  .price { font-size: 16vw; }

  .faq { display: block; }
  .faq h2 { font-size: 1.875rem; }
  .faq-text { columns: 1; }

  .cta h2 { font-size: 10.5vw; }
  .cta-logo { width: 150px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
