*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:        oklch(96.2% 0.013 83);
  --cream-off:    oklch(98.5% 0.007 83);
  --ink:          oklch(17.5% 0.007 240);
  --ink-muted:    oklch(54%   0.006 240);
  --ink-faint:    oklch(88%   0.006 83);
  --teal:         oklch(63%   0.105 165);
  --teal-dark:    oklch(43%   0.105 165);
  --teal-mid:     oklch(72%   0.09  165);
  --teal-soft:    oklch(87%   0.055 165);
  --teal-light:   oklch(93%   0.035 165);
  --gold:         oklch(78%   0.18  85);

  --font-display: 'Space Mono', 'Courier New', monospace;
  --font-mono:    'Space Mono', 'Courier New', monospace;
  --font-body:    'Barlow', system-ui, sans-serif;

  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  --nav-h:   70px;
  --max-w:   1300px;
  --phone-w: 290px;
  --phone-h: 590px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: oklch(96.2% 0.013 83 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-faint);
  transition: box-shadow 0.2s ease;
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--sp-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream);
}

.logo-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav-signin {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  transition: background 0.15s, color 0.15s;
}

.nav-signin:hover {
  background: var(--ink);
  color: var(--cream);
}

.nav-cta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--cream);
  text-decoration: none;
  padding: 9px 18px;
  background: var(--ink);
  border: 2px solid var(--ink);
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.82;
}

/* ==========================================================
   PHONE GLOW
   ========================================================== */
.phone-glow {
  display: block;
  width: 700px;
  height: 700px;
  margin: -350px auto -350px;
  position: relative;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    oklch(82% 0.09 165 / 0.30) 0%,
    oklch(82% 0.07 165 / 0.15) 35%,
    transparent 70%
  );
  pointer-events: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding-block-start: var(--nav-h);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100svh;
  padding-block-end: var(--sp-8);
}

.hero-inner {
  max-width: 820px;
  width: 100%;
  padding-inline: var(--sp-6);
  padding-block-start: var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: var(--sp-5);
  opacity: 0;
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 6px 20px;
  background: var(--teal-light);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
}

.proof-pill a {
  color: inherit;
  text-decoration: none;
}

.proof-pill a:hover {
  text-decoration: underline;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: pulseLed 2s ease-in-out infinite;
}

@keyframes pulseLed {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal) 0%, transparent);
  }
  50% {
    box-shadow: 0 0 8px 3px color-mix(in srgb, var(--teal) 45%, transparent);
  }
}

.hero-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-block-end: var(--sp-4);
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 50ch;
  margin-block-end: var(--sp-6);
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: -4px 4px 0 0 var(--teal-dark);
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
  transition: box-shadow 0.15s, transform 0.15s;
}

.hero-cta:hover {
  box-shadow: -6px 6px 0 0 var(--teal-dark);
  transform: translate(1px, -1px);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   PHONE MOCKUP
   ========================================================== */
.phone {
  width: var(--phone-w);
  height: var(--phone-h);
  background: oklch(14% 0.005 240);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 1px oklch(30% 0.005 240),
    0 60px 100px oklch(17% 0.007 240 / 0.22),
    0 24px 48px oklch(17% 0.007 240 / 0.12);
}

.phone-inner {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 4px;
  flex-shrink: 0;
}

.phone-time {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
}

.phone-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
}

.phone-indicators svg { display: block; }

.phone-bar {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-bar::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.18;
}

.phone-screens {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.phone-screen--active {
  opacity: 1;
  pointer-events: auto;
}

/* App bar (shared across screens) */
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 18px 8px;
  flex-shrink: 0;
}

.app-month {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.app-logo-sm {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
}

/* Tile grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 40px 24px;
  gap: 3px;
  padding: 0 14px 8px;
  flex-shrink: 0;
}

.tile { border-radius: 4px; }

.tile--a { background: var(--teal-dark);  grid-column: 1 / 3; grid-row: 1 / 3; }
.tile--b { background: var(--teal);       grid-column: 3 / 5; grid-row: 1; }
.tile--c { background: var(--teal-light); grid-column: 5 / 7; grid-row: 1; }
.tile--d { background: var(--teal-mid);   grid-column: 3 / 4; grid-row: 2; }
.tile--e { background: var(--teal-soft);  grid-column: 4 / 6; grid-row: 2; }
.tile--f { background: var(--teal);       grid-column: 6 / 7; grid-row: 2; opacity: 0.5; }

/* Net remaining */
.app-net {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding: 6px 18px 10px;
  border-bottom: 0.5px solid oklch(90% 0.005 83);
  flex-shrink: 0;
}

.app-net-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.app-net-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
}

/* Budget list */
.app-list {
  flex: 1;
  overflow: hidden;
  padding: 0 14px;
}

.app-group-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 7px 4px 4px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px 4px;
  border-bottom: 0.5px solid oklch(92% 0.004 83);
}

.app-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.app-row-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  flex: 1;
}

.app-row-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 1px;
}

/* Editing row (screen 1) */
.app-row--editing {
  background: var(--teal-light);
  border-radius: 4px;
  margin: 0 -4px;
  padding: 7px 8px;
  border-bottom: 0.5px solid oklch(88% 0.04 165);
}

.app-input {
  display: inline-flex;
  align-items: center;
  padding: 1px 4px;
  background: #fff;
  border: 1px solid var(--teal);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.app-cursor {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  background: var(--teal);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ==========================================================
   SCROLL NARRATIVE
   ========================================================== */
.scroll-narrative {
  display: grid;
  grid-template-columns: 1fr var(--phone-w) 1fr;
  gap: 0 40px;
  max-width: calc(var(--max-w) - var(--sp-6) * 2);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  position: relative;
}

.phone-sticky {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: calc(50vh - 295px);
  align-self: start;
  margin-top: max(calc(var(--phone-h) * -0.6), calc(-100vh + 530px));
  z-index: 5;
}

.narrative-space {
  grid-column: 1 / -1;
  height: 0;
}

.feature-panel:last-of-type {
  padding-bottom: 20vh;
}

.narrative-end-spacer {
  height: 10vh;
}

.feature-panel {
  grid-column: 1;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.feature-panel--right {
  grid-column: 3;
  justify-content: flex-start;
}

.panel-spacer {
  grid-column: 1 / -1;
  height: 1px;
}

.panel-body {
  max-width: 320px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-body.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin-block-end: var(--sp-3);
  letter-spacing: 0.04em;
}

.panel-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-block-end: var(--sp-3);
}

.panel-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==========================================================
   PHONE SCREEN — Plan ahead (calendar)
   ========================================================== */
.phone-cal {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 14px;
}

.phone-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-block-end: var(--sp-3);
}

.ph-cal-dow {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  text-transform: uppercase;
  padding-block-end: 4px;
}

.ph-cal-day {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  padding: 3px 0;
  border-radius: 3px;
  position: relative;
}

.ph-cal-day--empty {
  visibility: hidden;
}

.ph-day--marked {
  color: var(--teal-dark);
  font-weight: 700;
}

.ph-day--marked::after {
  content: '';
  position: absolute;
  inset-block-end: 1px;
  inset-inline: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.ph-cal-key {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  padding-block-end: var(--sp-3);
}

.ph-cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.ph-cal-key-label {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--ink-muted);
}

/* ==========================================================
   PHONE SCREEN — Stay on track (base number)
   ========================================================== */
.ph-base {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
}

.ph-base-top {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding-block-end: var(--sp-3);
  margin-block-end: var(--sp-3);
  border-bottom: 0.5px solid oklch(90% 0.005 83);
}

.ph-base-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.ph-base-amount {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.05em;
  line-height: 1;
}

.ph-base-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-base-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.ph-base-row--total {
  border-block-start: 1.5px solid var(--ink);
  padding-block-start: 6px;
  margin-block-start: 2px;
}

.ph-base-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.ph-base-row-value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.ph-base-row-value--neg {
  color: oklch(60% 0.015 240);
}

.ph-base-row--total .ph-base-row-label {
  font-weight: 700;
  color: var(--ink);
}

.ph-base-row--total .ph-base-row-value {
  color: var(--teal-dark);
}

/* ==========================================================
   PHONE SCREEN — Add your income
   ========================================================== */
.ph-income {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) 18px;
}

.ph-income-head {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-block-end: var(--sp-5);
}

.ph-income-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.ph-income-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.ph-income-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: #fff;
  border: 1.5px solid var(--teal);
  border-radius: 6px;
}

.ph-income-symbol {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.ph-income-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.ph-income-cursor {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: var(--teal);
  animation: blink 1s step-end infinite;
}

.ph-income-dates {
  display: flex;
  gap: var(--sp-1);
}

.ph-income-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink);
  background: oklch(94% 0.005 83);
  cursor: default;
}

.ph-income-date--sel {
  background: var(--teal-dark);
  color: #fff;
  font-weight: 700;
}

.ph-income-note {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ==========================================================
   PHONE SCREEN — Track annual bills
   ========================================================== */
.ph-annual {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) 14px;
}

.ph-annual-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 4px;
  margin-block-end: var(--sp-1);
}

.ph-annual-list {
  display: flex;
  flex-direction: column;
}

.ph-annual-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px 4px;
  border-bottom: 0.5px solid oklch(92% 0.004 83);
}

.ph-annual-row .app-icon {
  font-size: 10px;
}

.ph-annual-name {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
  flex: 1;
}

.ph-annual-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  color: var(--ink-muted);
}

.ph-annual-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  margin-block-start: var(--sp-1);
  border-block-start: 1.5px solid var(--ink);
}

.ph-annual-total-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.ph-annual-total-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
}

.ph-annual-foot {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--ink-muted);
  padding: 4px;
  margin-block-start: auto;
}

/* ==========================================================
   DOWNLOAD CTA
   ========================================================== */
.download {
  background: var(--ink);
  padding-block: var(--sp-10);
}

.download-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
}

.download-heading {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--cream);
  margin-block-end: var(--sp-4);
  overflow: visible;
}

.download-heading .download-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.7);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
}

.download-content.reveal.is-visible .download-heading .download-word {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.download-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: oklch(68% 0.008 83);
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-4);
}

.download-actions .cta-group {
  align-items: flex-end;
}

.download-actions .cta-group .btn-store {
  width: 210px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-block-end: var(--sp-4);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--ink);
  color: var(--cream);
  padding: 11px 18px;
  text-decoration: none;
  max-width: 210px;
  transition: opacity 0.15s;
}

.btn-store:hover { opacity: 0.82; }

.btn-store--light {
  background: var(--cream);
  color: var(--ink);
}

.store-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

.web-link {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s;
}

.web-link:hover { color: var(--ink); }

.web-link--on-dark { color: oklch(55% 0.005 83); }
.web-link--on-dark:hover { color: var(--cream); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink);
  border-block-start: 1px solid oklch(25% 0.005 240);
  padding-block: var(--sp-5);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.footer .logo-mark {
  background: oklch(30% 0.005 240);
}

.footer .logo-dot {
  background: var(--cream);
}

.footer-links {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 14px;
  color: oklch(60% 0.005 240);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--cream); }

.footer-copy {
  font-family: var(--font-display);
  font-size: 12px;
  color: oklch(50% 0.005 240);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-copy a:hover { color: var(--cream); }

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --phone-w: 260px;
    --phone-h: 530px;
  }

  .scroll-narrative {
    gap: 40px;
  }

  .phone-sticky {
    top: calc(50vh - 265px);
  }
}

/* Narrow tablet */
@media (max-width: 900px) {
  .scroll-narrative {
    gap: 0 24px;
  }

  .panel-body {
    max-width: 240px;
  }

  .download-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .download-actions {
    align-items: flex-start;
  }
}

/* Mobile — stacked fallback, no sticky */
@media (max-width: 768px) {
  :root {
    --phone-w: 240px;
    --phone-h: 490px;
  }

  .nav-links { display: none; }
  .nav-signin { display: none; }

  .hero-inner {
    padding-block-start: var(--sp-7);
    padding-inline: var(--sp-4);
  }

  .hero-proof {
    margin-block-end: var(--sp-4);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-cta {
    font-size: 15px;
    padding: 13px 26px;
  }

  .scroll-narrative {
    display: block;
    padding-inline: var(--sp-4);
  }

  .phone-sticky {
    position: static;
    padding-block: 0;
  }

  .phone-sticky .phone {
    margin: 0 auto;
  }

  .narrative-space,
  .panel-spacer {
    display: none;
  }

  .feature-panel {
    min-height: auto;
    padding-block: var(--sp-7);
    display: block;
  }

  .panel-body {
    max-width: 100%;
    opacity: 1;
    transform: none;
  }

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

  .download-inner {
    padding-inline: var(--sp-4);
  }

  .download-actions .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-3);
  }

  .download-actions {
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-proof,
  .hero-title,
  .hero-subtitle,
  .hero-cta {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .phone-screen {
    transition: none;
  }

  .panel-body {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .app-cursor,
  .ph-income-cursor {
    display: none;
  }
}
