/* Kalon Learn landing page. Paper, ink and one brass accent (the Kalon Learn design system). */

/* ── Fonts (self-hosted: no third-party requests, fast on slow networks) ── */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-ext-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-ext-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans-ext-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ── Tokens ── */
:root {
  --paper: #F6F1E7;
  --paper-raised: #FBF8F2;
  --paper-sunk: #ECE5D6;
  --ink: #1B2430;
  --ink-soft: #4A5361;
  --ink-muted: #5E646F;
  --on-ink: #F6F1E7;
  --rule: #DDD4C3;
  --rule-strong: #8F8674;
  --brass: #B08D3C;
  --brass-deep: #7A5C17;
  --success: #2E6A3E;
  --success-tint: #E2EDDD;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; color: var(--brass-deep); }
p { margin: 0; }
.mono { font-family: var(--mono); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 4px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; }
.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.6; color: var(--ink-soft); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 4px;
  background: var(--ink); color: var(--on-ink); border: 1.5px solid var(--ink);
  font: 600 16px/1.2 var(--sans); text-decoration: none;
  transition: transform .12s var(--ease), background-color .12s, color .12s;
}
.btn:hover { color: var(--on-ink); background: #0F151D; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--paper-raised); color: var(--ink); border-color: var(--ink); }

.link-quiet { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 6px; }
.link-quiet:hover { color: var(--ink); }
.link-arrow { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* ── Wordmark ── */
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1; color: var(--ink); text-decoration: none; }
.wordmark .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--brass); display: inline-block; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .18s; }
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 880px) {
  .nav nav { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 400px) { .link-quiet { display: none; } }

/* ── Hero ── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); position: relative; }
.hero::before { /* a faint ledger grid behind the hero */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 44px; opacity: .35;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.hero .lede { margin-top: 24px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-muted); }

.hero-visual { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; margin-top: 8px; }
}

/* Phone mockup of the real student app */
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px;
  background: var(--ink); padding: 12px;
  box-shadow: 0 30px 60px -28px rgba(27, 36, 48, .45), 0 0 0 1px rgba(27, 36, 48, .08);
  transform-style: preserve-3d; will-change: transform;
  animation: bob 7s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: var(--ink); z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--paper); overflow: hidden; padding: 54px 18px 18px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.ps-top { display: flex; justify-content: space-between; align-items: center; }
.ps-mark { font-family: var(--display); font-weight: 500; font-size: 17px; display: inline-flex; align-items: baseline; gap: 3px; }
.ps-mark i { width: 5px; height: 5px; background: var(--brass); border-radius: 1px; display: inline-block; }
.ps-bell { width: 18px; height: 18px; border-radius: 50% 50% 4px 4px; border: 1.5px solid var(--ink-soft); position: relative; }
.ps-bell::after { content: ""; position: absolute; right: -3px; top: -3px; width: 6px; height: 6px; border-radius: 1px; background: var(--brass); }
.ps-greet { font-family: var(--display); font-size: 22px; line-height: 1.15; margin-top: 6px; }
.ps-continue { background: var(--accent); color: var(--on-ink); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.ps-label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.ps-continue strong { font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.2; }
.ps-sub { font-size: 11px; opacity: .85; }
.ps-bar { margin-top: 8px; height: 4px; border-radius: 2px; background: rgba(246, 241, 231, .25); overflow: hidden; }
.ps-bar span { display: block; height: 100%; background: var(--paper); border-radius: 2px; animation: grow 2.4s var(--ease) .6s both; }
.ps-h { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); margin-top: 6px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.ps-row { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.ps-sq { width: 34px; height: 34px; border-radius: 4px; flex: none; }
.ps-row b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ps-row small { font-size: 10px; color: var(--ink-muted); }
.ps-tabs { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid var(--rule); padding-top: 12px; }
.ps-tabs span { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--ink-muted); }
.ps-tabs span.on { border-color: var(--ink); background: var(--ink); }

/* Little notes floating around the phone */
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 8px;
  padding: 12px 16px 12px 12px; font-size: 13px; line-height: 1.35;
  box-shadow: 0 16px 32px -20px rgba(27, 36, 48, .35);
  white-space: nowrap;
  animation: drift 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 600; }
.float small { color: var(--ink-muted); font-size: 12px; }
/* Desktop: the notes sit beside the phone, overlapping only its frame */
.float-cert { top: 9%; right: calc(50% + 128px); animation-delay: -1s; }
.float-pay { top: 52%; left: calc(50% + 128px); animation-delay: -3s; }
.float-coins { bottom: 7%; right: calc(50% + 120px); animation-delay: -4.5s; }
@media (max-width: 1100px) and (min-width: 901px) {
  .float-cert { right: auto; left: 0; } .float-pay { left: auto; right: 0; top: 72%; } .float-coins { right: auto; left: 0; bottom: 3%; }
}
/* Phones: two notes, above and below the phone, never over its screen */
@media (max-width: 900px) {
  .hero-visual { height: auto; flex-direction: column; gap: 0; padding: 36px 0 40px; }
  .phone { width: 270px; height: 550px; }
  .float { position: relative; inset: auto; z-index: 3; }
  .float-cert { order: -1; align-self: flex-start; margin-bottom: -26px; margin-left: 2%; }
  .float-pay { align-self: flex-end; margin-top: -30px; margin-right: 2%; }
  .float-coins { display: none; }
}
.seal { width: 34px; height: 34px; border-radius: 50%; background: var(--brass); display: grid; place-items: center; flex: none; }
.seal svg, .cert-seal svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dot-ok { width: 10px; height: 10px; border-radius: 2px; background: var(--success); flex: none; }
.coin { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--brass); color: var(--brass-deep); display: grid; place-items: center; font-family: var(--display); font-size: 16px; flex: none; }

/* ── Sections ── */
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Problem: a ledger of struggles, struck through as they scroll in */
.ledger { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1.5px solid var(--rule-strong); }
.ledger li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; row-gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.num { font-family: var(--mono); color: var(--brass-deep); font-size: 15px; padding-top: 8px; grid-row: span 2; }
.struck { font-family: var(--display); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.25; color: var(--ink); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: transparent; transition: text-decoration-color .6s var(--ease) .5s, color .5s .8s; }
.in .struck, .no-motion .struck { color: var(--ink-muted); text-decoration-color: var(--brass); }
.fix { color: var(--ink-soft); font-size: 17px; max-width: 40em; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.step { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.step-n { display: block; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--brass); margin-bottom: 14px; }
.step h3 { font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.figures { margin: clamp(56px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.figures > div { padding: 28px 20px 26px 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.figures dt { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin: 10px 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Courses */
.course-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.course a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; transition: transform .18s var(--ease), border-color .18s; }
.course a:hover { transform: translateY(-4px); border-color: var(--rule-strong); color: var(--ink); }
.course-cover { position: relative; aspect-ratio: 16 / 8; background: var(--accent); display: block; overflow: hidden; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(246, 241, 231, .07) 23px 24px); }
.course-glyph { position: absolute; right: 18px; bottom: -14px; font-family: var(--display); font-size: 96px; line-height: 1; color: rgba(246, 241, 231, .9); letter-spacing: -0.04em; transition: transform .4s var(--ease); }
.course a:hover .course-glyph { transform: translateY(-6px); }
.course-level { position: absolute; left: 16px; top: 16px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--paper); padding: 4px 8px; border-radius: 2px; }
.course-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.course-title { font-family: var(--display); font-size: 22px; line-height: 1.22; }
.course-desc { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.course-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-muted); font-size: 13px; }
.course-meta span + span::before { content: "·"; margin-right: 14px; color: var(--rule-strong); }
.course-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; }
.course-price strong { font-family: var(--display); font-weight: 400; font-size: 26px; font-variant-numeric: tabular-nums; }
.course-price small { color: var(--ink-muted); font-size: 13px; }

/* Certificates */
.certs { background: var(--paper-sunk); }
.cert-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.cert-copy p { color: var(--ink-soft); margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--brass-deep); border-bottom: 2px solid var(--brass-deep); transform: rotate(-45deg); }
.cert-visual { position: relative; padding: 30px 0 70px; }
.cert { position: relative; background: var(--paper-raised); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 22px; transform: rotate(-2deg); box-shadow: 0 30px 50px -36px rgba(27, 36, 48, .5); }
.cert-inner { border: 1.5px solid var(--brass); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.cert-mark { font-family: var(--display); font-weight: 500; font-size: 20px; display: inline-flex; gap: 4px; align-items: baseline; }
.cert-mark i { width: 6px; height: 6px; border-radius: 1px; background: var(--brass); display: inline-block; }
.cert-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.cert-name { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-top: 18px; }
.cert-rule { width: 60%; height: 1px; background: var(--rule); }
.cert-course { color: var(--ink-soft); font-size: 16px; }
.cert-foot { margin-top: 26px; width: 100%; display: flex; justify-content: space-between; text-align: left; gap: 12px; }
.cert-foot small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.cert-foot b { font-weight: 500; font-size: 15px; }
.cert-seal { position: absolute; right: -26px; top: -30px; width: 108px; height: 108px; border-radius: 50%; background: var(--brass); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transform: rotate(12deg); box-shadow: 0 0 0 7px var(--paper-sunk); }
.cert-seal svg { width: 30px; height: 30px; }
.cert-seal small { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.verify-box { position: absolute; left: 6%; bottom: 0; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 260px; box-shadow: 0 18px 30px -22px rgba(27, 36, 48, .45); }
.vb-input { border: 1.5px solid var(--rule-strong); border-radius: 2px; padding: 8px 10px; font-size: 14px; }
.vb-result { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; font-size: 14px; padding: 2px 2px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; } .cert-seal { right: 4px; width: 92px; height: 92px; } }

/* Payments */
.pay-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.pay-copy p { color: var(--ink-soft); margin-top: 22px; }
.pay-copy strong { color: var(--ink); }
.methods { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.methods li { font-family: var(--display); font-size: 22px; padding: 8px 18px; border: 1.5px solid var(--rule-strong); border-radius: 999px; background: var(--paper-raised); }
.chat { max-width: 380px; margin: 0 auto; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-head { font-weight: 600; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.chat-head::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-sunk); border: 1px solid var(--rule); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.bubble.out { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 4px; }
.bubble.in { align-self: flex-start; background: var(--paper-sunk); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.link { background: #26313F; display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--brass); }
.bubble.link b { font-weight: 600; }
.bubble.link small { opacity: .8; font-size: 12.5px; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } .pay-visual { order: 2; } }

/* Invite */
.invite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.invite-card { padding: 34px 40px 10px 0; }
.invite-card + .invite-card { padding-left: 40px; border-left: 1px solid var(--rule); }
.big-figure { display: block; font-family: var(--display); font-size: clamp(64px, 9vw, 112px); line-height: 1; color: var(--brass-deep); letter-spacing: -0.03em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.invite-card h3 { font-size: 26px; margin-bottom: 12px; }
.invite-card p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .invite-grid { grid-template-columns: 1fr; }
  .invite-card { padding-right: 0; }
  .invite-card + .invite-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 24px; }
}

/* FAQ */
.faq-list { margin-top: 36px; border-top: 1.5px solid var(--rule-strong); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .18s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list details p { color: var(--ink-soft); padding: 0 44px 24px 0; max-width: 46em; }

/* Final call */
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final .lede { margin: 22px auto 34px; max-width: 32em; }

/* Footer */
.footer { background: var(--paper-sunk); border-top: 1px solid var(--rule); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer-note { margin-top: 10px; color: var(--ink-muted); font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-copy { grid-column: 1 / -1; color: var(--ink-muted); font-size: 13px; border-top: 1px solid var(--rule); padding-top: 20px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── Motion ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: rotate(-6deg) scale(.94); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal-scale.in { opacity: 1; transform: rotate(-2deg); }
.no-js .reveal, .no-js .reveal-scale { opacity: 1; transform: none; }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes grow { from { width: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .reveal-scale { transform: rotate(-2deg) !important; }
  .struck { text-decoration-color: var(--brass) !important; color: var(--ink-muted) !important; }
}
