@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f4f7ff;
  --bg-soft: #eaf2ff;
  --card: rgba(255,255,255,0.78);
  --ink: #101b2e;
  --muted: #65738b;
  --line: rgba(15,35,75,0.11);
  --brand: #123a7a;
  --brand-deep: #082a63;
  --accent: #c99542;
  --warn: #a65a22;
  --shadow: 0 22px 50px rgba(18, 32, 42, 0.12);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #dbeafe 0%, rgba(219,234,254,0) 35%), radial-gradient(circle at 85% 15%, #bfd8ff 0%, rgba(191,216,255,0) 40%), linear-gradient(180deg, #ffffff 0%, #f4f7ff 45%, #eaf2ff 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}
a { color: inherit; }
.ambient { position: fixed; width: 38rem; height: 38rem; border-radius: 999px; filter: blur(70px); opacity: 0.3; pointer-events: none; z-index: 0; }
.ambient-a { background: #9bc7ff; top: -12rem; right: -8rem; }
.ambient-b { background: #d8e8ff; bottom: -14rem; left: -10rem; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem clamp(1rem, 2vw, 2rem); background: rgba(244, 247, 255, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15,35,75,0.06); }
.brand { text-decoration: none; font-weight: 800; letter-spacing: 0.12em; font-size: 0.95rem; color: var(--brand-deep); }
.topnav { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.topnav > a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; padding: 0.35rem 0.55rem; border-radius: 10px; }
.topnav > a:not(.btn):hover { background: rgba(255,255,255,0.65); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 14px; border: 1px solid transparent; background: linear-gradient(180deg, #1f63b7, #082a63); color: white; text-decoration: none; font-weight: 700; padding: 0.75rem 1rem; box-shadow: 0 10px 24px rgba(18,58,122,0.22); }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,0.65); color: var(--ink); border-color: rgba(18,32,42,0.12); box-shadow: none; }
.btn.small { padding: 0.55rem 0.85rem; border-radius: 12px; font-size: 0.92rem; }
.btn.large { padding: 0.9rem 1.15rem; font-size: 1rem; }
main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.1rem, 2vw, 2rem); padding: clamp(2rem, 3vw, 3rem) 0 1rem; align-items: center; }
.hero h1 { margin: 0.2rem 0 0.8rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 0.98; letter-spacing: -0.02em; }
.lede { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.6; max-width: 56ch; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 800; color: var(--brand-deep); font-size: 0.76rem; }
.eyebrow.tiny { letter-spacing: 0.14em; font-size: 0.68rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.15rem; }
.hero-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.hero-pills span { border-radius: 999px; background: rgba(255,255,255,0.75); border: 1px solid var(--line); padding: 0.42rem 0.75rem; font-size: 0.84rem; color: var(--muted); }
.hero-mock { display: flex; justify-content: center; }
.mock-phone { width: min(470px, 100%); border-radius: 26px; background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.78); box-shadow: var(--shadow); padding: 0.9rem; }
.mock-phone-head { display: flex; align-items: center; gap: 0.65rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 0.75rem; }
.mock-dots { display: inline-flex; gap: 0.25rem; }
.mock-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(18,32,42,0.22); }
.mock-card { background: rgba(255,255,255,0.86); border: 1px solid rgba(18,32,42,0.08); border-radius: 16px; padding: 0.8rem; }
.mock-card.score p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.mock-card.score h3 { margin: 0.2rem 0; font-size: 2rem; }
.label { display: inline-flex; border-radius: 999px; font-size: 0.8rem; padding: 0.2rem 0.55rem; }
.label.good { background: rgba(17,138,125,0.12); color: var(--brand-deep); }
.bar { margin-top: 0.6rem; height: 8px; border-radius: 999px; background: rgba(18,32,42,0.08); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, #9dc63f, #45b26f); border-radius: inherit; }
.bar.green > span { background: linear-gradient(90deg, #25aa72, #179768); }
.mock-grid { margin-top: 0.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.mock-card.component .row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mock-card.component .row.small { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }
.tag { border-radius: 999px; border: 1px solid rgba(18,32,42,0.1); background: rgba(255,255,255,0.9); padding: 0.14rem 0.45rem; white-space: nowrap; }
.tag.warn { color: var(--warn); border-color: rgba(166,90,34,0.2); background: rgba(255,244,236,0.9); }
.section { margin-top: 1.2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.72); background: rgba(255,255,255,0.72); box-shadow: var(--shadow); padding: clamp(1rem, 2vw, 1.4rem); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; align-items: start; }
.section h2 { margin: 0.3rem 0 0.75rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 2vw, 2.2rem); line-height: 1.1; }
.section p { color: var(--muted); line-height: 1.55; }
.bullet-list { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--ink); }
.bullet-list li { margin: 0.4rem 0; }
.stack-cards { display: grid; gap: 0.7rem; }
.feature-card { border-radius: 16px; border: 1px solid rgba(18,32,42,0.08); background: rgba(255,255,255,0.86); padding: 0.85rem; }
.feature-card h3 { margin: 0 0 0.3rem; }
.feature-card p { margin: 0; }
.section-headline { max-width: 60ch; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.step-card { border-radius: 16px; background: rgba(255,255,255,0.84); border: 1px solid rgba(18,32,42,0.08); padding: 0.9rem; }
.step-num { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(13,127,114,0.12); color: var(--brand-deep); font-weight: 800; font-size: 0.82rem; }
.step-card h3 { margin: 0.7rem 0 0.35rem; }
.step-card p { margin: 0; font-size: 0.92rem; }
.social-strip { background: linear-gradient(140deg, rgba(14,107,99,0.9), rgba(8,76,70,0.95)), radial-gradient(circle at 80% 20%, rgba(250, 196, 119, 0.24), transparent 45%); color: #e9f6f4; border-color: rgba(255,255,255,0.12); }
.social-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.8rem; }
.social-card { border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); padding: 0.95rem; }
.social-card.large h3 { margin: 0.35rem 0 0.5rem; font-size: 1.5rem; }
.social-card p, .social-card li { color: rgba(233,246,244,0.9); }
.social-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.social-actions .btn.ghost { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.24); }
.mini-list { margin: 0.6rem 0 0; padding-left: 1rem; }
.mini-list li { margin: 0.45rem 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 0.9rem; }
.review-card { margin: 0; border-radius: 16px; border: 1px solid rgba(18,32,42,0.08); background: rgba(255,255,255,0.86); padding: 0.95rem; }
.review-card p { margin: 0; color: var(--ink); }
.review-card footer { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(251,248,240,0.92)); }
.cta-panel p { margin: 0.2rem 0 0; }
.cta-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.footer { width: min(1180px, calc(100% - 2rem)); margin: 1.2rem auto 2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px) scale(0.995); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } }
@media (max-width: 980px) { .hero, .split, .social-panel, .cta-panel { grid-template-columns: 1fr; } .step-grid { grid-template-columns: 1fr 1fr; } .review-grid { grid-template-columns: 1fr; } .topnav { justify-content: flex-end; } }
@media (max-width: 680px) { .topbar { align-items: flex-start; } .topnav { gap: 0.5rem; } .topnav > a:not(.btn) { display: none; } .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; } .btn.large { width: 100%; } .mock-grid { grid-template-columns: 1fr; } .step-grid { grid-template-columns: 1fr; } .footer { flex-direction: column; } }
.topnav > a.tab-active {
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(18,32,42,0.06);
}

section[id] {
  scroll-margin-top: 7rem;
}
