:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(30, 58, 138, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 20px -12px rgba(30, 58, 138, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 12px; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; gap: 0.25rem; align-items: center; }
.primary-nav a { position: relative; padding: 0.5rem 0.85rem; font-weight: 500; color: var(--color-neutral-dark); border-radius: 10px; }
.primary-nav a::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.35rem; 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: var(--color-primary); color: #fff; padding: 0.55rem 1rem; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: 0 20px 40px -20px rgba(30, 58, 138, 0.25); }
.primary-nav.is-open a { padding: 0.75rem 0.5rem; }
.primary-nav.is-open a::after { display: none; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.35rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 25px -12px rgba(30, 64, 175, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(30, 64, 175, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #052e14; box-shadow: 0 10px 25px -12px rgba(34, 197, 94, 0.6); }
.btn-accent:hover { background: #16a34a; color: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (split) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem; background: radial-gradient(circle at 15% 20%, rgba(34, 197, 94, 0.08), transparent 55%), linear-gradient(180deg, var(--color-neutral-light), #fff); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.hero-meta { font-size: 0.9rem; color: var(--color-muted); }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-thanks { padding-block: 5rem 3rem; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: linear-gradient(180deg, #fff, var(--color-neutral-light) 40%, #fff); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 0.75rem; }

/* === Grids / cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.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: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
@media (min-width: 900px) { .card-wide { grid-column: span 2; } }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: var(--color-neutral-light); border-radius: var(--radius-lg); border-left: 4px solid var(--color-accent); }
.quote p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; margin-block: 2rem 0; }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band__meta { font-size: 0.95rem; margin-top: 0.5rem !important; }
@media (min-width: 800px) { .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s var(--ease-hover), box-shadow .2s 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: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #052e14; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.35rem 0.7rem; border-radius: 999px; }
.pricing-card__plan { font-family: var(--font-heading); color: var(--color-neutral-dark); margin-bottom: 0.25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0.25rem 0 1rem; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--color-text); font-size: 0.98rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; transition: box-shadow .2s var(--ease-hover); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; 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-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer .logo img { height: 60px; filter: brightness(1.5); }
.site-footer .tagline { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; }
.site-footer h4 { color: #fff; margin-bottom: 0.75rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, 0.75); line-height: 1.6; margin-bottom: 1rem; }
.legal-links { margin-top: 0.75rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); 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); box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal on scroll === */
.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; } html { scroll-behavior: auto; } }
