:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: rgba(2, 6, 23, 0.62);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-deep: 0 24px 60px -28px rgba(2, 6, 23, 0.45);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
main { display: block; }
.section { padding: 4rem 1.25rem; max-width: 1180px; margin-inline: auto; }
.section--narrow { max-width: 760px; }
.section--quote { max-width: 880px; }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.section__body { font-size: 1.05rem; line-height: 1.75; color: var(--color-secondary); }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; color: var(--color-accent); margin: 0 0 1rem; font-weight: 600; }
@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
}

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 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 .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 8px 24px -20px rgba(2,6,23,0.4); }
.site-header__inner {
  max-width: 1180px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.primary-nav a { font-family: var(--font-heading); font-weight: 500; font-size: .98rem; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; padding: 0; background: transparent; border: 0; }
  .primary-nav ul { flex-direction: row; gap: 2rem; }
}

/* === Hero (split) === */
.hero { position: relative; overflow: hidden; }
.hero-split {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(202, 138, 4, 0.10), transparent 60%),
    linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #334155 100%);
  color: var(--color-neutral-light);
}
.hero-split .eyebrow { color: #FACC15; }
.hero-split__inner {
  max-width: 1180px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding: 4rem 1.25rem 4.5rem;
  align-items: center;
}
.hero-split__text h1 { color: var(--color-neutral-light); }
.hero__sub { color: rgba(248, 250, 252, 0.82); font-size: 1.125rem; max-width: 52ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-split__image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(248, 250, 252, 0.08);
}
@media (min-width: 860px) {
  .hero-split__inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; padding: 6.5rem 2rem 7rem; }
}

.hero-thanks { background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); color: var(--color-neutral-light); padding: 5rem 1.25rem; text-align: center; }
.hero-thanks h1 { color: var(--color-neutral-light); }
.hero-thanks__inner { max-width: 720px; margin-inline: auto; }
.hero-thanks .hero__ctas { justify-content: center; }
.hero-thanks .eyebrow { color: #FACC15; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), #B45309);
  color: var(--color-neutral-light);
  box-shadow: 0 12px 28px -14px rgba(202, 138, 4, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--color-neutral-light); box-shadow: 0 18px 32px -14px rgba(202, 138, 4, 0.85); }
.btn--ghost {
  background: transparent; color: var(--color-neutral-light);
  border-color: rgba(248, 250, 252, 0.35);
}
.btn--ghost:hover { background: rgba(248, 250, 252, 0.10); color: var(--color-neutral-light); transform: translateY(-2px); }
.section .btn--ghost, .pricing-card .btn--ghost { color: var(--color-primary); border-color: var(--color-border); }
.section .btn--ghost:hover, .pricing-card .btn--ghost:hover { background: var(--color-primary); color: var(--color-neutral-light); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === 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: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--shadow-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(2,6,23,0.25); border-color: rgba(202,138,4,0.35); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(202, 138, 4, 0.12); color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: var(--color-secondary); margin: 0; }
.card h3 { margin-bottom: .5rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem 1.5rem; text-align: center; border-left: 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--color-primary); line-height: 1.45; max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-accent); font-weight: 600; font-family: var(--font-heading); font-size: .95rem; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band {
  margin: 4rem 1.25rem; max-width: 1180px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 30%, rgba(202,138,4,0.20), transparent 55%),
    linear-gradient(135deg, #0F172A, #1E293B);
  color: var(--color-neutral-light);
  padding: 3.5rem 1.5rem; text-align: center;
}
.cta-band__inner { max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.78); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band { margin-inline: auto; padding: 4.5rem 2rem; } }
@media (min-width: 1220px) { .cta-band { margin-inline: auto; } }

/* === 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: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(2,6,23,0.28); }
.pricing-card--featured { border: 2px solid var(--color-accent); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  padding: .35rem .75rem; border-radius: 999px; letter-spacing: 0.04em;
}
.pricing-card__plan { font-size: 1.05rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: .35rem; font-weight: 600; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; }
.pricing-card__lede { color: var(--color-secondary); font-size: .98rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .5rem; color: var(--color-secondary); font-size: .96rem; line-height: 1.5; }
.pricing-card__cta { margin-top: auto; }

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

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-heading); font-size: .9rem; font-weight: 500; color: var(--color-primary); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #FFFFFF; color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(202,138,4,0.18); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248,250,252,0.78); padding: 4rem 1.25rem 2rem; margin-top: 4rem; }
.site-footer__grid { max-width: 1180px; margin-inline: auto; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; } }
.site-footer h4 { color: var(--color-neutral-light); font-family: var(--font-heading); font-size: .85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { color: rgba(248,250,252,0.78); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(248,250,252,0.78); margin-bottom: 1.25rem; }
.site-footer__tagline { color: rgba(248,250,252,0.66); margin-top: 1rem; max-width: 26ch; }
.site-footer__legal { margin-top: 1.25rem; }
.site-footer__copy { max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(248,250,252,0.10); font-size: .85rem; color: rgba(248,250,252,0.55); }
.logo--footer img { filter: brightness(0) invert(1); opacity: 0.92; }

/* === 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.25rem 1rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,250,252,0.85); margin: 0 0 .9rem; font-size: .92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .55rem 1rem; font-size: .88rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.12); }
.cookie-banner__prefs label { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: rgba(248,250,252,0.88); }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

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

/* === Misc === */
.form-success { background: rgba(202,138,4,0.12); color: var(--color-primary); padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid rgba(202,138,4,0.35); margin-top: 1rem; }
