  :root {
    --bg: #FBF7F4;
    --bg-warm: #F5EDE6;
    --terracotta: #C4593B;
    --terracotta-dark: #A84832;
    --teal: #2D6A6A;
    --gold: #D4A84B;
    --text: #2D2A26;
    --text-secondary: #6B6560;
    --white: #FFFFFF;
    --border: rgba(45,42,38,0.10);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --max-w: 1200px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.2; }

  a { color: var(--teal); text-decoration: none; }
  a:hover { text-decoration: underline; }

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

  .page { display: none; }
  .page.active { display: block; }

  /* ─── NAV ─── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251,247,244,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
  }
  .nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--text);
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    text-decoration: none;
  }
  .nav-logo .star { color: var(--terracotta); font-size: 18px; }
  .nav-links { display: flex; align-items: center; gap: 32px; }
  .nav-links a {
    font-size: 14px; font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer; text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); text-decoration: none; }
  .nav-cta {
    background: var(--terracotta); color: var(--white) !important;
    padding: 8px 20px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: 14px;
    transition: background 0.2s, transform 0.15s !important;
  }
  .nav-cta:hover { background: var(--terracotta-dark) !important; transform: scale(1.02); text-decoration: none !important; }

  /* hamburger */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
  .mobile-menu {
    display: none; flex-direction: column;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .mobile-menu a {
    font-size: 16px; font-weight: 500; color: var(--text);
    padding: 12px 0; border-bottom: 1px solid var(--border);
    cursor: pointer; text-decoration: none;
  }
  .mobile-menu.open { display: flex; }

  /* ─── BUTTONS ─── */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 500;
    padding: 12px 28px; border-radius: var(--radius-sm);
    border: none; cursor: pointer;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
    text-decoration: none;
  }
  .btn:hover { transform: scale(1.02); text-decoration: none; }
  .btn-primary { background: var(--terracotta); color: var(--white); }
  .btn-primary:hover { background: var(--terracotta-dark); }
  .btn-secondary { background: var(--white); color: var(--terracotta); border: 1.5px solid var(--terracotta); }
  .btn-secondary:hover { background: var(--bg-warm); }
  .btn-ghost { background: transparent; color: var(--terracotta); border: 1.5px solid var(--terracotta); }
  .btn-ghost:hover { background: var(--bg-warm); }
  .btn-lg { font-size: 16px; padding: 14px 32px; }
  .btn-sm { font-size: 14px; padding: 9px 20px; }

  /* app store buttons */
  .store-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--text); color: var(--white);
    padding: 11px 20px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; text-decoration: none;
    transition: transform 0.15s, background 0.2s;
    border: none; cursor: pointer;
  }
  .store-btn:hover { transform: scale(1.02); background: #1a1714; text-decoration: none; }
  .store-btn.terracotta { background: var(--terracotta); }
  .store-btn.terracotta:hover { background: var(--terracotta-dark); }
  .store-btn-icon { width: 22px; height: 22px; flex-shrink: 0; display: block; }
  .store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
  .store-btn-sub { font-size: 10px; font-weight: 400; opacity: 0.8; }
  .store-btn-name { font-size: 14px; font-weight: 600; }

  /* ─── SECTIONS ─── */
  section { padding: 96px 24px; }
  .section-warm { background: var(--bg-warm); }
  .section-white { background: var(--white); }
  .container { max-width: var(--max-w); margin: 0 auto; }

  .section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--terracotta);
    margin-bottom: 16px;
  }

  /* ─── HERO ─── */
  .hero {
    padding: 80px 24px 0;
    background: var(--bg);
    overflow: hidden;
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(196,89,59,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
  }
  .hero-content { padding-bottom: 80px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(196,89,59,0.08); color: var(--terracotta);
    font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(48px, 6vw, 80px);
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 18px; color: var(--text-secondary);
    line-height: 1.65; margin-bottom: 40px;
    max-width: 440px;
  }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
  .hero-social-proof {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: var(--text-secondary);
  }
  .hero-cities {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .city-chip {
    background: rgba(45,42,38,0.06); color: var(--text-secondary);
    font-size: 12px; padding: 3px 10px; border-radius: 100px;
  }

  /* phone mockup */
  .hero-visual {
    position: relative;
    display: flex; justify-content: center; align-items: flex-end;
    padding-bottom: 0;
    padding-top: 40px;
  }
  .phone-mockup {
    width: 260px;
    background: var(--text);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 32px 80px rgba(45,42,38,0.25), 0 0 0 1px rgba(255,255,255,0.1);
    transform: rotate(3deg) translateY(20px);
    position: relative;
    z-index: 2;
  }
  .phone-screen {
    background: var(--bg);
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9/19;
    position: relative;
  }
  .phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px;
    background: var(--text);
    border-radius: 0 0 18px 18px;
    z-index: 10;
  }
  .app-ui {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    background: var(--bg);
  }
  .app-header {
    padding: 40px 16px 12px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .app-logo-sm { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--text); }
  .app-logo-sm .star { color: var(--terracotta); }
  .app-tabs {
    display: flex; gap: 4px;
    padding: 0 12px 10px;
  }
  .app-tab {
    flex: 1; font-size: 9px; font-weight: 600;
    padding: 5px 2px; border-radius: 6px; text-align: center;
    color: var(--text-secondary); background: transparent;
  }
  .app-tab.active {
    background: var(--terracotta); color: var(--white);
  }
  .spin-area {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 10px 8px 8px;
    gap: 8px;
  }
  /* ── SLOT MACHINE ── */
  /* ── 3-REEL SLOT MACHINE (mirrors actual app) ── */
  .slot-machine {
    width: 214px;
    background: var(--bg);
    border-radius: 10px;
    padding: 6px 4px 8px;
    position: relative;
  }
  .slot-reels {
    display: flex; gap: 5px;
    position: relative;
  }
  .slot-reel {
    flex: 1;
    height: 118px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: linear-gradient(180deg, #F5EDE6 0%, #FFF 50%, #F5EDE6 100%);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.06);
    animation: reelGlow 3.2s ease-in-out infinite;
  }
  .slot-reel:nth-child(2) { animation-delay: 0.4s; }
  .slot-reel:nth-child(3) { animation-delay: 0.8s; }
  @keyframes reelGlow {
    0%,100% { border-color: var(--border); box-shadow: inset 0 3px 8px rgba(0,0,0,0.06); }
    40%      { border-color: var(--gold); box-shadow: inset 0 3px 8px rgba(212,168,75,0.15), 0 0 12px rgba(212,168,75,0.2); }
    80%      { border-color: var(--teal); box-shadow: inset 0 3px 8px rgba(45,106,106,0.12), 0 0 10px rgba(45,106,106,0.15); }
  }
  /* center highlight line (matches app) */
  .slot-reel::before {
    content: ''; position: absolute; left: 4px; right: 4px;
    top: 50%; height: 24px; transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    border-radius: 4px; z-index: 3; pointer-events: none;
  }
  /* top/bottom fade (matches app) */
  .slot-reel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, #F5EDE6 0%, transparent 28%, transparent 72%, #F5EDE6 100%);
    z-index: 2; pointer-events: none;
  }
  .slot-track {
    display: flex; flex-direction: column;
    align-items: center;
    position: relative; z-index: 1;
  }
  /* each reel scrolls at different speed for async feel */
  .slot-track.reel-1 { animation: scrollReel 7s linear infinite; }
  .slot-track.reel-2 { animation: scrollReel 9s linear infinite; }
  .slot-track.reel-3 { animation: scrollReel 5.5s linear infinite; }
  @keyframes scrollReel {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }
  .slot-item {
    height: 24px; flex-shrink: 0; width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0 3px;
  }
  .slot-item-emoji { font-size: 11px; line-height: 1; }
  .slot-item-name  {
    font-size: 8px; font-weight: 600; color: var(--text);
    text-align: center; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 98%;
  }
  /* current-item highlight overlay (center row) */
  .slot-center-bar {
    position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%);
    height: 24px; z-index: 4; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
  }
  .slot-filters {
    display: flex; gap: 4px; flex-wrap: nowrap;
    padding: 0 0 6px;
    overflow: hidden;
  }
  .slot-filter-pill {
    flex: 1; text-align: center;
    font-size: 7px; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--text-secondary);
    background: var(--white); border: 1px solid var(--border);
    border-radius: 20px; padding: 3px 4px;
    white-space: nowrap;
  }
  .slot-filter-pill.active {
    background: rgba(196,89,59,0.08);
    border-color: var(--terracotta);
    color: var(--terracotta);
  }
  .slot-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 2px 0;
  }
  .slot-label { font-size: 8px; color: var(--text-secondary); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
  .slot-btn-sm {
    background: var(--terracotta); color: var(--white);
    border: none; border-radius: 6px;
    font-size: 10px; font-weight: 700;
    padding: 7px 0; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.04em; text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(196,89,59,0.3);
    width: 100%; margin-top: 6px;
    display: block;
  }

  .phone-shadow-blob {
    position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 40px;
    background: radial-gradient(ellipse, rgba(45,42,38,0.2) 0%, transparent 70%);
    z-index: 1;
  }
  .phone-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    animation: float 3s ease-in-out infinite;
  }
  .phone-float-card.card-1 { top: 10%; left: -186px; animation-delay: 0s; z-index: 10; }
  .phone-float-card.card-2 { top: 42%; right: -140px; left: auto; animation-delay: 1.0s; z-index: 10; }
  .phone-float-card.card-3 { top: 70%; left: -186px; animation-delay: 2.0s; z-index: 10; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .float-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
  .float-dot.teal { background: var(--teal); }

  /* ─── HOW IT WORKS ─── */
  .hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
  .hiw-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .hiw-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .hiw-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(196,89,59,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 20px;
    color: var(--terracotta);
  }
  .hiw-card h3 { font-size: 20px; margin-bottom: 10px; }
  .hiw-card p { color: var(--text-secondary); font-size: 15px; }

  /* ─── FEATURES ─── */
  .features-list { display: flex; flex-direction: column; gap: 96px; margin-top: 64px; }
  .feature-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
  }
  .feature-row.reverse { direction: rtl; }
  .feature-row.reverse > * { direction: ltr; }
  .feature-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 16px;
    color: var(--terracotta);
  }
  .feature-content h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
  .feature-content p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
  .feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--text-secondary);
  }
  .feature-list li::before { content: '✦'; color: var(--terracotta); font-size: 10px; flex-shrink: 0; }
  .feature-phone {
    width: 220px; margin: 0 auto;
    position: relative;
    display: flex; justify-content: center;
  }
  /* Realistic iPhone shell */
  .iphone-shell {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 40%, #111 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.08),
      0 0 0 2px rgba(0,0,0,0.9),
      inset 0 0 0 1px rgba(255,255,255,0.05),
      0 24px 60px rgba(0,0,0,0.5),
      0 8px 20px rgba(0,0,0,0.3);
    position: relative;
  }
  /* Side buttons */
  .iphone-shell::before {
    content: '';
    position: absolute;
    left: -3px; top: 80px;
    width: 3px; height: 32px;
    background: #2a2a2a;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 40px 0 #2a2a2a, 0 80px 0 #2a2a2a;
  }
  .iphone-shell::after {
    content: '';
    position: absolute;
    right: -3px; top: 100px;
    width: 3px; height: 52px;
    background: #2a2a2a;
    border-radius: 0 2px 2px 0;
  }
  .iphone-screen-wrap {
    background: #000;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
  }
  /* Dynamic island */
  .iphone-island {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 22px;
    background: #000; border-radius: 20px;
    z-index: 10;
  }
  .feature-screen {
    background: var(--bg); border-radius: 0;
    overflow: hidden; aspect-ratio: 9/19.5;
  }
  .iphone-screen-wrap { overflow: hidden; position: relative; aspect-ratio: 9/19.5; }
  /* ── FEATURE PHONE: mirrors actual app UI ── */
  .feat-phone-wrap {
    background: var(--text); border-radius: 28px; padding: 10px;
    box-shadow: var(--shadow-lg); width: 200px; margin: 0 auto;
  }
  .feat-screen-inner {
    background: var(--bg); border-radius: 20px;
    overflow: hidden; aspect-ratio: 9/18;
    display: flex; flex-direction: column;
  }
  /* App header */
  .m-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 10px 6px;
  }
  .m-logo { font-family: 'DM Serif Display', serif; font-size: 13px; color: var(--text); }
  .m-logo .s { color: var(--terracotta); }
  .m-city { font-size: 7px; color: var(--text-secondary); }
  /* Nav bar — matches app exactly */
  .m-nav {
    display: flex; margin: 0 8px 6px;
    background: var(--white); border-radius: 8px; padding: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .m-nav-btn {
    flex: 1; font-size: 6px; font-weight: 700; text-align: center;
    padding: 4px 2px; border-radius: 5px; color: var(--text-secondary);
    white-space: nowrap; overflow: hidden;
  }
  .m-nav-btn.active { background: var(--terracotta); color: var(--white); }
  /* City search bar */
  .m-search {
    margin: 0 8px 5px; background: var(--white);
    border-radius: 6px; border: 1px solid var(--border);
    padding: 4px 7px; font-size: 7px; color: var(--text-secondary);
    display: flex; align-items: center; gap: 4px;
  }
  /* Filter toggle */
  .m-filter-toggle {
    margin: 0 8px 4px; background: var(--white);
    border-radius: 6px; border: 1px solid var(--border);
    padding: 3px 7px; font-size: 6.5px; color: var(--text-secondary);
    display: flex; justify-content: space-between; align-items: center;
  }
  /* Wheel section */
  .m-wheel-section { padding: 2px 8px 0; flex: 1; display: flex; flex-direction: column; }
  .m-wheel-title { font-size: 9px; font-weight: 700; color: var(--text); margin-bottom: 1px; font-family: 'DM Serif Display', serif; }
  .m-wheel-sub { font-size: 6.5px; color: var(--text-secondary); margin-bottom: 5px; }
  .m-wheels { display: flex; gap: 4px; margin-bottom: 5px; }
  .m-wheel {
    flex: 1; height: 68px; border-radius: 7px;
    border: 1.5px solid var(--border);
    background: linear-gradient(180deg, #F5EDE6 0%, #FFF 50%, #F5EDE6 100%);
    overflow: hidden; position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  }
  /* fade top/bottom */
  .m-wheel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, #F5EDE6 0%, transparent 28%, transparent 72%, #F5EDE6 100%);
    z-index: 2; pointer-events: none;
  }
  /* center highlight */
  .m-wheel::before {
    content: ''; position: absolute;
    left: 3px; right: 3px; top: 50%; height: 16px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7); border-radius: 3px;
    z-index: 3; pointer-events: none;
  }
  .m-wheel-label {
    font-size: 5.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.07em; color: var(--text-secondary);
    text-align: center; padding-bottom: 2px;
  }
  .m-wheel-items {
    display: flex; flex-direction: column; align-items: center;
    position: relative; z-index: 1;
    animation: mWheelScroll 3s linear infinite;
  }
  .m-wheel:nth-child(2) .m-wheel-items { animation-duration: 3.8s; }
  .m-wheel:nth-child(3) .m-wheel-items { animation-duration: 2.4s; }
  @keyframes mWheelScroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
  }
  .m-wheel-item {
    height: 14px; font-size: 7px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    width: 100%; text-align: center; white-space: nowrap;
    overflow: hidden; padding: 0 2px;
  }
  .m-wheel-item.dim { opacity: 0.25; font-size: 6px; }
  /* Discover button */
  .m-spin-btn {
    background: var(--terracotta); color: var(--white);
    border: none; border-radius: 6px;
    font-size: 8px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 7px 0; width: 100%;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 2px 6px rgba(196,89,59,0.3);
    margin-top: auto; display: block;
  }
  /* Stay In sub-tabs */
  .m-stayin-tabs {
    display: flex; margin: 0 8px 5px; gap: 4px;
  }
  .m-stayin-tab {
    flex: 1; text-align: center; font-size: 7px; font-weight: 600;
    padding: 5px 2px; border-radius: 6px;
    background: var(--white); color: var(--text-secondary);
    border: 1px solid var(--border);
  }
  .m-stayin-tab.active { background: var(--text); color: var(--white); border-color: var(--text); }
  /* Eat & Play progress */
  .m-progress {
    display: flex; align-items: center; margin: 0 8px 5px; gap: 0;
  }
  .m-step {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
  }
  .m-step-circle {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--border); color: var(--text-secondary);
    font-size: 7px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .m-step-circle.active { background: var(--terracotta); color: var(--white); }
  .m-step-circle.done { background: var(--teal); color: var(--white); }
  .m-step-label { font-size: 6px; color: var(--text-secondary); font-weight: 600; }
  .m-step-label.active { color: var(--terracotta); }
  .m-progress-line { flex: 1; height: 1px; background: var(--border); margin: 0 4px; margin-bottom: 8px; }

  /* ─── CITIES ─── */
  .cities-section { text-align: center; }
  .cities-section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
  .cities-section .sub { font-size: 17px; color: var(--text-secondary); margin-bottom: 48px; }
  .map-container {
    max-width: 800px; margin: 0 auto 48px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
  }
  .map-svg { width: 100%; opacity: 0.15; }
  .city-dots {
    display: flex; flex-wrap: wrap;
    gap: 10px; justify-content: center;
  }
  .city-pill {
    background: var(--white); border: 1px solid var(--border);
    font-size: 13px; color: var(--text-secondary);
    padding: 6px 16px; border-radius: 100px;
    box-shadow: var(--shadow);
  }
  .city-pill.featured { border-color: var(--terracotta); color: var(--terracotta); font-weight: 500; }

  /* ─── STATS ─── */
  .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .stat-block {
    padding: 48px 32px; text-align: center;
    background: var(--white);
  }
  .stat-block:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .stat-block:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 56px; color: var(--terracotta);
    line-height: 1;
  }
  .stat-label { font-size: 15px; color: var(--text-secondary); margin-top: 8px; }

  /* ─── FINAL CTA ─── */
  .cta-section { text-align: center; }
  .cta-section h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
  .cta-section p { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; }
  .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--text); color: rgba(251,247,244,0.7);
    padding: 64px 24px 32px;
  }
  .footer-inner { max-width: var(--max-w); margin: 0 auto; }
  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-brand { }
  .footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; color: var(--bg);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
  }
  .footer-logo .star { color: var(--terracotta); }
  .footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
  .footer-stores { display: flex; flex-direction: column; gap: 8px; }
  .footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--bg);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a {
    font-size: 14px; color: rgba(251,247,244,0.65);
    text-decoration: none; cursor: pointer;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--bg); text-decoration: none; }
  .footer-bottom {
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-bottom p { font-size: 13px; }
  .footer-legal { display: flex; gap: 20px; }
  .footer-legal a { font-size: 13px; color: rgba(251,247,244,0.5); cursor: pointer; text-decoration: none; }
  .footer-legal a:hover { color: var(--bg); text-decoration: none; }

  /* ─── BUSINESS PAGE ─── */
  .biz-hero {
    padding: 96px 24px 80px;
    text-align: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .biz-hero::before {
    content: '';
    position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(196,89,59,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .biz-hero h1 { font-size: clamp(40px, 5.5vw, 72px); max-width: 700px; margin: 0 auto 20px; }
  .biz-hero p { font-size: 19px; color: var(--text-secondary); max-width: 520px; margin: 0 auto 40px; }

  .value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
  .value-card {
    padding: 32px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform 0.2s;
  }
  .value-card:hover { transform: translateY(-2px); }
  .value-icon { font-size: 28px; margin-bottom: 16px; }
  .value-card h3 { font-size: 20px; margin-bottom: 10px; }
  .value-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.65; }

  .hiw-steps { display: flex; flex-direction: column; gap: 0; margin-top: 56px; max-width: 680px; margin-left: auto; margin-right: auto; }
  .hiw-step {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
  }
  .hiw-step:last-child { border-bottom: none; }
  .step-num {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--terracotta); color: var(--white);
    border-radius: 50%;
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
  }
  .step-body h3 { font-size: 20px; margin-bottom: 8px; }
  .step-body p { color: var(--text-secondary); font-size: 15px; line-height: 1.65; }

  /* pricing */
  .pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 56px;
    align-items: start;
  }
  .pricing-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow);
    position: relative; transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
  }
  .pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .pricing-card.featured {
    border-color: var(--terracotta);
    transform: scale(1.03);
  }
  .pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
  .pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--terracotta); color: var(--white);
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
  }
  .pricing-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
  .pricing-price { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--text); line-height: 1; margin-bottom: 4px; }
  .pricing-price span { font-size: 20px; }
  .pricing-per { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
  .pricing-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
  .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); }
  .pricing-features li .check { color: var(--teal); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
  .pricing-features li .check.gold { color: var(--gold); }

  /* faq */
  .faq-list { max-width: 720px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 0; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; cursor: pointer;
    font-size: 16px; font-weight: 500; color: var(--text);
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--terracotta); }
  .faq-arrow { transition: transform 0.3s; color: var(--text-secondary); font-size: 18px; }
  .faq-item.open .faq-arrow { transform: rotate(180deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  }
  .faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

  /* ─── LEGAL / SUPPORT PAGES ─── */
  .legal-layout {
    max-width: 800px; margin: 0 auto;
    padding: 64px 24px 96px;
  }
  .legal-layout h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
  .legal-date { font-size: 14px; color: var(--text-secondary); margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .legal-layout h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
  .legal-layout p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
  .legal-layout ul { padding-left: 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
  .legal-layout a { color: var(--teal); }

  .support-search {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center;
    padding: 0 20px; gap: 12px; margin-bottom: 48px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .support-search:focus-within { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196,89,59,0.08); }
  .support-search input {
    flex: 1; border: none; outline: none; background: transparent;
    font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--text);
    padding: 16px 0;
  }
  .support-search input::placeholder { color: var(--text-secondary); }
  .support-q { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
  .support-q h3 { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
  .support-q p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
  .support-q .store-row { display: flex; gap: 10px; margin-top: 12px; }
  .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
  .contact-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
  .contact-card .label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
  .contact-card a { color: var(--teal); font-size: 15px; font-weight: 500; }
  .contact-card p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }


  /* ── iPhone scroll animation ── */
  @keyframes phoneScroll {
    0%   { transform: translateY(0); }
    45%  { transform: translateY(-15%); }
    55%  { transform: translateY(-15%); }
    100% { transform: translateY(0); }
  }
  .feat-screen-inner {
    animation: phoneScroll 6s ease-in-out infinite;
  }
  .iphone-shell:nth-of-type(2) .feat-screen-inner { animation-delay: 1s; }
  /* Scrollbar hidden */
  .iphone-screen-wrap { overflow: hidden; }


  /* ── In-phone filter pills ── */
  .m-filter-section { padding: 0 8px 4px; }
  .m-filter-label { font-size: 5.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin: 5px 0 3px; }
  .m-filter-pills { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 2px; }
  .m-fpill {
    font-size: 6px; font-weight: 600; padding: 2px 6px;
    border-radius: 20px; border: 1px solid var(--border);
    background: var(--white); color: var(--text-secondary);
    white-space: nowrap;
  }
  .m-fpill.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
  .m-fpill.active-outline { background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
  .m-data-status { font-size: 6px; color: var(--teal); padding: 2px 8px 3px; font-weight: 500; }
  .m-refine {
    margin: 0 8px 3px; padding: 4px 8px;
    background: var(--white); border-radius: 5px;
    border: 1px solid var(--border);
    display: flex; justify-content: space-between;
    font-size: 7px; color: var(--text-secondary); align-items: center;
  }
  .m-refine-arrow { font-size: 8px; transform: rotate(180deg); display: inline-block; }
  .m-spin-section { padding: 4px 8px 0; }
  .m-spin-title { font-family: 'DM Serif Display',serif; font-size: 9px; color: var(--text); margin-bottom: 1px; }
  .m-spin-sub { font-size: 6px; color: var(--text-secondary); margin-bottom: 5px; }

  /* ─── SCROLL ANIMATIONS ─── */
  .fade-up {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { padding: 40px 0 0; }
    .phone-float-card.card-1 { left: -20px; top: 10%; }
    .phone-float-card.card-2 { right: -20px; }
    .hiw-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .feature-phone { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .value-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 2px; }
    .stat-block:first-child { border-radius: var(--radius) var(--radius) 0 0; }
    .stat-block:last-child { border-radius: 0 0 var(--radius) var(--radius); }
    .contact-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    section { padding: 64px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 48px 20px 0; }
    .hero h1 { font-size: 42px; }
    .hero-actions { flex-direction: column; }
    .store-btn { width: 100%; justify-content: center; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ─── TAGLINE CYCLING ─── */
  .hero-headline {
    font-size: clamp(48px, 6vw, 80px);
    min-height: 1.1em;
    position: relative;
  }
  .tagline-wrap {
    display: block;
    position: relative;
  }
  .tagline {
    display: block;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(.4,0,.2,1), transform 0.55s cubic-bezier(.4,0,.2,1);
    white-space: normal;
    pointer-events: none;
    color: var(--text);
  }
  .tagline.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
  }
  .tagline.exit {
    opacity: 0;
    transform: translateY(-16px);
    position: absolute;
  }

  /* ════════════════ BUSINESS PORTAL ════════════════ */
  .portal-wrap {
    min-height: 100vh; background: var(--bg-warm);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 24px;
  }
  .portal-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 40px;
    width: 100%; max-width: 440px;
    text-align: center;
  }
  .portal-logo {
    font-family: 'DM Serif Display', serif; font-size: 22px;
    color: var(--text); margin-bottom: 24px; text-align: center;
  }
  .portal-title { font-size: 28px; text-align: center; margin-bottom: 6px; }
  .portal-sub { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 24px; }
  .portal-tabs {
    display: flex; gap: 4px; background: var(--bg-warm);
    border-radius: 8px; padding: 4px; margin-bottom: 24px;
  }
  .portal-tab {
    flex: 1; padding: 8px; border: none; border-radius: 6px;
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
    cursor: pointer; background: transparent; color: var(--text-secondary);
    transition: all 0.2s;
  }
  .portal-tab.active { background: var(--white); color: var(--text); box-shadow: var(--shadow); }
  .portal-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; text-align: left; }
  .portal-field label { font-size: 13px; font-weight: 600; color: var(--text); }
  .portal-input {
    padding: 10px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
    font-size: 14px; color: var(--text); background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
  }
  .portal-input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196,89,59,0.08); }
  .portal-error { background: rgba(196,89,59,0.08); color: var(--terracotta); border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
  .portal-success { background: rgba(45,106,106,0.08); color: var(--teal); border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
  /* Layout */
  .portal-layout { display: flex; min-height: 100vh; }
  .portal-sidebar {
    width: 230px; flex-shrink: 0;
    background: var(--terracotta); padding: 0 16px 28px;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
  }
  .sidebar-logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: #FFFFFF; margin-bottom: 4px; padding: 20px 0 0; }
  .sidebar-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
  .sidebar-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .sidebar-link {
    font-size: 15px; font-weight: 500; color: rgba(45,42,38,0.7);
    padding: 12px 16px; border-radius: 8px; cursor: pointer;
    transition: all 0.15s; text-decoration: none; display: block;
  }
  .sidebar-link:hover { background: rgba(0,0,0,0.08); color: #2D2A26; text-decoration: none; }
  .sidebar-link.active { background: rgba(255,255,255,0.35); color: #2D2A26; font-weight: 600; }
  .sidebar-footer { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 18px; margin-top: auto; }
  .portal-main { flex: 1; padding: 36px 40px; background: var(--bg); overflow-y: auto; }
  .portal-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
  .portal-main-title { font-size: 32px; }
  /* Stats */
  .portal-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .portal-stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
  .portal-stat-num { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--terracotta); line-height: 1; margin-bottom: 4px; }
  .portal-stat-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
  /* Listing card */
  .portal-listing-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-top: 20px; }
  .portal-listing-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
  .portal-listing-name { font-family: 'DM Serif Display', serif; font-size: 22px; }
  .portal-listing-meta { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
  .portal-listing-actions { display: flex; gap: 10px; }
  .portal-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 100px; background: rgba(45,42,38,0.08); color: var(--text-secondary); }
  .portal-badge.boost { background: rgba(212,168,75,0.15); color: var(--gold); }
  .portal-badge.pro { background: rgba(196,89,59,0.1); color: var(--terracotta); }
  /* Empty state */
  .portal-empty { text-align: center; padding: 64px 24px; }
  .portal-empty-icon { font-size: 48px; margin-bottom: 16px; }
  .portal-empty h3 { font-size: 22px; margin-bottom: 8px; }
  .portal-empty p { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }
  /* Claim search */
  .portal-search-row { display: flex; gap: 10px; align-items: center; }
  .portal-section { max-width: 720px; }
  .portal-card-inner { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
  /* Claim result */
  .claim-result {
    background: var(--white); border-radius: var(--radius); padding: 16px 20px;
    box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center;
    border: 1.5px solid transparent; transition: border-color 0.2s;
  }
  .claim-result:hover { border-color: var(--terracotta); }
  .claim-result-name { font-weight: 600; font-size: 15px; }
  .claim-result-meta { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
  /* Analytics chart */
  .chart-bar { background: var(--terracotta); border-radius: 3px 3px 0 0; min-width: 16px; flex: 1; opacity: 0.7; transition: opacity 0.2s; }
  .chart-bar:hover { opacity: 1; }
  /* Breakdown */
  .portal-breakdown { display: flex; flex-direction: column; gap: 12px; }
  .breakdown-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
  .breakdown-row span:first-child { width: 80px; color: var(--text-secondary); }
  .breakdown-bar { flex: 1; height: 8px; background: var(--bg-warm); border-radius: 4px; overflow: hidden; }
  .breakdown-fill { height: 100%; background: var(--terracotta); border-radius: 4px; transition: width 0.8s ease; }
  .breakdown-row span:last-child { width: 36px; text-align: right; font-weight: 600; }
  /* Responsive portal */
  @media (max-width: 768px) {
    .portal-layout { flex-direction: column; }
    .portal-sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 16px; }
    .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
    .portal-main { padding: 20px; }
    .portal-stats-grid { grid-template-columns: repeat(2,1fr); }
    .portal-search-row { flex-direction: column; }
  }


  /* ── REAL APP SCREENS ── */
  .app-screen-wrap {
    position: relative;
    overflow: hidden;
    /* sized via inline style per instance */
  }
  .app-screen {
    position: absolute;
    top: 0; left: 0;
    width: 375px;
    height: 812px;
    background: #FBF7F4;
    font-family: 'DM Sans', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow: hidden;
    transform-origin: top left;
  }
  .app-screen .app {
    height: 762px;
    overflow: hidden;
    background: #FBF7F4;
  }
  /* Status bar inside screen */
  .app-screen-status {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 24px 8px;
    font-size: 14px;
    font-weight: 600;
    background: #FBF7F4;
    flex-shrink: 0;
  }


    /* =======================================================================
       CARPE APP - COMPLETE CSS (Exact copy from Carpe.jsx)
       Use these screens in phone frames on the marketing website
       ======================================================================= */
    
    .app-screen *,.app-screen *::before,.app-screen *::after{ box-sizing: border-box; margin: 0; padding: 0; }
    
    
    
    /* Page layout for viewing multiple screens */
    
    
    
    /* Phone frame */
    
    /* Status bar */
    
    
    /* Header */
    .app-screen .header{ 
      padding: 16px 24px 20px; 
      display: flex; 
      justify-content: space-between; 
      align-items: flex-start;
    }
    
    .app-screen .brand{
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .app-screen .brand-icon{
      font-size: 1.5rem;
      color: var(--terracotta);
    }
    
    .app-screen .brand h1{ 
      font-family: 'DM Serif Display', serif;
      font-size: 1.8rem; 
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    
    .app-screen .header-subtitle{
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-top: 4px;
    }
    
    .app-screen .profile-btn{ 
      width: 44px; 
      height: 44px; 
      border-radius: 50%; 
      border: 2px solid var(--border);
      background: var(--bg-card); 
      color: var(--text);
      font-weight: 600; 
      font-size: 0.85rem; 
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px var(--shadow);
    }
    
    .app-screen .sign-in-btn{
      padding: 10px 18px;
      border-radius: 10px;
      border: 2px solid var(--terracotta);
      background: transparent;
      color: var(--terracotta);
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
    }
    
    /* Navigation */
    .app-screen .nav{ 
      display: flex; 
      margin: 0 24px 20px; 
      background: var(--bg-card);
      border-radius: 14px; 
      padding: 5px;
      box-shadow: 0 2px 12px var(--shadow);
    }
    
    .app-screen .nav-btn{ 
      flex: 1; 
      padding: 12px 4px; 
      border: none; 
      background: transparent; 
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem; 
      font-weight: 600;
      color: var(--text-muted); 
      cursor: pointer; 
      border-radius: 10px; 
    }
    
    .app-screen .nav-btn.active{ 
      background: var(--terracotta); 
      color: white;
      box-shadow: 0 2px 8px rgba(196, 89, 59, 0.3);
    }
    
    /* City Search */
    .app-screen .input-section{ padding: 0 24px 20px; }
    
    .app-screen .city-search{ position: relative; }
    
    .app-screen .search-input-wrapper{ 
      display: flex; 
      align-items: center;
      gap: 12px; 
      background: var(--bg-card);
      border: 2px solid var(--border);
      border-radius: 14px;
      padding: 4px 4px 4px 16px;
      box-shadow: 0 2px 8px var(--shadow);
    }
    
    .app-screen .search-icon{
      width: 20px;
      height: 20px;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    
    .app-screen .input-field{ 
      flex: 1; 
      padding: 14px 0;
      border: none; 
      background: transparent;
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem; 
      color: var(--text);
    }
    
    .app-screen .location-btn{ 
      width: 46px; 
      height: 46px; 
      border: none;
      border-radius: 10px; 
      background: var(--teal-light);
      color: var(--teal); 
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .app-screen .location-btn svg{ width: 20px; height: 20px; }
    
    .app-screen .data-status{
      text-align: center;
      font-size: 0.75rem;
      margin-top: 8px;
      color: var(--teal);
    }
    
    /* Event Date Filter */
    .app-screen .event-date-filter{
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 24px;
      margin-bottom: 16px;
    }
    
    .app-screen .date-filter-btn{
      padding: 10px 16px;
      border: 2px solid var(--border);
      border-radius: 10px;
      background: var(--bg-card);
      color: var(--text-secondary);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .app-screen .date-filter-btn.active{
      background: var(--teal);
      border-color: var(--teal);
      color: white;
    }
    
    .app-screen .date-filter-btn svg{
      width: 18px;
      height: 18px;
    }
    
    /* Filters */
    .app-screen .filter-toggle{ 
      display: flex; 
      align-items: center; 
      justify-content: space-between; 
      padding: 14px 18px; 
      margin: 0 24px 20px; 
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      cursor: pointer;
      box-shadow: 0 2px 8px var(--shadow);
    }
    
    .app-screen .filter-toggle span{ 
      font-size: 0.9rem; 
      font-weight: 600; 
      color: var(--text-secondary);
    }
    
    .app-screen .filter-toggle svg{ 
      width: 18px; 
      height: 18px; 
      color: var(--text-muted); 
    }
    
    .app-screen .filter-toggle.open svg{ transform: rotate(180deg); }
    
    .app-screen .filters-panel{ 
      padding: 0 24px 20px; 
    }
    
    .app-screen .filter-group{ margin-bottom: 20px; }
    .app-screen .filter-group:last-child{ margin-bottom: 8px; }
    
    .app-screen .filter-group-label{ 
      font-size: 0.8rem; 
      font-weight: 600; 
      color: var(--text-muted); 
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 10px;
    }
    
    .app-screen .filter-pills{ display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
    
    .app-screen .filter-pill{ 
      padding: 8px 14px; 
      border: 1px solid var(--border);
      border-radius: 20px; 
      background: var(--bg-card);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem; 
      font-weight: 500;
      color: var(--text-secondary); 
      cursor: pointer;
    }
    
    .app-screen .filter-pill.active{ 
      background: var(--terracotta); 
      border-color: var(--terracotta); 
      color: white;
    }
    
    /* Wheel Section */
    .app-screen .wheel-section{ 
      margin: 0 24px 24px; 
      padding: 32px 20px; 
      background: var(--bg-card);
      border-radius: 20px;
      box-shadow: 0 4px 20px var(--shadow);
      border: 1px solid var(--border);
    }
    
    .app-screen .wheel-header{
      text-align: center;
      margin-bottom: 28px;
    }
    
    .app-screen .wheel-title{ 
      font-family: 'DM Serif Display', serif;
      font-size: 1.4rem; 
      font-weight: 400;
      color: var(--text);
      margin-bottom: 4px;
    }
    
    .app-screen .wheel-subtitle{
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    
    .app-screen .wheels{ 
      display: flex; 
      justify-content: space-between; 
      gap: 10px; 
      margin-bottom: 28px;
    }
    
    .app-screen .wheel-container{ 
      flex: 1 1 0;
      text-align: center;
      min-width: 0;
      max-width: 33.333%;
    }
    
    .app-screen .wheel-label{ 
      display: block; 
      font-size: 0.7rem; 
      font-weight: 700; 
      color: var(--text-muted); 
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 10px;
    }
    
    .app-screen .wheel-label.spinning{ color: var(--gold); }
    .app-screen .wheel-label.settled{ color: var(--teal); }
    
    .app-screen .wheel-display{ 
      height: 130px; 
      width: 100%;
      display: flex; 
      align-items: center; 
      justify-content: center; 
      background: linear-gradient(180deg, var(--bg-warm) 0%, #FFF 50%, var(--bg-warm) 100%);
      border-radius: 16px;
      border: 2px solid var(--border);
      overflow: hidden;
      position: relative;
      box-shadow: inset 0 4px 12px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .app-screen .wheel-display::before{
      content: '';
      position: absolute;
      left: 8px;
      right: 8px;
      top: 50%;
      height: 32px;
      transform: translateY(-50%);
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
      border-radius: 6px;
      z-index: 1;
    }
    
    .app-screen .wheel-display::after{
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, 
        var(--bg-warm) 0%, 
        transparent 25%, 
        transparent 75%, 
        var(--bg-warm) 100%
      );
      z-index: 2;
      pointer-events: none;
    }
    
    /* Spinning state */
    .app-screen .wheel-display.spinning{
      border-color: var(--gold);
      background: linear-gradient(180deg, var(--gold-light) 0%, #FFFEF5 50%, var(--gold-light) 100%);
      box-shadow: inset 0 4px 12px rgba(201, 169, 98, 0.2), 0 0 30px rgba(201, 169, 98, 0.3);
    }
    
    .app-screen .wheel-display.spinning::before{
      animation: shimmer 0.6s ease-in-out infinite;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.9) 50%, transparent 100%);
    }
    
    .app-screen .wheel-display.spinning::after{
      background: linear-gradient(180deg, 
        var(--gold-light) 0%, 
        transparent 25%, 
        transparent 75%, 
        var(--gold-light) 100%
      );
    }
    
    @keyframes shimmer {
      .app-screen 0%,.app-screen 100%{ opacity: 0.5; }
      .app-screen 50%{ opacity: 1; }
    }
    
    /* Settled state */
    .app-screen .wheel-display.settled{
      border-color: var(--teal);
      background: linear-gradient(180deg, var(--teal-light) 0%, #F0FAF8 50%, var(--teal-light) 100%);
      box-shadow: inset 0 2px 8px rgba(45, 106, 106, 0.1), 0 0 20px rgba(45, 106, 106, 0.25);
    }
    
    .app-screen .wheel-display.settled::before{
      background: linear-gradient(90deg, transparent 0%, rgba(45, 106, 106, 0.15) 50%, transparent 100%);
    }
    
    .app-screen .wheel-display.settled::after{
      background: linear-gradient(180deg, 
        var(--teal-light) 0%, 
        transparent 25%, 
        transparent 75%, 
        var(--teal-light) 100%
      );
    }
    
    .app-screen .wheel-reel{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    
    .app-screen .wheel-item{
      font-weight: 600;
      color: var(--text);
      min-height: 28px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2px 6px;
      line-height: 1.1;
      font-size: 0.9rem;
    }
    
    .app-screen .wheel-item.far{
      opacity: 0.12;
      font-size: 0.6rem;
      filter: blur(1px);
    }
    
    .wheel-item.prev,
    .app-screen .wheel-item.next{
      opacity: 0.35;
      font-size: 0.75rem;
    }
    
    .app-screen .wheel-item.current{
      font-size: 0.95rem;
      font-weight: 700;
    }
    
    .app-screen .wheel-display.spinning .wheel-item.current{
      filter: blur(0.5px);
    }
    
    .wheel-display.spinning .wheel-item.prev,
    .app-screen .wheel-display.spinning .wheel-item.next{
      filter: blur(1.5px);
      opacity: 0.25;
    }
    
    .app-screen .wheel-display.spinning .wheel-item.far{
      filter: blur(2px);
      opacity: 0.08;
    }
    
    .app-screen .wheel-display.settled .wheel-item.current{
      color: var(--teal);
      transform: scale(1.05);
    }
    
    .wheel-display.settled .wheel-item.prev,
    .wheel-display.settled .wheel-item.next,
    .app-screen .wheel-display.settled .wheel-item.far{
      opacity: 0.15;
    }
    
    /* Spin Button */
    .app-screen .spin-btn{ 
      width: 100%; 
      padding: 18px 24px; 
      border: none; 
      border-radius: 14px; 
      background: var(--terracotta);
      color: white; 
      font-family: 'DM Sans', sans-serif;
      font-size: 1.1rem; 
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(196, 89, 59, 0.3);
    }
    
    .app-screen .spin-btn.spinning{
      background: var(--gold);
      box-shadow: 0 4px 12px rgba(201, 169, 98, 0.4);
    }
    
    /* Stay In Mode Tabs */
    .app-screen .stayin-mode-tabs{
      display: flex;
      gap: 8px;
      padding: 0 24px;
      margin-bottom: 20px;
    }
    
    .app-screen .stayin-tab{
      flex: 1;
      padding: 14px;
      border: 2px solid var(--border);
      border-radius: 12px;
      background: var(--bg-card);
      color: var(--text-secondary);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    .app-screen .stayin-tab.active{
      background: var(--terracotta);
      border-color: var(--terracotta);
      color: white;
    }
    
    .app-screen .stayin-tab-icon{
      font-size: 1.1rem;
    }
    
    /* Combo Progress */
    .app-screen .combo-progress{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    
    .app-screen .progress-step{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    
    .app-screen .step-circle{
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--bg-warm);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
    }
    
    .app-screen .step-circle.active{
      background: var(--terracotta);
      color: white;
    }
    
    .app-screen .step-circle.completed{
      background: var(--teal);
      color: white;
    }
    
    .app-screen .step-label{
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-muted);
    }
    
    .app-screen .step-label.active{
      color: var(--terracotta);
    }
    
    .app-screen .step-label.completed{
      color: var(--teal);
    }
    
    .app-screen .progress-line{
      width: 40px;
      height: 2px;
      background: var(--border);
      margin-bottom: 24px;
    }
    
    .app-screen .progress-line.completed{
      background: var(--teal);
    }
    
    /* ===== RESULT CARDS ===== */
    
    .app-screen .result-overlay{
      position: absolute;
      inset: 0;
      background: rgba(44, 36, 32, 0.5);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 20px;
      z-index: 100;
    }
    
    .app-screen .result-card{
      background: var(--bg-card);
      border-radius: 24px;
      width: 100%;
      max-height: 85%;
      overflow: hidden;
      box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    }
    
    .app-screen .card-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px 12px;
      border-bottom: 1px solid var(--border);
    }
    
    .app-screen .card-brand{
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--terracotta);
      letter-spacing: 0.02em;
    }
    
    .app-screen .save-btn{
      width: 36px;
      height: 36px;
      border-radius: 10px;
      border: 2px solid var(--border);
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .app-screen .save-btn svg{
      width: 18px;
      height: 18px;
    }
    
    .app-screen .card-category{
      display: inline-block;
      margin: 16px 20px 0;
      padding: 6px 14px;
      background: var(--teal-light);
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--teal);
    }
    
    .app-screen .card-content{
      padding: 16px 20px 24px;
    }
    
    .app-screen .card-name{
      font-family: 'DM Serif Display', serif;
      font-size: 1.8rem;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: 12px;
    }
    
    .app-screen .card-meta{
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      font-size: 0.9rem;
      color: var(--text-secondary);
      margin-bottom: 24px;
    }
    
    .app-screen .card-rating{
      display: flex;
      align-items: center;
      gap: 4px;
    }
    
    .app-screen .stars{
      color: var(--gold);
      letter-spacing: -2px;
    }
    
    .app-screen .rating-num{
      font-weight: 600;
    }
    
    .app-screen .meta-dot{
      color: var(--text-muted);
    }
    
    .app-screen .card-actions{
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }
    
    .app-screen .action-btn{
      flex: 1;
      padding: 12px 8px;
      border-radius: 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
    }
    
    .app-screen .action-btn.outline{
      background: transparent;
      border: 2px solid var(--border);
      color: var(--text);
    }
    
    .app-screen .action-btn.outline.active{
      border-color: var(--terracotta);
      color: var(--terracotta);
    }
    
    .app-screen .action-btn.primary{
      background: var(--terracotta);
      border: 2px solid var(--terracotta);
      color: white;
    }
    
    .app-screen .sub-prompt{
      background: var(--bg-warm);
      border-radius: 14px;
      padding: 14px;
      margin-bottom: 16px;
    }
    
    .app-screen .sub-prompt-label{
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 10px;
      display: block;
    }
    
    .app-screen .sub-prompt-options{
      display: flex;
      gap: 8px;
    }
    
    .app-screen .sub-prompt-btn{
      flex: 1;
      padding: 12px;
      border-radius: 10px;
      background: var(--bg-card);
      border: 2px solid var(--border);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
      text-decoration: none;
      text-align: center;
    }
    
    .app-screen .card-footer{
      display: flex;
      gap: 12px;
      padding-top: 8px;
      border-top: 1px solid var(--border);
      margin-top: 8px;
    }
    
    .app-screen .footer-btn{
      flex: 1;
      padding: 14px;
      border-radius: 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: none;
    }
    
    .app-screen .footer-btn.secondary{
      background: var(--bg-warm);
      color: var(--text);
    }
    
    .app-screen .footer-btn.primary{
      background: var(--terracotta);
      color: white;
      box-shadow: 0 4px 12px rgba(196, 89, 59, 0.3);
    }
    
    .app-screen .spin-icon{
      font-size: 1rem;
    }
    
    /* Activity card specific */
    .app-screen .activity-info{
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
      padding: 12px;
      background: var(--bg-warm);
      border-radius: 12px;
    }
    
    .app-screen .activity-info-row{
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }
    
    .app-screen .activity-info-row svg{
      width: 18px;
      height: 18px;
      color: var(--teal);
      flex-shrink: 0;
    }
    
    /* Binge card specific */
    .app-screen .binge-platforms{
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    
    .app-screen .platform-badge{
      padding: 8px 16px;
      border-radius: 20px;
      background: var(--bg-warm);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-secondary);
    }



/* ─── added by build.py (multi-page split) ─── */
main#main { display: block; }
.skip-link { position:absolute; left:-9999px; top:8px; background:var(--terracotta); color:#fff; padding:8px 14px; border-radius:8px; z-index:1000; }
.skip-link:focus { left:8px; }
button.hamburger { background:none; border:0; }
.brand-h1 { font-family:'DM Serif Display',serif; font-weight:400; line-height:1.2; }
.app-screen .brand .brand-h1 { font-size:inherit; }
.mood-title { font-family:'DM Serif Display',serif; font-weight:400; line-height:1.2; }
.portal-body nav#main-nav, .portal-body footer { display:none; }
.linklike { background:none; border:0; padding:0; color:var(--teal); cursor:pointer; font:inherit; font-size:13px; }
.linklike:hover { text-decoration:underline; }
.app-screen .brand .brand-h1{ 
      font-family: 'DM Serif Display', serif;
      font-size: 1.8rem; 
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
    }
.feature-content .mood-title{ font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
