/* ==========================================================================
   NeatScore marketing site
   Brand: navy #0B1633 · lime #B8F23C · Plus Jakarta Sans
   No build step. Plain CSS, safe for any shared host.
   ========================================================================== */

:root {
  --navy: #0B1633;
  --navy-2: #14224a;
  --mid: #1A2B57;
  --lime: #B8F23C;
  --lime-dark: #9ad32b;
  --ink: #0F1B24;
  --muted: #5A6B78;
  --mist: #F4F6FA;
  --white: #fff;
  --line: #E2E8ED;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(11, 22, 51, .06);
  --shadow: 0 14px 40px rgba(11, 22, 51, .10);
  --shadow-lg: 0 30px 70px rgba(11, 22, 51, .16);
  --maxw: 1160px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--mist { background: var(--mist); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  font-weight: 800; color: var(--lime-dark); margin: 0 0 14px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 13px; cursor: pointer;
  border: 1.5px solid transparent; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--navy); box-shadow: 0 10px 26px rgba(184, 242, 60, .34); }
.btn--primary:hover { background: #c6fa57; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .6); }
.btn--sm { padding: 11px 19px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 22, 51, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 27px; width: auto; }
.brand span { color: #fff; font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; min-width: 0; }
.nav a { color: #C9D2E3; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta .signin { color: #C9D2E3; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-cta .signin:hover { color: #fff; }

/* The nav carries a "Start free trial" button for the mobile menu only.
   On desktop the call to action lives in .header-cta, so hide this one to
   avoid two buttons fighting for the same space. */
.nav .btn { display: none; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 9px;
  cursor: pointer; border-radius: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* Tighten the header before the hamburger takes over, so nothing overlaps
   in the ~900-1120px range. */
@media (max-width: 1120px) {
  .site-header .wrap { gap: 12px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .header-cta { gap: 8px; }
  .header-cta .signin { font-size: 14px; }
  .header-cta .btn--sm { padding: 10px 14px; font-size: 14px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav .btn { display: flex; margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: clamp(52px, 7vw, 88px) 0 clamp(96px, 12vw, 150px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 12% -8%, rgba(184, 242, 60, .17), transparent 62%),
    radial-gradient(620px 420px at 92% 8%, rgba(64, 106, 255, .24), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--lime); }
.hero .lede { color: #C4CFE3; max-width: 560px; font-size: clamp(17px, 1.9vw, 19.5px); }
.hero .btn-row { margin-top: 30px; }
.hero-note { margin: 18px 0 0; color: #93A2BE; font-size: 14px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .11);
}
.hero-badges span {
  color: #C4CFE3; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges span::before {
  content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%;
  background: rgba(184, 242, 60, .18);
  box-shadow: inset 0 0 0 1.5px var(--lime);
}
.hero-lockup { max-width: min(430px, 100%); margin: 0 auto; filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .34)); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-lockup { order: -1; max-width: 320px; margin-left: 0; }
}

/* ---------- App preview / screenshots ---------- */
.preview { margin-top: -70px; position: relative; z-index: 5; }
.preview-frame {
  background: #fff; border-radius: var(--radius-lg); padding: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.preview-frame--browser { padding: 0; overflow: hidden; }
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6dde4; }
.browser-bar .url {
  margin-left: 12px; flex: 1; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 13px; font-size: 12.5px; color: var(--muted);
  font-style: normal;
}
.preview-shot { width: 100%; display: block; background: var(--mist); }

/* Dashboard shot is deliberately height-capped so a tall screenshot can never
   balloon the hero. Swap object-position to "center" if you prefer a crop
   from the middle rather than the top. */
.preview-shot--tall {
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: top center;
}

/* placeholder shown until real screenshots are dropped in */
.shot-slot {
  aspect-ratio: 16 / 9.5; max-height: 520px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 8px; padding: 30px;
  background: repeating-linear-gradient(45deg, #f7f9fc, #f7f9fc 12px, #eef2f7 12px, #eef2f7 24px);
  color: var(--muted); font-size: 14px; font-weight: 600;
}
.shot-slot b { color: var(--navy); font-size: 16px; }
.shot-slot code {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 7px; font-size: 12.5px; color: var(--navy);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / features ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px 36px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9e2; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 42ch; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--lime);
}
.card-icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Score strip (dial graphics) ---------- */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.score {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.score img { width: 96px; height: 96px; margin: 0 auto 14px; }
.score b { display: block; font-size: 17px; }
.score span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .scores { grid-template-columns: 1fr; max-width: 340px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--lime); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Audience ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 34px; font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--lime);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 19px;
  width: 6px; height: 10px; border: solid var(--navy);
  border-width: 0 2.2px 2.2px 0; transform: rotate(43deg);
}

/* ---------- Pricing ---------- */
.toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 13px; margin: 0 auto 40px;
}
.toggle button {
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  border: 0; background: transparent; color: var(--muted);
  padding: 10px 20px; border-radius: 9px; transition: background .15s, color .15s;
}
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.toggle .save { font-size: 12px; font-weight: 800; color: var(--lime-dark); }
.toggle-wrap { display: flex; justify-content: center; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm);
}
.plan--best { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -13px; left: 26px;
  background: var(--lime); color: var(--navy);
  font-weight: 800; font-size: 12px; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 20px;
}
.plan h3 { font-size: 21px; margin-bottom: 4px; }
.plan .sites { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .yearly { color: var(--muted); font-size: 13.5px; margin: 7px 0 20px; min-height: 20px; }
.plan ul { margin-bottom: 22px; }
.plan .btn { margin-top: auto; }
.plan .btn + .btn { margin-top: 9px; }
.plan .fineprint { color: var(--muted); font-size: 12.5px; text-align: center; margin: 9px 0 0; }

.callout {
  max-width: var(--maxw); margin: 26px auto 0;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 20px 26px; text-align: center; font-size: 15.5px;
}
.callout b { color: var(--lime); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; margin-bottom: 11px; transition: border-color .15s;
}
.faq details[open] { border-color: #cfd9e2; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 19px 30px 19px 0; font-weight: 700; font-size: 16.5px;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 25px;
  width: 9px; height: 9px; border: solid var(--navy);
  border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .answer { padding: 0 0 21px; color: var(--muted); font-size: 15.5px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; text-align: center;
  padding: clamp(60px, 8vw, 96px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 340px at 50% 0%, rgba(184, 242, 60, .19), transparent 65%);
}
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: #C4CFE3; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #08101f; color: #8B99B4; padding: 56px 0 30px; font-size: 14.5px; }
.site-footer .top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.site-footer .brand span { color: #fff; }
.site-footer p { margin: 14px 0 0; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--lime); }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; padding-top: 24px; }
.site-footer .tagline { color: var(--lime); font-weight: 700; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-size: clamp(30px, 4.4vw, 46px); }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p, .prose li { color: #33424f; font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose .updated { color: var(--muted); font-size: 14.5px; }
.prose a { color: var(--navy); font-weight: 600; }
.page-hero { background: var(--navy); color: #fff; padding: clamp(46px, 6vw, 74px) 0 clamp(40px, 5vw, 60px); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #C4CFE3; margin: 0; max-width: 620px; }
.page-hero .eyebrow { color: var(--lime); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(70px, 12vw, 150px) 0; }
.notfound .code { font-size: clamp(76px, 16vw, 150px); font-weight: 800; color: var(--navy); letter-spacing: -.05em; line-height: 1; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  body { background: #0B1013; color: #E7ECEF; }
  .lede, .card p, .step p, .stat span, .score span, .plan .sites, .plan .yearly, .faq .answer { color: #9FADB9; }
  .section--mist { background: #10171B; }
  .card, .stat, .score, .plan, .faq details, .preview-frame { background: #131A1E; border-color: #243037; }
  .preview-frame--browser { background: #131A1E; }
  .browser-bar { background: #10171B; border-color: #243037; }
  .browser-bar .url { background: #131A1E; border-color: #243037; color: #9FADB9; }
  .browser-bar i { background: #2c3a42; }
  .toggle { background: #10171B; border-color: #243037; }
  .toggle button[aria-pressed="true"] { background: var(--lime); color: var(--navy); }
  .plan--best { border-color: var(--lime); }
  .btn--ghost { background: #131A1E; border-color: #2c3a42; color: #E7ECEF; }
  .faq summary::after { border-color: #E7ECEF; }
  .prose p, .prose li { color: #B9C4CE; }
  .prose a { color: var(--lime); }
  .notfound .code { color: var(--lime); }
  .shot-slot { background: repeating-linear-gradient(45deg, #131a1e, #131a1e 12px, #10171b 12px, #10171b 24px); }
  .shot-slot b { color: #E7ECEF; }
  .shot-slot code { background: #0B1013; border-color: #243037; color: var(--lime); }
  .checklist li::after { border-color: var(--navy); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta, .site-footer, .btn { display: none; }
  body { font-size: 12pt; }
}
