:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1E1B29;
  --color-muted: #5F566E;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.4);
}

/* === Base === */
*, *::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;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; height: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Header === */
.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, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 1.25rem;
  max-width: 1160px; margin-inline: auto;
}
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  background: transparent; border: 0; padding: .5rem; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; justify-content: center; align-items: center;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }
.site-nav {
  position: fixed; inset: 0 0 auto 0; top: 88px;
  background: var(--color-neutral-light);
  padding: 1.25rem; border-bottom: 1px solid var(--color-border);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a { display: block; padding: .6rem .25rem; color: var(--color-ink); font-weight: 500; font-family: var(--font-heading); }
.site-nav a.is-active { color: var(--color-primary); }
.btn--nav { display: inline-block; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 1.5rem; padding: 0; background: transparent; border: 0; }
  .site-nav ul { flex-direction: row; gap: 1.75rem; margin: 0; }
  .site-nav a { position: relative; padding: .25rem 0; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .site-nav a:hover, .site-nav a.is-active { text-decoration: none; }
  .site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border-radius: 999px; 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:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: rgba(76, 29, 149, 0.25);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--accent {
  background: var(--color-accent); color: #fff; box-shadow: var(--shadow-md);
}
.btn--accent:hover { box-shadow: var(--shadow-lg); }

/* === Hero (saas-spotlight) === */
.hero {
  position: relative; overflow: hidden;
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.12), transparent 60%);
}
.hero__glow {
  position: absolute; inset: -20% 0 auto 0;
  height: 500px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.14), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.22), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  font-size: 1.125rem; color: var(--color-muted);
  max-width: 56ch; margin: 1rem auto 2rem;
}
.hero__cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__visual {
  margin: 2rem 0 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.social-proof {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  font-size: .875rem; color: var(--color-muted); font-family: var(--font-heading);
}
@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
  .hero__visual { aspect-ratio: 21 / 9; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--tint { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }

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

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; padding: 1.75rem;
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.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.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }

.stat h3 { font-size: 1.35rem; color: var(--color-primary); }

/* === Quote === */
.section--quote { padding: 3rem 0; }
.quote {
  margin: 0; padding: 2rem;
  border-left: 4px solid var(--color-accent);
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .9rem; }

/* === CTA band === */
.cta-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; margin: 3rem 0;
}
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; }
}

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  margin-bottom: .75rem; transition: box-shadow .2s;
}
.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: 2rem;
  position: relative;
}
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary); transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Form === */
.form {
  background: #fff; padding: 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.form__row { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form label { font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.form input, .form select, .form textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--color-border);
  border-radius: 10px; background: var(--color-neutral-light);
  color: var(--color-ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px; background: #fff;
}
.form-consent {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .85rem; color: var(--color-muted);
  margin: 1rem 0 1.25rem;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Hours table === */
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: .85rem; }
.tagline { color: rgba(255, 255, 255, 0.75); font-size: .95rem; }
.logo--footer img { filter: brightness(0) invert(1); height: 60px; }
.site-footer__bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .85rem; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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: var(--shadow-lg); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .2s;
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner [data-cookie-save] { background: var(--color-neutral-light); color: var(--color-neutral-dark); align-self: flex-start; margin-top: .25rem; }

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