:root {
  --ink: #0b1220;
  --muted: #53637d;
  --line: #dce4f2;
  --soft: #f5f8ff;
  --blue: #2463eb;
  --blue-dark: #1748b8;
  --cyan: #0ea5e9;
  --green: #119c55;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(38, 62, 110, 0.12);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 242, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(36, 99, 235, 0.24);
  font-weight: 850;
  text-decoration: none;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 99, 235, 0.30);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
}

.button.small { min-height: 42px; padding: 0 18px; border-radius: 12px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 8% 10%, rgba(36, 99, 235, 0.14), transparent 33%),
    radial-gradient(circle at 90% 5%, rgba(14, 165, 233, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8ff 100%);
}

.hero.compact { padding: 72px 0 64px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid #cedaf1;
  border-radius: 999px;
  color: #263958;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 750;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.045em; }
h1 { margin-bottom: 24px; font-size: clamp(2.65rem, 6.2vw, 5.6rem); }
.compact h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
p { margin-top: 0; }

.lede {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.microcopy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card,
.card,
.price-card,
.sample-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card { padding: 32px; }

.mini-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price { font-size: 3.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.06em; }
.price-note { color: var(--muted); }

.checklist { margin: 24px 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 12px 0; padding-left: 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: var(--white); background: var(--ink); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }
.dark .section-heading p { color: #bac8df; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { padding: 28px; box-shadow: 0 10px 34px rgba(38, 62, 110, 0.07); }
.card p { margin-bottom: 0; color: var(--muted); }
.card .number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #eaf1ff;
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.process span {
  position: relative;
  padding: 17px 14px;
  border: 1px solid #2c3d5b;
  border-radius: 14px;
  color: #dce7fa;
  background: #111d31;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 750; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
}

.proof-strip > div { padding: 24px; }
.proof-strip > div + div { border-left: 1px solid var(--line); }
.proof-strip strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.proof-strip span { color: var(--muted); font-size: 0.92rem; }

.compare { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { color: var(--muted); background: #f8faff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare tr:last-child td { border-bottom: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px; box-shadow: 0 10px 34px rgba(38, 62, 110, 0.08); }
.price-card.featured { border: 2px solid var(--blue); transform: translateY(-8px); }
.price-card h2 { margin-bottom: 8px; font-size: 1.45rem; letter-spacing: -0.025em; }
.price-card .button { margin-top: auto; }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; color: var(--white); background: var(--blue); font-size: 0.72rem; font-weight: 900; white-space: nowrap; }

.faq { max-width: 860px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; font-size: 1.05rem; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { padding: 74px 0; color: var(--white); background: linear-gradient(135deg, #1647b5, #078fcf); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-row h2 { max-width: 720px; margin-bottom: 10px; }
.cta-row p { margin-bottom: 0; color: #e2efff; }
.cta-band .button { color: var(--ink); background: var(--white); box-shadow: none; white-space: nowrap; }

.breadcrumb { margin-bottom: 22px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; }

.article { max-width: 820px; }
.article h2 { margin-top: 54px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.article h3 { margin-top: 30px; }
.article p, .article li { color: #3f4e67; }
.article a { color: var(--blue); }

.sample-card { max-width: 760px; padding: 36px; }
.form-card { margin-bottom: 28px; }
.intake-form { display: grid; gap: 18px; margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.intake-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
.intake-form input,
.intake-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd9e8;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 500;
}
.intake-form textarea { resize: vertical; }
.intake-form input:focus,
.intake-form textarea:focus { outline: 3px solid rgba(37, 99, 235, 0.18); border-color: var(--blue); }
.form-submit { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form-submit .microcopy { max-width: 430px; margin: 0; }
.optional { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-banner { margin-bottom: 28px; padding: 18px 20px; border: 1px solid #86d69b; border-radius: 14px; color: #124c23; background: #edf9f0; }
.sample-steps { counter-reset: sample; margin: 28px 0; padding: 0; list-style: none; }
.sample-steps li { counter-increment: sample; position: relative; margin: 20px 0; padding-left: 48px; }
.sample-steps li::before { content: counter(sample); position: absolute; left: 0; top: -3px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--blue); background: #eaf1ff; font-weight: 900; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: #fbfcff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero-grid, .grid-3, .grid-4, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .process { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cta-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container, .nav { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 64px; }
  .nav .button { min-height: 40px; padding: 0 14px; font-size: 0.82rem; }
  .hero, .hero.compact { padding: 58px 0 52px; }
  .section { padding: 64px 0; }
  .hero-card, .card, .price-card, .sample-card { padding: 23px; }
  .hero-actions .button { width: 100%; }
  .compare { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
