/* ---------- Theme tokens ---------- */
/* Default: white/black/red, skewed light (more white than black) */
:root {
  --accent: #e4002b;
  --accent-ink: #ffffff;
  --bg: #ffffff;
  --bg-raised: #f7f5f4;
  --bg-card: #ffffff;
  --text: #0a0a0a;
  --text-muted: #545454;
  --border: #e2e0df;
  --radius: 16px;
  --shadow: 0 20px 60px -25px rgba(10,10,10,0.18);
  --maxw: 1120px;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}

[data-theme="dark"] {
  --accent: #ff3b4e;
  --bg: #0a0a0a;
  --bg-raised: #141414;
  --bg-card: #181818;
  --text: #f7f7f5;
  --text-muted: #a8a8a8;
  --border: #2a2a2a;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #ff3b4e;
    --bg: #0a0a0a;
    --bg-raised: #141414;
    --bg-card: #181818;
    --text: #f7f7f5;
    --text-muted: #a8a8a8;
    --border: #2a2a2a;
    --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink);
  padding: 12px 16px; z-index: 100; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; line-height: 1.1; }
.wordmark span { display: block; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-raised); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { min-height: 88vh; display: flex; align-items: center; padding: 60px 0 40px; position: relative; }
.hero-inner { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 18px; }

.rotating-headline {
  position: relative;
  min-height: 6.6em;
  display: grid;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.15;
}
.rotating-headline .word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  filter: blur(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
  align-self: center;
}
.rotating-headline .word.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.rotating-headline .word br { display: block; content: ""; }

.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); opacity: .5; }
.scroll-cue span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--text), transparent); animation: scrollcue 2s infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Grid ---------- */
.grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Value trio ---------- */
.value-trio { padding: 20px 0 70px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.value-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.value-card h2 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing { padding: 70px 0; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lead { max-width: 640px; margin: 0 auto 40px; text-align: center; font-size: 18px; color: var(--text-muted); }
.pricing-card { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 760px) { .pricing-card { grid-template-columns: 1fr 1fr; } }
.pricing-col { padding: 40px; }
.pricing-col-cost { background: color-mix(in srgb, var(--accent) 10%, var(--bg-card)); border-top: 1px solid var(--border); }
@media (min-width: 760px) { .pricing-col-cost { border-top: none; border-left: 1px solid var(--border); } }
.pricing-col h2 { font-size: 22px; margin-bottom: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text-muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.check-list li::after { content: "✓"; position: absolute; left: 3px; top: 1px; font-size: 12px; font-weight: 900; color: var(--accent-ink); }
.price-flat { color: var(--text-muted); margin: 0 0 6px; }
.price-amount { font-size: 52px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.price-amount span { font-size: 16px; font-weight: 600; color: var(--text-muted); }
.price-note { color: var(--text-muted); margin: 0 0 24px; }
.fine-print { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 24px; }

/* ---------- Section titles ---------- */
.section-title { font-size: clamp(26px, 4vw, 38px); text-align: center; margin-bottom: 40px; }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; }
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); overflow: hidden; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; color: var(--text); font-weight: 700; font-size: 16px;
  padding: 20px 22px; cursor: pointer;
}
.acc-trigger .plus { flex: none; width: 22px; height: 22px; position: relative; }
.acc-trigger .plus::before, .acc-trigger .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.acc-trigger .plus::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.acc-trigger .plus::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); transition: transform .3s var(--ease); }
.acc-item[data-open="true"] .plus::after { transform: translateX(-50%) rotate(90deg) scale(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel-inner { overflow: hidden; }
.acc-item[data-open="true"] .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); white-space: pre-line; }

/* ---------- Why choose us ---------- */
.why { padding: 80px 0; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.why-typed { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 18px; }
.typed-word { color: var(--accent); }
.typed-word::after { content: "|"; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.why-static { font-size: clamp(18px, 2.4vw, 22px); color: var(--text-muted); margin-bottom: 56px; }
.why-static strong { color: var(--text); }

.stats { text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-num, .stat-suffix { font-size: clamp(34px, 5vw, 48px); font-weight: 800; color: var(--accent); display: inline; }
.stat-label { color: var(--text-muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 80px 0; text-align: center; }
.testimonials .eyebrow { text-align: center; }
.testimonial {
  margin: 0; padding: 30px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: left; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial p { font-size: 17px; margin: 0 0 20px; }
.testimonial footer { display: flex; flex-direction: column; }
.testimonial cite { font-style: normal; font-weight: 700; }
.testimonial footer span { color: var(--text-muted); font-size: 14px; }

/* ---------- Next steps ---------- */
.next-steps { padding: 80px 0; }
.steps { max-width: 560px; margin: 0 auto; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--text-muted); font-size: 17px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--accent); font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.steps-closer { text-align: center; max-width: 520px; margin: 40px auto 0; font-size: 19px; font-weight: 700; }

/* ---------- Form ---------- */
.form-section { padding: 80px 0 100px; background: var(--bg-raised); border-top: 1px solid var(--border); }
.intake-form { max-width: 640px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

fieldset.field { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
fieldset.field legend { padding: 0 6px; }
.radio { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; color: var(--text-muted); margin-bottom: 10px; cursor: pointer; }
.radio:last-child { margin-bottom: 0; }
.radio input { margin-top: 3px; accent-color: var(--accent); }

.fun-part { margin: 28px 0; padding-top: 10px; border-top: 1px dashed var(--border); }
.fun-part h3 { font-size: 16px; margin: 20px 0 16px; color: var(--text-muted); font-weight: 700; }

.btn-submit { width: 100%; }
.form-note { text-align: center; font-weight: 700; min-height: 1.4em; margin-top: 14px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 30px; text-align: center; }
.footer-tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 800; margin-bottom: 50px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; text-align: center; margin-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 10px; }
.footer-col p { margin: 0 0 4px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 13px; margin: 0; }
