/* === Tokens === */
:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(9,9,11,0.06);
  --shadow-md: 0 12px 40px -12px rgba(9,9,11,0.18);
  --shadow-lg: 0 20px 60px -20px rgba(9,9,11,0.28);
  --border: 1px solid rgba(9,9,11,0.10);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-primary); background: var(--color-neutral-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--color-secondary); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.container.center { text-align: center; }
.section { padding-block: 4rem; }
.section-tint { background: linear-gradient(180deg, #F4F4F5 0%, #FAFAFA 100%); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { max-width: 60ch; margin-inline: auto; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin: 0 0 1rem; }

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

/* === Header / Nav === */
.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(250,250,250,0.72); border-bottom: 1px solid rgba(9,9,11,0.06); transition: background .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 4px 20px -8px rgba(9,9,11,0.12); }
.nav-inner { max-width: 1240px; margin-inline: auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo-footer img { height: 72px; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-primary); font-weight: 500; font-size: 0.95rem; position: relative; }
.primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a:hover { text-decoration: none; }
.nav-cta { background: var(--color-primary); color: var(--color-neutral-light) !important; padding: 0.55rem 1rem; border-radius: 999px; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s; }
.primary-nav.is-open { display: flex; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo-footer img { height: 80px; }
}
@media (min-width: 960px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 959px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(250,250,250,0.98); backdrop-filter: blur(16px); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 0.75rem; border-bottom: 1px solid rgba(9,9,11,0.08); }
  .primary-nav a { padding: 0.5rem 0; }
}

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; background:
  radial-gradient(ellipse 60% 60% at 85% 20%, rgba(37,99,235,0.10), transparent 70%),
  radial-gradient(ellipse 50% 50% at 10% 80%, rgba(37,99,235,0.06), transparent 70%),
  linear-gradient(180deg, #FAFAFA 0%, #F4F4F5 100%);
}
.hero-compact { padding: 3rem 0 2rem; }
.hero-grid { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy { order: 1; }
.hero-visual { order: 2; }
.hero-visual img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); border: 1px solid rgba(9,9,11,0.06); }
.hero .sub { font-size: 1.125rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 900px) {
  .hero { padding: 6rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-inline: 2rem; }
  .hero-visual img { aspect-ratio: 4/5; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary) 0%, #27272A 100%); color: var(--color-neutral-light); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent) 0%, #1D4ED8 100%); color: var(--color-neutral-light); box-shadow: 0 8px 24px -8px rgba(37,99,235,0.5); }
.btn-accent:hover { box-shadow: 0 12px 32px -8px rgba(37,99,235,0.6); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: rgba(9,9,11,0.15); }
.btn-ghost:hover { border-color: var(--color-primary); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Grids & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin-bottom: 0; color: var(--color-secondary); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(37,99,235,0.10); color: var(--color-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem 1.5rem; text-align: center; background: #fff; border-radius: var(--radius-lg); border: var(--border); box-shadow: var(--shadow-sm); }
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-primary); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-size: 0.95rem; color: var(--color-secondary); font-weight: 600; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary) 0%, #27272A 100%); color: var(--color-neutral-light); text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.75); max-width: 55ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === 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: #fff; padding: 2.25rem; border-radius: var(--radius); border: var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; 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(37,99,235,0.35); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 999px; letter-spacing: 0.04em; }
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); margin-bottom: 0.5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--color-neutral-dark); margin-bottom: 1rem; letter-spacing: -0.02em; }
.pricing-card__lede { font-size: 0.95rem; color: var(--color-secondary); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--color-primary); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq details { background: #fff; border: var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; 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.25rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; margin-bottom: 0; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: var(--border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(9,9,11,0.15); border-radius: 10px; background: #fff; 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(37,99,235,0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--color-secondary); line-height: 1.4; }
.form-consent input { margin-top: 0.2rem; }
.form-success { padding: 1rem 1.25rem; border-radius: 12px; background: rgba(37,99,235,0.10); color: var(--color-accent); font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding: 4rem 0 2rem; margin-top: 4rem; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(250,250,250,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .logo-footer { display: inline-block; background: rgba(255,255,255,0.06); padding: 0.5rem 0.75rem; border-radius: 12px; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 1rem; margin-top: 1rem; }
.copy { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; color: rgba(250,250,250,0.55); font-size: 0.85rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}

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

/* === 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: 560px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(250,250,250,0.85); margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: var(--color-neutral-light); transition: background .2s; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #1D4ED8; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.10); display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; padding: 0.45rem 0.9rem; border-radius: 999px; border: 0; background: var(--color-neutral-light); color: var(--color-neutral-dark); font-weight: 600; cursor: pointer; }
