/* RankLens marketing site — self-contained, no build step */
:root {
  --blue: #0b74d1;
  --blue-dark: #085a9e;
  --ink: #0f1b2d;
  --ink-soft: #44526a;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e3e9f2;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

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

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; transition: all 0.15s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink) !important; background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue) !important; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, #0c1a2e 0%, #10233d 60%, #0e2540 100%);
  color: #fff; padding: 88px 0 96px; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: #7cc0ff; background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(124, 192, 255, 0.35);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #6db6ff; }
.hero p.sub { font-size: 18px; color: #b8c7dc; max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: #8fa3bd; }

/* CSS rank-grid mock */
.grid-mock {
  background: #12283f; border: 1px solid #23405f; border-radius: var(--radius);
  padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.grid-mock .gm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.grid-mock .gm-title { font-size: 13.5px; font-weight: 700; color: #dce8f5; }
.grid-mock .gm-score { font-size: 12px; color: #7cc0ff; font-weight: 600; }
.gm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.gm-dot {
  aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.gm-g { background: #16a34a; } .gm-a { background: #d97706; } .gm-r { background: #dc2626; }
.gm-foot { display: flex; gap: 16px; margin-top: 14px; font-size: 11.5px; color: #8fa3bd; }
.gm-foot b { color: #dce8f5; }

/* ── Sections ── */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
h2.title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
p.lead { font-size: 17px; color: var(--ink-soft); max-width: 44em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature:hover { box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08); transform: translateY(-2px); }
.feature .icon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px; background: rgba(11, 116, 209, 0.1);
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.step { position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ── Pricing ── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 26px; justify-content: center; margin-top: 46px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 34px; position: relative; }
.plan.hot { border-color: var(--blue); box-shadow: 0 16px 44px rgba(11, 116, 209, 0.12); }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
}
.plan h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.plan .for { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.plan ul { list-style: none; margin: 22px 0 26px; }
.plan li { padding: 7px 0 7px 30px; font-size: 14.5px; color: var(--ink); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.plan .btn { width: 100%; text-align: center; }
.pricing-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 46px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 800; font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* ── CTA band ── */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, #0a5cab 100%); color: #fff; text-align: center; border-radius: 22px; padding: 60px 40px; }
.cta-band h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { font-size: 16.5px; color: #cfe6ff; margin-bottom: 28px; }
.cta-band .btn { background: #fff; color: var(--blue) !important; }
.cta-band .btn:hover { transform: translateY(-1px); }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); }
.foot a { color: var(--ink-soft); margin-left: 22px; }
.foot a:hover { color: var(--ink); }

/* ── Legal pages ── */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 32px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 34px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 15px; color: #2a3548; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .features, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
