/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1147;
  --color-muted: #635a7d;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -18px rgba(76, 29, 149, 0.35);
  --shadow-lg: 0 30px 60px -24px rgba(76, 29, 149, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.muted { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10000; }

/* === Header / nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  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 .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 30px -20px rgba(76,29,149,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: .5rem; display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a.nav-cta { color: var(--color-neutral-light); background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); padding: .6rem 1.1rem; border-radius: 999px; text-align: center; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 28px -12px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(124, 58, 237, 0.7); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(249, 115, 22, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { background: rgba(124,58,237,0.06); border-color: var(--color-primary); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 3.5rem 4rem; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(249,115,22,0.14), transparent 55%), radial-gradient(circle at 20% 80%, rgba(167,139,250,0.22), transparent 60%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-inner .lede { max-width: 52ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-figure { margin: 2.5rem auto 0; max-width: 1000px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .hero { padding-block: 6rem 5rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, rgba(167,139,250,0.09), rgba(250,245,255,0)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.section .narrow h2 { text-align: center; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .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 .25s var(--ease), box-shadow .25s var(--ease); color: var(--color-ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover { text-decoration: none; }
.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.14), rgba(249,115,22,0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card-portrait { margin: -1.75rem -1.75rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 1/1; }
.card-portrait img { width: 100%; height: 100%; object-fit: cover; }

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

/* === Quote === */
.quote { border: 0; margin: 0; padding: 2rem 1.5rem; text-align: center; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.4; color: var(--color-neutral-dark); margin-bottom: 1.25rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; margin: 0; }
.cta-band h2 { color: #fff; }
.cta-band .cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.75rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.1rem 1.4rem; 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: 1.75rem; }
.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; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .85rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card address { font-style: normal; color: var(--color-muted); }
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-ink); transition: border .2s; }
.form-row input:focus, .form-row textarea:focus { outline: 0; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .25rem; }
.form-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 1rem 1.25rem; border-radius: 10px; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .85rem; }
.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: .4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.tagline { color: rgba(255,255,255,0.7); font-size: .95rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.logo-footer img { filter: brightness(0) invert(1); height: 64px; }
.copyright { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .85rem; color: rgba(255,255,255,0.65); }

/* === 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.4rem; 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: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; padding: .55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer; font-size: .88rem; font-weight: 600; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255,255,255,0.14); color: #fff; }
.cookie-banner [data-cookie-settings] { background: transparent; color: rgba(255,255,255,0.85); text-decoration: underline; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.18); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); color: #fff; margin-top: .4rem; }

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

.risk-disclaimer { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.risk-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.risk-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.risk-disclaimer__icon { font-size: 1rem; }
