:root {
  --bg: #0b1220;
  --bg-alt: #111a2e;
  --surface: #16213a;
  --border: #24314f;
  --text: #e6ebf5;
  --muted: #9aa7c0;
  --accent: #2dd4bf;
  --accent-dark: #14b8a6;
  --radius: 10px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #04201c;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(45, 212, 191, .1); }
.btn-small { padding: .45em 1em; font-size: .9rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.2rem; }
.logo:hover { text-decoration: none; }
.logo strong { color: var(--accent); font-weight: 700; }
.logo em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(45, 212, 191, .18), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, .12), transparent 55%);
}
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); margin-bottom: 40px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.steps li { counter-increment: step; padding-top: 16px; border-top: 2px solid var(--border); }
.steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-weight: 700; font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

.about, .contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about p, .contact p { color: var(--muted); }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.highlights li { padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.highlights strong { display: block; color: var(--accent); }
.highlights span { color: var(--muted); }

/* Contact form */
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: .75em .9em;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.6em; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #f87171; }

/* Credibility bar */
.credibility { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.credibility-inner {
  list-style: none;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.credibility li { display: grid; gap: 4px; align-content: start; padding: 0 20px; text-align: center; border-left: 1px solid var(--border); }
.credibility li:first-child { border-left: 0; }
.credibility strong { color: var(--accent); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.credibility span { color: var(--text); font-size: .95rem; line-height: 1.4; }

/* Service details */
.card-tag { color: var(--accent); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px !important; }
.section .btn { margin-top: 36px; }
.subhead { margin-top: 64px; margin-bottom: 20px; font-size: 1.4rem; }
.fine-print { color: var(--muted); font-size: .9rem; margin-top: 24px; max-width: 760px; }

.compare { margin-top: 56px; }
.compare table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare th:last-child { color: var(--accent); }
.compare td:first-child { color: var(--muted); font-style: italic; }

.journey { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.plan p:last-child { color: var(--muted); margin: 0; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(45, 212, 191, .12); }
.price { font-weight: 700; font-size: 1.05rem; }

.timeline { margin-top: 64px; }
.timeline .steps { margin-top: 24px; }

/* Hero tagline */
.tagline { margin-top: 24px; color: var(--text); font-weight: 600; font-size: 1.1rem; }

/* Featured service card */
.card-featured { border-color: var(--accent); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; }

/* Reality Check */
.reality { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.reality .section-intro { margin-bottom: 24px; }
.questions { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: q; }
.questions li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.05rem;
}
.questions li::before { content: counter(q); color: var(--accent); font-weight: 700; font-size: 1.3rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.muted { color: var(--muted); font-style: italic; }
.reality .plan .btn { margin-top: 8px; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal-updated { font-size: .9rem; }
.form-note { margin: 0; color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; gap: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav.site-nav-static { display: flex; position: static; flex-direction: row; padding: 0; border: 0; background: none; }
  .site-nav.site-nav-static .btn { margin-top: 0; }
  .site-nav a { padding: 12px 0; }
  .site-nav .btn { margin-top: 8px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 80px 0 70px; }
  .section { padding: 64px 0; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .journey { grid-template-columns: 1fr; }
  .reality { grid-template-columns: 1fr; gap: 32px; }
  .compare th, .compare td { padding: 10px 8px; font-size: .92rem; }
  .logo em { display: none; }
}

@media (max-width: 980px) {
  .credibility-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .credibility li { border-left: 0; }
  .credibility li:last-child { grid-column: 1 / -1; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .journey { grid-template-columns: 1fr; }
}
