/* ==========================================================================
   Bubble Budget — landing page styles (light)
   Hand-rolled, no build step, no external dependencies.
   Colour is confined to the :root block below — swap those to re-skin.
   ========================================================================== */

:root {
  /* Paper */
  --bg:            #FBFBF9;
  --bg-tint:       #F5F6F3;
  --surface:       #FFFFFF;
  --surface-2:     #F4F5F2;
  --border:        #E6E7E2;
  --border-strong: #D3D5CE;

  /* Ink */
  --text:    #14161A;
  --muted:   #585E6B;
  --faint:   #878D99;

  /* Category palette */
  --c-teal:   #0D9488;
  --c-violet: #7C3AED;
  --c-amber:  #C2740A;
  --c-rose:   #DB2777;
  --c-sky:    #0369A1;
  --c-lime:   #4D7C0F;

  --accent:      #0F766E;
  --accent-ink:  #0B5B55;
  --accent-soft: #E9F5F3;
  --warn:        #B45309;
  --warn-soft:   #FDF3E4;
  --danger:      #BE123C;
  --danger-soft: #FDF0F3;

  /* Elevation — soft and short, never glowing */
  --shadow-xs: 0 1px 2px rgba(20, 22, 26, 0.05);
  --shadow-sm: 0 2px 6px -2px rgba(20, 22, 26, 0.08);
  --shadow-md: 0 10px 24px -14px rgba(20, 22, 26, 0.22);
  --shadow-lg: 0 28px 56px -34px rgba(20, 22, 26, 0.30);

  /* Metrics */
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1120px;
  --gutter:    clamp(20px, 5vw, 40px);

  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; letter-spacing: -0.022em; line-height: 1.12; font-weight: 700; }
p  { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(64px, 9vw, 116px); position: relative; }

/* Alternating bands give rhythm without decoration */
.band { background: var(--bg-tint); border-block: 1px solid var(--border); }

/* --------------------------------------------------------------- primitives */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid #D7EAE6;
  padding: 6px 13px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.section-head { max-width: 660px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

h2 { font-size: clamp(28px, 4.2vw, 44px); margin-block: 16px 13px; }
h3 { font-size: 18px; }

.lead { color: var(--muted); font-size: clamp(16px, 1.55vw, 18.5px); }

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 21px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { background: var(--surface-2); box-shadow: var(--shadow-sm); }

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

/* --------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 251, 249, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }

.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.9), rgba(255,255,255,0) 52%),
    linear-gradient(145deg, #14B8A6, #0D9488 55%, #0F766E);
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.35);
  flex: none;
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.16s ease; }
.nav-links a:hover { color: var(--text); }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ------------------------------------------------------------------- hero */

.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 100px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 68px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 54px);
  margin-block: 20px 18px;
  letter-spacing: -0.03em;
}

.hero h1 .grad { color: var(--accent); }

.hero-sub { color: var(--muted); font-size: clamp(16.5px, 1.7vw, 19px); max-width: 46ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.cta-note { margin-top: 15px; font-size: 14px; color: var(--faint); }

/* Store badges (placeholders — swap for official artwork when live) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 19px 9px 15px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}
.badge:hover { background: var(--surface-2); box-shadow: var(--shadow-sm); }

/* Not yet shipping — present, but clearly not a link */
.badge-soon {
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
  box-shadow: none;
  color: var(--faint);
  cursor: default;
}
.badge-soon:hover { background: transparent; box-shadow: none; }
.badge-soon .b-btm { font-weight: 600; }
.badge svg { width: 23px; height: 23px; flex: none; }
.badge .b-txt { display: flex; flex-direction: column; line-height: 1.15; }
.badge .b-top { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.badge .b-btm { font-size: 15.5px; font-weight: 650; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .tick { color: var(--accent); font-weight: 700; font-style: normal; }

/* ------------------------------------------------------------ bubble stage */

/* Phone shell */
.phone {
  width: min(330px, 100%);
  margin-inline: auto;
  padding: 11px;
  border-radius: 50px;
  background: linear-gradient(160deg, #33353D 0%, #191A1F 45%, #101116 100%);
  box-shadow:
    0 42px 70px -44px rgba(20, 22, 26, 0.75),
    0 4px 14px -6px rgba(20, 22, 26, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  overflow: hidden;
  background: var(--surface);
}

.status-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 8;
  height: 34px;
  padding: 0 26px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.01em;
}
.status-bar .sb-icons { display: inline-flex; align-items: center; gap: 5px; }
.status-bar svg { fill: currentColor; display: block; }

.home-indicator {
  position: absolute;
  left: 50%; bottom: 8px;
  translate: -50% 0;
  z-index: 9;
  width: 108px; height: 4px;
  border-radius: 999px;
  background: rgba(20, 22, 26, 0.28);
}

.stage {
  position: absolute;
  inset: 34px 0 0 0;
  background: var(--surface);
  overflow: hidden;
}

.stage-head {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 0;
  font-size: 12.5px;
  color: var(--faint);
  z-index: 3;
  transition: opacity 0.3s ease;
}
.stage.sheet-open .stage-head { opacity: 0; pointer-events: none; }
.stage-head strong { color: var(--text); font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }

.bubble {
  position: absolute;
  padding: 0;
  font: inherit;
  color: var(--text);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1px;
  cursor: pointer;
  border: 1px solid;
  animation: drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.bubble::after {
  content: "";
  position: absolute;
  inset: 8% 14% auto 16%;
  height: 24%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0));
  pointer-events: none;
}
.bubble:hover { transform: scale(1.05); }
.bubble .b-name { font-size: 12px; font-weight: 650; letter-spacing: -0.01em; }
.bubble .b-amt  { font-size: 11px; opacity: 0.68; font-variant-numeric: tabular-nums; }

.bubble.pop { animation: pop 0.45s ease; }

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
@keyframes pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Status rings — flat strokes, no glow */
.bubble.warn { box-shadow: 0 0 0 2.5px var(--warn); }
.bubble.over { box-shadow: 0 0 0 2.5px var(--danger); }

/* Keypad sheet inside the stage */
.sheet {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 14px 16px 28px;
  border-radius: 20px 20px 40px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 40px -28px rgba(20, 22, 26, 0.45);
  transform: translateY(110%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet.open { transform: translateY(0); }

.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-cat  { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 15px; }
.sheet-cat i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.sheet-close {
  background: none; border: 0; color: var(--faint); font-size: 20px;
  cursor: pointer; line-height: 1; padding: 4px 6px;
}

.sheet-amount {
  font-family: var(--mono);
  font-size: 27px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 11px;
  font-variant-numeric: tabular-nums;
}

.chips { display: flex; gap: 8px; margin-bottom: 11px; }
.chip {
  flex: 1;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 9px;
  border: 1px solid #D7EAE6;
  background: var(--accent-soft);
  color: var(--accent-ink);
  cursor: pointer;
  transition: background 0.14s ease;
}
.chip:hover { background: #DCEEEA; }

.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.key {
  font: inherit;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease;
}
.key:hover { background: #EAEBE7; }
.key.save {
  grid-column: span 3;
  margin-top: 3px;
  padding: 12px 0;
  line-height: 1.2;
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  font-weight: 650;
  font-size: 16px;
}
.key.save:hover { background: var(--accent-ink); }

.stage-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  z-index: 4;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  transition: opacity 0.3s ease;
}
.stage-hint.hide { opacity: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bubble .b-name { font-size: 11.5px; }
  .bubble .b-amt  { font-size: 10.5px; }
}

/* --------------------------------------------------------------- friction */

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

.card-compare {
  padding: clamp(24px, 3.2vw, 32px);
  display: flex;
  flex-direction: column;
}
.card-compare.bad  { background: var(--surface); }
.card-compare.good { border-color: #CFE6E1; box-shadow: var(--shadow-md); }

.compare-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 15px;
}
.card-compare.bad  .compare-tag { background: var(--surface-2); color: var(--muted); }
.card-compare.good .compare-tag { background: var(--accent-soft);  color: var(--accent-ink); }

.tap-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 19px;
}
.tap-count b { font-size: clamp(42px, 5.6vw, 56px); line-height: 1; letter-spacing: -0.045em; }
.card-compare.bad  .tap-count b { color: var(--danger); }
.card-compare.good .tap-count b { color: var(--accent); }
.tap-count span { color: var(--muted); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--surface-2);
}
.steps li .n {
  flex: none;
  width: 21px; height: 21px;
  display: grid; place-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  background: #E4E5E0;
  color: var(--muted);
}
.card-compare.good .steps li { color: var(--text); background: var(--accent-soft); }
.card-compare.good .steps li .n { background: #C9E5E0; color: var(--accent-ink); }

.compare-arrow {
  display: grid;
  place-content: center;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  rotate: 180deg;
}

.compare-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { writing-mode: horizontal-tb; rotate: none; padding-block: 4px; }
}

/* --------------------------------------------------------------- features */

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.feature { padding: 26px 24px 28px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.f-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-content: center;
  margin-bottom: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.f-icon svg { width: 20px; height: 20px; stroke-width: 1.7; fill: none; stroke: currentColor; }

.feature p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* --------------------------------------------------------------- channels */

.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 16px; }

.channel { padding: 28px 24px; text-align: center; }
.channel .demo { height: 112px; display: grid; place-content: center; margin-bottom: 18px; }
.channel p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

.orb-set { display: flex; align-items: center; gap: 12px; }
.orb {
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(20, 22, 26, 0.10);
  position: relative;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 9% 16% auto 18%;
  height: 24%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
}

.ring-set { display: flex; align-items: center; gap: 14px; }
.ring-set .orb.ok   { box-shadow: 0 0 0 2.5px var(--accent); }
.ring-set .orb.warn { box-shadow: 0 0 0 2.5px var(--warn); }
.ring-set .orb.over { box-shadow: 0 0 0 2.5px var(--danger); }

.ring-label { font-size: 11px; color: var(--faint); text-align: center; margin-top: 9px; }

/* ---------------------------------------------------------------- privacy */

.privacy-band {
  padding: clamp(30px, 4.6vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid #CFE6E1;
  background: var(--accent-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}
@media (max-width: 880px) { .privacy-band { grid-template-columns: 1fr; } }

.privacy-band .eyebrow { background: var(--surface); border-color: #CFE6E1; }

.privacy-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.privacy-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.privacy-list b { color: var(--text); font-weight: 650; }
.privacy-list .tick {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-content: center; margin-top: 3px;
  background: var(--accent); color: #FFFFFF;
  font-size: 10px; font-weight: 800; font-style: normal;
}

.nope-list { display: grid; gap: 9px; }
.no-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14.5px;
}
.no-item .x {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-content: center;
  background: var(--surface-2); color: var(--faint);
  font-size: 11px; font-weight: 800; font-style: normal;
}
.no-item b { color: var(--text); font-weight: 650; }
.no-item s { color: var(--faint); text-decoration-color: #E9A6BB; }

/* ------------------------------------------------------------------ sheet */

.sync {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 880px) { .sync { grid-template-columns: 1fr; } }

.sheet-mock { padding: 6px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.sheet-mock table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sheet-mock th:nth-child(1) { width: 34%; }
.sheet-mock th:nth-child(2) { width: 44%; }
.sheet-mock th, .sheet-mock td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.sheet-mock th { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.sheet-mock td { color: var(--muted); }
.sheet-mock td.amt { text-align: right; color: var(--text); font-family: var(--mono); }
.sheet-mock tr:last-child td { border-bottom: 0; }
.sheet-mock .swatch { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; vertical-align: baseline; }

.bar-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.bar { flex: 1; height: 7px; border-radius: 999px; background: #EAEBE7; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; }

.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 11px; margin-top: 22px; }
.kpi { padding: 15px 17px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); }
.kpi .k-val { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi .k-lab { font-size: 12.5px; color: var(--faint); margin-top: 2px; }

/* -------------------------------------------------------------------- faq */

.faq { display: grid; gap: 10px; max-width: 800px; margin-inline: auto; }

details.q {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
details.q[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
details.q summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 620;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after {
  content: "+";
  color: var(--faint);
  font-size: 21px;
  font-weight: 400;
  transition: rotate 0.22s ease;
}
details.q[open] summary::after { rotate: 45deg; }
details.q p { color: var(--muted); font-size: 15px; padding-bottom: 19px; max-width: 68ch; }

/* --------------------------------------------------------------- final cta */

.final {
  text-align: center;
  padding: clamp(44px, 6.5vw, 76px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.final h2 { max-width: 18ch; margin-inline: auto; }
.final .lead { max-width: 52ch; margin-inline: auto; }
.final .cta-row { justify-content: center; }

/* ----------------------------------------------------------------- footer */

footer {
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
  padding-block: 44px 36px;
  font-size: 14.5px;
  color: var(--muted);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-links a { transition: color 0.16s ease; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-note {
  width: 100%; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--faint);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
}

/* ------------------------------------------------------------ reveal + a11y */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

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

.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-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #FFFFFF; padding: 10px 16px;
  border-radius: 8px; font-weight: 650; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- two ways out */

.ways { display: grid; gap: 14px; margin-top: 26px; }

.way { padding: 22px 22px 24px; }
.way h3 { margin-bottom: 7px; }
.way p { color: var(--muted); font-size: 14.5px; }

.way-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------ screenshots */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  max-width: 940px;
  margin-inline: auto;
}

.shots figure { margin: 0; text-align: center; }

.shots img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.shots figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr; max-width: 340px; gap: 34px; }
}
