/* Penny Roost website. One stylesheet for every page on pennyroost.com.
   Colours are the app's own (src/theme/palettes.ts): ink #0B0E13, card #141921,
   copper #E0A06A (the coin in the mark), violet #A99BFA, mint #34D399. */

@font-face { font-family: "Fraunces"; src: url("/site/fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/site/fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/site/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/site/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/site/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0B0E13;
  --ink-2: #0F131A;
  --card: #141921;
  --chip: #1B212B;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F4F6F8;
  --muted: #A1A9B5;
  --faint: #6F7886;
  --copper: #E0A06A;
  --copper-hi: #F0BA88;
  --copper-deep: #B9733C;
  --violet: #A99BFA;
  --mint: #34D399;
  --paper: #F4EEE3;
  --paper-2: #EAE2D3;
  --paper-ink: #24201B;
  --paper-muted: #5C554B;
  --brand-ink: #9A4E16;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Fine grain over everything, so large dark areas read as material, not as a flat fill. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(224, 160, 106, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.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: 200; background: var(--copper); color: #1A1006; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 420; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(42px, 5.5vw, 80px); line-height: 1; font-variation-settings: "opsz" 144; text-wrap: balance; }
h1 .line { display: block; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; font-variation-settings: "opsz" 120; }
h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.06; font-variation-settings: "opsz" 96; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 380; color: var(--copper); }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-copper {
  color: #1D1206;
  background: linear-gradient(180deg, var(--copper-hi), var(--copper) 55%, #D18F55);
  box-shadow: 0 10px 30px -8px rgba(224, 160, 106, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-copper:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(224, 160, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 14, 19, 0.66);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(11, 14, 19, 0.82); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.wordmark { font: 500 22px/1 var(--serif); letter-spacing: -0.015em; font-variation-settings: "opsz" 48; }
.wordmark b { font-weight: 560; color: var(--copper); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.2s ease; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 7vh, 88px) 0 clamp(40px, 8vh, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 14px; color: var(--muted);
}
.eyebrow img { width: 22px; height: 22px; border-radius: 6px; }
.eyebrow b { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--faint); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }

.hero-art { position: relative; height: clamp(520px, 64vw, 660px); }
.hero-art .glow {
  position: absolute; inset: -10% -20% -10% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 38% at 62% 46%, rgba(224, 160, 106, 0.26), transparent 70%),
    radial-gradient(36% 34% at 86% 22%, rgba(113, 90, 247, 0.16), transparent 70%);
  filter: blur(10px);
}
/* The receipt: paper, thermal print, a torn foot. */
.receipt-wrap { position: absolute; z-index: 1; left: 0; top: 12%; width: min(300px, 46%); transform: rotate(-7deg); filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.55)); }
.receipt {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #FBF7F0, var(--paper) 40%, var(--paper-2));
  color: var(--paper-ink);
  padding: 22px 20px 34px;
  font: 400 12.5px/1.75 var(--mono);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
}
.receipt .rhead { text-align: center; font-weight: 500; letter-spacing: 0.12em; margin-bottom: 2px; }
.receipt .rmeta { display: flex; justify-content: space-between; color: var(--paper-muted); font-size: 11.5px; }
.receipt hr { border: 0; border-top: 1px dashed rgba(36, 32, 27, 0.35); margin: 8px 0; }
.receipt .ln { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px; margin: 0 -4px; border-radius: 3px; white-space: nowrap; }
.receipt .ln span:first-child { overflow: hidden; text-overflow: ellipsis; }
.receipt .tot { font-weight: 500; font-size: 13.5px; }
.receipt .thanks { text-align: center; color: var(--paper-muted); font-size: 11px; letter-spacing: 0.1em; margin-top: 10px; }
.receipt .beam {
  position: absolute; left: 0; right: 0; top: 14%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(224, 160, 106, 0.95) 18%, rgba(255, 213, 170, 1) 50%, rgba(224, 160, 106, 0.95) 82%, transparent);
  box-shadow: 0 0 18px 4px rgba(224, 160, 106, 0.45);
  animation: beam 6s cubic-bezier(0.45, 0, 0.35, 1) infinite;
}
.receipt .ln.item { animation: mark 6s linear infinite; }
@keyframes beam {
  0% { top: 16%; opacity: 0; }
  6% { opacity: 1; }
  62% { top: 74%; opacity: 1; }
  70%, 100% { top: 74%; opacity: 0; }
}
@keyframes mark {
  0%, 4% { background: transparent; }
  8%, 78% { background: rgba(224, 160, 106, 0.22); }
  90%, 100% { background: transparent; }
}
/* The bank's version of the same trip: one line. */
.bankline {
  position: absolute; z-index: 3; left: 0; top: 0;
  width: min(270px, 46%);
  padding: 12px 14px; border-radius: 16px;
  background: rgba(20, 25, 33, 0.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  font-size: 13px;
}
.bankline .lbl { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.bankline .row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); white-space: nowrap; }
.bankline .row b { color: var(--text); font-weight: 600; }
/* The phone. */
/* The bezel is set from the phone's own width: padding in % would follow the
   parent's width and crop the screenshot. Screen 660:1431 plus a 3.4% bezel. */
.phone {
  position: relative; width: 100%; aspect-ratio: 1000 / 2089;
  border-radius: 15% / 7.2%;
  background: linear-gradient(160deg, #3A414D, #1A1E25 30%, #12151B 70%, #2B313B);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.05),
    0 50px 80px -30px rgba(0, 0, 0, 0.85),
    0 30px 60px -40px rgba(224, 160, 106, 0.35);
}
.phone .screen { position: absolute; left: 3.4%; right: 3.4%; top: 1.628%; bottom: 1.628%; border-radius: 12.4% / 5.7%; overflow: hidden; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-phone { position: absolute; z-index: 2; right: 2%; top: 4%; width: min(318px, 52%); }
/* Lines lifted off the receipt, on their way into the app. */
.chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(20, 25, 33, 0.9); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.75);
  font-size: 13.5px; white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip .p { font: 500 13px/1 var(--mono); color: var(--text); }
.chip .u { color: var(--faint); font-size: 12.5px; }
.chip.c1 { left: 10%; top: 49%; }
.chip.c2 { left: 4%; top: 63%; animation-delay: -2.4s; }
.chip.c3 { left: 7%; top: 78%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── Language band ────────────────────────────────────────────────────── */
.langs { border-block: 1px solid var(--line); padding: 22px 0; position: relative; }
.langs .track { overflow: hidden; position: relative; }
.langs .track::before, .langs .track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.langs .track::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.langs .track::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.langs .label { position: absolute; z-index: 2; left: 50%; top: -11px; transform: translateX(-50%); background: var(--ink); padding: 0 12px; font: 500 11.5px/22px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { display: inline-flex; align-items: center; font-size: 22px; color: #C8CED6; white-space: nowrap; }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); opacity: 0.7; margin: 0 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* How it works: three steps, each with a small piece of the real interface. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  position: relative; display: grid; align-content: start; gap: 14px;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.step .num { font: italic 400 48px/1 var(--serif); color: var(--copper); font-variation-settings: "opsz" 72; }
.step h3 { font-size: 26px; }
.step p { color: var(--muted); font-size: 16px; }
.mini { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-height: 132px; display: grid; align-content: center; gap: 10px; }
.mini-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini-row i { width: 10px; height: 10px; border-radius: 50%; }
.mini-row .sz { display: block; color: var(--faint); font-size: 12.5px; }
.mini-row .pr { font: 500 14px/1 var(--mono); }
.mini-scan { position: relative; height: 104px; border-radius: 12px; border: 1px dashed rgba(224, 160, 106, 0.5); display: grid; place-items: center; overflow: hidden; }
.mini-scan .doc { width: 62px; height: 78px; border-radius: 4px; background: var(--paper); display: grid; gap: 5px; align-content: start; padding: 9px 8px; transform: rotate(-4deg); }
.mini-scan .doc span { height: 3px; border-radius: 2px; background: rgba(36, 32, 27, 0.35); }
.mini-scan .doc span:nth-child(3n) { width: 60%; }
.mini-scan::after { content: ""; position: absolute; left: 12%; right: 12%; height: 2px; background: var(--copper); box-shadow: 0 0 14px 3px rgba(224, 160, 106, 0.5); top: 20%; animation: miniscan 3.4s ease-in-out infinite alternate; }
@keyframes miniscan { to { top: 78%; } }
.mini-ring { display: flex; align-items: center; gap: 16px; }
.mini-ring svg { width: 84px; height: 84px; flex: none; }
.mini-ring b { display: block; font: 500 20px/1.1 var(--serif); }
.mini-ring span { color: var(--faint); font-size: 13px; }
.mini-ring .pill { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(52, 211, 153, 0.12); color: var(--mint); font-size: 12px; }

/* Feature showcase: the phone stays while the reasons scroll past. */
.showcase { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.showcase .stage { position: sticky; top: 104px; height: calc(100vh - 140px); max-height: 760px; display: grid; place-items: center; }
.showcase .stage::before { content: ""; position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 160, 106, 0.2), transparent); filter: blur(20px); }
.stage .phone { width: min(330px, 100%); }
.stage .screen img { opacity: 0; transform: scale(1.015); transition: opacity 0.55s ease, transform 0.8s ease; }
.stage .screen img.on { opacity: 1; transform: none; }
.features { display: grid; }
.feature { min-height: 66vh; display: grid; align-content: center; gap: 20px; padding: 40px 0; }
.feature p { color: var(--muted); font-size: 18px; max-width: 33em; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: #D4D9E0; font-size: 16px; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(224, 160, 106, 0.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A06A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 14px no-repeat;
}
.feature .inline-phone { display: none; }
.stat { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.stat b { font: 400 54px/1 var(--serif); color: var(--copper); font-variation-settings: "opsz" 96; letter-spacing: -0.02em; }
.stat span { color: var(--faint); font-size: 14.5px; max-width: 18em; }

/* Smaller things it does, as a grid. */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 160, 106, 0.12); color: var(--copper); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h4 { margin: 4px 0 0; font: 600 18px/1.25 var(--sans); letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 15px; }

/* Privacy, printed on paper. */
.paper {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 1px, transparent 1px 4px),
    var(--paper);
  color: var(--paper-ink);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 10px repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 20px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 10px repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 20px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x;
}
.paper .kicker { color: var(--brand-ink); }
.paper h2 em { color: var(--brand-ink); }
.paper .lede { color: var(--paper-muted); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px dashed rgba(36, 32, 27, 0.3); }
.promise { padding: 30px 28px 6px 0; display: grid; gap: 12px; align-content: start; }
.promise + .promise { padding-left: 28px; border-left: 1px dashed rgba(36, 32, 27, 0.3); }
.promise .n { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--brand-ink); }
.promise h4 { margin: 0; font: 500 26px/1.12 var(--serif); letter-spacing: -0.015em; font-variation-settings: "opsz" 72; }
.promise p { color: var(--paper-muted); font-size: 16px; }
.paper .textlink { color: var(--paper-ink); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink:hover { opacity: 0.8; }

/* Prices. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.plan { position: relative; padding: 34px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.plan.featured {
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(160deg, rgba(240, 186, 136, 0.9), rgba(224, 160, 106, 0.15) 45%, rgba(169, 155, 250, 0.4)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 40px 80px -40px rgba(224, 160, 106, 0.35);
}
.plan .name { font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .price b { font: 400 60px/1 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
.plan .price span { color: var(--muted); }
.plan .note { color: var(--mint); font-size: 15px; font-weight: 600; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #D4D9E0; font-size: 15.5px; }
.plan li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A9B5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 12px no-repeat; }
.plan.featured li::before { background-color: rgba(224, 160, 106, 0.15); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A06A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>"); }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); width: fit-content; }
.toggle button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.toggle button[aria-pressed="true"] { background: #2A313C; color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.plan .yearly { display: none; }
.plan.show-yearly .yearly { display: flex; }
.plan.show-yearly .monthly { display: none; }
.topup { max-width: 980px; margin: 20px auto 0; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 15px; }
.topup b { color: var(--text); }
.fine { max-width: 980px; margin: 14px auto 0; color: var(--faint); font-size: 13.5px; text-align: center; }

/* Questions. */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child, .faq details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 500 19px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A06A' stroke-width='2.2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }

/* Last word. */
.closing { text-align: center; padding: clamp(80px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 18%; width: 720px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(224, 160, 106, 0.22), transparent); pointer-events: none; }
.closing .mark { width: min(240px, 52vw); margin: 0 auto 30px; position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.closing h2 { position: relative; max-width: 14em; margin: 0 auto; }
.closing p { position: relative; margin: 20px auto 34px; }

/* Footer. */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.site-foot .tag { margin-top: 12px; max-width: 26em; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* Reveal on scroll. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Support page ─────────────────────────────────────────────────────── */
.doc { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.doc .wrap { max-width: 860px; }
.doc-head { display: grid; gap: 18px; margin-bottom: 40px; }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center;
  padding: 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  margin-bottom: 56px;
}
.contact h2 { font-size: 32px; }
.contact p { color: var(--muted); grid-column: 1 / -1; font-size: 16px; }
.qa { display: grid; gap: 0; }
.qa article { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px 40px; }
.qa article:last-child { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 22px; line-height: 1.2; }
.qa p { color: var(--muted); font-size: 16px; }
.path { font: 500 14px/1.5 var(--mono); color: var(--text); background: var(--chip); border: 1px solid var(--line); border-radius: 8px; padding: 1px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── Smaller screens ──────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { justify-items: start; }
  .hero-art { height: clamp(480px, 118vw, 640px); max-width: 620px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase .stage { display: none; }
  .feature { min-height: 0; padding: 36px 0; }
  .feature .inline-phone { display: block; width: min(300px, 74vw); margin: 10px auto 6px; }
  .promises { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 26px 0 6px; border-left: 0; }
  .promise + .promise { border-top: 1px dashed rgba(36, 32, 27, 0.3); }
  .plans { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq details:nth-last-child(2) { border-bottom: 0; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .qa article { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .more { grid-template-columns: 1fr; }
  .receipt-wrap { width: 54%; top: 17%; left: 3%; }
  .receipt { font-size: 10.5px; padding: 16px 14px 28px; }
  .receipt .rmeta { font-size: 9.5px; }
  .bankline { width: 58%; font-size: 12px; padding: 10px 12px; }
  .hero-phone { width: 54%; top: 10%; }
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip .p { font-size: 12px; }
  .chip.c1 { left: 22%; top: 58%; }
  .chip.c2 { display: none; }
  .chip.c3 { left: 8%; top: 84%; }
  .marquee li { font-size: 18px; }
  .contact { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .contact .btn { width: 100%; }
  .plan { padding: 26px; }
  .plan .price b { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .receipt .beam { display: none; }
  .marquee { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .reveal { opacity: 1; transform: none; }
}
