:root {
  --page: #F6F6F4;
  --card: #FFFFFF;
  --border: #E6E6E2;
  --text: #17181A;
  --text-secondary: #6B6E73;
  --text-muted: #8F9095;
  --accent: #1F5FBF;
  --accent-soft: #E9F0FC;
  --green-fill: #2C7A4B;
  --green-bg: #E4F2E7;
  --green-text: #2C7A4B;
  --amber-fill: #B4700C;
  --amber-bg: #FCF0DA;
  --red-fill: #C22F2A;
  --red-bg: #FBE9E7;
  --radius: 20px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #121212;
    --card: #1C1C1E;
    --border: #333333;
    --text: #F2F2F0;
    --text-secondary: #B5B7BB;
    --text-muted: #8F9095;
    --accent: #5B9AF0;
    --accent-soft: #16233A;
    --green-fill: #4FAE79;
    --green-bg: #1B3324;
    --green-text: #7DCB9F;
    --amber-fill: #E0A94E;
    --amber-bg: #3A2A0F;
    --red-fill: #E27573;
    --red-bg: #3A1A19;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.serif {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-brand span {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 21px;
  color: var(--text);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--text);
  color: var(--page) !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero p.lede {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 34px;
  text-wrap: balance;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--text); color: var(--page) !important; }
.btn-secondary { background: var(--card); color: var(--text) !important; border-color: var(--border); }

.hero-shots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
  padding: 0 12px;
}
.hero-shots img {
  width: 220px;
  border-radius: 22px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.25);
}
.hero-shots img:nth-child(2) { transform: translateY(-18px); }
.hero-shots img:nth-child(3) { transform: translateY(10px); }

/* Trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 30px 0 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.trust-strip span { display: flex; align-items: center; gap: 7px; }

/* Sections */
.section { padding: 88px 0; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-header p { color: var(--text-secondary); font-size: 17px; text-wrap: balance; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.feature-card h3 { font-size: 17.5px; margin: 0 0 8px; font-weight: 600; }
.feature-card p { color: var(--text-secondary); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* Advice pill demo */
.advice-demo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
}
.advice-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.advice-row:last-child { border-bottom: none; }
.pill { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 99px; }
.pill-fine { background: var(--green-bg); color: var(--green-text); }
.pill-careful { background: var(--amber-bg); color: var(--amber-fill); }
.pill-mobile { background: var(--red-bg); color: var(--red-fill); }

/* Screenshot showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.showcase-grid img { border-radius: 18px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.22); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  position: relative;
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 99px;
}
.price-card h3 { font-size: 16px; margin: 0 0 6px; color: var(--text-secondary); font-weight: 600; }
.price-card .amount { font-size: 34px; font-weight: 600; margin: 6px 0 4px; }
.price-card .amount span { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.price-card .note { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-card li { font-size: 14.5px; color: var(--text-secondary); padding: 7px 0; display: flex; gap: 9px; }
.price-note-global {
  text-align: center; color: var(--text-muted); font-size: 13.5px; margin-top: 28px;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 600; }
.faq-item p { color: var(--text-secondary); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* CTA band */
.cta-band {
  background: var(--text);
  color: var(--page);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--page); font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.cta-band p { color: #B5B7BB; margin: 0 0 28px; font-size: 16px; }
.cta-band .btn-primary { background: var(--page); color: var(--text) !important; }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
.footer-brand span { font-family: 'Newsreader', serif; font-weight: 500; font-size: 18px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* Legal pages */
.legal-page { padding: 64px 0 100px; }
.legal-page h1 { font-size: 36px; margin: 0 0 6px; }
.legal-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 44px; }
.legal-page h2 { font-size: 20px; margin: 40px 0 14px; }
.legal-page h3 { font-size: 16.5px; margin: 26px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-secondary); font-size: 15.5px; line-height: 1.7; }
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--text); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.legal-page th, .legal-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.legal-page th { color: var(--text-muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-shots { flex-wrap: wrap; }
  .hero-shots img { width: 150px; }
  .nav-links { display: none; }
  .cta-band { margin: 0 12px; padding: 48px 24px; }
}
