
:root {
  --navy: #0F1231;
  --navy-soft: #1c2050;
  --red: #EF4136;
  --red-deep: #c72e24;
  --ink: #1a1a2e;
  --ink-soft: #5a5f77;
  --line: #e7e8f0;
  --paper: #ffffff;
  --frost: #f7f7fb;
  --shadow-md: 0 8px 24px rgba(15,18,49,0.10), 0 2px 6px rgba(15,18,49,0.06);
  --shadow-lg: 0 24px 60px rgba(15,18,49,0.18), 0 6px 16px rgba(15,18,49,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-weight: 800; color: var(--navy); line-height: 1.2; }
section { padding: 76px 0; }
@media (max-width: 720px) { section { padding: 52px 0; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* Nav (identical to homepage) */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brandmark { display: flex; align-items: center; white-space: nowrap; }
.brandmark .logo-img { height: 56px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 11px 22px; border-radius: 999px; white-space: nowrap; transition: background .15s, transform .15s; }
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }
@media (max-width: 860px) { .nav-links { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; transition: transform .15s, box-shadow .15s, background .15s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }

/* Service hero — utilitarian, not full-bleed photo (per blueprint: service
   pages are more focused/functional than the homepage) */
.svc-hero { background: var(--frost); border-bottom: 1px solid var(--line); padding: 96px 0 88px; }
.svc-hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .svc-hero { padding: 56px 0 48px; } .svc-hero .container { grid-template-columns: 1fr; } }
.svc-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 12px; }
.svc-hero h2.subhead { font-weight: 600; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-top: 14px; line-height: 1.5; }
.svc-hero p.lead { color: var(--ink-soft); margin-top: 16px; max-width: 520px; }
.svc-hero .hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.svc-hero .illus-wrap { display: flex; justify-content: center; }
.svc-hero .illus-wrap img { width: 220px; height: 220px; object-fit: contain; }

/* Problem stat */
.problem-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-md); text-align: center; }
.problem-card .stat { font-size: 3rem; font-weight: 800; color: var(--red); }
.problem-card p { margin-top: 10px; color: var(--ink-soft); }
.problem-card .src { margin-top: 10px; font-size: 0.73rem; color: #9a9db3; }

/* What's included */
.included-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 18px; }
.included-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; background: var(--frost); border-radius: 14px; border: 1px solid var(--line); }
.included-item .num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; }
.included-item h4 { font-size: 1rem; color: var(--navy); }
.included-item p { margin-top: 6px; font-size: 0.9rem; color: var(--ink-soft); }

/* Process */
.process-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; } }
.process-card { background: var(--navy); color: #dcdde8; border-radius: 16px; padding: 28px; }
.process-card .step { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ff9c95; }
.process-card h4 { color: #fff; margin-top: 10px; font-size: 1.05rem; }
.process-card p { margin-top: 10px; font-size: 0.92rem; color: #b9bcd1; }

/* Proof placeholder */
.proof-card { max-width: 760px; margin: 40px auto 0; border: 1.5px dashed var(--line); border-radius: 16px; padding: 32px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; }

/* Pricing (shared pattern) */
.pricing-band { background: var(--frost); }
.pricing-card { max-width: 640px; margin: 40px auto 0; background: #fff; border: 1.5px solid var(--red); border-radius: 20px; padding: 40px; text-align: center; box-shadow: var(--shadow-lg); }
.pricing-card .range { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin-top: 8px; }
.pricing-card .range span { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.pricing-card ul { list-style: none; margin-top: 24px; text-align: left; display: inline-block; }
.pricing-card li { font-size: 0.92rem; color: var(--ink-soft); margin-top: 10px; padding-left: 26px; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* FAQ */
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; }
.faq-item h4 { font-size: 0.98rem; color: var(--navy); }
.faq-item p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* Final CTA */
.cta-band { background: var(--navy); text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 16px auto 0; color: #c7c9de; }
.cta-band .btn { margin-top: 30px; }

/* Footer */
footer { background: #0a0c24; color: #8a8db0; padding: 48px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer-note { max-width: 420px; font-size: 0.83rem; margin-top: 10px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.83rem; color: #b3b6cc; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.76rem; color: #6c6f8f; }

/* ===== MOTION SYSTEM (see ../MOTION-GUIDELINES.md) ===== */
:root {
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-reveal: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero-copy > *, .svc-hero .container > div > * {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn var(--dur-reveal) var(--ease-out) forwards;
}
.hero-copy > *:nth-child(1), .svc-hero .container > div > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2), .svc-hero .container > div > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3), .svc-hero .container > div > *:nth-child(3) { animation-delay: 160ms; }
.hero-copy > *:nth-child(4), .svc-hero .container > div > *:nth-child(4) { animation-delay: 240ms; }
.hero-copy > *:nth-child(5), .svc-hero .container > div > *:nth-child(5) { animation-delay: 320ms; }
.hero-copy > *:nth-child(6) { animation-delay: 400ms; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.pain-grid .reveal:nth-child(2), .position-grid .reveal:nth-child(2), .services-grid .reveal:nth-child(2), .process-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.pain-grid .reveal:nth-child(3), .position-grid .reveal:nth-child(3), .services-grid .reveal:nth-child(3), .process-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.services-grid .reveal:nth-child(5) { transition-delay: 240ms; }
.services-grid .reveal:nth-child(6) { transition-delay: 300ms; }
.ai-stats .reveal:nth-child(2) { transition-delay: 60ms; }
.ai-stats .reveal:nth-child(3) { transition-delay: 120ms; }
.ai-stats .reveal:nth-child(4) { transition-delay: 180ms; }
.faq-list .reveal:nth-child(2) { transition-delay: 60ms; }
.faq-list .reveal:nth-child(3) { transition-delay: 120ms; }
.faq-list .reveal:nth-child(4) { transition-delay: 180ms; }
.included-list .reveal:nth-child(2) { transition-delay: 50ms; }
.included-list .reveal:nth-child(3) { transition-delay: 100ms; }
.included-list .reveal:nth-child(4) { transition-delay: 150ms; }
.included-list .reveal:nth-child(5) { transition-delay: 200ms; }
.btn { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy > *, .svc-hero .container > div > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ===== MOTION SYSTEM (see ../MOTION-GUIDELINES.md) ===== */
:root {
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-reveal: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero-copy > *, .svc-hero .container > div > * {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn var(--dur-reveal) var(--ease-out) forwards;
}
.hero-copy > *:nth-child(1), .svc-hero .container > div > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2), .svc-hero .container > div > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3), .svc-hero .container > div > *:nth-child(3) { animation-delay: 160ms; }
.hero-copy > *:nth-child(4), .svc-hero .container > div > *:nth-child(4) { animation-delay: 240ms; }
.hero-copy > *:nth-child(5), .svc-hero .container > div > *:nth-child(5) { animation-delay: 320ms; }
.hero-copy > *:nth-child(6) { animation-delay: 400ms; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.pain-grid .reveal:nth-child(2), .position-grid .reveal:nth-child(2), .services-grid .reveal:nth-child(2), .process-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.pain-grid .reveal:nth-child(3), .position-grid .reveal:nth-child(3), .services-grid .reveal:nth-child(3), .process-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.services-grid .reveal:nth-child(5) { transition-delay: 240ms; }
.services-grid .reveal:nth-child(6) { transition-delay: 300ms; }
.ai-stats .reveal:nth-child(2) { transition-delay: 60ms; }
.ai-stats .reveal:nth-child(3) { transition-delay: 120ms; }
.ai-stats .reveal:nth-child(4) { transition-delay: 180ms; }
.faq-list .reveal:nth-child(2) { transition-delay: 60ms; }
.faq-list .reveal:nth-child(3) { transition-delay: 120ms; }
.faq-list .reveal:nth-child(4) { transition-delay: 180ms; }
.included-list .reveal:nth-child(2) { transition-delay: 50ms; }
.included-list .reveal:nth-child(3) { transition-delay: 100ms; }
.included-list .reveal:nth-child(4) { transition-delay: 150ms; }
.included-list .reveal:nth-child(5) { transition-delay: 200ms; }
.btn { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy > *, .svc-hero .container > div > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}
