:root {
  --color-primary: #1E3A8A;
  --color-secondary: #1E40AF;
  --color-accent: #B45309;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-muted: rgba(15, 23, 42, 0.65);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --radius: 18px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-neutral-dark); background: var(--color-neutral-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
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 0.75rem; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #ffffff 0%, #EEF2FF 100%); border-block: 1px solid var(--color-border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

/* === Header / Nav (glass) === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 250, 252, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1160px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; font-size: 0.98rem; }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; 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 a.nav-cta { background: var(--color-primary); color: #fff; padding: 0.55rem 1rem; border-radius: 999px; }
.primary-nav a.nav-cta::after { display: none; }
.primary-nav a.nav-cta:hover { background: var(--color-secondary); }
.primary-nav.is-open { display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(30, 58, 138, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #92400E; transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 3px solid rgba(30, 58, 138, 0.35); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.saas-hero { position: relative; padding: 3rem 0 2rem; overflow: hidden; background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 480px; background: radial-gradient(60% 60% at 50% 40%, rgba(180, 83, 9, 0.18), transparent 70%), radial-gradient(50% 60% at 20% 20%, rgba(30, 58, 138, 0.20), transparent 70%); filter: blur(20px); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }
.saas-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.02em; max-width: 20ch; margin-inline: auto; }
.saas-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 56ch; margin: 1rem auto 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-figure { margin: 2rem auto 0; max-width: 980px; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(15, 23, 42, 0.45); border: 1px solid var(--color-border); background: #fff; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.proof-strip { margin-top: 2.5rem; border-top: 1px solid var(--color-border); background: rgba(255, 255, 255, 0.6); }
.proof-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--color-muted); }

/* === Cards === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .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), box-shadow .25s var(--ease), border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2); border-color: rgba(30, 58, 138, 0.25); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(30, 58, 138, 0.08); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin: 0; }
.card h3 { margin-bottom: 0.5rem; }

/* === Testimonial === */
.pull-quote { position: relative; margin: 0; padding: 2rem 1rem; text-align: center; }
.pull-quote .quote-mark { color: var(--color-accent); opacity: 0.85; margin: 0 auto 1rem; display: block; }
.pull-quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1rem; font-weight: 500; }
.pull-quote cite { color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

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

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(30, 58, 138, 0.25); }
.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: 50%; transform: translateY(-50%); color: var(--color-secondary); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.75rem; color: var(--color-muted); margin-bottom: 0; }

/* === Contact === */
.contact-band { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--color-border); padding: 1.5rem; border-radius: var(--radius); }
@media (min-width: 800px) { .contact-band { flex-direction: row; align-items: center; justify-content: space-between; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-bottom: 0.75rem; }
.contact-card address { font-style: normal; color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.35rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-neutral-dark); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.75); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-logo img { height: 72px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.88rem; }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

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

/* === 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: 14px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.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-accept]:hover { background: #92400E; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; font-family: var(--font-heading); font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--color-accent); background: var(--color-accent); color: #fff; cursor: pointer; }
