/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  /* Dark surfaces */
  --bg:             oklch(10.5% 0.010 195);
  --bg-alt:         oklch(13.5% 0.009 195);
  --surface:        oklch(16%   0.011 195);
  --surface-raised: oklch(20%   0.009 195);

  /* Text */
  --ink:            oklch(96%   0.007 195);
  --muted:          oklch(74%   0.016 195);
  --subtle:         oklch(55%   0.012 195);

  /* Borders */
  --line:           oklch(24%   0.013 195);
  --line-strong:    oklch(32%   0.016 195);

  /* Brand teal — brighter on dark for contrast */
  --brand:          oklch(67%   0.143 174);
  --brand-strong:   oklch(78%   0.135 174);
  --brand-dim:      oklch(50%   0.115 174);
  --brand-glow:     oklch(67%   0.143 174 / 0.28);
  --brand-subtle:   oklch(67%   0.143 174 / 0.10);

  /* Pain red — vivid, high-contrast */
  --pain-bg:        oklch(14%   0.030 22);
  --pain-border:    oklch(34%   0.060 22);
  --pain-icon-bg:   oklch(24%   0.070 22);
  --pain-icon:      oklch(68%   0.190 26);
  --pain-heading:   oklch(92%   0.040 26);
  --pain-body:      oklch(80%   0.028 26);

  /* Shadows (visible on dark) */
  --shadow-sm: 0 2px 12px oklch(0% 0 0 / 0.40);
  --shadow-md: 0 8px 32px  oklch(0% 0 0 / 0.60);
  --shadow-lg: 0 20px 60px oklch(0% 0 0 / 0.70);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }

/* ─── BASE ───────────────────────────────────────────────────────────────── */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.10;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

/* ─── LAYOUT SHELL ───────────────────────────────────────────────────────── */
.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── TOPBAR ─────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: oklch(10.5% 0.010 195 / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topnav { flex: 1; justify-content: center; }

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: oklch(10% 0.010 195);
  font-weight: 800;
  font-size: 15px;
  background: var(--brand);
  flex-shrink: 0;
}

.topnav { display: flex; gap: 4px; }

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}

.topnav a:hover {
  color: var(--ink);
  background: var(--surface);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--brand);
  color: oklch(10% 0.010 195);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 150ms ease,
    box-shadow 200ms ease,
    transform 120ms ease;
}

.btn:hover {
  background: var(--brand-strong);
  box-shadow: 0 0 24px var(--brand-glow), 0 4px 16px oklch(0% 0 0 / 0.3);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--brand-dim);
  box-shadow: none;
  color: var(--ink);
}

.btn-full { width: 100%; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% -20%,  oklch(67% 0.143 174 / 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 85% 110%,  oklch(67% 0.143 174 / 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(67% 0.143 174 / 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 80%);
}

.hero-compact {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
}

.hero-content {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: oklch(14% 0.012 195 / 0.7);
  padding: 40px;
  backdrop-filter: blur(8px);
}

.hero-proof {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: oklch(14% 0.012 195 / 0.7);
  padding: 28px;
  backdrop-filter: blur(8px);
}

/* Hero entrance animation */
.hero-content {
  animation: hero-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}
.hero-proof {
  animation: hero-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 800;
}

.hero-copy {
  margin: 0 0 28px;
  color: oklch(82% 0.014 195);
  font-size: 19px;
  line-height: 1.65;
  max-width: 560px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Proof box */
.proof-label {
  margin: 0 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--brand);
}

.proof-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.proof-tool {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 150ms ease;
}

.proof-tool:hover { border-color: var(--brand-dim); }

.proof-icon {
  font-size: 15px;
  color: var(--brand);
  line-height: 1;
}

.proof-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 14px;
}

.proof-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Hero stats */
.hero-stat-row {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Proof steps mini (dakwerkers) */
.proof-steps-mini {
  display: grid;
  gap: 10px;
}

.proof-step-mini {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.psm-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: oklch(10% 0.010 195);
  font-weight: 800;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── PAGE SECTIONS ──────────────────────────────────────────────────────── */
.page-section {
  padding: 80px 0;
}

.page-section.bg-alt {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 40px;
}

.section-header .eyebrow {
  margin-bottom: 8px;
}

.section-sub {
  margin: 10px 0 0;
  color: oklch(80% 0.014 195);
  font-size: 18px;
  font-weight: 500;
  max-width: 520px;
  line-height: 1.6;
}

/* ─── PAIN GRID ──────────────────────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pain-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.pain-item {
  border: 1px solid var(--pain-border);
  border-radius: 16px;
  background: var(--pain-bg);
  padding: 26px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.pain-item:hover {
  border-color: var(--pain-icon);
  box-shadow: 0 4px 24px oklch(0% 0 0 / 0.3);
}

.pain-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pain-icon-bg);
  color: var(--pain-icon);
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--pain-border);
}

.pain-item h3 {
  color: var(--pain-heading);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.pain-item p {
  color: var(--pain-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* ─── NUMBERED STEPS ─────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 30px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.step:hover {
  border-color: var(--brand-dim);
  box-shadow: 0 8px 32px oklch(0% 0 0 / 0.4);
  transform: translateY(-2px);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: oklch(10% 0.010 195);
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--brand-glow);
}

.step h3 {
  color: var(--ink);
  margin: 0 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── FEATURE SHOWCASE ───────────────────────────────────────────────────── */
.feature-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  align-items: start;
}

.feature-main {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 34px;
}

.feature-main h3 {
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-main > p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}

.feature-checks {
  display: grid;
  gap: 11px;
}

.fcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.fcheck span:first-child {
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-aside {
  display: grid;
  gap: 10px;
}

.feature-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-alt);
  padding: 20px;
  transition: border-color 200ms ease;
}

.feature-item:hover { border-color: var(--brand-dim); }

.feature-item h4 {
  color: var(--ink);
  font-size: 14px;
  margin: 0 0 6px;
}

.feature-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.pricing-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--brand-dim);
  background: oklch(16% 0.018 195);
  box-shadow: 0 0 0 1px var(--brand-dim), var(--shadow-md);
  animation: featured-pulse 4s ease-in-out infinite;
}

.pricing-card.featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--brand), 0 0 40px var(--brand-glow), var(--shadow-lg);
}

@keyframes featured-pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--brand-dim), 0 0 20px oklch(67% 0.143 174 / 0.12), var(--shadow-md); }
  50%       { box-shadow: 0 0 0 1px var(--brand),     0 0 40px oklch(67% 0.143 174 / 0.22), var(--shadow-md); }
}

.pricing-tag {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: oklch(10% 0.010 195);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.price-amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1;
}

.feature-list li {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
}

.pricing-extras {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.extra-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-alt);
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 260px;
  align-items: baseline;
}

.extra-item strong {
  color: var(--ink);
  font-weight: 700;
}

.extra-item span {
  color: var(--muted);
}

/* ─── NICHES ─────────────────────────────────────────────────────────────── */
.niche-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.niche-tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.niche-tag.active {
  border-color: var(--brand-dim);
  background: oklch(16% 0.015 195);
  color: var(--brand-strong);
}

.niche-tag:hover:not(.active) {
  border-color: var(--line-strong);
  color: var(--ink);
}

.niche-note {
  font-size: 13px;
  color: var(--muted);
}

.niche-note a {
  color: var(--brand);
  text-decoration: none;
}

.niche-note a:hover { color: var(--brand-strong); }

/* ─── TESTIMONIAL ────────────────────────────────────────────────────────── */
.testimonial {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 48px 56px;
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 80px;
  line-height: 1;
  color: var(--brand-dim);
  font-weight: 800;
  opacity: 0.5;
}

.testimonial-quote {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 22px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--brand);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.01em;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-items: start;
}

.faq-stack details:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.faq-stack details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px 22px;
  transition: border-color 200ms ease, background 200ms ease;
}

.faq-stack details[open] {
  background: var(--bg-alt);
  border-color: var(--brand-dim);
}

.faq-stack details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-stack details summary::-webkit-details-marker { display: none; }

.faq-stack details summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
  transition: transform 200ms ease;
}

.faq-stack details[open] summary::after {
  content: "+";
  transform: rotate(45deg);
}

.faq-stack details p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── CTA PANEL ──────────────────────────────────────────────────────────── */
.cta-panel {
  border: 1px solid oklch(48% 0.115 174);
  border-radius: 22px;
  padding: 60px 48px;
  background: linear-gradient(135deg, oklch(30% 0.105 174) 0%, oklch(21% 0.082 174) 100%);
  box-shadow: 0 0 80px oklch(67% 0.143 174 / 0.22), 0 8px 32px oklch(0% 0 0 / 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.cta-content { max-width: 620px; }

.cta-content .eyebrow { margin-bottom: 12px; }

.cta-content h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.8vw, 46px);
}

.cta-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-panel .eyebrow { color: oklch(78% 0.065 174); letter-spacing: 0.14em; }
.cta-panel .cta-content p { color: oklch(84% 0.022 174); }

/* Buttons on teal: white-fill primary, white-outline ghost */
.cta-panel .btn {
  background: oklch(96% 0.004 195);
  color: oklch(22% 0.082 174);
  border-color: transparent;
  box-shadow: 0 2px 10px oklch(0% 0 0 / 0.22);
}
.cta-panel .btn:hover {
  background: oklch(99% 0.001 195);
  color: oklch(18% 0.080 174);
  box-shadow: 0 4px 20px oklch(0% 0 0 / 0.30);
  transform: translateY(-1px);
}
.cta-panel .btn-ghost {
  background: transparent;
  border-color: oklch(76% 0.038 174);
  color: oklch(94% 0.005 195);
  box-shadow: none;
}
.cta-panel .btn-ghost:hover {
  background: oklch(96% 0.004 195 / 0.10);
  border-color: oklch(88% 0.020 174);
  color: oklch(98% 0.002 195);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  transition: color 150ms ease, background 150ms ease;
}

.footer a:hover {
  color: var(--ink);
  background: var(--surface);
}

.footer-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.footer p strong {
  color: var(--ink);
  font-size: 15px;
}

/* ─── FORM ELEMENTS ──────────────────────────────────────────────────────── */
form { display: grid; gap: 16px; }

label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: none;
  -webkit-appearance: none;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--line-strong);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--brand-dim);
  box-shadow: 0 0 0 3px oklch(67% 0.143 174 / 0.15);
}

input::placeholder,
textarea::placeholder { color: var(--subtle); }

textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23567a7a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

select option { background: var(--surface); color: var(--ink); }

.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

#form-feedback {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 14px;
  color: oklch(63% 0.160 26);
}

.success {
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 14px;
}

/* ─── DAKWERKERS FORM LAYOUT ─────────────────────────────────────────────── */
.form-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: start;
}

.form-main {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-header h2 { margin: 0 0 6px; font-size: 22px; }

.form-header p { color: var(--muted); font-size: 14px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.full-width { grid-column: 1 / -1; }

.form-sidebar {
  display: grid;
  gap: 12px;
}

.sidebar-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 22px;
}

.sidebar-block h3 {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 11px;
  color: var(--brand);
}

.next-steps { display: grid; gap: 14px; }

.next-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ns-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: oklch(10% 0.010 195);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 0 10px var(--brand-glow);
}

.next-step strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
  font-weight: 700;
}

.next-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.sidebar-trust {
  background: oklch(14% 0.015 195);
  border-color: var(--brand-dim);
}

.trust-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.trust-quote::before { content: '\201C'; color: var(--brand-dim); }
.trust-quote::after  { content: '\201D'; color: var(--brand-dim); }

.trust-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.sidebar-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--brand);
}

.type-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.type-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
}

/* Bottom pitch strip */
.bottom-pitch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 32px 40px;
  box-shadow: var(--shadow-sm);
}

.bottom-pitch-text h2 { margin: 0 0 6px; }

.bottom-pitch-text p { color: var(--muted); max-width: 400px; font-size: 15px; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
/* Reveal only active when JS has loaded (html.js-reveal class) */
.js-reveal .trust-bar,
.js-reveal .pain-item,
.js-reveal .step,
.js-reveal .pricing-card,
.js-reveal .feature-main,
.js-reveal .feature-item,
.js-reveal .testimonial,
.js-reveal .section-header,
.js-reveal .faq-stack details,
.js-reveal .sidebar-block,
.js-reveal .bottom-pitch,
.js-reveal .cta-panel,
.js-reveal .extra-item {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity  500ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    border-color 200ms ease,
    box-shadow   200ms ease;
}

.trust-bar.is-visible,
.pain-item.is-visible,
.step.is-visible,
.pricing-card.is-visible,
.feature-main.is-visible,
.feature-item.is-visible,
.testimonial.is-visible,
.section-header.is-visible,
.faq-stack details.is-visible,
.sidebar-block.is-visible,
.bottom-pitch.is-visible,
.cta-panel.is-visible,
.extra-item.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
.pain-item:nth-child(2)  { --reveal-delay: 70ms; }
.pain-item:nth-child(3)  { --reveal-delay: 140ms; }
.step:nth-child(2)       { --reveal-delay: 90ms; }
.step:nth-child(3)       { --reveal-delay: 180ms; }
.pricing-card:nth-child(2) { --reveal-delay: 80ms; }
.pricing-card:nth-child(3) { --reveal-delay: 160ms; }
.feature-item:nth-child(2)  { --reveal-delay: 80ms; }
.feature-item:nth-child(3)  { --reveal-delay: 160ms; }
.faq-stack details:nth-child(2) { --reveal-delay: 50ms; }
.faq-stack details:nth-child(3) { --reveal-delay: 100ms; }
.faq-stack details:nth-child(4) { --reveal-delay: 150ms; }
.faq-stack details:nth-child(5) { --reveal-delay: 200ms; }
.faq-stack details:nth-child(6) { --reveal-delay: 250ms; }
.sidebar-block:nth-child(2) { --reveal-delay: 90ms; }
.sidebar-block:nth-child(3) { --reveal-delay: 180ms; }
.extra-item:nth-child(2)    { --reveal-delay: 80ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-reveal .pain-item, .js-reveal .step, .js-reveal .pricing-card,
  .js-reveal .feature-main, .js-reveal .feature-item, .js-reveal .testimonial,
  .js-reveal .section-header, .js-reveal .faq-stack details, .js-reveal .sidebar-block,
  .js-reveal .bottom-pitch, .js-reveal .cta-panel, .js-reveal .extra-item,
  .hero-content, .hero-proof, .pricing-card.featured {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: border-color 200ms ease, box-shadow 200ms ease !important;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .topnav { display: none; }

  .hero { padding: 60px 0 36px; }
  .hero-compact { padding: 48px 0 28px; }

  .hero-grid,
  .feature-showcase,
  .form-layout,
  .proof-tools {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 14px; }

  .pain-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-stack {
    grid-template-columns: 1fr;
  }

  .faq-stack details:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .pain-grid-2 { grid-template-columns: 1fr; }

  .cta-panel {
    padding: 36px 28px;
    align-items: flex-start;
    text-align: left;
  }

  .cta-actions { justify-content: flex-start; }

  .bottom-pitch {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .testimonial {
    padding: 32px 28px;
    text-align: left;
  }

  .testimonial::before { display: none; }

  .form-main { padding: 22px; }

  h1 { font-size: clamp(34px, 10vw, 50px); }
  h2 { font-size: clamp(24px, 7.5vw, 34px); }
  .hero-copy { font-size: 16px; }

  .page-section { padding: 56px 0; }

  .form-grid { grid-template-columns: 1fr; }

  .pricing-grid { gap: 10px; }

  .extra-item { min-width: unset; }

  .footer-inner { flex-direction: column; align-items: flex-start; padding: 24px 0; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .steps     { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── SCROLL PROGRESS BAR ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  z-index: 200;
  box-shadow: 0 0 10px var(--brand-glow), 0 0 4px var(--brand);
  transition: width 80ms linear;
  pointer-events: none;
}

/* ─── ENHANCED FOOTER ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-top: 0;
}

.footer-top {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  align-items: start;
}

.footer-brand .brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.footer-social a:hover {
  border-color: var(--brand-dim);
  color: var(--brand);
  background: oklch(16% 0.015 195);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin: 0 0 6px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 0;
  transition: color 150ms ease;
  width: fit-content;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 13px;
  color: var(--subtle);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--subtle);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-bottom-links a:hover { color: var(--muted); }

/* ─── SHIMMER ON FEATURED CARD ────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(320%)  skewX(-15deg); }
}

.pricing-card.featured {
  overflow: hidden;
  position: relative;
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(78% 0.135 174 / 0.06), transparent);
  animation: shimmer 4s ease-in-out infinite 2s;
  pointer-events: none;
}

/* ─── STEP NUMBER GLOW ON HOVER ────────────────────────────────────────────── */
.step:hover .step-num {
  box-shadow: 0 0 28px var(--brand-glow), 0 0 8px var(--brand);
  transform: scale(1.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

/* ─── TRUST BAR (dakwerkers) ───────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 24px;
}

.trust-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  gap: 4px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.trust-stat:last-child { border-right: none; }

.trust-stat strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}

.trust-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

/* ─── DAKWERKERS FORM VISUAL UPGRADE ──────────────────────────────────────── */
.form-main {
  border-color: var(--line-strong);
}

.form-header {
  position: relative;
}

.form-header::before {
  content: '';
  position: absolute;
  top: -32px;
  left: -32px;
  right: -32px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong), transparent);
  border-radius: 0 0 0 0;
}

/* Label text brighter */
label {
  color: oklch(85% 0.012 195);
  font-size: 14px;
}

/* ─── GLOBAL TEXT BRIGHTNESS OVERRIDES ───────────────────────────────────── */
.proof-tagline {
  color: oklch(78% 0.014 195);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.proof-tool {
  color: oklch(88% 0.010 195);
  font-size: 14px;
  font-weight: 600;
}

.price-desc {
  color: oklch(80% 0.014 195);
  font-size: 15px;
}

.feature-list li {
  color: oklch(82% 0.014 195);
  font-size: 15px;
  font-weight: 500;
}

.step h3 {
  font-size: 19px;
}

.step p {
  color: oklch(80% 0.014 195);
  font-size: 15px;
  line-height: 1.7;
}

.fcheck {
  color: oklch(82% 0.014 195);
  font-size: 15px;
}

.feature-item h4 {
  font-size: 16px;
}

.feature-item p {
  color: oklch(78% 0.012 195);
  font-size: 14px;
}

.testimonial-quote {
  color: oklch(92% 0.007 195);
  font-size: 20px;
}

.faq-stack details summary {
  font-size: 16px;
}

.faq-stack details p {
  color: oklch(80% 0.014 195);
  font-size: 15px;
}

.cta-content p {
  color: oklch(80% 0.014 195);
  font-size: 16px;
}

.next-step p {
  color: oklch(78% 0.012 195);
  font-size: 14px;
}

.next-step strong {
  font-size: 15px;
}

.trust-stat span {
  font-size: 13px;
  color: oklch(78% 0.014 195);
}

/* ─── FOOTER RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .trust-bar {
    flex-wrap: wrap;
  }

  .trust-stat {
    flex: 1 1 calc(50% - 1px);
    min-width: 120px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT THEME — Contractor Clean
   Triggered by: <html data-theme="light">
   ═══════════════════════════════════════════════════════════════════════════ */

[data-theme="light"] {
  /* Surfaces */
  --bg:             oklch(97.5% 0.004 195);
  --bg-alt:         oklch(94%   0.005 195);
  --surface:        oklch(100%  0.001 195);
  --surface-raised: oklch(96%   0.004 195);

  /* Text — flipped */
  --ink:            oklch(13%   0.012 195);
  --muted:          oklch(40%   0.016 195);
  --subtle:         oklch(60%   0.010 195);

  /* Borders */
  --line:           oklch(86%   0.010 195);
  --line-strong:    oklch(72%   0.014 195);

  /* Brand teal — deeper for light bg contrast */
  --brand:          oklch(46%   0.130 174);
  --brand-strong:   oklch(36%   0.115 174);
  --brand-dim:      oklch(58%   0.105 174);
  --brand-glow:     oklch(46%   0.130 174 / 0.15);
  --brand-subtle:   oklch(46%   0.130 174 / 0.07);

  /* Pain red — light version */
  --pain-bg:        oklch(98.5% 0.010 22);
  --pain-border:    oklch(88%   0.028 22);
  --pain-icon-bg:   oklch(92%   0.040 22);
  --pain-icon:      oklch(46%   0.185 26);
  --pain-heading:   oklch(28%   0.070 26);
  --pain-body:      oklch(38%   0.042 26);

  /* Shadows — visible on light */
  --shadow-sm: 0 2px 8px  oklch(20% 0.012 195 / 0.08);
  --shadow-md: 0 6px 24px oklch(20% 0.012 195 / 0.12);
  --shadow-lg: 0 14px 44px oklch(20% 0.012 195 / 0.16);
}

/* Body background */
[data-theme="light"] body {
  background:
    radial-gradient(900px 560px at 15% -15%, oklch(46% 0.130 174 / 0.05) 0%, transparent 65%),
    radial-gradient(600px 360px at 85% 110%, oklch(46% 0.130 174 / 0.03) 0%, transparent 60%),
    var(--bg);
}

/* Topbar */
[data-theme="light"] .topbar {
  background: oklch(97.5% 0.004 195 / 0.90);
  border-bottom-color: var(--line);
}

[data-theme="light"] .topnav a { color: var(--muted); }
[data-theme="light"] .topnav a:hover { color: var(--ink); background: var(--bg-alt); }

/* Hero cards */
[data-theme="light"] .hero-content,
[data-theme="light"] .hero-proof {
  background: oklch(100% 0.001 195 / 0.80);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 900px 600px at 15% -20%, oklch(46% 0.130 174 / 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 85% 110%, oklch(46% 0.130 174 / 0.03) 0%, transparent 60%);
}

[data-theme="light"] .hero::after {
  background-image: radial-gradient(circle, oklch(46% 0.130 174 / 0.05) 1px, transparent 1px);
}

/* Text on teal — flip to white (brand is now dark teal on light bg) */
[data-theme="light"] .btn { color: oklch(98% 0.002 195); }
[data-theme="light"] .brand-mark { color: oklch(98% 0.002 195); }
[data-theme="light"] .step-num   { color: oklch(98% 0.002 195); }
[data-theme="light"] .ns-num     { color: oklch(98% 0.002 195); }
[data-theme="light"] .psm-num    { color: oklch(98% 0.002 195); }
[data-theme="light"] .badge      { color: oklch(98% 0.002 195); }

/* Hero text — previously bright, now dark */
[data-theme="light"] .hero-copy     { color: oklch(36% 0.016 195); }
[data-theme="light"] .proof-tagline { color: oklch(42% 0.014 195); font-weight: 600; }
[data-theme="light"] .proof-tool    { color: oklch(22% 0.012 195); }
[data-theme="light"] .proof-step-mini span:last-child { color: oklch(38% 0.014 195); }

/* Steps */
[data-theme="light"] .step { background: var(--surface); }
[data-theme="light"] .step p { color: oklch(38% 0.014 195); }
[data-theme="light"] .step:hover { border-color: var(--brand-dim); }

/* Feature section */
[data-theme="light"] .feature-main  { background: var(--surface); }
[data-theme="light"] .feature-item  { background: var(--bg-alt); }
[data-theme="light"] .feature-item p { color: oklch(40% 0.012 195); }
[data-theme="light"] .fcheck        { color: oklch(34% 0.014 195); }

/* Pricing cards */
[data-theme="light"] .pricing-card         { background: var(--surface); }
[data-theme="light"] .pricing-card.featured {
  background: oklch(97% 0.012 174);
  border-color: var(--brand);
}
[data-theme="light"] .pricing-card.featured::after { display: none; }
[data-theme="light"] .price-desc    { color: oklch(40% 0.014 195); }
[data-theme="light"] .feature-list li { color: oklch(36% 0.014 195); }
[data-theme="light"] .extra-item    { background: var(--bg-alt); }
[data-theme="light"] .extra-item span { color: oklch(40% 0.014 195); }

/* FAQ */
[data-theme="light"] .faq-stack details         { background: var(--surface); }
[data-theme="light"] .faq-stack details[open]   { background: oklch(97% 0.008 195); }
[data-theme="light"] .faq-stack details summary { color: var(--ink); }
[data-theme="light"] .faq-stack details p       { color: oklch(38% 0.014 195); }

/* Testimonial */
[data-theme="light"] .testimonial        { background: oklch(97% 0.010 174); border-color: oklch(86% 0.018 174); }
[data-theme="light"] .testimonial-quote  { color: oklch(16% 0.012 195); }
[data-theme="light"] .testimonial::before { color: oklch(72% 0.060 174); }

/* CTA panel */
[data-theme="light"] .cta-panel {
  background: linear-gradient(135deg, oklch(44% 0.125 174) 0%, oklch(34% 0.105 174) 100%);
  border-color: oklch(52% 0.130 174);
  box-shadow: 0 0 80px oklch(46% 0.130 174 / 0.20), 0 8px 32px oklch(0% 0 0 / 0.15);
}
[data-theme="light"] .cta-panel h2 { color: oklch(98% 0.002 195); }
[data-theme="light"] .cta-panel .eyebrow { color: oklch(86% 0.055 174); }
[data-theme="light"] .cta-panel .cta-content p { color: oklch(88% 0.018 174); }
[data-theme="light"] .cta-panel .btn {
  background: oklch(98% 0.002 195);
  color: oklch(26% 0.090 174);
  box-shadow: 0 2px 10px oklch(0% 0 0 / 0.14);
}
[data-theme="light"] .cta-panel .btn:hover {
  background: oklch(100% 0.001 195);
  color: oklch(20% 0.090 174);
}
[data-theme="light"] .cta-panel .btn-ghost {
  background: transparent;
  border-color: oklch(84% 0.035 174);
  color: oklch(98% 0.002 195);
}
[data-theme="light"] .cta-panel .btn-ghost:hover {
  background: oklch(98% 0.002 195 / 0.15);
  border-color: oklch(92% 0.018 174);
  color: oklch(100% 0.001 195);
}

/* Niches */
[data-theme="light"] .niche-tag        { background: var(--surface); color: oklch(38% 0.014 195); }
[data-theme="light"] .niche-tag.active { background: oklch(94% 0.015 174); color: var(--brand); border-color: var(--brand-dim); }

/* Section subs */
[data-theme="light"] .section-sub { color: oklch(36% 0.014 195); }

/* Ghost button — needs darker border on light bg */
[data-theme="light"] .btn-ghost {
  border-color: oklch(52% 0.018 195);
  color: var(--ink);
}
[data-theme="light"] .btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

/* Form elements */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: var(--subtle); }

/* Sidebar blocks */
[data-theme="light"] .sidebar-block      { background: var(--surface); }
[data-theme="light"] .sidebar-trust      { background: oklch(96% 0.014 174); border-color: oklch(82% 0.030 174); }
[data-theme="light"] .trust-quote        { color: oklch(28% 0.014 195); }
[data-theme="light"] .trust-author       { color: var(--brand); }
[data-theme="light"] .next-step p        { color: oklch(40% 0.012 195); }
[data-theme="light"] .next-step strong   { color: var(--ink); }
[data-theme="light"] .type-tags span     { background: var(--bg-alt); color: oklch(38% 0.014 195); }

/* Trust bar */
[data-theme="light"] .trust-bar  { background: var(--surface); }
[data-theme="light"] .trust-stat span { color: oklch(40% 0.014 195); }

/* Bottom pitch */
[data-theme="light"] .bottom-pitch      { background: var(--surface); }
[data-theme="light"] .bottom-pitch-text p { color: oklch(38% 0.014 195); }

/* Footer */
[data-theme="light"] .footer     { background: var(--bg-alt); border-top-color: var(--line); }
[data-theme="light"] .footer-top { border-bottom-color: var(--line); }
[data-theme="light"] .footer-brand p { color: oklch(40% 0.014 195); }
[data-theme="light"] .footer-col a   { color: oklch(40% 0.014 195); }
[data-theme="light"] .footer-col a:hover { color: var(--ink); }
[data-theme="light"] .footer-bottom-inner p { color: oklch(54% 0.010 195); }
[data-theme="light"] .footer-bottom-links a { color: oklch(54% 0.010 195); }
[data-theme="light"] .footer a           { color: oklch(40% 0.014 195); }
[data-theme="light"] .footer-social a   { color: oklch(42% 0.014 195); }

/* ─── THEME TOGGLE BUTTON ─────────────────────────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
  flex-shrink: 0;
  font-family: inherit;
}

.theme-toggle:hover {
  border-color: var(--brand-dim);
  background: var(--surface);
  color: var(--brand);
}

/* ─── TOPBAR ACTIONS GROUP ────────────────────────────────────────────────── */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* ─── MOBILE MENU ─────────────────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  padding: 8px 7px;
  flex-shrink: 0;
  transition: border-color 150ms ease, background 150ms ease;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}

.menu-toggle:hover { border-color: var(--brand-dim); background: var(--surface); }
.menu-toggle:hover span { background: var(--ink); }

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: oklch(10% 0.010 195 / 0.99);
  border-top: 1px solid var(--line);
  padding-bottom: 20px;
}

.mobile-nav.is-open { display: block; }

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 150ms ease, background 150ms ease;
}

.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link:active { color: var(--ink); background: oklch(14% 0.010 195); }

.mobile-nav-cta { padding: 16px 20px 0; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .topbar-cta-desktop { display: none; }
}

[data-theme="light"] .mobile-nav { background: oklch(97.5% 0.004 195 / 0.99); }
[data-theme="light"] .mobile-nav-link:hover { background: var(--bg-alt); }

/* ─── SMALL PHONE (≤ 480px) ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .shell { padding: 0 16px; }
  body { font-size: 16px; }

  h1 { font-size: clamp(28px, 8.5vw, 40px); }

  .hero { padding: 40px 0 22px; }
  .hero-compact { padding: 34px 0 18px; }
  .hero-content { padding: 22px; }
  .hero-proof   { padding: 18px 20px; }
  .hero-copy { font-size: 15px; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .hero-stat-row { gap: 14px; }
  .hero-stat strong { font-size: 22px; }

  .page-section { padding: 40px 0; }
  .section-header { margin-bottom: 26px; }
  .section-sub { font-size: 15px; }

  .pain-item { padding: 18px 20px; }
  .step { padding: 20px 22px; }
  .pricing-card { padding: 20px; }
  .feature-main { padding: 20px 22px; }
  .feature-item { padding: 16px 18px; }

  .price-amount { font-size: 32px; }

  .cta-panel { padding: 20px 22px; gap: 18px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-content p { font-size: 14px; }

  .testimonial { padding: 22px 18px; }
  .testimonial-quote { font-size: 16px; }

  .bottom-pitch { padding: 20px 22px; gap: 18px; }
  .bottom-pitch .btn { width: 100%; justify-content: center; }

  .form-main { padding: 18px 20px; }
  .form-grid { gap: 12px; }

  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { padding: 32px 0 24px; }

  .trust-bar { flex-direction: column; border-radius: 10px; }
  .trust-stat { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .trust-stat:last-child { border-bottom: none; }
}

/* ─── MOBILE FOOTER POLISH OVERRIDES ───────────────────────────────────── */
@media (max-width: 980px) {
  .footer-top {
    padding: 34px 0 20px;
  }

  .footer-top-inner {
    gap: 22px;
  }

  .footer-brand {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    background: var(--surface);
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-col {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: var(--surface);
  }

  .footer-col a {
    display: block;
    padding: 6px 0;
  }

  .footer-bottom {
    padding: 12px 0 18px;
  }

  .footer-bottom-inner {
    gap: 10px;
  }

  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 24px 0 16px;
  }

  .footer-brand {
    padding: 14px;
    border-radius: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-col {
    padding: 12px;
  }

  .footer-col-title {
    font-size: 12px;
  }

  .footer-col a {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 10px 0 14px;
  }

  .footer-bottom-inner p {
    font-size: 12px;
  }
}
