/* ---------- Tokens ---------- */
:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-50: #eff6ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-deep: #0f172a;
  --success: #047857;
  --error: #b91c1c;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);
  --container: 1120px;
  --pad: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section-y); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin: 0 0 12px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 12px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary-50); }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.primary-nav ul {
  list-style: none; display: flex; gap: 28px; margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--ink-soft); font-weight: 500; font-size: .96rem;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--primary); }
.nav-cta { padding: 10px 18px; min-height: 40px; font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--line); border-radius: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .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); }
  .mobile-nav {
    display: flex; flex-direction: column;
    padding: 8px var(--pad) 16px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .mobile-nav a {
    padding: 14px 0; color: var(--ink); font-weight: 500;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }
  .mobile-nav a:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0b1220;
  color: #fff;
  overflow: hidden;
  padding-block: clamp(96px, 14vw, 168px);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -2;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(95deg, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .55) 45%, rgba(8, 14, 28, .15) 100%),
    linear-gradient(to top, rgba(8, 14, 28, .65) 0%, rgba(8, 14, 28, 0) 55%);
}
.hero-inner { position: relative; max-width: 780px; }
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 248, 235, .92);
  margin: 0 0 32px;
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.hero .btn-primary {
  background: var(--accent);
  color: #1a1205;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(245, 158, 11, .35);
}
.hero .btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #1a1205;
  box-shadow: 0 8px 24px rgba(217, 119, 6, .45);
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 240, 210, .9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.trust-strip span:not([aria-hidden]) { white-space: nowrap; }

/* ---------- Pain points ---------- */
.pain { background: var(--bg-alt); }
.pain h2 { margin-bottom: 40px; max-width: 720px; }
.pain-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pain-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.pain-list h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pain-list p { margin: 0; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.services-grid li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.services-grid li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.services-grid .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 16px;
}
.services-grid .icon svg { width: 22px; height: 22px; }
.services-grid h3 { margin: 0 0 6px; }
.services-grid p { margin: 0; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 28px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
}
.price-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.price-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: #1a1205;
  font-size: .78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, .3);
}
.price-card header { padding: 0; }
.price-card h3 { font-size: 1.25rem; margin: 0 0 6px; }
.price-card .price { margin: 0 0 6px; }
.price-card .price .amount {
  font-size: 2.4rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em;
}
.price-card .tagline { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px;
  color: var(--ink-soft); font-size: .98rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px;
  background: var(--primary-50);
  border-radius: 50%;
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: .55em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.pricing-note {
  text-align: center;
  max-width: 720px; margin: 0 auto 12px;
  color: var(--ink-soft);
}
.pricing-honest {
  text-align: center;
  max-width: 720px; margin: 0 auto;
  color: var(--muted); font-size: .95rem;
}

/* ---------- Examples ---------- */
.examples-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.example-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.example-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.example-thumb { aspect-ratio: 16 / 10; background: var(--bg-alt); }
.example-thumb svg { width: 100%; height: 100%; }
.example-body { padding: 22px; }
.example-tag {
  margin: 0 0 6px;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); font-weight: 600;
}
.example-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.example-body p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.process-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.process-steps .step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 14px;
}
.process-steps h3 { margin: 0 0 6px; }
.process-steps p { margin: 0; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-inner { max-width: 720px; }
.about-inner h2 { margin-bottom: 20px; }
.about-inner p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: box-shadow .15s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-inner { max-width: 720px; }
.contact-form {
  display: grid; gap: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .15);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.alt-contact {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.alt-contact a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  min-height: 48px;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.alt-contact a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.alt-contact svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .8);
  padding-block: 32px;
  font-size: .92rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px;
}
.site-footer p { margin: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }

/* ---------- Focus visibility (everywhere) ---------- */
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 4px; }
