  :root {
    --bg: #101014;
    --bg-2: #17171C;
    --panel: #1F1F26;
    --card: #26262E;
    --line: rgba(255,255,255,0.10);
    --line-2: rgba(255,255,255,0.18);
    --text: #F4F4F6;
    --text-2: #A6A6AE;
    --text-3: #6B6B73;
    --coachella: #E8453C;
    --mojave: #F07A2A;
    --sahara: #8A4FD6;
    --outdoor: #3E7DE8;
    --sonora: #2FAE6E;
    --quasar: #E8B93A;
    --dolab: #14A699;
    --gobi: #D63A7A;
    --heineken: #2F7A3C;
    --yuma: #6B2F5C;
    --crew-k: #D63A7A;
    --crew-d: #5A6EE8;
    --crew-l: #2FAE6E;
    --crew-s: #F07A2A;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
    overflow-x: hidden;
  }
  .mono { font-family: 'Geist Mono', ui-monospace, monospace; }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  .container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

  /* NAV */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: rgba(16,16,20,0.7);
    border-bottom: 1px solid var(--line);
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
  .nav-logo-mark {
    width: 28px; height: 28px; border-radius: 7px;
    background: #000 url('img/app-icon.png') center/cover no-repeat;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  }
  .nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--text-2); }
  .nav-links a { color: inherit; text-decoration: none; transition: color .2s; position: relative; padding: 6px 2px; }
  .nav-links a:hover { color: var(--text); }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 1.5px; background: var(--text); border-radius: 2px;
    animation: navLineIn .3s ease;
  }
  @keyframes navLineIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
  .nav-cta {
    padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
    background: var(--text); color: var(--bg); text-decoration: none;
    transition: transform .15s;
  }
  .nav-cta:hover { transform: scale(1.03); }
  @media (max-width: 820px) {
    .nav-links { display: none; }
  }

  /* HERO */
  .hero {
    position: relative; padding: 160px 0 60px;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(ellipse at 20% 10%, rgba(232,69,60,0.18), transparent 50%),
      radial-gradient(ellipse at 80% 30%, rgba(138,79,214,0.15), transparent 50%),
      radial-gradient(ellipse at 50% 80%, rgba(62,125,232,0.10), transparent 60%);
  }
  .hero-stars {
    position: absolute; inset: 0; opacity: 0.4;
    background-image:
      radial-gradient(1px 1px at 20% 30%, #fff, transparent),
      radial-gradient(1px 1px at 60% 70%, #fff, transparent),
      radial-gradient(1px 1px at 80% 20%, #ccc, transparent),
      radial-gradient(1.5px 1.5px at 40% 50%, #fff, transparent),
      radial-gradient(1px 1px at 90% 80%, #aaa, transparent),
      radial-gradient(1px 1px at 10% 70%, #fff, transparent),
      radial-gradient(1px 1px at 70% 40%, #bbb, transparent),
      radial-gradient(1px 1px at 30% 90%, #fff, transparent),
      radial-gradient(1px 1px at 50% 10%, #999, transparent);
    background-size: 800px 600px;
  }
  .hero-inner {
    position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  }
  @media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-2);
    padding: 6px 12px; border: 1px solid var(--line-2);
    border-radius: 999px; margin-bottom: 28px;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.08em;
  }
  .eyebrow .nocase { text-transform: none; letter-spacing: 0; }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sonora); box-shadow: 0 0 8px var(--sonora); }

  h1.hero-title {
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    text-wrap: balance;
  }
  h1.hero-title em { font-style: normal; color: var(--coachella); }
  .hero-sub {
    font-size: 20px; line-height: 1.5; color: var(--text-2);
    max-width: 520px; margin-bottom: 40px;
  }
  .hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  .appstore-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px 12px 18px; border-radius: 14px;
    background: #fff; color: #000; text-decoration: none;
    transition: transform .15s;
  }
  .appstore-btn:hover { transform: scale(1.02); }
  .appstore-btn .apple { font-size: 28px; line-height: 1; margin-top: -2px; }
  .appstore-btn .ass { font-size: 11px; opacity: 0.7; display: block; font-weight: 400; }
  .appstore-btn .asb { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; display: block; line-height: 1.1; }
  .ghost-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 20px; border-radius: 14px;
    border: 1px solid var(--line-2); color: var(--text);
    text-decoration: none; font-size: 14px; font-weight: 500;
    transition: background .15s, border-color .15s;
  }
  .ghost-btn:hover { background: var(--panel); border-color: rgba(255,255,255,0.24); }

  .hero-meta {
    margin-top: 40px; display: flex; gap: 32px; font-size: 13px; color: var(--text-3);
    font-family: 'Geist Mono', monospace;
  }
  .hero-meta span { display: flex; align-items: center; gap: 6px; }
  .hero-meta span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

  /* HERO PHONE */
  .hero-phone-wrap {
    position: relative; display: flex; justify-content: center; align-items: center;
    min-height: 620px;
  }
  .phone-float-bg {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,69,60,0.15), transparent 60%);
    filter: blur(40px);
  }

  /* DEVICE FRAME */
  .device {
    position: relative;
    width: 280px;
    aspect-ratio: 280 / 580;
    border-radius: 53px;
    background: #1a1a1f;
    box-shadow:
      0 0 0 2px #2a2a2e,
      0 0 0 10px #141418,
      0 40px 80px -20px rgba(0,0,0,0.7),
      0 20px 40px -10px rgba(0,0,0,0.5);
  }
  .device-screen {
    position: absolute; inset: 6px; border-radius: 47px; overflow: hidden;
    background: #000;
  }
  .device-notch {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px; background: #000; border-radius: 999px; z-index: 10;
  }
  .device img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .device-lg { width: 320px; border-radius: 60px; }
  .device-lg .device-screen { border-radius: 54px; }
  .device-sm { width: 240px; border-radius: 46px; }
  .device-sm .device-screen { border-radius: 40px; }
  .device-sm .device-notch { width: 82px; height: 24px; top: 12px; }
  .device-xs { width: 180px; border-radius: 34px; }
  .device-xs .device-screen { border-radius: 28px; inset: 5px; }

  .device-tilt-l { transform: rotate(-6deg); }
  .device-tilt-r { transform: rotate(6deg); }

  /* SECTION */
  section.s { padding: 140px 0; position: relative; }
  .section-label {
    display: flex; align-items: center; gap: 14px;
    font-family: 'Geist Mono', monospace;
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--text-3); margin-bottom: 24px;
  }
  .section-label .num {
    padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 4px;
    color: var(--text-2);
  }
  h2.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600; letter-spacing: -0.03em; line-height: 1.02;
    margin-bottom: 24px;
    max-width: 900px;
  }
  h2.section-title em { font-style: normal; }
  .section-lede {
    font-size: 19px; line-height: 1.55; color: var(--text-2);
    max-width: 640px; margin-bottom: 80px;
  }

  /* PILLAR LAYOUT */
  .pillar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  @media (max-width: 960px) { .pillar { grid-template-columns: 1fr; gap: 60px; } }
  /* When stacked, flip the animation below the intro text */
  @media (max-width: 960px) { .pillar-text-first > :first-child { order: 2; } }

  .pillar-points { list-style: none; display: flex; flex-direction: column; gap: 28px; }
  .pillar-points li {
    padding-left: 28px; position: relative;
    font-size: 17px; line-height: 1.55; color: var(--text-2);
  }
  .pillar-points li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 12px; height: 2px; background: var(--text); border-radius: 2px;
  }
  .pillar-points li strong { color: var(--text); font-weight: 600; }

  .device-stage {
    position: relative; min-height: 640px;
    display: flex; align-items: center; justify-content: center;
  }
  .device-stage-bg {
    position: absolute; inset: 0; pointer-events: none;
  }

  /* FEATURE GRID */
  .fgrid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
  }
  @media (max-width: 960px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
  .fcell {
    background: var(--bg);
    padding: 28px;
    min-height: 180px;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .fcell .ficon {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
  }
  .fcell h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
  .fcell p { font-size: 13px; color: var(--text-3); line-height: 1.5; }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    padding: 28px 0; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; user-select: none;
    font-size: 20px; font-weight: 500; letter-spacing: -0.015em;
  }
  .faq-q .chev {
    width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s, background .2s;
    font-size: 12px; color: var(--text-2);
  }
  .faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--text); color: var(--bg); border-color: var(--text); }
  .faq-a {
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    color: var(--text-2); font-size: 16px; line-height: 1.6;
  }
  .faq-item.open .faq-a { max-height: 400px; padding-bottom: 28px; }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--line);
    padding: 80px 0 40px;
    background: var(--bg-2);
  }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
  @media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  .footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-3); font-family: 'Geist Mono', monospace; margin-bottom: 18px; font-weight: 500; }
  .footer-col a { display: block; color: var(--text-2); text-decoration: none; font-size: 14px; padding: 6px 0; }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--line);
    font-size: 12px; color: var(--text-3); font-family: 'Geist Mono', monospace;
  }

  /* CTA BIG */
  .cta-big {
    padding: 100px 60px;
    border-radius: 32px;
    background: radial-gradient(circle at 20% 20%, rgba(232,69,60,0.20), transparent 60%), radial-gradient(circle at 80% 80%, rgba(138,79,214,0.18), transparent 60%), var(--panel);
    border: 1px solid var(--line-2);
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-big h3 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; }
  .cta-big p { font-size: 18px; color: var(--text-2); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

  /* Utility */
  .row { display: flex; gap: 16px; }
  .tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-family: 'Geist Mono', monospace; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.08em;
  }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
  .reveal.in { opacity: 1; transform: none; }

  /* Crew dot */
  .crew-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: 11px; font-weight: 600; color: #fff;
    border: 1.5px solid var(--bg);
  }

  /* Grid overlay pattern */
  .grid-pattern {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    pointer-events: none;
  }

  /* ===== MOBILE ===== */
  @media (max-width: 720px) {
    .container, .container-narrow { padding: 0 20px; }

    .nav { padding: 14px 20px; }
    .nav-logo { font-size: 15px; }

    .hero { padding: 120px 0 40px; }
    .hero-sub { font-size: 17px; margin-bottom: 28px; }
    .hero-cta-row { gap: 10px; }
    .appstore-btn { padding: 10px 18px 10px 14px; }
    .appstore-btn .asb { font-size: 16px; }
    .ghost-btn { padding: 12px 16px; font-size: 13px; }
    .hero-meta { gap: 18px; margin-top: 28px; font-size: 12px; flex-wrap: wrap; }
    .hero-phone-wrap { min-height: 540px; transform: scale(0.9); transform-origin: top center; }

    section.s { padding: 80px 0; }
    .section-lede { font-size: 16px; margin-bottom: 48px; }

    /* Callouts collapse + trim padding */
    .callout-wrap { padding: 40px 0 60px !important; }
    .callout { padding: 28px !important; border-radius: 20px !important; }
    .callout-2col { grid-template-columns: 1fr !important; gap: 32px !important; }
    .callout h3 { font-size: 26px !important; }
    .callout p { font-size: 15px !important; }

    /* Pixel-sized animation widgets are scaled to fit viewport via JS
       (see scaleAnims in main.js). Each widget declares its intrinsic
       width/height through data-w / data-h; JS sets --scale and the
       wrapper's height so the collapsed block lines up with the layout. */
    .anim-scale-wrap {
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    .anim-scale-wrap > * {
      transform-origin: top left;
    }

    .cta-big { padding: 60px 28px; border-radius: 24px; }
    .cta-big h3 { font-size: 34px; }
    .cta-big p { font-size: 16px; }

    .faq-q { font-size: 17px; padding: 22px 0; }
    .faq-a { font-size: 15px; }
    .faq-item.open .faq-a { padding-bottom: 22px; }

    .fcell { padding: 22px; min-height: 0; flex-direction: row; align-items: flex-start; gap: 16px; }
    .fcell .ficon { flex-shrink: 0; margin-top: 2px; }
    .fcell > div:last-child { flex: 1; min-width: 0; }

    /* Mesh detail grid: stack to single column on mobile */
    .mesh-detail-grid { grid-template-columns: 1fr !important; }
    .mesh-detail-grid > div { padding: 24px !important; }

    footer { padding: 60px 0 32px; }
    .footer-grid { gap: 40px; margin-bottom: 48px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  }

  @media (max-width: 480px) {
    h1.hero-title { letter-spacing: -0.03em; }
    .hero-phone-wrap { transform: scale(0.75); min-height: 460px; }
    .callout { padding: 22px !important; }
    .callout h3 { font-size: 22px !important; }
  }
