:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(30, 58, 138, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.2);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.35);
  --text: #0F1E4A;
  --text-muted: #4B5A85;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 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; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.lede { font-size: 1.125rem; color: var(--text-muted); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: #fff; padding: .5rem 1rem; z-index: 10000; }
.skip-link:focus { left: 0; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(239, 246, 255, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(30, 58, 138, 0.08); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); box-shadow: 0 8px 30px -20px rgba(30, 58, 138, 0.3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; max-width: 1200px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(30, 58, 138, 0.08); box-shadow: var(--shadow-md); }
.primary-nav a { display: block; padding: .75rem .5rem; font-weight: 500; color: var(--text); position: relative; }
.primary-nav a:hover { text-decoration: none; color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; border-radius: 999px; padding: .6rem 1.25rem; text-align: center; margin-top: .5rem; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: .25rem; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .primary-nav a { padding: .5rem .9rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; 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 .nav-cta { margin: 0 0 0 .5rem; }
  .primary-nav .nav-cta::after { display: none; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 30px -14px rgba(30, 64, 175, 0.7); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(30, 64, 175, 0.8); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -14px rgba(249, 115, 22, 0.7); }
.btn--ghost { background: transparent; color: var(--color-primary); border: 1.5px solid rgba(30, 64, 175, 0.25); }
.btn--ghost:hover { border-color: var(--color-primary); background: rgba(30, 64, 175, 0.04); }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 3rem 0 4rem; overflow: hidden; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 70% 20%, rgba(249, 115, 22, 0.12), transparent 55%), radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.18), transparent 60%); }
.hero__inner { position: relative; text-align: center; }
.hero__sub { font-size: 1.2rem; color: var(--text-muted); max-width: 56ch; margin: 1rem auto 2rem; }
.hero__ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.hero__visual { margin-top: 2rem; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.proof-strip { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; color: var(--text-muted); font-size: .95rem; font-weight: 500; }
.proof-strip span { padding: .35rem .9rem; background: rgba(30, 64, 175, 0.06); border-radius: 999px; }
@media (min-width: 768px) { .hero { padding: 5rem 0 6rem; } }

/* === Sections === */
.section { padding: 4rem 0; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head.center { text-align: center; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(30, 58, 138, 0.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.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, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* === Quote === */
.quote { margin: 0; padding: 2.5rem; background: linear-gradient(135deg, var(--color-neutral-light), #fff); border-radius: var(--radius); border-left: 4px solid var(--color-accent); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.2rem; font-style: italic; color: var(--text); margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius); border: 1px solid rgba(30, 58, 138, 0.12); background: #fff; 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-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -14px; right: 24px; background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; }
.pricing-card__plan { font-size: 1.4rem; margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 1rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--text-muted); margin-bottom: 1.25rem; font-size: .97rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .97rem; color: var(--text); }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid rgba(30, 58, 138, 0.1); border-radius: 12px; padding: 1.1rem 1.25rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 1rem 0 0; color: var(--text-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-info h2 { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid rgba(30, 58, 138, 0.1); text-align: left; font-weight: 500; }
.hours th { color: var(--text-muted); font-weight: 500; }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(30, 58, 138, 0.08); }
.contact-form h2 { margin-top: 0; font-size: 1.5rem; }
.contact-form label { display: block; font-weight: 500; margin: 1rem 0 .35rem; font-size: .95rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(30, 58, 138, 0.2); border-radius: 10px; font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] { margin-top: 1.5rem; width: 100%; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; font-size: .87rem; color: var(--text-muted); font-weight: 400; }
.form-consent input[type="checkbox"] { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.82); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; font-size: .93rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-legal { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 1rem !important; font-size: .9rem; }
.footer-tagline { color: rgba(255, 255, 255, 0.7); margin-top: 1rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer__meta { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .87rem; color: rgba(255, 255, 255, 0.6); }

/* === 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 .9rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: .9rem; transition: background .2s; }
.cookie-banner button:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner button[data-cookie-accept]:hover { background: #ea680d; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .35rem; background: var(--color-primary); border-color: var(--color-primary); }

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