:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5175;
  --color-surface: #ffffff;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(49, 46, 129, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(238, 242, 255, 0.72);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s var(--ease-hover), background .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 30px -20px rgba(49, 46, 129, 0.35);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: .98rem;
  padding: .4rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 25px -12px rgba(99, 102, 241, .6); color: #fff; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease-hover), opacity .2s; }
.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); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--color-border);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); width: 100%; }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav .nav-cta { text-align: center; margin-top: .5rem; }
}

/* === Main layout === */
main { display: block; }
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow {
  max-width: 760px;
}
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section__head p { color: var(--color-muted); }
.eyebrow {
  font-family: var(--font-heading);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 .8rem;
}
.lede { color: var(--color-muted); font-size: 1.08rem; margin-bottom: 1.25rem; }

/* === Hero card === */
.hero.hero-card {
  position: relative;
  padding: 4rem 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-card__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(129, 140, 248, 0.25), transparent 60%),
    radial-gradient(500px 340px at 85% 80%, rgba(34, 197, 94, 0.14), transparent 60%);
  z-index: 0;
}
.hero-card__box {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
  z-index: 1;
}
.hero-card__box h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--color-muted);
  max-width: 58ch;
  margin-bottom: 1.6rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-card__figure {
  margin: 1.5rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-card__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero.hero-card { padding: 5.5rem 2rem 3rem; }
  .hero-card__box { padding: 4rem 3.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .25s var(--ease-hover), background .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(99, 102, 241, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(99, 102, 241, 0.75); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .14), rgba(34, 197, 94, .16));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '\201E';
  position: absolute;
  top: -.5rem; left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-secondary);
  opacity: .35;
}
.testimonial p { font-size: 1.1rem; line-height: 1.7; color: var(--color-text); margin: 0 0 1rem; }
.testimonial cite { color: var(--color-muted); font-style: normal; font-weight: 600; }

/* === CTA band === */
.cta-band {
  padding: 1.5rem 1.25rem;
}
.cta-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 80% 30%, rgba(34,197,94,.25), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
}
.cta-band .btn-primary:hover { color: var(--color-primary); }
@media (min-width: 768px) { .cta-band__inner { padding: 3.5rem 3rem; } }

/* === Split section === */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
.split__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px -20px rgba(34, 197, 94, .35);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .3rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-card__plan {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin: 0 0 .4rem;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin: 0 0 .5rem;
  line-height: 1.1;
}
.pricing-card__lede { color: var(--color-muted); font-size: .96rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; font-size: .96rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: box-shadow .25s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-band .contact-band__inner,
.contact-band {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.contact-band p a { font-weight: 500; }
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-info h2, .contact-form h2 { margin-bottom: 1rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.info-list li { color: var(--color-muted); }
.info-list strong { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.contact-form {
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s, background .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-success { color: var(--color-accent); font-weight: 600; margin-top: 1rem; }
@media (min-width: 700px) { .contact-form { padding: 2.5rem; } }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,.82);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer__cols {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .site-footer__cols { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 1rem; max-width: 30ch; color: rgba(255,255,255,.72); }
.site-footer nav ul, .legal-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.site-footer nav a, .legal-links a, .site-footer address a {
  color: rgba(255,255,255,.82);
}
.site-footer nav a:hover, .legal-links a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.copyright {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  text-align: center;
}

/* === 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-md);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.4);
  max-width: 640px;
}
@media (min-width: 700px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cookie-banner__actions .btn-primary { background: var(--color-accent); color: #fff; box-shadow: none; }
.cookie-banner__actions .btn-primary:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; align-self: flex-start; }

/* === Reveal === */
.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; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
