:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1B0B3A;
  --color-muted: #6B5B95;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(27, 11, 58, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); 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; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8125rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); }
.text-center { text-align: center; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, #F3E8FF 0%, var(--color-neutral-light) 100%); }
.section--quote { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header / Nav === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 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 .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 20px rgba(76, 29, 149, 0.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 56px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 8px; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: 0.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; position: relative; }
.primary-nav a.is-active { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; }
  .primary-nav a { padding: 0.25rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); font-size: 1rem; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.7); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -10px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a10; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-neutral-dark); }
.btn--ghost:hover { background: var(--color-neutral-dark); color: #fff; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 30%, rgba(249, 115, 22, 0.14), transparent 60%), radial-gradient(50% 50% at 20% 20%, rgba(167, 139, 250, 0.25), transparent 60%); z-index: -1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 56ch; margin: 1rem auto 2rem; font-size: 1.125rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Grid layouts === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* === Cards === */
.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); }
.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: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(249,115,22,0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Split layout === */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }

/* === Blockquote === */
blockquote { margin: 0; padding: 0; font-size: 1.2rem; line-height: 1.55; color: var(--color-neutral-dark); }
blockquote p { font-family: var(--font-heading); font-weight: 500; font-style: italic; max-width: 62ch; margin: 0 auto 1rem; }
blockquote cite { display: block; font-style: normal; font-size: 0.9375rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%); color: #fff; padding-block: 4rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 20%, rgba(249, 115, 22, 0.25), transparent 60%); }
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .btn--accent { margin-top: 1rem; }

/* === 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 .25s var(--ease), box-shadow .25s var(--ease); }
.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: -12px; right: 20px; background: var(--color-accent); color: #fff; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__plan { margin: 0 0 0.25rem; font-size: 1.25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 0.75rem; font-family: var(--font-heading); }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.tick { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; }
.pricing-card__cta .btn { width: 100%; text-align: center; }

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

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field select, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); color: var(--color-ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.2); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; 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: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { flex-direction: row; gap: 1rem; flex-wrap: wrap; }
.footer__base { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__base p { margin: 0; }
.logo--footer { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 0.5rem 0.75rem; display: inline-block; margin-bottom: 1rem; }

/* === 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); border-radius: var(--radius); padding: 1.25rem 1.5rem; 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.9375rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); font-weight: 600; font-size: 0.875rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; border: 0; background: var(--color-primary); color: #fff; font-weight: 600; }

/* === 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; } }
