/* Spark marketing site — styles
   Tokens, fonts and components match Design/"Spark Brand System.dc.html" sections 03 (desktop),
   04 (mobile) and 07 (OG image). See web/og.html for the OG layout. */

/* ── Fonts (local only, no CDN) ───────────────────────────────────────── */
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Black.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --font-sans: 'Geist', -apple-system, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --bg: #0A0908;
  --ink: #ECECEE;
  --ink-rgb: 236, 236, 238;
  --ink-72: rgba(236, 236, 238, 0.72);
  --ink-62: rgba(236, 236, 238, 0.62);
  --ink-55: rgba(236, 236, 238, 0.55);
  --ink-50: rgba(236, 236, 238, 0.5);
  --ink-40: rgba(236, 236, 238, 0.4);
  --ink-35: rgba(236, 236, 238, 0.35);

  --heading: #F4F0E8;
  --heading-bright: #F6F2EA;

  --accent-text: #E8C49A;
  --accent-bright: #FFD9A6;
  --accent-grad: linear-gradient(180deg, #FFE3B8, #E0A766);
  --accent-grad-h: linear-gradient(90deg, #E0A766, #FFE3B8);
  --on-accent: #322510;
  --glow-rgb: 255, 198, 128;

  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));

  --r-8: 8px; --r-11: 11px; --r-13: 13px; --r-18: 18px; --r-22: 22px; --r-999: 999px;
}

/* ── Reset / base ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Grain overlay — 160px tile noise.png, .45 opacity, screen blend */
.grain {
  position: absolute;
  inset: 0;
  background-image: url('noise.png');
  background-size: 160px;
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Star glyph ────────────────────────────────────────────────────────── */
.star-mark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 30%, #1F1C15, #0B0A09 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 150, 0.1);
  flex: none;
}
.star-mark svg {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 8px rgba(255, 198, 128, 0.85));
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 64px;
  border-bottom: 1px solid var(--border-soft);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo .star-mark { width: 34px; height: 34px; border-radius: var(--r-11); }
.nav-logo .star-mark svg { width: 20px; height: 20px; }
.nav-logo span { font-size: 21px; font-weight: 600; letter-spacing: -0.7px; color: var(--heading); }
.nav-links { display: flex; align-items: center; gap: 38px; font-size: 15px; color: var(--ink-62); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 15px; color: var(--ink-62); }
.nav-hamburger { display: none; }
.btn-download {
  display: inline-flex;
  align-items: center;
  font-size: 15px; font-weight: 600;
  color: var(--on-accent);
  background: var(--accent-grad);
  padding: 11px 22px;
  border-radius: var(--r-11);
  box-shadow: 0 6px 22px rgba(255, 198, 128, 0.28);
}

/* ── Buttons (shared) ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600;
  color: var(--on-accent);
  background: var(--accent-grad);
  padding: 15px 28px;
  border-radius: var(--r-13);
  box-shadow: 0 12px 32px rgba(255, 198, 128, 0.3);
}
.btn-secondary {
  display: inline-flex; align-items: center;
  font-size: 16px;
  color: var(--ink-72);
  padding: 15px 24px;
  border-radius: var(--r-13);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ── Section shells ────────────────────────────────────────────────────── */
section { position: relative; padding: 96px 64px; border-top: 1px solid var(--border-soft); overflow: hidden; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--accent-text); margin-bottom: 18px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 100px 64px 90px; background: radial-gradient(80% 90% at 88% 12%, rgba(255, 198, 128, 0.14), transparent 55%); border-top: none; }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-copy { max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-999);
  border: 1px solid rgba(255, 210, 150, 0.2);
  background: rgba(255, 198, 128, 0.06);
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-text);
  margin-bottom: 30px;
}
.badge-dot { width: 6px; height: 6px; border-radius: var(--r-999); background: var(--accent-bright); box-shadow: 0 0 8px rgba(255, 198, 128, 0.8); }
.hero h1 { font-size: 80px; font-weight: 700; letter-spacing: -3px; line-height: 0.98; color: var(--heading-bright); }
.hero-body { font-size: 21px; line-height: 1.55; color: var(--ink-62); margin-top: 30px; max-width: 520px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.hero-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-40); margin-top: 26px; }
.hero-device-wrap { flex: none; position: relative; }
.device-glow {
  position: absolute; inset: -60px;
  background: radial-gradient(circle, rgba(255, 198, 128, 0.18), transparent 65%);
  pointer-events: none;
}

/* ── How it works ──────────────────────────────────────────────────────── */
.how h2 { font-size: 46px; font-weight: 600; letter-spacing: -1.6px; color: var(--heading); max-width: 680px; line-height: 1.05; margin-bottom: 64px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-card {
  padding: 34px; border-radius: var(--r-18);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.how-card.accent {
  background: linear-gradient(180deg, rgba(255, 198, 128, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 210, 150, 0.2);
}
.how-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); margin-bottom: 24px; }
.how-icon {
  width: 40px; height: 40px; border-radius: var(--r-11);
  background: rgba(255, 198, 128, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.how-card.accent .how-icon { background: rgba(255, 198, 128, 0.14); }
.how-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.6px; color: var(--heading); margin-bottom: 12px; }
.how-card p { font-size: 16px; line-height: 1.6; color: var(--ink-60, var(--ink-62)); }

/* ── The brief ─────────────────────────────────────────────────────────── */
.brief-inner { display: flex; align-items: center; gap: 80px; }
.brief-copy { flex: 1; }
.brief-copy h2 { font-size: 44px; font-weight: 600; letter-spacing: -1.5px; color: var(--heading); line-height: 1.06; margin-bottom: 24px; }
.brief-copy p { font-size: 18px; line-height: 1.6; color: var(--ink-62); max-width: 480px; margin-bottom: 32px; }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist-item { display: flex; align-items: center; gap: 13px; font-size: 16px; color: rgba(236, 236, 238, 0.78); }
.checklist-item svg { flex: none; }
.brief-device-wrap { flex: none; position: relative; }

/* ── Themes ────────────────────────────────────────────────────────────── */
.themes { text-align: center; }
.themes h2 { font-size: 46px; font-weight: 600; letter-spacing: -1.6px; color: var(--heading); margin-bottom: 14px; }
.themes-sub { font-size: 18px; color: var(--ink-55); margin-bottom: 64px; }
.themes-row { display: flex; justify-content: center; gap: 48px; }
.theme-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.theme-col span { font-size: 17px; font-weight: 600; color: var(--heading); }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.pricing-head { text-align: center; margin-bottom: 60px; }
.pricing-head h2 { font-size: 46px; font-weight: 600; letter-spacing: -1.6px; color: var(--heading); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.plan { padding: 40px; border-radius: var(--r-22); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.plan-tag { font-size: 15px; font-family: var(--font-mono); color: var(--ink-55); margin-bottom: 16px; }
.plan-price { font-size: 52px; font-weight: 700; letter-spacing: -2px; color: var(--heading); }
.plan-price .unit { font-size: 20px; font-weight: 500; color: var(--ink-50); }
.plan-sub { font-size: 15px; color: var(--ink-50); margin-bottom: 30px; }
.plan-features { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; color: rgba(236, 236, 238, 0.7); }
.plan-features div { display: flex; gap: 11px; }
.plan-features span { color: var(--accent-text); }
.plan-cta {
  display: block;
  margin-top: 34px; text-align: center; font-size: 16px; font-weight: 600;
  color: var(--heading); padding: 14px; border-radius: var(--r-13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.plan-pro {
  background: linear-gradient(180deg, rgba(255, 198, 128, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 210, 150, 0.28);
}
.plan-pro .plan-tag { color: var(--accent-text); }
.plan-pro .plan-features { color: rgba(236, 236, 238, 0.85); }
.plan-pro .plan-features span { color: var(--accent-bright); }
.plan-pro .plan-cta {
  color: var(--on-accent); background: var(--accent-grad); border: none;
  box-shadow: 0 10px 28px rgba(255, 198, 128, 0.3);
}
.plan-ribbon {
  position: absolute; top: 0; right: 0;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 1px;
  color: var(--on-accent); background: var(--accent-grad);
  padding: 6px 16px; border-radius: 0 0 0 var(--r-13);
}

/* ── Footer CTA ────────────────────────────────────────────────────────── */
.footer-cta {
  padding: 110px 64px; text-align: center;
  background: radial-gradient(70% 120% at 50% 0%, rgba(255, 198, 128, 0.12), transparent 60%);
}
.footer-cta-inner { position: relative; }
.footer-star {
  width: 58px; height: 58px; border-radius: var(--r-13);
  margin: 0 auto 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 210, 150, 0.12), 0 0 40px rgba(255, 198, 128, 0.3);
}
.footer-star::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(52% 46% at 50% 52%, rgba(255, 198, 128, 0.32), transparent 70%);
}
.footer-star svg { width: 34px; height: 34px; filter: drop-shadow(0 0 14px rgba(255, 198, 128, 0.9)); }
.footer-cta h2 { font-size: 58px; font-weight: 700; letter-spacing: -2px; color: var(--heading-bright); line-height: 1.02; }
.footer-cta-copy { font-size: 19px; color: var(--ink-60, var(--ink-62)); margin-top: 20px; }
.footer-cta .btn-primary { margin-top: 36px; padding: 16px 32px; box-shadow: 0 14px 36px rgba(255, 198, 128, 0.32); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 64px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--ink-40);
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand svg { width: 17px; height: 17px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { transition: color 0.15s ease; }
.footer-links a:hover { color: var(--ink-72); }

/* ── Legal pages (privacy, terms) ──────────────────────────────────────── */
.legal { padding: 88px 64px 120px; border-top: none; }
.legal-inner { max-width: 680px; margin: 0 auto; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-55);
  margin-bottom: 40px;
}
.legal-back:hover { color: var(--ink-72); }
.legal-eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--accent-text); margin-bottom: 14px; }
.legal-inner h1 { font-size: 42px; font-weight: 700; letter-spacing: -1.4px; color: var(--heading-bright); line-height: 1.1; }
.legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-40); margin-top: 16px; }
.legal-inner h2 {
  font-size: 21px; font-weight: 600; letter-spacing: -0.4px; color: var(--heading);
  margin-top: 48px; margin-bottom: 16px;
}
.legal-inner p { font-size: 16px; line-height: 1.75; color: var(--ink-72); margin-bottom: 16px; }
.legal-inner ul { margin: 0 0 16px; padding-left: 22px; }
.legal-inner li { font-size: 16px; line-height: 1.75; color: var(--ink-72); margin-bottom: 8px; }
.legal-inner a { color: var(--accent-text); border-bottom: 1px solid rgba(232, 196, 154, 0.3); }
.legal-inner a:hover { color: var(--accent-bright); }
.legal-inner strong { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════
   Device mockup — pure CSS iPhone frame, built at a fixed 402×874 template
   (per Design/ios-frame.jsx) then scaled per placement with transform.
   ═══════════════════════════════════════════════════════════════════════ */
.device { position: relative; overflow: hidden; }
.phone-scale { width: 402px; height: 874px; transform-origin: top left; }
.phone {
  width: 402px; height: 874px; border-radius: 48px;
  position: relative; overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, system-ui, sans-serif;

  --spark: #FFF3E0;
  --accent-text: #E8C49A;
  --accent-bright: #FFD9A6;
  --accent-grad: linear-gradient(180deg, #FFE3B8, #E0A766);
  --accent-grad-h: linear-gradient(90deg, #E0A766, #FFE3B8);
  --glow-rgb: 255, 198, 128;
  --on-accent: #201A12;
  --screen-bg: radial-gradient(125% 60% at 50% 0%, #101012 0%, #0A0A0B 60%);
  --p-ink: #ECECEE;
  --p-ink-rgb: 236, 236, 238;
  --p-card: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --p-border: rgba(255, 255, 255, 0.1);
  --p-hair: rgba(255, 255, 255, 0.06);
  --p-track: rgba(255, 255, 255, 0.08);
  --p-inset: rgba(0, 0, 0, 0.28);
}
.phone[data-combo="slate"] {
  --spark: #DCE6EC; --accent-text: #AEC2D0; --accent-bright: #CFE1ED;
  --accent-grad: linear-gradient(180deg, #DCE6EC, #A7BECD);
  --accent-grad-h: linear-gradient(90deg, #A7BECD, #DCE6EC);
  --glow-rgb: 150, 180, 205; --on-accent: #14181C;
  --screen-bg: radial-gradient(125% 60% at 50% 0%, #161A1F 0%, #0D0F12 60%);
}
.phone[data-combo="aurora"] {
  --spark: #C4B5FD; --accent-text: #B7ABFF; --accent-bright: #C9BCFF;
  --accent-grad: linear-gradient(180deg, #8B7CFF, #6366F1);
  --accent-grad-h: linear-gradient(90deg, #6366F1, #8B7CFF);
  --glow-rgb: 124, 108, 255; --on-accent: #16122E;
  --screen-bg:
    radial-gradient(60% 42% at 18% 8%, rgba(139, 124, 255, 0.2), transparent 70%),
    radial-gradient(66% 44% at 92% 26%, rgba(72, 176, 255, 0.16), transparent 70%),
    radial-gradient(125% 60% at 50% 0%, rgba(22, 20, 32, 0.6) 0%, #0C0C13 62%);
}

.phone-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50; }

.phone-statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 21px 32px 0; box-sizing: border-box;
}
.phone-time { font-family: -apple-system, system-ui; font-weight: 590; font-size: 17px; color: #fff; }
.phone-status-icons { color: #fff; }

.phone-screen { position: absolute; inset: 0; background: var(--screen-bg); overflow: hidden; }

.phone-content { position: relative; z-index: 2; padding: 60px 18px 0; box-sizing: border-box; height: 100%; font-family: var(--font-sans); color: var(--p-ink); }
.phone-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.phone-nav-left { display: flex; align-items: center; gap: 9px; }
.phone-nav-left svg { width: 17px; height: 17px; filter: drop-shadow(0 0 6px rgba(var(--glow-rgb), 0.5)); }
.phone-nav-left span { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; color: var(--p-ink); }
.phone-gear {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--p-card); border: 1px solid var(--p-border);
  display: flex; align-items: center; justify-content: center;
}

.phone-capture {
  display: flex; align-items: center; gap: 11px; padding: 13px;
  border-radius: 12px; background: var(--p-card); border: 1px solid var(--p-border);
  margin-bottom: 18px;
}
.phone-capture span { flex: 1; font-size: 14.5px; color: rgba(var(--p-ink-rgb), 0.42); }
.phone-fab {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--accent-grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(var(--glow-rgb), 0.4);
  flex: none;
}

.phone-chips { display: flex; gap: 6px; margin-bottom: 22px; font-family: var(--font-mono); font-size: 11.5px; }
.phone-chips span { padding: 5px 12px; border-radius: 8px; color: rgba(var(--p-ink-rgb), 0.42); }
.phone-chips span.active { background: var(--p-track); color: var(--p-ink); border: 1px solid var(--p-track); }

.phone-building {
  position: relative; border-radius: 15px; padding: 17px; margin-bottom: 22px;
  background: var(--p-card); border: 1px solid var(--p-border); overflow: hidden;
}
.phone-building::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--accent-grad);
}
.building-header { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; padding-left: 6px; }
.building-header svg { width: 12px; height: 12px; }
.building-header .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; color: var(--accent-text); flex: 1; }
.building-header .pct { font-family: var(--font-mono); font-size: 11px; color: rgba(var(--p-ink-rgb), 0.4); }
.building-title { padding-left: 6px; font-size: 18.5px; font-weight: 600; letter-spacing: -0.4px; color: var(--p-ink); line-height: 1.15; margin-bottom: 5px; }
.building-meta { padding-left: 6px; font-family: var(--font-mono); font-size: 11px; color: rgba(var(--p-ink-rgb), 0.42); margin-bottom: 14px; }
.building-track { margin-left: 6px; height: 3px; border-radius: 99px; background: var(--p-track); overflow: hidden; margin-bottom: 13px; }
.building-fill { width: 66%; height: 100%; border-radius: 99px; background: var(--accent-grad-h); }
.building-next { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-left: 6px; border-radius: 10px; background: var(--p-inset); border: 1px solid var(--p-hair); }
.building-next .box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid rgba(var(--p-ink-rgb), 0.4); flex: none; }
.building-next span.flex1 { flex: 1; font-size: 13.5px; color: rgba(var(--p-ink-rgb), 0.8); }
.building-next .tag { font-family: var(--font-mono); font-size: 10.5px; color: rgba(var(--p-ink-rgb), 0.4); }

.phone-queue-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1px; color: rgba(var(--p-ink-rgb), 0.34); margin-bottom: 4px; padding: 0 2px; }
.phone-row { display: flex; align-items: center; gap: 13px; padding: 14px 4px; border-top: 1px solid var(--p-hair); }
.phone-row .dot { width: 7px; height: 7px; border-radius: 99px; flex: none; }
.phone-row .row-text { flex: 1; min-width: 0; }
.phone-row .row-title { font-size: 15px; font-weight: 500; color: var(--p-ink); letter-spacing: -0.2px; }
.phone-row .row-meta { font-family: var(--font-mono); font-size: 10.5px; color: rgba(var(--p-ink-rgb), 0.4); margin-top: 3px; }
.phone-row .row-time { font-family: var(--font-mono); font-size: 10.5px; color: rgba(var(--p-ink-rgb), 0.4); flex: none; }
.dot-feature-a { background: #8AA6CC; box-shadow: 0 0 6px rgba(138, 166, 204, 0.4); }
.dot-bug { background: transparent; box-shadow: inset 0 0 0 1.6px rgba(var(--p-ink-rgb), 0.35); }
.dot-feature-b { background: #D6A86A; box-shadow: 0 0 6px rgba(214, 168, 106, 0.4); }
.dot-shipped { background: #8FB88F; }

.phone-home { position: absolute; bottom: 0; left: 0; right: 0; z-index: 60; height: 34px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 8px; pointer-events: none; }
.phone-home div { width: 139px; height: 5px; border-radius: 100px; background: rgba(255, 255, 255, 0.7); }

/* Mini theme thumbnails hide fine text at very small scale — no extra rules needed,
   the transform keeps everything crisp since it's rendered at full 402×874 then scaled. */

/* ═══════════════════════════════════════════════════════════════════════
   Mobile / desktop layout toggles
   ═══════════════════════════════════════════════════════════════════════ */
.only-mobile { display: none; }

/* ── Mobile (≤768px) ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: block; }
  .only-mobile.flex { display: flex; }

  .nav { padding: 18px 22px; }
  .nav-logo .star-mark { width: 28px; height: 28px; border-radius: 8px; }
  .nav-logo .star-mark svg { width: 17px; height: 17px; }
  .nav-logo span { font-size: 18px; letter-spacing: -0.6px; }
  .nav-links, .nav-signin, .btn-download { display: none; }
  .nav-hamburger { display: block; }

  section, .hero { padding-left: 24px; padding-right: 24px; }

  .brief-inner { flex-direction: column; gap: 40px; text-align: center; }
  .brief-copy { max-width: 100%; }
  .brief-copy h2 { font-size: 30px; letter-spacing: -1px; }
  .brief-copy p { margin-left: auto; margin-right: auto; font-size: 16px; }
  .checklist-item { justify-content: center; }
  section.brief { padding: 48px 24px; }

  .footer { flex-direction: column; gap: 18px; text-align: center; padding: 32px 24px; }

  .legal { padding: 56px 22px 80px; }
  .legal-inner h1 { font-size: 30px; letter-spacing: -1px; }
  .legal-inner h2 { font-size: 19px; margin-top: 38px; }
}
