/* ========== DESIGN SYSTEM TOKENS ========== */
    :root {
      /* Surface & Structure */
      --sf-surface: #ECEAE4;
      --sf-bg: #F6F4EF;
      --sf-card-fill: #FFFFFF;
      --sf-divider: rgba(30, 42, 68, 0.10);
      --sf-phone-bezel: #1E2A44;

      /* Brand · Sage */
      --sf-accent: #A7C7A0;
      --sf-accent-dark: #5C7D55;
      --sf-accent-40: rgba(167, 199, 160, 0.40);
      --sf-accent-20: rgba(167, 199, 160, 0.20);
      --sf-accent-10: rgba(167, 199, 160, 0.10);

      /* Pace */
      --sf-pace-good: #A7C7A0;
      --sf-pace-good-label: #5C7D55;
      --sf-pace-near: #D4A556;
      --sf-pace-near-label: #8A6425;
      --sf-pace-over: #C26B5A;
      --sf-pace-over-label: #8C3D2B;

      /* Location */
      --sf-location: #C47A3E;

      /* Text */
      --sf-text-primary: #1E2A44;
      --sf-text-secondary: #5A6378;
      --sf-text-tertiary: #8B93A1;

      /* Dark surfaces */
      --sf-dark-surface: #0E1014;
      --sf-dark-bg: #14161B;
      --sf-dark-card: #1C1F26;
      --sf-dark-text-primary: #ECEDF0;
      --sf-dark-text-secondary: #A8ADB8;

      /* Elevation */
      --shadow-card: 0 1px 2px rgba(30, 42, 68, 0.06), 0 4px 20px rgba(30, 42, 68, 0.05);
      --shadow-button: 0 6px 18px rgba(167, 199, 160, 0.35);

      /* Radius */
      --r-sm: 8px;
      --r-md: 12px;
      --r-lg: 14px;
      --r-xl: 16px;
      --r-2xl: 20px;
      --r-full: 999px;
    }

    /* ========== RESET & BASE ========== */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--sf-bg);
      color: var(--sf-text-primary);
      line-height: 1.6;
      font-size: 16px;
      font-weight: 500;
      overflow-x: hidden;
    }

    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }

    /* ========== TYPOGRAPHY ========== */
    .eyebrow {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--sf-accent-dark);
    }

    /* ========== SCROLL REVEAL ========== */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ========== NAV ========== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(246, 244, 239, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--sf-divider);
      padding: 0 24px;
    }
    .nav-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.4px;
      color: var(--sf-text-primary);
    }
    .nav-icon {
      width: 28px;
      height: 28px;
      border-radius: var(--r-sm);
      overflow: hidden;
    }
    .nav-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center;
      list-style: none;
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--sf-text-secondary);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--sf-text-primary); }
    .nav-cta {
      background: var(--sf-text-primary);
      color: var(--sf-bg) !important;
      padding: 8px 20px;
      border-radius: var(--r-full);
      font-weight: 600 !important;
      font-size: 13px !important;
      transition: opacity 0.2s;
    }
    .nav-cta:hover { opacity: 0.85; }

    /* ========== HERO ========== */
    .hero {
      padding: 120px 24px 64px;
      text-align: center;
      max-width: 900px;
      margin: 0 auto;
    }
    .hero h1 {
      font-size: clamp(36px, 6vw, 56px);
      font-weight: 800;
      letter-spacing: -1.2px;
      line-height: 1.1;
      color: var(--sf-text-primary);
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: clamp(16px, 2.5vw, 19px);
      color: var(--sf-text-secondary);
      max-width: 560px;
      margin: 0 auto 12px;
      line-height: 1.65;
      font-weight: 400;
      font-style: italic;
    }
    .hero-kicker {
      font-size: clamp(17px, 2.5vw, 20px);
      font-weight: 700;
      color: var(--sf-text-primary);
      max-width: 520px;
      margin: 0 auto 32px;
      line-height: 1.5;
    }
    .app-store-badge {
      display: inline-block;
      transition: opacity 0.2s;
    }
    .app-store-badge:hover { opacity: 0.8; }
    .app-store-badge img { height: 48px; }

    /* Phone mockup — pre-composited bezel + screenshot */
    .phone-mockup {
      width: 280px;
      margin: 48px auto 0;
      border-radius: 24px;
    }

    /* ========== DARK REFRAME ========== */
    .reframe {
      background: var(--sf-dark-bg);
      padding: 72px 24px;
      text-align: center;
    }
    .reframe h2 {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      letter-spacing: -0.8px;
      color: var(--sf-dark-text-primary);
      max-width: 720px;
      margin: 0 auto 20px;
      line-height: 1.2;
    }
    .reframe p {
      font-size: 16px;
      color: var(--sf-dark-text-secondary);
      max-width: 620px;
      margin: 0 auto 16px;
      font-weight: 400;
      font-style: italic;
      line-height: 1.7;
    }
    .reframe .kicker {
      font-size: 17px;
      font-weight: 700;
      color: var(--sf-accent);
      max-width: 620px;
      margin: 0 auto;
    }

    /* ========== CORE CONCEPT — READY TO SPEND ========== */
    .rts-section {
      padding: 80px 24px;
      max-width: 1120px;
      margin: 0 auto;
    }
    .rts-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .rts-content h2 {
      font-size: clamp(24px, 3.5vw, 34px);
      font-weight: 800;
      letter-spacing: -0.8px;
      line-height: 1.15;
      margin: 8px 0 16px;
    }
    .rts-content p {
      font-size: 16px;
      color: var(--sf-text-secondary);
      line-height: 1.7;
      font-weight: 400;
      font-style: italic;
      margin-bottom: 12px;
    }

    /* Animated RTS Widget */
    .rts-widget {
      background: var(--sf-dark-card);
      border-radius: var(--r-2xl);
      padding: 28px;
      color: var(--sf-dark-text-primary);
      box-shadow: var(--shadow-card);
    }
    .rts-widget-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 4px;
    }
    .rts-widget-cat {
      font-size: 15px;
      font-weight: 600;
      color: var(--sf-dark-text-secondary);
    }
    .rts-widget-days {
      font-size: 13px;
      color: var(--sf-dark-text-secondary);
    }
    .rts-widget-amount {
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -1.5px;
      color: var(--sf-accent);
      font-variant-numeric: tabular-nums;
    }
    .rts-widget-label {
      font-size: 14px;
      color: var(--sf-dark-text-secondary);
      margin-bottom: 28px;
    }

    /* Pace bar */
    .pace-bar-container {
      position: relative;
      height: 16px;
      background: rgba(255,255,255,0.08);
      border-radius: var(--r-full);
      margin-bottom: 24px;
      overflow: visible;
    }
    .pace-bar-fill {
      height: 100%;
      border-radius: var(--r-full);
      background: var(--sf-pace-good);
      width: 0%;
      transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .pace-bar-fill.animate { width: 15%; }
    .pace-marker {
      position: absolute;
      top: -4px;
      left: 0%;
      width: 3px;
      height: 24px;
      background: var(--sf-dark-text-primary);
      border-radius: 2px;
      opacity: 0;
      transition: left 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                  opacity 0.4s ease 0.6s;
    }
    .pace-marker.animate {
      left: 28.5%;
      opacity: 1;
    }
    .pace-marker-label {
      position: absolute;
      top: -22px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 10px;
      font-weight: 700;
      color: var(--sf-dark-text-secondary);
      white-space: nowrap;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    .pace-bar-meta {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--sf-dark-text-secondary);
      font-variant-numeric: tabular-nums;
    }

    /* Callout annotation */
    .rts-callout {
      margin-top: 20px;
      background: var(--sf-accent-10);
      border-left: 3px solid var(--sf-accent-dark);
      padding: 12px 16px;
      border-radius: 0 var(--r-sm) var(--r-sm) 0;
      font-size: 14px;
      color: var(--sf-dark-text-primary);
      font-style: italic;
      opacity: 0;
      transition: opacity 0.6s ease 1.2s;
    }
    .rts-callout.animate { opacity: 1; }
    .rts-callout strong { color: var(--sf-accent); font-style: normal; }

    /* Second RTS card (near pace) */
    .rts-widget-sm {
      background: var(--sf-dark-card);
      border-radius: var(--r-xl);
      padding: 16px 20px;
      margin-top: 16px;
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .rts-widget-sm-info { flex: 1; }
    .rts-widget-sm-cat { font-size: 14px; font-weight: 600; color: var(--sf-dark-text-primary); }
    .rts-widget-sm-meta { font-size: 12px; color: var(--sf-dark-text-secondary); }
    .rts-widget-sm-amount {
      font-size: 28px;
      font-weight: 800;
      color: var(--sf-pace-near);
      font-variant-numeric: tabular-nums;
    }
    .rts-widget-sm .pace-bar-container {
      height: 8px;
      margin-top: 8px;
      margin-bottom: 0;
    }
    .rts-widget-sm .pace-bar-fill {
      background: var(--sf-pace-near);
    }
    .rts-widget-sm .pace-bar-fill.animate { width: 72%; }
    .rts-widget-sm .pace-marker {
      height: 16px;
      top: -4px;
    }
    .rts-widget-sm .pace-marker.animate { left: 57%; }

    /* ========== SPOTCHECK ========== */
    .spotcheck {
      background: var(--sf-dark-bg);
      padding: 80px 24px;
    }
    .spotcheck-inner {
      max-width: 1120px;
      margin: 0 auto;
      text-align: center;
    }
    .spotcheck .eyebrow { color: var(--sf-accent); }
    .spotcheck h2 {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      letter-spacing: -0.8px;
      color: var(--sf-dark-text-primary);
      margin: 8px auto 40px;
      max-width: 640px;
      line-height: 1.15;
    }
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 40px;
    }
    .scenario-card {
      background: var(--sf-dark-card);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--r-xl);
      padding: 24px;
      text-align: left;
    }
    .scenario-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--sf-dark-text-primary);
      margin-bottom: 8px;
    }
    .scenario-desc {
      font-size: 14px;
      color: var(--sf-dark-text-secondary);
      font-style: italic;
      line-height: 1.6;
      margin-bottom: 12px;
    }
    .scenario-msg {
      background: var(--sf-accent-10);
      border-radius: var(--r-md);
      padding: 12px 14px;
      font-size: 14px;
      font-weight: 500;
      color: var(--sf-accent);
      line-height: 1.5;
    }
    .spotcheck-foot {
      font-size: 16px;
      color: var(--sf-dark-text-secondary);
      font-style: italic;
      max-width: 640px;
      margin: 0 auto;
      line-height: 1.7;
    }
    .spotcheck-subhead {
      font-size: 20px;
      font-weight: 800;
      color: var(--sf-dark-text-primary);
      text-align: center;
      margin-bottom: 16px;
      letter-spacing: -0.3px;
    }
    .morning-notif {
      max-width: 420px;
      margin: 0 auto 36px;
      background: var(--sf-dark-card);
      border-radius: var(--r-2xl);
      padding: 14px 16px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
      box-shadow: 0 2px 12px rgba(0,0,0,0.2);
      text-align: left;
    }
    .morning-notif-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      flex-shrink: 0;
      overflow: hidden;
    }
    .morning-notif-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .morning-notif-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 3px;
    }
    .morning-notif-app {
      font-size: 14px;
      font-weight: 700;
      color: var(--sf-dark-text-primary);
    }
    .morning-notif-time {
      font-size: 11px;
      color: var(--sf-dark-text-secondary);
    }
    .morning-notif-body {
      font-size: 14px;
      color: var(--sf-dark-text-secondary);
      line-height: 1.45;
    }

    /* ========== COACHING ========== */
    .coaching {
      padding: 80px 24px;
      max-width: 1120px;
      margin: 0 auto;
    }
    /* One column: the hero already carries the proactive screenshot, so this
       section lets the real coaching lines speak for themselves. Capped at a
       reading width rather than the section's full 1120px. */
    .coaching-grid {
      max-width: 720px;
      margin: 0 auto;
    }
    .coaching-content .eyebrow { margin-bottom: 4px; }
    .coaching-content h2 {
      font-size: clamp(24px, 3.5vw, 34px);
      font-weight: 800;
      letter-spacing: -0.8px;
      line-height: 1.15;
      margin: 8px 0 16px;
    }
    .coaching-content p {
      font-size: 16px;
      color: var(--sf-text-secondary);
      line-height: 1.7;
      font-weight: 400;
      font-style: italic;
      margin-bottom: 24px;
    }
    .coach-bubble {
      background: var(--sf-accent-10);
      border-left: 3px solid var(--sf-accent-dark);
      border-radius: 0 var(--r-md) var(--r-md) 0;
      padding: 14px 18px;
      margin-bottom: 12px;
      font-size: 15px;
      font-weight: 500;
      font-style: italic;
      color: var(--sf-text-primary);
      line-height: 1.5;
    }
    .coach-bubbles-label {
      font-size: 12px;
      color: var(--sf-text-tertiary);
      margin-top: 8px;
      text-align: right;
    }

    /* ========== BEYOND THE APP ========== */
    .beyond {
      background: var(--sf-surface);
      padding: 80px 24px;
    }
    .beyond-inner {
      max-width: 1120px;
      margin: 0 auto;
    }
    .beyond h2 {
      font-size: clamp(24px, 4vw, 34px);
      font-weight: 800;
      letter-spacing: -0.8px;
      text-align: center;
      margin: 8px 0 48px;
      line-height: 1.15;
    }
    .beyond-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }
    .beyond-feature-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--sf-accent-dark);
      margin-bottom: 8px;
    }
    .beyond-feature h3 {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.4px;
      margin-bottom: 12px;
    }
    .beyond-feature p {
      font-size: 15px;
      color: var(--sf-text-secondary);
      line-height: 1.65;
      font-weight: 400;
      font-style: italic;
      margin-bottom: 20px;
    }
    .siri-examples {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .siri-card {
      background: var(--sf-card-fill);
      border: 1px solid var(--sf-divider);
      border-radius: var(--r-2xl);
      padding: 20px 22px;
      box-shadow: var(--shadow-card);
    }
    .siri-card-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--sf-text-tertiary);
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .siri-prompt {
      font-size: 16px;
      font-weight: 600;
      font-style: italic;
      color: var(--sf-text-primary);
      line-height: 1.4;
    }
    .siri-response {
      margin-top: 10px;
      font-size: 15px;
      font-weight: 500;
      color: var(--sf-accent-dark);
    }
    .siri-convo {
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .siri-reply {
      font-size: 14px;
      color: var(--sf-text-secondary);
      font-style: italic;
    }
    .siri-user {
      font-size: 14px;
      color: var(--sf-text-primary);
      font-weight: 600;
    }
    .siri-done {
      font-size: 14px;
      font-weight: 500;
      color: var(--sf-accent-dark);
    }
    .widget-gallery {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      justify-content: center;
    }
    .widget-mock {
      background: var(--sf-dark-card);
      border-radius: var(--r-2xl);
      position: relative;
      box-shadow: var(--shadow-card);
    }
    .widget-mock-single {
      width: 160px;
      padding: 20px 18px 14px;
      text-align: center;
    }
    .widget-mock-single .widget-cat {
      font-size: 14px;
      font-weight: 600;
      color: var(--sf-dark-text-primary);
      margin-bottom: 8px;
    }
    .widget-mock-single .widget-amount {
      font-size: 32px;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      letter-spacing: -1px;
      margin-bottom: 2px;
    }
    .widget-mock-single .widget-rts-label {
      font-size: 11px;
      color: var(--sf-dark-text-secondary);
      margin-bottom: 12px;
    }
    .widget-app-name {
      font-size: 11px;
      color: var(--sf-dark-text-secondary);
      opacity: 0.6;
      text-align: center;
      padding-top: 8px;
    }
    .widget-mock-multi {
      width: 240px;
      padding: 16px 18px 10px;
    }
    .widget-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
    }
    .widget-row-cat {
      font-size: 15px;
      font-weight: 600;
      color: var(--sf-dark-text-primary);
    }
    .widget-row-sub {
      font-size: 11px;
      color: var(--sf-dark-text-secondary);
      margin-top: 2px;
    }
    .widget-row-amount {
      font-size: 22px;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      letter-spacing: -0.5px;
    }
    .widget-divider {
      height: 1px;
      background: rgba(255,255,255,0.08);
    }

    /* ========== PRIVACY ========== */
    .privacy {
      background: var(--sf-dark-bg);
      padding: 80px 24px;
      text-align: center;
    }
    .privacy-inner { max-width: 640px; margin: 0 auto; }
    .privacy-icon {
      width: 56px;
      height: 56px;
      background: rgba(167, 199, 160, 0.15);
      border-radius: var(--r-xl);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
    }
    .privacy-icon svg { width: 28px; height: 28px; color: var(--sf-accent); }
    .privacy h2 {
      font-size: clamp(24px, 4vw, 34px);
      font-weight: 800;
      letter-spacing: -0.8px;
      color: var(--sf-dark-text-primary);
      margin-bottom: 16px;
      line-height: 1.15;
    }
    .privacy p {
      font-size: 16px;
      color: var(--sf-dark-text-secondary);
      font-style: italic;
      line-height: 1.7;
      margin-bottom: 28px;
    }
    .privacy-pills {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }
    .privacy-pill {
      border: 1px solid rgba(167, 199, 160, 0.3);
      border-radius: var(--r-full);
      padding: 10px 22px;
      font-size: 14px;
      font-weight: 600;
      color: var(--sf-accent);
    }
    .privacy-closer {
      font-size: 17px;
      font-weight: 700;
      color: var(--sf-dark-text-primary);
      font-style: normal !important;
    }

    /* ========== FAQ ========== */
    .faq {
      padding: 80px 24px;
      max-width: 720px;
      margin: 0 auto;
    }
    .faq h2 {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.6px;
      text-align: center;
      margin-bottom: 40px;
    }
    .faq-item {
      border-bottom: 1px solid var(--sf-divider);
      padding: 20px 0;
    }
    .faq-q {
      font-size: 16px;
      font-weight: 700;
      color: var(--sf-text-primary);
      margin-bottom: 8px;
    }
    .faq-a {
      font-size: 15px;
      color: var(--sf-text-secondary);
      line-height: 1.7;
      font-weight: 400;
    }

    /* ========== CTA ========== */
    .cta {
      background: var(--sf-surface);
      padding: 72px 24px;
      text-align: center;
    }
    .cta h2 {
      font-size: clamp(22px, 4vw, 32px);
      font-weight: 800;
      letter-spacing: -0.6px;
      color: var(--sf-text-primary);
      margin-bottom: 24px;
      line-height: 1.2;
      font-style: italic;
    }

    /* ========== FOOTER ========== */
    .footer {
      background: var(--sf-dark-bg);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      color: var(--sf-dark-text-primary);
      margin-bottom: 20px;
    }
    .footer-badge { margin-bottom: 20px; }
    .footer-badge img { height: 40px; margin: 0 auto; }
    .footer-tagline {
      font-size: 14px;
      font-style: italic;
      color: var(--sf-dark-text-secondary);
      margin-bottom: 8px;
    }
    .footer-legal {
      font-size: 11px;
      color: var(--sf-dark-text-secondary);
      opacity: 0.6;
      line-height: 1.6;
      max-width: 600px;
      margin: 0 auto;
    }

    /* Mobile CTA in nav - hidden on desktop */
    .nav-cta-mobile {
      display: none;
      background: var(--sf-text-primary);
      color: var(--sf-bg);
      padding: 8px 18px;
      border-radius: var(--r-full);
      font-weight: 600;
      font-size: 13px;
      transition: opacity 0.2s;
    }
    .nav-cta-mobile:hover { opacity: 0.85; }

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

    /* Tablet & small desktop */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-cta-mobile { display: inline-block; }

      .hero { padding: 88px 20px 48px; }
      .hero h1 { margin-bottom: 16px; }
      .hero-sub { margin-bottom: 10px; }
      .hero-kicker { margin-bottom: 24px; }
      .phone-mockup { margin-top: 36px; }

      .reframe { padding: 56px 20px; }
      .rts-section { padding: 56px 20px; }
      .rts-grid { grid-template-columns: 1fr; gap: 36px; }

      .spotcheck { padding: 56px 20px; }
      .scenario-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }

      .coaching { padding: 56px 20px; }

      .beyond { padding: 56px 20px; }
      .beyond-grid { grid-template-columns: 1fr; gap: 40px; }

      .privacy { padding: 56px 20px; }
      .faq { padding: 56px 20px; }
      .cta { padding: 56px 20px; }
    }

    /* Mobile phones */
    @media (max-width: 480px) {
      .nav-inner { height: 50px; }
      .nav-brand { font-size: 16px; gap: 8px; }
      .nav-icon { width: 24px; height: 24px; }

      .hero { padding: 72px 16px 40px; }
      .hero-sub { font-size: 15px; }
      .hero-kicker { font-size: 16px; margin-bottom: 20px; }
      .app-store-badge img { height: 42px; }

      .phone-mockup { width: 220px; margin-top: 32px; }

      .reframe { padding: 48px 16px; }
      .reframe p, .reframe .kicker { font-size: 15px; }

      .rts-section { padding: 48px 16px; }
      .rts-widget { padding: 20px; }
      .rts-widget-amount { font-size: 36px; }
      .rts-widget-sm { padding: 12px 16px; }
      .rts-widget-sm-amount { font-size: 24px; }

      .spotcheck { padding: 48px 16px; }
      .scenario-card { padding: 18px; }
      .scenario-grid { gap: 14px; }

      .coaching { padding: 48px 16px; }
      .coach-bubble { padding: 12px 14px; font-size: 14px; }

      .beyond { padding: 48px 16px; }
      .beyond h2 { margin-bottom: 32px; }
      .beyond-feature h3 { font-size: 20px; }
      .beyond-feature p { font-size: 14px; }
      .siri-card { padding: 16px 18px; }
      .siri-prompt { font-size: 15px; }
      .siri-reply, .siri-user, .siri-done { font-size: 13px; }
      .widget-gallery { flex-direction: column; align-items: center; }
      .widget-mock-multi { width: 100%; max-width: 280px; }
      .morning-notif { margin-bottom: 28px; }
      .spotcheck-subhead { font-size: 18px; }

      .privacy { padding: 48px 16px; }
      .privacy-pills {
        flex-direction: column;
        align-items: center;
        gap: 8px;
      }
      .privacy-pill { width: 100%; max-width: 260px; text-align: center; }

      .faq { padding: 48px 16px; }
      .faq h2 { font-size: 24px; margin-bottom: 28px; }
      .faq-q { font-size: 15px; }
      .faq-a { font-size: 14px; }

      .cta { padding: 48px 16px; }
      .footer { padding: 36px 16px 24px; }
      .footer-tagline { font-size: 13px; }
      .footer-legal { font-size: 10px; }
    }

    /* Very small screens */
    @media (max-width: 360px) {
      .hero { padding: 68px 14px 36px; }
      .phone-mockup { width: 200px; }
      .rts-widget-amount { font-size: 32px; }
      .scenario-msg { font-size: 13px; }
    }

    /* ========== ACCESSIBILITY BASELINE ========== */
    :focus-visible {
      outline: 2px solid var(--sf-accent-dark);
      outline-offset: 3px;
      border-radius: var(--r-sm);
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal { opacity: 1; transform: none; transition: none; }
      .pace-bar-fill, .pace-marker, .rts-callout, .rehearse-fill { transition: none; }
      *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    }

    /* ========== MOBILE MENU ========== */
    .nav-mobile-actions {
      display: none;
      align-items: center;
      gap: 10px;
    }
    .nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      padding: 0 8px;
      background: transparent;
      border: 1px solid var(--sf-divider);
      border-radius: var(--r-sm);
      cursor: pointer;
    }
    .nav-toggle-bar {
      display: block;
      height: 1.5px;
      background: var(--sf-text-primary);
      border-radius: 2px;
    }

    @media (max-width: 768px) {
      .nav-mobile-actions { display: flex; }
      .nav-links.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 8px 24px 16px;
        background: rgba(246, 244, 239, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--sf-divider);
      }
      .nav-links.is-open li { border-top: 1px solid var(--sf-divider); }
      .nav-links.is-open li:first-child { border-top: none; }
      .nav-links.is-open a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
      }
      .nav-links.is-open .nav-cta {
        display: inline-block;
        margin-top: 12px;
        padding: 10px 22px;
      }
    }

    /* ========== REHEARSE A SPEND ========== */
    .rehearse {
      padding: 72px 24px;
      background: var(--sf-surface);
    }
    .rehearse-inner {
      max-width: 880px;
      margin: 0 auto;
      text-align: center;
    }
    .rehearse h2 {
      font-size: clamp(26px, 4vw, 36px);
      font-weight: 800;
      letter-spacing: -0.8px;
      line-height: 1.2;
      margin: 6px 0 14px;
    }
    .rehearse-lead {
      font-size: 17px;
      color: var(--sf-text-secondary);
      max-width: 560px;
      margin: 0 auto 36px;
    }
    .rehearse-demo {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: center;
      text-align: left;
    }
    .rehearse-widget {
      background: var(--sf-dark-card);
      border-radius: var(--r-2xl);
      padding: 24px;
      box-shadow: var(--shadow-card);
    }
    .rehearse-widget .rts-widget-amount {
      transition: color 0.35s ease;
      color: var(--sf-pace-good);
    }
    .rehearse-widget .rts-widget-amount[data-tone="near"] { color: var(--sf-pace-near); }
    .rehearse-widget .rts-widget-amount[data-tone="over"] { color: var(--sf-pace-over); }
    .rehearse-fill {
      width: 15%;
      background: var(--sf-pace-good);
      transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
    }
    .rehearse-fill[data-tone="near"] { background: var(--sf-pace-near); }
    .rehearse-fill[data-tone="over"] { background: var(--sf-pace-over); }
    .rehearse-marker { left: 40%; }
    .rehearse-coach {
      margin-top: 16px;
      font-size: 14px;
      line-height: 1.5;
      color: var(--sf-dark-text-secondary);
      min-height: 42px;
    }
    .rehearse-controls-label {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .rehearse-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }
    .rehearse-btn {
      font: inherit;
      font-size: 15px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: var(--r-full);
      border: 1px solid var(--sf-divider);
      background: var(--sf-card-fill);
      color: var(--sf-text-primary);
      cursor: pointer;
      transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    }
    .rehearse-btn:hover { border-color: var(--sf-accent); }
    .rehearse-btn.is-active {
      background: var(--sf-text-primary);
      border-color: var(--sf-text-primary);
      color: var(--sf-bg);
    }
    .rehearse-note {
      font-size: 13px;
      line-height: 1.5;
      color: var(--sf-text-tertiary);
    }
    .rehearse-foot {
      margin-top: 32px;
      font-size: 16px;
      font-weight: 600;
      color: var(--sf-text-secondary);
    }

    /* ========== COACH CHAT ========== */
    .coach-chat {
      padding: 80px 24px;
      background: var(--sf-bg);
    }
    .coach-chat-inner {
      max-width: 1000px;
      margin: 0 auto;
      text-align: center;
    }
    /* Header and footnote keep the 680px reading measure; only the
       thread + phone row spreads to the section's full width. */
    /* Copy + transcript left, the real screen right — same rhythm as the
       hero. Both carry the same words: the thread is the readable version,
       the screenshot is the proof. */
    .coach-chat-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 280px;
      gap: 56px;
      align-items: center;
    }
    .coach-chat-copy { text-align: left; }
    .coach-chat-copy .coach-chat-lead { margin-bottom: 28px; }
    .coach-chat-foot {
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
    }
    .coach-chat-phone .phone-mockup {
      width: 280px;
      margin: 0;
      display: block;
    }
    .coach-chat h2 {
      font-size: clamp(26px, 4vw, 36px);
      font-weight: 800;
      letter-spacing: -0.8px;
      line-height: 1.2;
      margin: 6px 0 14px;
    }
    .coach-chat-lead {
      font-size: 17px;
      color: var(--sf-text-secondary);
      margin-bottom: 36px;
    }
    .chat-thread {
      display: flex;
      flex-direction: column;
      gap: 12px;
      text-align: left;
      background: var(--sf-card-fill);
      border-radius: var(--r-2xl);
      padding: 24px;
      box-shadow: var(--shadow-card);
    }
    .chat-msg {
      max-width: 84%;
      padding: 12px 16px;
      font-size: 15px;
      line-height: 1.5;
    }
    .chat-msg-user {
      align-self: flex-end;
      background: var(--sf-text-primary);
      color: var(--sf-bg);
      border-radius: var(--r-xl) var(--r-xl) 4px var(--r-xl);
      font-weight: 600;
    }
    .chat-msg-coach {
      align-self: flex-start;
      background: var(--sf-accent-20);
      color: var(--sf-text-primary);
      border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 4px;
    }
    .coach-chat-foot {
      margin-top: 28px;
      font-size: 14px;
      line-height: 1.6;
      color: var(--sf-text-secondary);
    }

    /* ========== SPOTLIGHT MOCK ========== */
    .spotlight-mock {
      background: var(--sf-dark-card);
      border-radius: var(--r-xl);
      padding: 16px;
      margin-top: 8px;
    }
    .spotlight-field {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: var(--r-md);
      padding: 10px 14px;
      color: var(--sf-dark-text-primary);
      font-size: 15px;
      font-weight: 600;
    }
    .spotlight-field svg {
      width: 16px;
      height: 16px;
      color: var(--sf-dark-text-secondary);
      flex-shrink: 0;
    }
    .spotlight-results { margin-top: 12px; }
    .spotlight-row {
      padding: 10px 4px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .spotlight-row:first-child { border-top: none; }
    .spotlight-row-main {
      font-size: 14px;
      font-weight: 600;
      color: var(--sf-dark-text-primary);
    }
    .spotlight-row-sub {
      font-size: 12px;
      color: var(--sf-dark-text-secondary);
    }
    .spotlight-note {
      margin-top: 14px;
      font-size: 13px !important;
      line-height: 1.5;
      color: var(--sf-text-tertiary) !important;
    }

    /* ========== FOOTER LINKS ========== */
    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 13px;
      font-weight: 600;
    }
    .footer-links a { color: var(--sf-accent); }
    .footer-links a:hover { opacity: 0.8; }

    /* ========== WHAT'S NEW PAGE ========== */
    .page-header {
      padding: 120px 24px 40px;
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }
    .page-header h1 {
      font-size: clamp(32px, 5vw, 44px);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.15;
      margin-bottom: 14px;
    }
    .page-header p {
      font-size: 17px;
      color: var(--sf-text-secondary);
    }
    .releases {
      max-width: 720px;
      margin: 0 auto;
      padding: 24px 24px 80px;
    }
    .release {
      background: var(--sf-card-fill);
      border-radius: var(--r-2xl);
      padding: 32px;
      margin-bottom: 24px;
      box-shadow: var(--shadow-card);
    }
    .release-meta {
      display: flex;
      align-items: baseline;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 6px;
    }
    .release-version {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.4px;
    }
    .release-date {
      font-size: 13px;
      color: var(--sf-text-tertiary);
      font-weight: 600;
    }
    .release-headline {
      font-size: 18px;
      font-weight: 600;
      color: var(--sf-text-secondary);
      margin-bottom: 24px;
    }
    .release h3 {
      font-size: 15px;
      font-weight: 700;
      margin: 22px 0 6px;
    }
    .release p {
      font-size: 15px;
      line-height: 1.65;
      color: var(--sf-text-secondary);
    }
    .release ul {
      margin: 8px 0 0 18px;
      font-size: 15px;
      line-height: 1.7;
      color: var(--sf-text-secondary);
    }
    .release-fixes {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--sf-divider);
      font-size: 14px !important;
      color: var(--sf-text-tertiary) !important;
    }

    @media (max-width: 768px) {
      .rehearse { padding: 56px 20px; }
      .rehearse-demo { grid-template-columns: 1fr; gap: 24px; }
      .coach-chat { padding: 56px 20px; }
      /* Chat text at 220px is unreadable; the transcript carries the section on phones. */
      .coach-chat-grid { grid-template-columns: 1fr; gap: 0; }
      .coach-chat-copy { text-align: center; }
      .coach-chat-phone { display: none; }
      .page-header { padding: 96px 20px 32px; }
      .releases { padding: 16px 20px 56px; }
      .release { padding: 24px; }
    }

    @media (max-width: 480px) {
      .rehearse { padding: 48px 16px; }
      .rehearse-lead { font-size: 15px; }
      .rehearse-widget { padding: 20px; }
      .rehearse-btn { padding: 10px 16px; font-size: 14px; }
      .coach-chat { padding: 48px 16px; }
      .coach-chat-lead { font-size: 15px; }
      .chat-thread { padding: 16px; }
      .chat-msg { max-width: 92%; font-size: 14px; }
      .releases { padding: 12px 16px 48px; }
      .release { padding: 20px; }
    }

    /* ========== DARK MODE ==========
       The app is dark-first; the site should meet a dark-mode iPhone
       where it is. Only the token layer changes — every component
       below already reads from these variables. The light/dark section
       alternation is preserved by keeping --sf-dark-bg one step darker
       than the new page background. */
    @media (prefers-color-scheme: dark) {
      :root {
        --sf-bg: #14161B;
        --sf-surface: #0E1014;
        --sf-card-fill: #1C1F26;
        --sf-divider: rgba(236, 237, 240, 0.12);

        --sf-text-primary: #ECEDF0;
        --sf-text-secondary: #A8ADB8;
        --sf-text-tertiary: #7C8493;

        --sf-dark-bg: #0E1014;
        --sf-dark-surface: #08090C;
        --sf-dark-card: #232730;

        /* Pace label colors need more lift against a dark surface */
        --sf-pace-good-label: #A7C7A0;
        --sf-pace-near-label: #D4A556;
        --sf-pace-over-label: #C26B5A;

        --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-button: 0 6px 18px rgba(167, 199, 160, 0.18);
      }

      .nav { background: rgba(20, 22, 27, 0.85); }
      .nav-links.is-open { background: rgba(20, 22, 27, 0.97); }
    }
