:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.08);
  --color-muted: #64748B;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.015em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -18px rgba(2, 6, 23, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .875rem; }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: none; border: 0; color: var(--color-primary); cursor: pointer; padding: .25rem; }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-primary); font-weight: 500; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.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; gap: 1rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); align-items: flex-start; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: 0; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #0284C7); color: #fff; box-shadow: 0 10px 24px -12px rgba(3, 105, 161, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(3, 105, 161, 0.75); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -20% auto -20%; height: 70%; background: radial-gradient(60% 60% at 50% 30%, rgba(3, 105, 161, 0.12), transparent 70%); z-index: -1; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .lede { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: var(--color-secondary); }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-media { max-width: 1000px; margin: 0 auto; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/10; object-fit: cover; }
.hero-slim { padding-block: 4rem 2rem; }
@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Intro === */
.intro { text-align: center; }
.intro h2 { max-width: 22ch; margin-inline: auto; }
.intro p { color: var(--color-secondary); font-size: 1.075rem; max-width: 60ch; margin-inline: auto; }

/* === Cards grid === */
.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-hover), box-shadow .25s var(--ease-hover); }
.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: rgba(3, 105, 161, 0.1); color: var(--color-accent); margin-bottom: 1rem; }
.card p { color: var(--color-secondary); font-size: .975rem; margin: 0; }
.card h3 { margin-bottom: .5rem; }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { margin: 0; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--color-primary); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === FAQ === */
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: .75rem; transition: box-shadow .2s var(--ease-hover); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); font-family: var(--font-heading); font-size: 1.05rem; padding: .25rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-weight: 400; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 .25rem; color: var(--color-secondary); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), 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(248, 250, 252, 0.85); font-size: 1.075rem; }
.cta-band .btn-primary { background: var(--color-neutral-light); color: var(--color-primary); }
.cta-band .btn-primary:hover { background: #fff; }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; background: #fff; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: 0 20px 44px -18px rgba(3, 105, 161, 0.35); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.25rem; background: var(--color-accent); color: var(--color-neutral-light); padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-secondary); font-weight: 600; margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--color-primary); margin: 0 0 .25rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-secondary); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: .6rem; padding: .4rem 0; font-size: .95rem; color: var(--color-secondary); border-bottom: 1px solid var(--color-border); }
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__features span { color: var(--color-accent); font-weight: 700; flex: 0 0 auto; }
.pricing-card__cta { margin-top: auto; text-decoration: none; }
.pricing-card__cta .btn { width: 100%; text-align: center; }

/* === Contact band === */
.contact-band__body { text-align: center; }
.contact-band__body p { color: var(--color-secondary); }
.contact-band__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.contact-band__img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; }
.contact-band__info p { margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-band__grid { grid-template-columns: 1fr 1fr; } }

/* === Contact form === */
.contact-form h2 { text-align: center; margin-bottom: 2rem; }
.contact-form form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; color: var(--color-primary); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-secondary); line-height: 1.4; }
.form-consent input { margin-top: .2rem; flex: 0 0 auto; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.8); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: .75rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: .2rem 0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .tagline { color: rgba(248, 250, 252, 0.7); margin-top: .5rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-links a { font-size: .9rem; }
.copyright { text-align: center; margin-top: 2rem; font-size: .85rem; color: rgba(248, 250, 252, 0.55); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* === 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: 0 auto;
  font-size: .95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font-family: var(--font-body); font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248,250,252,0.2); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .15s; }
.cookie-banner__actions button:hover { background: rgba(248,250,252,0.08); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #0284C7; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); border: 0; color: var(--color-neutral-light); padding: .5rem 1rem; border-radius: 999px; cursor: pointer; }

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