:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2E;
  --color-muted: #4B6B7F;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { 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-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--narrow { padding-block: 3rem; }
.section--narrow .container { max-width: 780px; }
.section--muted { background: var(--color-neutral-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header p { color: var(--color-muted); }
.lede { font-size: 1.125rem; line-height: 1.7; color: var(--color-muted); }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin-bottom: 1rem; }

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

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease-hover), background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px -12px rgba(12, 74, 110, 0.18);
  border-bottom-color: var(--color-border);
}
.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; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  padding: .5rem; border-radius: var(--radius-sm); cursor: pointer;
}
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a {
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  color: var(--color-neutral-dark); position: relative; padding-block: .35rem;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.25rem 1.5rem; border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

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

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

/* === Hero card === */
.hero-card-section {
  position: relative; padding-block: 3rem 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(249, 115, 22, 0.10), transparent 45%),
    var(--color-neutral-light);
  overflow: hidden;
}
@media (min-width: 768px) { .hero-card-section { padding-block: 5rem 6rem; } }

.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
@media (min-width: 768px) {
  .hero-card { padding: 4rem; text-align: center; }
}
.hero-card h1 { margin-bottom: 1rem; }
.hero-card__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-inline: auto; margin-bottom: 1.75rem; }
.hero-card__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-card__ctas { justify-content: center; } }
.hero-card__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

.card {
  background: #fff; padding: 1.75rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s;
}
.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: linear-gradient(135deg, var(--color-neutral-light), #fff);
  color: var(--color-primary); margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}
.card p { color: var(--color-muted); margin: 0; }

/* === Two-column === */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.two-col__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.two-col__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === Testimonial === */
.testimonial { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff; padding-block: 4rem;
}
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) {
  .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.pricing-card {
  position: relative;
  padding: 2.25rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-hover), box-shadow .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  padding: .35rem .75rem; border-radius: 999px;
}
.pricing-card__plan { margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--color-neutral-dark); margin-bottom: .75rem; 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: .6rem; align-items: flex-start; padding-block: .4rem; font-size: .95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #fff;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600;
  cursor: pointer; 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: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary); line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.field textarea { resize: vertical; min-height: 140px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-heading); }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(240, 249, 255, 0.12);
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
@media (min-width: 768px) { .site-footer .logo img { height: 72px; } }
.site-footer__tagline { margin-top: .75rem; color: rgba(240, 249, 255, 0.7); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding-block: .25rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__legal { margin-top: 1rem; font-size: .85rem; }
.site-footer__base { padding-top: 1.5rem; text-align: center; color: rgba(240, 249, 255, 0.6); font-size: .85rem; }

/* === Reveal (scroll) === */
.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; } }

/* === 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-md); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
  font-size: .95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 249, 255, 0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-banner__actions button:hover { background: rgba(240, 249, 255, 0.1); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: .5rem;
  padding: .5rem 1rem; border-radius: 999px; border: 0;
  background: var(--color-accent); color: #fff; font-weight: 600; cursor: pointer;
  font-family: var(--font-heading);
}
