:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(15, 23, 42, 0.12);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 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: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); 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.5vw, 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: 720px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); text-decoration: none; line-height: 1; }
.btn--primary { background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(30, 58, 138, 0.6); color: var(--color-neutral-light); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.btn--link { background: transparent; color: var(--color-primary); padding: 0.85rem 0.75rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(248, 250, 252, 0.72); border-bottom: 1px solid transparent; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 4px 24px -12px rgba(2, 6, 23, 0.15); }
.site-header__inner { max-width: 1180px; margin-inline: auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { position: relative; color: var(--color-primary); font-weight: 500; font-size: 0.95rem; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.4rem; color: var(--color-primary); cursor: pointer; }
.primary-nav.is-open { display: flex; flex-direction: column; 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); gap: 1rem; align-items: flex-start; box-shadow: 0 10px 30px -20px rgba(2, 6, 23, 0.25); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; flex-direction: row; box-shadow: none; }
  .nav-toggle { display: none; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero--compact { padding-block: 3.5rem 2rem; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(202, 138, 4, 0.12), transparent 70%), radial-gradient(50% 40% at 20% 20%, rgba(30, 58, 138, 0.14), transparent 70%); z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 1.75rem; 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__visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--color-border); background: var(--color-primary); }
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 4rem; position: relative; }
.section--tint { background: linear-gradient(180deg, rgba(30, 58, 138, 0.04), rgba(15, 23, 42, 0.03)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }
.section p { color: var(--color-muted); font-size: 1.05rem; }
.section .narrow h2 { text-align: center; }
.section .narrow > p { text-align: left; }

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

.card { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(202, 138, 4, 0.12)); color: var(--color-secondary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }

/* === Quote === */
.section--quote { background: var(--color-primary); color: var(--color-neutral-light); }
.section--quote .quote { text-align: center; max-width: 780px; margin-inline: auto; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.4; color: var(--color-neutral-light); }
.quote cite { font-style: normal; color: var(--color-accent); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); text-align: center; }
.cta-band__inner { max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 1.75rem; }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 10px 30px -10px rgba(202, 138, 4, 0.6); color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(202, 138, 4, 0.7); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2.25rem; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-dark); font-weight: 600; font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 999px; letter-spacing: 0.03em; }
.pricing-card__plan { font-size: 1rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 0.5rem; color: var(--color-primary); }
.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.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-muted); font-size: 0.95rem; line-height: 1.5; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; transition: box-shadow 0.2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-primary); font-size: 1.05rem; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-accent); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); font-size: 0.98rem; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; color: var(--color-primary); font-size: 0.92rem; }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.4; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75); padding-top: 3.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.logo--footer img { height: 64px; }
.tagline { margin-top: 0.75rem; max-width: 32ch; color: rgba(248, 250, 252, 0.65); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.site-footer__bottom { border-top: 1px solid rgba(248, 250, 252, 0.1); padding-block: 1.25rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); }

/* === 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: 0 20px 60px -20px rgba(2, 6, 23, 0.6); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248, 250, 252, 0.85); margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn--primary { background: var(--color-accent); color: var(--color-neutral-dark); box-shadow: none; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner .btn--link { color: var(--color-neutral-light); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; } }
