/* ==========================================================================
   PazeCraze — shared design system
   Used by / (index.html) and /use/ (use.html). Keep component classes
   generic; do not add page-specific rules here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f3efe4;
  --ink: #1a1f16;
  --muted: #5c6357;
  --accent: #14855c;
  --accent-ink: #ffffff;
  --accent-soft: rgb(20 133 92 / 0.09);
  --pop: #f4b942;
  --pop-ink: #3a2a00;
  --pop-soft: rgb(244 185 66 / 0.16);
  --line: #e5e0d4;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow-md: 0 2px 4px rgb(0 0 0 / 0.04), 0 8px 24px rgb(26 31 22 / 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --wrap: 64rem;
  --measure: 38rem;
  --gutter: clamp(1.125rem, 5vw, 2rem);
  --section-gap: clamp(3rem, 8vw, 6rem);

  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12140f;
    --surface: #1c1f18;
    --surface-2: #232720;
    --ink: #f2f0e8;
    --muted: #a8ac9f;
    --accent: #2fbf8a;
    --accent-ink: #0c120e;
    --accent-soft: rgb(47 191 138 / 0.13);
    --pop: #f4b942;
    --pop-ink: #1a1400;
    --pop-soft: rgb(244 185 66 / 0.14);
    --line: #2e332a;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-md: 0 2px 4px rgb(0 0 0 / 0.25), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Must beat component `display` rules (e.g. .chip's inline-flex). */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

ul {
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--pop);
  color: var(--pop-ink);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-gap);
}

.section--tight {
  padding-block: calc(var(--section-gap) * 0.6);
}

.section--tinted {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.measure {
  max-width: var(--measure);
}

.center {
  margin-inline: auto;
  text-align: center;
}

.center .measure {
  margin-inline: auto;
}

.stack > * + * {
  margin-top: var(--stack-gap, 1rem);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 50;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   4. Type utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-size: clamp(1.875rem, 6vw, 2.75rem);
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.4vw, 1.1875rem);
  max-width: var(--measure);
}

.lede {
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  color: var(--muted);
  max-width: var(--measure);
}

.small {
  font-size: 0.875rem;
  color: var(--muted);
}

.caption {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.hl {
  color: var(--accent);
}

.mark {
  background: var(--pop-soft);
  box-shadow: 0 -0.35em 0 var(--pop-soft) inset;
  border-radius: 3px;
  padding: 0 0.15em;
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Chips & badges
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}

.chip--accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

.chip--pop {
  background: var(--pop-soft);
  border-color: transparent;
  color: var(--ink);
}

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
    border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 6px 18px var(--accent-soft);
}

.btn--primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1), 0 10px 26px var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--lg {
  min-height: 54px;
  padding: 0.9rem 1.9rem;
  font-size: 1.125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-row--center {
  justify-content: center;
}

@media (max-width: 26rem) {
  .btn-row .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 4vw, 1.75rem);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 46rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   8. Stat tiles
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  align-items: stretch;
}

@media (min-width: 46rem) {
  .stats {
    gap: 1rem;
  }
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(0.9rem, 3.5vw, 1.75rem) 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat__num--pop {
  color: var(--pop);
}

.stat__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

@media (min-width: 46rem) {
  .stat__label {
    font-size: 0.75rem;
  }
}

/* Multiplication signs between tiles */
.stats--times {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.4rem;
}

@media (min-width: 46rem) {
  .stats--times {
    gap: 0.75rem;
  }
}

.times {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--muted);
  opacity: 0.6;
  user-select: none;
}

/* --------------------------------------------------------------------------
   9. Step cards
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 4vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  flex: none;
}

.step__title {
  font-size: 1.1875rem;
}

.step__body {
  color: var(--muted);
  font-size: 0.9375rem;
}

.step__body strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Callout
   -------------------------------------------------------------------------- */
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--pop);
  background: var(--pop-soft);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 4vw, 1.5rem);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.callout__icon {
  font-size: 1.4rem;
  line-height: 1.2;
  flex: none;
}

.callout__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 0.2rem;
}

.callout__body {
  font-size: 0.9375rem;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. Bank grid
   -------------------------------------------------------------------------- */
.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

@media (min-width: 34rem) {
  .bank-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 52rem) {
  .bank-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

.bank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0.7rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease),
    background-color 0.15s var(--ease);
}

.bank:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.bank__arrow {
  color: var(--accent);
  font-weight: 700;
  flex: none;
  transition: transform 0.15s var(--ease);
}

.bank:hover .bank__arrow {
  transform: translateX(2px);
}

.bank__tag {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--pop-ink);
  background: var(--pop);
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  margin-top: 0.25rem;
  width: fit-content;
}

.bank--wide {
  grid-column: 1 / -1;
  background: var(--accent-soft);
  border-color: transparent;
  border: 1px dashed var(--accent);
  font-weight: 700;
}

.bank--wide:hover {
  background: var(--accent-soft);
  border-style: solid;
}

/* --------------------------------------------------------------------------
   12. Fine-print box
   -------------------------------------------------------------------------- */
.fineprint {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.fineprint__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (min-width: 46rem) {
  .fineprint__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.75rem;
  }
}

/* Note: keep this an inline flow (absolute marker, not a grid row) so that
   text following a <strong> stays on the same line. */
.fineprint__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.fineprint__list li::before {
  content: "•";
  position: absolute;
  left: 0.15rem;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.5;
}

.fineprint__list strong {
  color: var(--ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12b. Disclaimer note + collapsible legal details
   -------------------------------------------------------------------------- */
.note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.note__icon {
  flex: none;
  font-size: 1rem;
  line-height: 1.45;
}

.note strong {
  color: var(--ink);
}

.details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.15s var(--ease);
}

.details__summary::-webkit-details-marker {
  display: none;
}

.details__summary::after {
  content: "▾";
  flex: none;
  color: var(--accent);
  font-size: 0.8125rem;
  transition: transform 0.15s var(--ease);
}

.details__summary:hover {
  background: var(--accent-soft);
}

.details[open] .details__summary {
  border-bottom: 1px solid var(--line);
}

.details[open] .details__summary::after {
  transform: rotate(180deg);
}

.details__body {
  padding: 1.1rem;
}

/* Long verbatim legal copy */
.legal {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 44rem;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal__meta {
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

/* --------------------------------------------------------------------------
   13. Stepper (interactive counter)
   -------------------------------------------------------------------------- */
.counter {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 5vw, 2.25rem);
  text-align: center;
}

.counter__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 3.2vw, 1.25rem);
  margin-bottom: 1.1rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}

.stepper__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease), transform 0.12s var(--ease);
}

.stepper__btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.stepper__btn:active:not(:disabled) {
  transform: scale(0.93);
}

.stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 3.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.counter__result {
  margin-top: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 4.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}

.counter__total {
  display: block;
  font-size: clamp(2.75rem, 13vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  transition: transform 0.18s var(--ease);
}

.counter__total.is-bumped {
  transform: scale(1.06);
}

.counter__caption {
  margin-top: 1rem;
  max-width: 30rem;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   14. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 9vw, 5.5rem) clamp(2.5rem, 8vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  inset: -30% -20% auto -20%;
  height: 60vh;
  min-height: 320px;
  background: radial-gradient(
      42% 55% at 30% 45%,
      var(--accent-soft) 0%,
      transparent 70%
    ),
    radial-gradient(38% 48% at 78% 25%, var(--pop-soft) 0%, transparent 72%);
  pointer-events: none;
}

.hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: clamp(1.25rem, 4vw, 1.75rem);
}

.hero__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
}

.hero__num-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.6vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.125rem, 8vw, 3.75rem);
  margin-top: clamp(1.25rem, 4vw, 1.75rem);
}

.hero__sub {
  margin-top: 1rem;
  font-size: clamp(1.0625rem, 2.8vw, 1.25rem);
  color: var(--muted);
  max-width: var(--measure);
}

.hero .btn-row {
  margin-top: clamp(1.5rem, 5vw, 2.25rem);
}

.hero__note {
  margin-top: 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (min-width: 52rem) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
}

/* Decorative receipt/"free money" panel next to hero on desktop */
.hero__aside {
  display: none;
}

@media (min-width: 52rem) {
  .hero__aside {
    display: block;
  }
}

.receipt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.6rem 1.75rem;
  transform: rotate(-1.4deg);
  font-variant-numeric: tabular-nums;
}

.receipt__head {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line);
}

.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.receipt__row--total {
  border-top: 1px dashed var(--line);
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
}

.receipt__credit {
  color: var(--accent);
  font-weight: 700;
}

.receipt__stamp {
  margin-top: 1rem;
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 7vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  color: var(--accent-ink);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  margin-top: 0.9rem;
  color: var(--accent-ink);
  opacity: 0.82;
  max-width: 34rem;
  margin-inline: auto;
}

.cta-band .btn-row {
  margin-top: 1.75rem;
}

.cta-band .btn--primary {
  background: var(--accent-ink);
  color: var(--accent);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.16);
}

.cta-band .btn--ghost {
  color: var(--accent-ink);
  border-color: rgb(255 255 255 / 0.42);
}

.cta-band .btn--ghost:hover {
  color: var(--accent-ink);
  background: rgb(255 255 255 / 0.13);
  border-color: var(--accent-ink);
}

.cta-band :focus-visible {
  outline-color: var(--accent-ink);
}

@media (prefers-color-scheme: dark) {
  .cta-band .btn--ghost {
    border-color: rgb(12 18 14 / 0.35);
  }
  .cta-band .btn--ghost:hover {
    background: rgb(12 18 14 / 0.12);
  }
}

/* --------------------------------------------------------------------------
   15.5 Money flow — bank budget → your order → small kitchen
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  gap: 0.4rem;
}

@media (min-width: 52rem) {
  .flow {
    grid-template-columns: 1fr auto 1fr auto 1.15fr;
    gap: 0.75rem;
    align-items: stretch;
  }
}

.flow__node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 3.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.flow__node--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.flow__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.flow__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.flow__body {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.flow__node--accent .flow__title {
  color: var(--accent-ink);
}

.flow__node--accent .flow__body {
  color: var(--accent-ink);
  opacity: 0.85;
}

.flow__arrow {
  align-self: center;
  justify-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--muted);
  opacity: 0.6;
  user-select: none;
  transform: rotate(90deg);
}

@media (min-width: 52rem) {
  .flow__arrow {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Explainer strip
   -------------------------------------------------------------------------- */
.strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

@media (min-width: 46rem) {
  .strip {
    display: grid;
    grid-template-columns: minmax(0, 15rem) 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
  }
}

.strip__title {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.strip__body {
  color: var(--muted);
  margin-top: 0.75rem;
}

@media (min-width: 46rem) {
  .strip__body {
    margin-top: 0;
  }
}

.strip__body + .strip__body {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: clamp(2.5rem, 7vw, 3.5rem);
  margin-top: var(--section-gap);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

.wordmark em {
  font-style: normal;
  color: var(--accent);
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 46rem) {
  .site-footer__grid {
    grid-template-columns: 1fr minmax(0, 26rem);
    gap: 3rem;
    align-items: start;
  }
}

.site-footer p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer p + p {
  margin-top: 0.65rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   19. Motion — scroll reveal & count-up
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children inside a revealed group */
.reveal-group.is-visible > .reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.reveal-group.is-visible > .reveal-item:nth-child(2) {
  transition-delay: 60ms;
}
.reveal-group.is-visible > .reveal-item:nth-child(3) {
  transition-delay: 120ms;
}
.reveal-group.is-visible > .reveal-item:nth-child(4) {
  transition-delay: 180ms;
}
.reveal-group.is-visible > .reveal-item:nth-child(5) {
  transition-delay: 240ms;
}

/* If JS never runs, content must still be visible. */
.no-js .reveal,
.no-js .reveal-item {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
  }

  .receipt,
  .receipt__stamp {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .hero__glow,
  .btn-row,
  .cta-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ------------------------------------------------------------------ */
/* Paze offer banner replica — a faithful mock of the banner shown in  */
/* the Paze checkout sheet, so people know exactly what to look for.  */
/* Colors are intentionally fixed (it depicts Paze's UI, not ours).   */
/* ------------------------------------------------------------------ */
.paze-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #e9f8e9;
  border: 1px solid #c9ecc9;
  border-radius: 1.4rem;
  padding: 1rem 1.4rem;
  margin-top: 1rem;
  max-width: 34rem;
}

.paze-banner__tag {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: #58b358;
}

.paze-banner__headline {
  margin: 0;
  font-weight: 750;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: #1c6b2d;
  letter-spacing: -0.01em;
}

.paze-banner__sub {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #1a1a1a;
}

.paze-banner__sub .paze-banner__link {
  color: #2743e0;
  font-weight: 650;
}

.paze-banner-caption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  .paze-banner {
    border-color: #9dd89d;
  }
}

/* ------------------------------------------------------------------ */
/* Two-tab folder nav — the site's split brain, worn on its sleeve.   */
/* The active tab's tint flows seamlessly into the page wash below    */
/* (same color, no border between tab bottom and wash top).           */
/* ------------------------------------------------------------------ */
:root {
  --tint-deal: #DFF0E6;
  --tint-use: #F9EFD8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tint-deal: #1B2A21;
    --tint-use: #2A2416;
  }
}

.tabnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem clamp(0.75rem, 3vw, 2rem) 0;
  max-width: 72rem;
  margin-inline: auto;
}

.tabnav__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  text-decoration: none;
  padding: 0.8rem 1rem 0.9rem;
  border-radius: 1.1rem 1.1rem 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--muted);
  background: transparent;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.tabnav__label {
  font-family: var(--font-display, inherit);
  font-weight: 800;
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  letter-spacing: -0.01em;
  color: inherit;
}

.tabnav__sub {
  font-size: clamp(0.6875rem, 2.3vw, 0.8125rem);
  font-weight: 550;
}

.tabnav__tab:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--tab-tint, var(--surface)) 45%, transparent);
}

.tabnav__tab--active {
  position: relative;
  border-color: transparent;
  color: var(--ink);
  background: var(--tab-tint);
  cursor: default;
}

.tabnav__tab--active .tabnav__sub {
  color: var(--muted);
}

/* per-page tint hookup */
.tabnav__tab--deal { --tab-tint: var(--tint-deal); }
.tabnav__tab--use  { --tab-tint: var(--tint-use); }

/* The wash: first content band shares the active tint and fades out. */
.page-wash--deal {
  background: linear-gradient(180deg, var(--tint-deal) 0%, var(--tint-deal) 30%, transparent 100%);
}
.page-wash--use {
  background: linear-gradient(180deg, var(--tint-use) 0%, var(--tint-use) 30%, transparent 100%);
}

/* Inverted-corner joins: little quarter-circles that make the active tab
   melt into the wash instead of meeting it at a hard corner. */
.tabnav__tab--active::before,
.tabnav__tab--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}
.tabnav__tab--active::before {
  left: -1.1rem;
  background: radial-gradient(circle at top left, transparent 1.1rem, var(--tab-tint) 1.1rem);
}
.tabnav__tab--active::after {
  right: -1.1rem;
  background: radial-gradient(circle at top right, transparent 1.1rem, var(--tab-tint) 1.1rem);
}
/* Suppress the join that would poke past the page edge. */
.tabnav__tab--active:first-child::before,
.tabnav__tab--active:last-child::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .tabnav__tab { transition: none; }
}
