:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9, 9, 11, 0.10);
  --color-muted: #52525B;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--color-neutral-dark);
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--color-secondary); }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.section__media { margin-block: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 1rem; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(0, 0, 0, 0.12);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  color: var(--color-primary); cursor: pointer;
}
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column; gap: .5rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: .625rem .5rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-neutral-dark); font-weight: 600; }
.primary-nav .nav-cta {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border-radius: 999px;
  padding: .625rem 1.125rem;
  text-align: center;
  margin-top: .25rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; background: transparent;
    flex-direction: row; align-items: center; gap: .25rem;
    border: 0; padding: 0;
  }
  .primary-nav a { padding: .5rem .875rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: .875rem; right: .875rem; bottom: .25rem;
    height: 2px; background: var(--color-neutral-dark);
    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"]:not(.nav-cta)::after { transform: scaleX(1); }
  .primary-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .875rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-secondary));
  color: var(--color-neutral-light);
}
.btn--primary:hover { color: var(--color-neutral-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-accent); transform: translateY(-2px); }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }
.btn:focus-visible { outline: 2px solid var(--color-neutral-dark); outline-offset: 3px; }

/* === Hero — centered === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero__glow {
  position: absolute; inset: -20% 10% auto 10%; height: 60%;
  background: radial-gradient(closest-side, rgba(24, 24, 27, 0.08), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero h1 { max-width: 24ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1.25rem auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__media {
  margin: 3rem auto 0; max-width: 1000px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { aspect-ratio: 16 / 9; object-fit: cover; }
.hero--short { padding-block: 4rem 2rem; }
.hero--short .hero__sub { margin-bottom: 1rem; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Intro / body sections === */
.intro { text-align: center; }
.intro p { font-size: 1.075rem; color: var(--color-secondary); }

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

.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.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: var(--color-accent);
  color: var(--color-neutral-dark);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; }
.card-link { color: inherit; display: block; }
.card-link:hover { color: inherit; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0; padding: 2.5rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4; color: var(--color-neutral-light);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal; font-size: .95rem;
  color: rgba(250, 250, 250, 0.7);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 250, 250, 0.8); max-width: 52ch; margin: 0 auto 2rem; }
.cta-band .btn--primary {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.cta-band .btn--primary:hover { color: var(--color-neutral-dark); }

/* === Pricing === */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 1080px; margin-inline: auto;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-neutral-light);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-neutral-dark);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute; top: -.75rem; right: 1.25rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px;
}
.pricing-card__plan { font-size: 1.15rem; margin-bottom: .5rem; }
.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 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li {
  display: flex; gap: .625rem; align-items: flex-start;
  padding: .5rem 0;
  border-top: 1px solid var(--color-border);
  font-size: .95rem; color: var(--color-secondary);
}
.pricing-card__features li:first-child { border-top: 0; }
.pricing-card__features span { color: var(--color-neutral-dark); font-weight: 700; flex: 0 0 auto; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow .2s var(--ease);
}
.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;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--color-muted);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 1rem 0 0; color: var(--color-secondary); }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band__body { font-size: 1.05rem; color: var(--color-secondary); margin-block: 1.5rem 2rem; }

/* === Contact form === */
.contact-form {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label {
  font-family: var(--font-heading); font-weight: 600; font-size: .875rem;
  color: var(--color-neutral-dark);
}
.form-field input, .form-field textarea {
  font: inherit; color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .75rem .875rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--color-neutral-dark);
  box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.08);
}
.form-consent {
  display: flex; gap: .625rem; align-items: flex-start;
  font-size: .875rem; color: var(--color-muted);
}
.form-consent input { margin-top: .25rem; flex: 0 0 auto; }
.form-consent a { color: var(--color-neutral-dark); text-decoration: underline; }
.form-success {
  background: var(--color-accent);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1rem 1.25rem; color: var(--color-neutral-dark);
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 250, 250, 0.75);
  padding-block: 4rem 2rem;
  margin-top: 4rem;
}
.site-footer h3 {
  font-size: .85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-neutral-light); margin-bottom: 1rem;
}
.site-footer a { color: rgba(250, 250, 250, 0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer__tagline { margin-top: .75rem; color: rgba(250, 250, 250, 0.6); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1.25rem; }
.site-footer__legal { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
.site-footer__legal a { font-size: .875rem; }
.site-footer__base {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
  font-size: .875rem; color: rgba(250, 250, 250, 0.5);
}
.site-footer__base p { color: inherit; margin: 0; }
.logo--footer img { filter: invert(1) brightness(1.2); }

/* === 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 { color: rgba(250, 250, 250, 0.85); margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--primary { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(250, 250, 250, 0.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(250, 250, 250, 0.08); }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(250, 250, 250, 0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

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