/* ===== Design tokens (matches the StarInsight app UI) ===== */
:root{
  --bg-0: oklch(13% 0.03 290);
  --bg-1: oklch(16.5% 0.032 288);
  --panel: oklch(19% 0.035 288);
  --panel-2: oklch(23% 0.042 288);
  --border-soft: oklch(100% 0 0 / 0.07);
  --border-mid: oklch(100% 0 0 / 0.14);
  --text-1: oklch(96% 0.01 290);
  --text-2: oklch(80% 0.02 289);
  --text-3: oklch(60% 0.02 289);
  --gold: oklch(80% 0.13 85);
  --gold-soft: oklch(80% 0.13 85 / 0.16);
  --violet: oklch(64% 0.19 300);
  --pink: oklch(70% 0.18 345);
  --grad: linear-gradient(135deg, oklch(64% 0.19 300), oklch(70% 0.18 345));
  --grad-gold: linear-gradient(135deg, oklch(84% 0.13 85), oklch(72% 0.15 55));
  /* The app's own accent, converted from the Tailwind colours App.jsx
     actually ships: cyan-400/500 and emerald-400/500. The landing page said
     it matched the app UI while its buttons and logo were gold -- the first
     thing a visitor sees was the one thing that did not carry over.
     Gold stays for the premium/highlight accents, which is how the app uses
     amber too (the unlock buttons). */
  --cyan-400: oklch(79.7% 0.134 212);
  --cyan-500: oklch(71.5% 0.126 215);
  --cyan-600: oklch(60.9% 0.111 222);
  --emerald-400: oklch(77.3% 0.153 163);
  --emerald-500: oklch(69.6% 0.149 162);
  --app-ink: oklch(13.8% 0.028 269);
  --grad-accent: linear-gradient(135deg, var(--cyan-500), var(--emerald-500));
  --grad-mark: linear-gradient(to top right, var(--cyan-400), var(--emerald-400));
  --shadow-1: 0 24px 48px -32px oklch(0% 0 0 / .8);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,.display{ font-family:'Spectral', serif; margin:0; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0; color: var(--text-2); line-height:1.65; }
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; position:relative; z-index:1; }
section{ position:relative; }

.grad-text{
  background: var(--grad-gold);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase;
  color: var(--gold); background: var(--gold-soft); border:1px solid oklch(80% 0.13 85 / 0.3);
  padding:7px 14px; border-radius:999px;
}

/* ===== Starfield backdrop ===== */
.starfield{
  position:absolute; inset:0; pointer-events:none; opacity:0.6; z-index:0;
  background-image:
    radial-gradient(1.4px 1.4px at 40px 60px, oklch(96% 0 0 / .9) 50%, transparent),
    radial-gradient(1px 1px at 140px 20px, oklch(96% 0 0 / .7) 50%, transparent),
    radial-gradient(1.2px 1.2px at 230px 110px, var(--gold) 50%, transparent),
    radial-gradient(1px 1px at 300px 40px, oklch(96% 0 0 / .6) 50%, transparent),
    radial-gradient(1.4px 1.4px at 70px 160px, oklch(96% 0 0 / .8) 50%, transparent),
    radial-gradient(1px 1px at 190px 190px, var(--gold) 50%, transparent),
    radial-gradient(1.2px 1.2px at 260px 200px, oklch(96% 0 0 / .7) 50%, transparent);
  background-size: 340px 220px;
  background-repeat: repeat;
}
.glow{
  position:absolute; border-radius:50%; filter: blur(90px); pointer-events:none; z-index:0;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px; border-radius:13px; font-weight:800; font-size:15px;
  border:1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--grad-accent); color: #fff;
  box-shadow: 0 16px 34px -14px oklch(71.5% 0.126 215 / .55);
}
.btn-primary:hover{ box-shadow: 0 20px 40px -14px oklch(71.5% 0.126 215 / .7); }
.btn-ghost{
  background: transparent; border-color: var(--border-mid); color: var(--text-1);
}
.btn-ghost:hover{ background: var(--panel-2); }
.btn-sm{ padding:10px 18px; font-size:13.5px; border-radius:11px; }
.btn-block{ width:100%; }

/* ===== Nav ===== */
.nav{
  position:sticky; top:0; z-index:50;
  background: oklch(13% 0.03 290 / 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border-soft);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:11px; }
.brand-mark{
  width:38px; height:38px; border-radius:11px; background: var(--grad-mark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  padding:2px;   /* the gradient reads as a ring around the inner tile */
  box-shadow: 0 10px 22px -10px oklch(71.5% 0.126 215 / .6);
}
/* Matches App.jsx's logo exactly: gradient tile, dark inner square, cyan
   glyph inside it -- rather than the glyph sitting straight on the gradient. */
.brand-mark > span{
  width:100%; height:100%; border-radius:9px; background: var(--app-ink);
  display:flex; align-items:center; justify-content:center;
  color: var(--cyan-400);
}
.brand-name{ font-family:'Spectral', serif; font-size:19px; font-weight:700; letter-spacing:0.4px; }
.brand-tag{ font-size:10px; color: var(--text-3); letter-spacing:0.6px; margin-top:1px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14px; font-weight:600; color: var(--text-2); transition: color .15s; }
.nav-links a:hover{ color: var(--text-1); }
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-login{ font-size:14px; font-weight:700; color: var(--text-2); transition: color .15s; }
.nav-login:hover{ color: var(--text-1); }
.nav-toggle{ display:none; background:none; border:none; color:var(--text-1); padding:8px; }

/* ===== Hero ===== */
.hero{ padding: 88px 0 60px; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; }
.hero h1{ font-size:52px; line-height:1.08; margin-top:18px; }
.hero p.lede{ font-size:17.5px; margin-top:20px; max-width:520px; }
.hero-cta{ display:flex; align-items:center; gap:16px; margin-top:32px; flex-wrap:wrap; }
.hero-trust{ display:flex; gap:26px; margin-top:36px; flex-wrap:wrap; }
.hero-trust .item{ display:flex; align-items:center; gap:9px; font-size:13px; font-weight:700; color: var(--text-2); }
.hero-trust svg{ width:18px; height:18px; color: var(--gold); flex-shrink:0; }

.hero-art{ position:relative; }
.hero-shot{
  border-radius: var(--radius-lg); border:1px solid var(--border-mid);
  box-shadow: 0 40px 80px -30px oklch(0% 0 0 / .85);
  overflow:hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.hero-shot img{ display:block; width:100%; }
.floating-card{
  position:absolute; background: var(--panel); border:1px solid var(--border-soft);
  border-radius: var(--radius-md); padding:14px 16px; box-shadow: var(--shadow-1);
  display:flex; align-items:center; gap:11px;
}
.floating-card .ic{
  width:36px; height:36px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.floating-card .t1{ font-size:11px; color:var(--text-3); font-weight:700; letter-spacing:0.4px; }
.floating-card .t2{ font-size:14px; font-weight:700; }
.fc-1{ top:-22px; left:-30px; }
.fc-2{ bottom:-24px; right:-24px; }

/* ===== Section headers ===== */
.section-head{ text-align:center; max-width:640px; margin: 0 auto 52px; }
.section-head h2{ font-size:36px; margin-top:16px; }
.section-head p{ font-size:16px; margin-top:14px; }
.section-pad{ padding: 100px 0; }

/* ===== Feature grid ===== */
.feature-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:20px;
}
.feature-card{
  background: var(--panel); border:1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding:26px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature-card:hover{ transform: translateY(-4px); border-color: var(--border-mid); background: var(--panel-2); }
.feature-card .ic{
  width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ font-size:14px; }

/* ===== Spotlight (Ask Guru) ===== */
.spotlight{ display:grid; grid-template-columns: 0.95fr 1.05fr; gap:56px; align-items:center; }
.spotlight-shot{
  border-radius: var(--radius-lg); border:1px solid var(--border-mid); overflow:hidden;
  box-shadow: var(--shadow-1);
}
.spotlight-shot img{ width:100%; display:block; }
.check-list{ display:flex; flex-direction:column; gap:16px; margin-top:26px; }
.check-list .row{ display:flex; align-items:flex-start; gap:13px; }
.check-list .row .ic{
  width:26px; height:26px; border-radius:8px; background: var(--gold-soft); color: var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.check-list .row div{ font-size:14.5px; color: var(--text-2); }
.check-list .row strong{ color: var(--text-1); }

/* ===== How it works ===== */
.steps{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; counter-reset: step; }
.step{ position:relative; padding: 30px 26px; background: var(--panel); border:1px solid var(--border-soft); border-radius: var(--radius-lg); }
.step .num{
  width:40px; height:40px; border-radius:12px; background: var(--grad); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; margin-bottom:18px;
  box-shadow: 0 12px 26px -10px oklch(64% 0.19 300 / .6);
}
.step h3{ font-size:18px; margin-bottom:8px; }
.step p{ font-size:14px; }
.step-arrow{ position:absolute; top:34px; right:-30px; color: var(--text-3); }

/* ===== Pricing ===== */
.pricing-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; align-items:stretch; }
.price-card{
  background: var(--panel); border:1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding:32px 28px; display:flex; flex-direction:column;
}
.price-card.popular{
  border-color: oklch(80% 0.13 85 / 0.5); background: var(--panel-2);
  box-shadow: 0 30px 60px -30px oklch(80% 0.13 85 / .35);
  transform: translateY(-10px);
}
.price-tag{ font-size:13px; font-weight:800; letter-spacing:0.5px; color: var(--text-3); text-transform:uppercase; }
.price-amt{ font-family:'Spectral', serif; font-size:44px; font-weight:700; margin-top:10px; display:flex; align-items:baseline; gap:6px; }
.price-amt small{ font-family:'Manrope', sans-serif; font-size:14px; font-weight:700; color: var(--text-3); }
.price-desc{ font-size:14px; margin-top:8px; }
.price-feats{ margin:24px 0 28px; display:flex; flex-direction:column; gap:12px; flex:1; }
.price-feats .row{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-2); }
.price-feats svg{ width:16px; height:16px; color: var(--gold); flex-shrink:0; }
.pop-badge{
  /* Stays gold: this is a highlight badge, not a button, and gold is what
     the app uses for its own premium badges (the amber Crown pills). */
  align-self:flex-start; background: var(--grad-gold); color: oklch(20% 0.05 70);
  font-size:11px; font-weight:800; padding:5px 12px; border-radius:999px; margin-bottom:14px;
  letter-spacing:0.4px;
}
.pricing-note{ text-align:center; margin-top:30px; font-size:13.5px; color: var(--text-3); }

/* ===== FAQ ===== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background: var(--panel); border:1px solid var(--border-soft); border-radius: var(--radius-md); overflow:hidden; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px; background:none; border:none; color: var(--text-1); font-size:15.5px; font-weight:700; text-align:left;
}
.faq-q .chev{ width:18px; height:18px; flex-shrink:0; color: var(--gold); transition: transform .2s ease; }
.faq-item.open .faq-q .chev{ transform: rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a-inner{ padding: 0 24px 20px; font-size:14.5px; color: var(--text-2); }
.faq-item.open .faq-a{ max-height:220px; }

/* ===== Final CTA ===== */
.cta-band{
  background: var(--grad); border-radius: var(--radius-lg); padding:64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:''; position:absolute; inset:0;
  background: radial-gradient(600px 260px at 85% -20%, oklch(100% 0 0 / .18), transparent);
}
.cta-band h2{ font-size:32px; color:#fff; position:relative; }
.cta-band p{ color: oklch(96% 0.02 300 / .85); margin-top:10px; font-size:15.5px; position:relative; }
.cta-band .btn-primary{ background:#fff; color: oklch(30% 0.1 300); box-shadow:0 16px 34px -14px oklch(0% 0 0 / .4); position:relative; }

/* ===== Footer ===== */
.footer{ border-top:1px solid var(--border-soft); padding: 48px 0 32px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:32px; flex-wrap:wrap; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ font-size:12px; letter-spacing:0.6px; text-transform:uppercase; color: var(--text-3); font-weight:800; margin-bottom:14px; }
.footer-col a{ display:block; font-size:14px; color: var(--text-2); margin-bottom:10px; }
.footer-col a:hover{ color: var(--text-1); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  margin-top:44px; padding-top:24px; border-top:1px solid var(--border-soft);
  font-size:12.5px; color: var(--text-3);
}
.footer-disclaimer{ font-size:12px; color: var(--text-3); max-width:640px; margin-top:14px; }

/* ===== Reveal-on-scroll ===== */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; }
  .hero h1{ font-size:38px; }
  .spotlight{ grid-template-columns:1fr; }
  .spotlight-shot{ order:-1; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .step-arrow{ display:none; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .price-card.popular{ transform:none; }
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  /* The desktop Log In / Get Started stayed in the bar once the hamburger
     appeared, so brand + two CTAs + toggle could not fit: the page scrolled
     sideways at phone widths. Both are already in the mobile menu below, so
     the bar keeps only the toggle. */
  .nav-cta .nav-login,
  .nav-cta .btn{ display:none; }
}
@media (max-width: 620px){
  .feature-grid{ grid-template-columns: 1fr; }
  .hero{ padding:56px 0 40px; }
  .section-pad{ padding:64px 0; }
  .section-head h2{ font-size:28px; }
  .cta-band{ padding:40px 28px; flex-direction:column; align-items:flex-start; }
  .footer-top{ flex-direction:column; }
  .fc-1, .fc-2{ display:none; }
}

/* ===== Mobile menu ===== */
.mobile-menu{
  display:none; flex-direction:column; gap:4px; padding: 12px 24px 20px;
  background: var(--bg-0); border-bottom:1px solid var(--border-soft);
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{ padding:12px 4px; font-size:15px; font-weight:600; color: var(--text-2); border-bottom:1px solid var(--border-soft); }
.mobile-menu .btn{ margin-top:12px; }

/* ===== Colourways and one-off placements =====
   These used to live in style="..." attributes on the markup. A strict
   Content-Security-Policy has no way to allow those without also allowing
   every attribute an injected node could carry, so they are classes now and
   style-src stays free of 'unsafe-inline'. Adding a colourway means adding a
   .tint-* here, never a style attribute back in the HTML. */
.ic{ background: var(--ic-bg, transparent); color: var(--ic-fg, inherit); }
.tint-rose{   --ic-bg: oklch(70% 0.15 25 / .18);  --ic-fg: oklch(70% 0.18 25); }
.tint-blue{   --ic-bg: oklch(75% 0.15 250 / .18); --ic-fg: oklch(72% 0.16 250); }
.tint-teal{   --ic-bg: oklch(75% 0.13 200 / .18); --ic-fg: oklch(70% 0.14 200); }
.tint-gold{   --ic-bg: var(--gold-soft);          --ic-fg: var(--gold); }
.tint-violet{ --ic-bg: oklch(75% 0.15 300 / .18); --ic-fg: var(--violet); }
.tint-amber{  --ic-bg: oklch(75% 0.15 55 / .18);  --ic-fg: oklch(70% 0.16 55); }
.tint-pink{   --ic-bg: oklch(70% 0.18 345 / .18); --ic-fg: var(--pink); }
.tint-gold-fill{ --ic-bg: var(--grad-gold); --ic-fg: oklch(20% 0.05 70); }
.tint-grad-fill{ --ic-bg: var(--grad);      --ic-fg: #fff; }

.glow-violet{ width:520px; height:520px; top:-160px; left:-120px; background: oklch(64% 0.19 300 / .35); }
.glow-gold{   width:420px; height:420px; top:120px; right:-160px; background: oklch(80% 0.13 85 / .22); }

#guru{ background: var(--bg-1); }
.spotlight h2{ font-size:32px; margin-top:16px; }
.spotlight-copy{ margin-top:18px; font-size:15.5px; }
.spotlight .btn{ margin-top:30px; }
.pad-top-0{ padding-top:0; }
.footer-about{ max-width:320px; }
.footer-about p{ margin-top:16px; font-size:13.5px; }
