:root {
  --color-primary: #0EA5E9;
  --color-secondary: #0284C7;
  --color-accent: #10B981;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1200px;
  --wrap-narrow: 760px;
}

/* === Reset === */
*, *::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-neutral-dark); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .75rem 1rem; z-index: 10000; }
.skip:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(12, 74, 110, 0.72); }

/* === Header / nav === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(240, 249, 255, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(12, 74, 110, 0.08); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 24px -12px rgba(12, 74, 110, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid rgba(12, 74, 110, 0.15); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); background: #fff; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(12, 74, 110, 0.06); }
.primary-nav.open { display: flex; }
.primary-nav a { padding: .65rem .75rem; border-radius: 10px; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a:hover { background: var(--color-neutral-light); color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; padding: 0; background: transparent; box-shadow: none; border: none; align-items: center; gap: .25rem; }
  .primary-nav a { padding: .5rem .8rem; }
  .primary-nav a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--color-primary); 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); }
  .primary-nav .nav-cta { padding: .55rem 1.1rem; margin-left: .5rem; }
  .primary-nav .nav-cta::after { display: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; font-family: var(--font-heading); font-weight: 600; font-size: .98rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(14, 165, 233, 0.65); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(16, 185, 129, 0.7); color: #fff; }
.btn-ghost { background: rgba(14, 165, 233, 0.08); color: var(--color-secondary); border-color: rgba(14, 165, 233, 0.25); }
.btn-ghost:hover { background: rgba(14, 165, 233, 0.14); transform: translateY(-2px); color: var(--color-primary); }

/* === Hero card === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.12), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(14, 165, 233, 0.15), transparent 60%), var(--color-neutral-light); z-index: -1; }
.hero-card__box { max-width: 880px; margin-inline: auto; padding: 2.25rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(12, 74, 110, 0.06); text-align: left; }
.hero-card__box--slim { text-align: center; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: .78rem; color: var(--color-accent); font-weight: 700; margin-bottom: .75rem; }
.hero-card__box h1 { margin-bottom: 1rem; }
.lede { font-size: 1.1rem; color: rgba(12, 74, 110, 0.78); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-card__box--slim .lede { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-card__box--slim .cta-row { justify-content: center; }
.hero-card__figure { margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 5rem; }
  .hero-card__box { padding: 3.5rem 3.5rem; }
  .lede { font-size: 1.2rem; }
}

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

/* === Cards === */
.card { background: #fff; border: 1px solid rgba(12, 74, 110, 0.08); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); color: var(--color-neutral-dark); display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p { color: rgba(12, 74, 110, 0.75); font-size: .95rem; margin-bottom: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.15)); color: var(--color-primary); margin-bottom: 1rem; }
a.card-link { text-decoration: none; }
a.card-link:hover { color: var(--color-neutral-dark); }
a.card-link:hover h3 { color: var(--color-primary); }

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

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

/* === Intro paragraph === */
.intro h2 { text-align: center; }
.intro p { font-size: 1.05rem; color: rgba(12, 74, 110, 0.82); }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card { position: relative; background: #fff; border: 1px solid rgba(12, 74, 110, 0.12); border-radius: var(--radius); padding: 2.25rem 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: 0 20px 50px -20px rgba(16, 185, 129, 0.35); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.pricing-card__plan { font-size: 1.15rem; margin: 0 0 .5rem; color: var(--color-secondary); }
.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 .5rem; letter-spacing: -0.02em; }
.pricing-card__lede { font-size: .95rem; color: rgba(12, 74, 110, 0.72); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; font-size: .95rem; }
.pricing-card__features span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid rgba(12, 74, 110, 0.1); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; 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; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-primary); transition: transform .25s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: rgba(12, 74, 110, 0.78); font-size: .95rem; }

/* === Contact === */
.contact-form { background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(12, 74, 110, 0.08); }
.contact-form .field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.contact-form label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid rgba(12, 74, 110, 0.18); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgba(12, 74, 110, 0.8); margin: .5rem 0 1.25rem; font-family: var(--font-body); font-weight: 400; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-band { background: var(--color-neutral-light); border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; }
.contact-band h2 { color: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(240, 249, 255, 0.12); padding-top: 1rem; margin-top: 1rem !important; font-size: .88rem; }
.tagline { color: rgba(240, 249, 255, 0.7); font-size: .95rem; margin-top: .5rem; }
.logo-footer img { height: 64px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(240, 249, 255, 0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(240, 249, 255, 0.6); }
.footer-bottom p { margin: 0; }

/* === 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); 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: .92rem; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 249, 255, 0.2); background: transparent; color: var(--color-neutral-light); font-family: var(--font-heading); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s, transform .2s; }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-reject] { background: rgba(240, 249, 255, 0.08); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; border: none; background: var(--color-primary); color: #fff; cursor: pointer; font-family: var(--font-heading); font-weight: 600; }

/* === Reveal 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; } .site-header { transition: none; } .btn, .card, .pricing-card { transition: none; } }
