:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(24,24,27,0.08);
  --color-muted: #71717A;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px -12px rgba(0,0,0,0.15);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; padding: 0 1.25rem; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-secondary); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.site-header.scrolled {
  background: rgba(250,250,250,0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(0,0,0,0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: 0.4rem; color: var(--color-primary); cursor: pointer;
}
.primary-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border);
  flex-direction: column; padding: 1rem 1.25rem 1.5rem; gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-primary); padding: 0.6rem 0; font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta { color: var(--color-accent); }

/* === Hero === */
.hero { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 90% 10%, rgba(37,99,235,0.10), transparent 60%),
              radial-gradient(500px 400px at 10% 90%, rgba(37,99,235,0.05), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-thanks { text-align: center; padding: 5rem 0 3rem; }
.hero-thanks .icon-large { color: var(--color-accent); margin: 0 auto 1.5rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #1D4ED8);
  color: var(--color-neutral-light); box-shadow: 0 8px 24px -8px rgba(37,99,235,0.5);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(37,99,235,0.6); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn:focus-visible { outline: 3px solid rgba(37,99,235,0.4); outline-offset: 2px; }

/* === Sections === */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.1rem; }
.section-figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 2.5rem; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  color: var(--color-primary); display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.2); }
.card-link { text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card .icon { color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: 0.98rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, #F4F4F5, #FAFAFA); }
.testimonial {
  margin: 0; padding: 2rem; text-align: center;
  font-family: var(--font-heading);
}
.testimonial p { font-size: 1.35rem; line-height: 1.5; color: var(--color-primary); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-family: var(--font-body); font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  padding: 4rem 0; text-align: center;
  background: linear-gradient(135deg, var(--color-primary), #27272A);
  color: var(--color-neutral-light);
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.75); max-width: 560px; margin: 0 auto 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pricing-card {
  position: relative; padding: 2.25rem; border-radius: var(--radius);
  border: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--color-accent); border-width: 2px;
  box-shadow: 0 20px 60px -20px rgba(37,99,235,0.35);
  transform: translateY(-4px);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
}
.pricing-card__plan { font-size: 1.25rem; margin: 0 0 0.25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 0.75rem; }
.pricing-card__lede { color: var(--color-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; padding: 0.4rem 0; color: var(--color-secondary); align-items: flex-start; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; text-align: center; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border); border-radius: 12px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #fff;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-primary); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-consent { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--color-secondary); align-items: flex-start; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(250,250,250,0.75); display: block; padding: 0.25rem 0; }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-nav { margin-top: 1rem; }
.legal-nav a { font-size: 0.9rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,250,250,0.1); font-size: 0.85rem; color: rgba(250,250,250,0.5); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 8px; border: 1px solid rgba(250,250,250,0.2);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal (scroll animation) === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .header-inner { padding: 1rem 1.5rem; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; padding: 0;
    background: transparent; border: none; box-shadow: none; gap: 1.5rem; align-items: center;
  }
  .primary-nav a { padding: 0.4rem 0; position: relative; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }

  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
  .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
