:root {
  --bg: #0F1110;
  --surface: #161A18;
  --surface-alt: #1E2321;
  --border: #2B302E;
  --text: #F2F1ED;
  --text-secondary: #9C9F99;
  --text-faint: #6E756F;
  --accent: #3FBF8F;
  --accent-muted: #12291F;
  --pro: #E0A24A;
  --pro-muted: #2A2216;
  --pro-border: #4A3A1E;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.035em; }
.logo-accent { color: var(--text-secondary); }

/* "The Glimpse" mark — three rising bars + one brass outlier dot. Built from divs, no image
   asset, so it scales cleanly at any size (mirrors the RN GlimpseMark component). */
.logo-mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 4px;
  flex: none;
}
.logo-mark i { display: block; width: 3.5px; border-radius: 1.5px; font-style: normal; }
.logo-mark i:nth-child(1) { height: 6px; background: #4A514B; }
.logo-mark i:nth-child(2) { height: 10px; background: #8A918B; }
.logo-mark i:nth-child(3) { height: 14px; background: var(--accent); }
.logo-mark em {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pro);
  font-style: normal;
}
.logo-mark.small { width: 20px; height: 20px; border-radius: 5px; padding: 3px 3px; gap: 2px; }
.logo-mark.small i { width: 2.5px; }
.logo-mark.small i:nth-child(1) { height: 4px; }
.logo-mark.small i:nth-child(2) { height: 7px; }
.logo-mark.small i:nth-child(3) { height: 10px; }
.logo-mark.small em { width: 4px; height: 4px; top: 2px; right: 2px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* Buttons — radius 14 per component spec (buttons are not pills; chips/tags are) */
.btn {
  display: inline-block;
  border-radius: 14px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost-ios { display: inline-flex; align-items: center; gap: 7px; }

/* App Store badge — built from CSS/SVG rather than Apple's asset library, so no external
   fetch is needed; standard black-pill "Download on the App Store" shape and proportions. */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #2C2C2C;
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
}
.btn-appstore svg { flex: none; }
.btn-appstore span { display: flex; flex-direction: column; line-height: 1.15; }
.btn-appstore small { font-size: 10.5px; color: #C9C9C9; }
.btn-appstore strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* Hero */
.hero { padding: 32px 0 16px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 1000px;
  height: 900px;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(63, 191, 143, 0.16), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-copy { flex: 1 1 480px; max-width: 560px; }
.eyebrow {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lede {
  max-width: 520px;
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 18px;
}
.fine-print { color: var(--text-secondary); font-size: 13px; margin-top: 14px; }

/* Phone mockup */
.phone-mockup {
  flex: none;
  width: 268px;
  aspect-ratio: 9 / 19.5;
  background: #05100c;
  border-radius: 44px;
  padding: 10px;
  position: relative;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #05100c;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  background: #0d1211;
  border-radius: 34px;
  padding: 34px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.phone-screen-onboarding { align-items: flex-start; }
.mock-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 191, 143, 0.22), transparent 70%);
  pointer-events: none;
}
.mock-onboard-brand { position: relative; display: flex; flex-direction: row; align-items: center; gap: 10px; margin-bottom: 26px; }
.mock-onboard-brand .logo-mark.small { width: 34px; height: 34px; border-radius: 9px; }
.mock-onboard-brand .logo-mark.small i { width: 4px; }
.mock-onboard-brand .logo-mark.small i:nth-child(1) { height: 7px; }
.mock-onboard-brand .logo-mark.small i:nth-child(2) { height: 12px; }
.mock-onboard-brand .logo-mark.small i:nth-child(3) { height: 17px; }
.mock-onboard-brand .logo-mark.small em { width: 6px; height: 6px; }
.mock-app-name { font-size: 15px; font-weight: 700; }
.mock-headline { position: relative; font-size: 24px; line-height: 1.15; font-weight: 800; margin: 0 0 10px; }
.mock-subtitle { font-size: 10.5px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 18px; }
.mock-bullets { list-style: none; margin: 0 0 auto; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mock-bullets li { position: relative; padding-left: 16px; font-size: 12px; color: var(--text-secondary); }
.mock-bullets li::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mock-apple-btn {
  margin-top: 24px;
  width: 100%;
  background: #EFEFEF;
  color: #111;
  border: none;
  border-radius: 14px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}
.mock-disclaimer { margin: 10px 0 0; font-size: 10px; color: var(--text-faint); text-align: center; align-self: center; }

/* Statement */
.statement { padding: 24px 0; text-align: center; }
.statement p {
  margin: 0;
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}
.statement-accent { color: var(--accent); font-weight: 800; }

/* Compare / why-switch */
.compare { padding: 72px 0 80px; }
.section-sub { max-width: 620px; margin: 0 auto 40px; text-align: center; color: var(--text-secondary); font-size: 15px; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.compare-col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.compare-before { background: var(--surface); }
.compare-after { background: var(--accent-muted); border-color: #1E4636; }
.compare-col h3 { margin: 0 0 18px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-faint); }
.compare-after h3 { color: var(--accent); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-secondary); }
.compare-before li::before { content: "–"; position: absolute; left: 0; color: var(--text-faint); font-weight: 700; }
.compare-after li { color: var(--text); }
.compare-after li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Features */
.features { padding: 80px 0; }
.features h2, .why-radar h2, .pricing h2, .faq h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}
.pricing h2 { margin-bottom: 12px; }
.pricing-sub { text-align: center; color: var(--text-secondary); font-size: 14px; margin: 0 0 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-card-pro:hover { border-color: var(--pro); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card-pro .feature-icon { background: var(--pro-muted); color: var(--pro); }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.feature-shot { margin-top: auto; padding-top: 16px; }
.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  opacity: 0.95;
}
/* margin-bottom: auto (on top of .feature-shot's margin-top: auto) centers this pair in the
   card's leftover space instead of pinning it to the bottom — the mini devices are short enough
   that bottom-pinning left an uneven gap above vs. below (2026-09-05). */
.feature-shot-pair { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: auto; transform: translateY(-25px); }

/* Mini device frames — same bezel/notch language as the hero .phone-mockup, scaled down and
   wrapped around real screenshots instead of hand-drawn mock content. iPad reads visibly larger
   than iPhone, matching the real size relationship between the two devices. */
.mini-device {
  position: relative;
  background: #05100c;
  padding: 7px;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.mini-device img { display: block; width: 100%; height: auto; }
.mini-device::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  height: 11px;
  background: #05100c;
  z-index: 2;
}
.mini-device-iphone { width: 42%; border-radius: 22px; }
.mini-device-iphone img { border-radius: 16px; }
.mini-device-iphone::before { width: 34%; border-radius: 0 0 8px 8px; }
.mini-device-ipad { width: 72%; border-radius: 14px; }
.mini-device-ipad img { border-radius: 8px; }
.mini-device-ipad::before { width: 16%; border-radius: 0 0 6px 6px; }

/* Personas */
.personas { padding: 0 0 80px; }
.personas h2 { text-align: center; font-size: 32px; margin-bottom: 40px; }
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.persona-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.persona-card h3 { margin: 0 0 8px; font-size: 16px; }
.persona-card p { margin: 0; color: var(--text-secondary); font-size: 14px; }

/* Pricing */
.pricing { padding: 80px 0; background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.price-card-highlight { border-color: var(--pro-border); background: var(--pro-muted); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--pro);
  color: #1C1408;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}
.price-card h3 { margin: 0 0 8px; }
.price { font-size: 36px; font-weight: 800; margin: 0 0 20px; }
.price span { font-size: 16px; color: var(--text-secondary); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 0; color: var(--text-secondary); font-size: 14px; }
.price-card li { padding: 6px 0; border-top: 1px solid var(--border); }
.price-card li:first-child { border-top: none; }
.price-card-highlight ul, .price-card-highlight .price span { color: #C9A876; }
.price-card-highlight li { border-top-color: var(--pro-border); }

/* FAQ */
.faq { padding: 80px 0; max-width: 700px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq p { color: var(--text-secondary); margin: 12px 0 0; font-size: 14px; }

/* Contact */
.contact { padding: 0 0 96px; }
.contact-inner { text-align: center; max-width: 480px; }
.contact h2 { font-size: 28px; margin: 0 0 12px; }
.contact .section-sub { margin-bottom: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-text { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex: 1 1 320px; min-width: 0; }
.footer-yt-attribution { font-size: 11px; color: var(--text-faint); max-width: 420px; }
.footer-yt-attribution a { color: var(--text-faint); text-decoration: underline; }

/* Legal pages (privacy, terms) */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 720px; }
.legal h1 { font-size: 36px; margin: 0 0 8px; }
.legal .updated { color: var(--text-faint); font-size: 13px; margin: 0 0 48px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a.inline { color: var(--accent); }
.legal strong { color: var(--text); }

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-copy { max-width: 560px; }
  .lede { margin: 0 auto 32px; }
  .phone-mockup { width: 220px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .compare-after { order: -1; }
  .statement p { font-size: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-text { align-items: center; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
}
