/* The landing page at / (landing/index.html). The app's fonts and brand colours: the logo's navy, blue and cyan.
   Light by default, Dark Mode from the system setting.
   Type scale (Outfit headings, DM Sans text): 56 / 38 / 18 headings, 18 lede, 16 body, 14 small, 13 labels.
   Sections share one pattern: a heading row (title left, intro right), then content on a 12-column rhythm. */

@font-face {
  font-family: 'DM Sans';
  src: url('/app/fonts/DMSans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/app/fonts/Outfit.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --tint: #F6F7F9;
  --ink: #111318;
  --body: #4A505C;
  --muted: #6F7480;
  --line: #E6E8EE;
  --line-strong: #D5D9E1;
  --blue: #1D5FE8;            /* links and small accents */
  --button: #1D5FE8;
  --button-hover: #174FC4;
  --navy: #0F2462;            /* the calculator and referral panels */
  --navy-deep: #0A1640;
  --cyan: #5CD8F5;            /* figures on navy */
  --chip: #F1F2F5;
  --warn: #9A5B00;
  --warn-bg: #FFF8EB;
  --warn-line: #F1DDB5;
  --shot-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 24px 48px -24px rgba(16, 24, 40, 0.22);

  --fs-h1: clamp(2.25rem, 1.45rem + 3.1vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  --fs-h3: 1.0625rem;
  --fs-lede: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D10;
    --tint: #111418;
    --ink: #F2F3F5;
    --body: #B4B9C3;
    --muted: #8A8F99;
    --line: #22262D;
    --line-strong: #30353D;
    --blue: #7FAEFF;
    --button: #2C74F8;
    --button-hover: #4785F9;
    --navy: #13285F;
    --navy-deep: #0B1638;
    --chip: #1B1E23;
    --warn: #F2C27A;
    --warn-bg: #1E1810;
    --warn-line: #3A2E1A;
    --shot-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: var(--fs-body)/1.6 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Outfit', 'DM Sans', system-ui, sans-serif; color: var(--ink); margin: 0; font-weight: 600; }
p, dl, dd, figure { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; }
:focus-visible { outline: 2px solid var(--button); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Buttons: solid brand blue; secondary ones are outlined. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: var(--button); color: #FFFFFF;
  font-size: 0.9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; background: var(--button-hover); }
.btn-small { min-height: 38px; padding: 0 14px; border-radius: 8px; font-size: var(--fs-small); }
.btn-light { background: #FFFFFF; color: var(--navy-deep); }
.btn-light:hover { background: #E9EEF8; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: transparent; border-color: var(--muted); }
.btn-block { width: 100%; }

/* App Store and Google Play badges: black in both themes (the stores' own badge style), mark on the left, a small
   caption over the store's name. Same height and width, so the pair reads as one unit. */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; min-width: 184px; padding: 0 22px 0 16px; border-radius: 12px;
  background: #000000; color: #FFFFFF; border: 1px solid #000000;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.store-badge:hover {
  text-decoration: none; background: #17191D;
  transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(16, 24, 40, 0.55);
}
.store-badge:active { transform: none; box-shadow: none; }
.store-badge:focus-visible { outline: 2px solid var(--button); outline-offset: 3px; border-radius: 12px; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge-apple svg { width: 24px; height: 28px; fill: #FFFFFF; margin-top: -3px; }
.store-badge-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.store-badge-text small { font-size: 0.6875rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.02em; opacity: 0.86; }
.store-badge-text strong { font-family: 'DM Sans', -apple-system, system-ui, sans-serif; font-size: 1.1875rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; white-space: nowrap; }
@media (prefers-color-scheme: dark) {
  .store-badge { border-color: #3A3F47; }
  .store-badge:hover { background: #111316; border-color: #50565F; box-shadow: none; }
}
.btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* Top bar: a hairline at rest, a soft shadow once the page scrolls; the section on screen is underlined. */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.top.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 24, 40, 0.25); }
.top-row { display: flex; align-items: center; gap: 40px; height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }  /* the icon on its own; its name is the link's label */
.brand img { border-radius: 8px; }
.top-links { display: flex; gap: 28px; }
.top-links a, .link-quiet { color: var(--body); font-weight: 500; font-size: var(--fs-small); }
.top-links a:hover, .link-quiet:hover { color: var(--ink); text-decoration: none; }
.top-links a { position: relative; transition: color .15s ease; }
.top-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform .25s ease;
}
.top-links a.is-active { color: var(--ink); }
.top-links a.is-active::after { transform: scaleX(1); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; white-space: nowrap; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.028em; max-width: 14ch; margin-bottom: 22px; text-wrap: balance; }
.lede { font-size: var(--fs-lede); line-height: 1.6; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
}
.facts > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt { font: 600 var(--fs-h3)/1.3 'Outfit', sans-serif; color: var(--ink); }
.facts dd { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }

/* Calculator: a deep card in the logo's navy; the payout in cyan so it's the first thing read. */
.calc {
  padding: 28px; border-radius: 16px;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #FFFFFF;
  box-shadow: 0 24px 48px -24px rgba(10, 22, 64, 0.55);
}
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.calc-title { font-size: 1.25rem; color: #FFFFFF; letter-spacing: -0.01em; }
.calc-tag { flex: none; font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.field { display: block; margin-bottom: 14px; }
.field-tight { margin-bottom: 10px; }
.field > span { display: block; font-size: var(--fs-label); color: rgba(255, 255, 255, 0.66); margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select, .amount {
  width: 100%; min-height: 48px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF; font: 500 var(--fs-body) 'DM Sans', sans-serif;
}
.field select {
  appearance: none; -webkit-appearance: none; padding: 0 38px 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='white' stroke-opacity='.7' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.field select:hover, .amount:hover { border-color: rgba(255, 255, 255, 0.26); }
.field select:focus-visible { outline: 0; border-color: var(--cyan); }
.field select option { color: #16171B; background: #FFFFFF; }
.field select:disabled { opacity: 0.7; }
.amount { display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.amount:focus-within { border-color: var(--cyan); }
.amount-sign { color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: 600 1.0625rem 'DM Sans', sans-serif; padding: 0; }
.amount input::-webkit-inner-spin-button, .amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.amount input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.quick { display: flex; gap: 6px; margin-bottom: 6px; }
.quick button {
  flex: 1; min-width: 0; min-height: 32px; padding: 0 4px; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12); background: transparent; color: rgba(255, 255, 255, 0.72);
  font: 500 var(--fs-label) 'DM Sans', sans-serif; font-variant-numeric: tabular-nums;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.quick button:hover { border-color: rgba(255, 255, 255, 0.3); color: #FFFFFF; }
.quick button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #FFFFFF; }
.payout {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.payout span { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.7); }
.payout strong { font: 600 clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem)/1.1 'Outfit', sans-serif; color: var(--cyan); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-rate { font-size: var(--fs-label); color: rgba(255, 255, 255, 0.55); text-align: right; margin: 4px 0 20px; font-variant-numeric: tabular-nums; }
.calc-note { font-size: var(--fs-label); color: rgba(255, 255, 255, 0.55); text-align: center; margin-top: 12px; }

/* Cards on sale today, from the same rates as the calculator. */
.cards-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards-row { display: flex; align-items: center; gap: 32px; min-height: 84px; padding-top: 18px; padding-bottom: 18px; }
.cards-title { flex: none; font: 500 var(--fs-small)/1.4 'DM Sans', sans-serif; color: var(--muted); }
.cards-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cards-list li { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--fs-body)/1 'Outfit', sans-serif; color: var(--ink); }
.cards-list img, .card-letter { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.cards-list img { object-fit: contain; background: #FFFFFF; border: 1px solid var(--line); }
.card-letter { display: grid; place-items: center; background: var(--chip); color: var(--muted); font-size: var(--fs-small); }

/* Sections: the heading on the left, its intro on the right, a hairline under both. */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.022em; text-wrap: balance; }
.section h3 { font-size: var(--fs-h3); line-height: 1.35; margin-bottom: 8px; }
.head-row {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 64px; align-items: end;
  padding-bottom: 32px; margin-bottom: 48px; border-bottom: 1px solid var(--line-strong);
}
.head-row h2 { max-width: 20ch; }
.head-row p { font-size: var(--fs-lede); max-width: 32rem; }

/* Three columns of text, each under a short rule (How it works, Security). */
.columns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.columns p { max-width: 34ch; }
.num { display: block; font: 500 var(--fs-small)/1 'Outfit', sans-serif; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 16px; font-variant-numeric: tabular-nums; }

/* Your account: two real screens beside a short list of what's on them. */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; padding-bottom: 48px; }
.shot img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shot-shadow); background: #FFFFFF; }
.shot figcaption { margin-top: 14px; font-size: var(--fs-label); color: var(--muted); text-align: center; }
.shot-offset { margin-top: 48px; }
.specs > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.specs > div:last-child { border-bottom: 1px solid var(--line-strong); }
.specs dt { font: 600 var(--fs-h3)/1.4 'Outfit', sans-serif; color: var(--ink); }

/* Payouts: the banks as a directory. */
.banks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.banks li {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: var(--fs-small); font-weight: 500; white-space: nowrap;
}
.banks img { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: contain; background: #FFFFFF; border: 1px solid var(--line); }

/* Security: the warning under the columns. */
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 56px; padding: 16px 18px; border-radius: 10px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--ink); font-size: var(--fs-small);
}
.notice strong { font-weight: 600; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--warn); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Referral: the calculator's navy, the bonus as the headline figure. */
.referral {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 48px;
  padding: 44px 48px; border-radius: 16px; color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.referral-figure { font: 600 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 'Outfit', sans-serif; color: var(--cyan); letter-spacing: -0.02em; padding-right: 48px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.referral-figure span { display: block; font: 500 var(--fs-small)/1.4 'DM Sans', sans-serif; color: rgba(255, 255, 255, 0.6); letter-spacing: 0; margin-top: 8px; }
.referral h2 { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 6px; }
.referral p { max-width: 520px; }

/* FAQ: intro on the left, the questions on the right. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split-intro { position: sticky; top: 104px; }
.split-intro h2 { margin-bottom: 14px; }
.split-intro p { font-size: var(--fs-lede); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  color: var(--ink); font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' fill='none' stroke='%236F7480' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 0 24px; max-width: 60ch; }
.faq details[open] p { animation: faq-open .3s ease both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }

/* Closing call to action */
.cta-section { padding: 88px 0; }
.cta-end { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-end h2 { margin-bottom: 8px; }
.cta-end p { font-size: var(--fs-lede); }
.cta-end .hero-ctas { margin-top: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: var(--fs-small); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--muted); margin-top: 16px; max-width: 30ch; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h2 { font: 600 var(--fs-label)/1.4 'DM Sans', sans-serif; color: var(--ink); margin-bottom: 4px; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-label); }

/* Phones: a "Start selling" bar slides up once the hero's buttons have scrolled away. */
.sticky-cta { display: none; }

/* Motion: the hero settles in on load; later sections fade up as they scroll into view. */
.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation-delay: .06s; }
.rise-3 { animation-delay: .12s; }
.rise-4 { animation-delay: .18s; }
.rise-calc { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-2 { transition-delay: .07s; }
.js .reveal-3 { transition-delay: .14s; }

@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 16ch; }
  .calc { max-width: 520px; }
  .section { padding: 72px 0; }
  .head-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; padding-bottom: 28px; }
  .columns { grid-template-columns: 1fr; gap: 32px; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .shots { max-width: 560px; padding-bottom: 0; }
  .banks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-intro { position: static; }
  .referral { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .referral-figure { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .referral .btn { justify-self: start; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top-links { display: none; }
  .top-actions { gap: 16px; }
  .hero { padding: 40px 0 56px; }
  .facts { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .facts > div { border-right: 0; margin-right: 0; padding-right: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .facts dd { margin-top: 0; text-align: right; }
  .calc { padding: 22px 18px; border-radius: 14px; }
  .calc-title { font-size: 1.125rem; }
  .cards-row { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .section { padding: 64px 0; }
  .shots { gap: 14px; }
  .shot img { border-radius: 16px; }
  .shot-offset { margin-top: 32px; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .banks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .banks li { white-space: normal; }
  .banks li:nth-child(n + 13) { display: none; }  /* the twelve most used; the copy says "some of the banks" */
  .notice { margin-top: 40px; }
  .cta-section { padding: 56px 0; }
  .cta-end .hero-ctas { width: 100%; }
  .cta-end .btn { flex: 1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta {
    display: block; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .sticky-cta.is-shown { transform: none; }
  .foot { padding-bottom: 96px; }  /* room for the bar */
}
@media (max-width: 520px) {
  .hero-ctas { gap: 10px; }
  .hero-ctas .store-badge { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 12px; gap: 9px; }
  .hero-ctas .store-badge-text strong { font-size: 1.0625rem; }
}
@media (max-width: 400px) {
  .top-row { gap: 12px; }
  .top-actions { gap: 12px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (max-width: 340px) {
  .hero-ctas .store-badge { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 350px) {
  .top-actions .link-quiet { display: none; }  /* still at the bottom of the page */
}

/* Reduce Motion: everything in its final place, nothing moving. */
@media (prefers-reduced-motion: reduce) {
  .rise, .faq details[open] p { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-arrow svg, .sticky-cta, .top-links a::after, .top, .store-badge { transition: none; }
  .store-badge:hover { transform: none; }
}
