:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #475569;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
}

/* === Base === */
* { 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;
}
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-primary); letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
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; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow, .narrow { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 30px -20px rgba(2,6,23,0.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); color: var(--color-primary);
  border-radius: 10px; padding: 0.4rem 0.55rem; cursor: pointer; display: inline-flex;
}
.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light); border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem; flex-direction: column; gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-primary); font-weight: 500; padding: 0.5rem 0;
  position: relative; text-decoration: none;
}
.primary-nav a[aria-current="page"] { color: var(--color-secondary); }
.nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light) !important;
  padding: 0.55rem 1rem !important; border-radius: 999px; text-align: center;
}
.nav-cta:hover { background: var(--color-secondary); text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: transparent; border: none; box-shadow: none;
  }
  .primary-nav a { padding: 0.25rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; 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"]:not(.nav-cta)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(30, 58, 138, 0.6); text-decoration: none; }
.btn--ghost { background: transparent; border-color: var(--color-border); color: var(--color-primary); }
.btn--ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); text-decoration: none; }
.btn--accent {
  background: var(--color-accent); color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -10px rgba(202, 138, 4, 0.5);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(202, 138, 4, 0.6); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 3rem; background: var(--color-neutral-light); }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 50% 20%, rgba(202, 138, 4, 0.16), transparent 65%),
              radial-gradient(50% 60% at 80% 30%, rgba(30, 58, 138, 0.18), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-secondary); margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { margin: 1.25rem auto 2rem; max-width: 56ch; font-size: 1.15rem; color: var(--color-muted); }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__visual { margin: 2rem auto 0; max-width: 960px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero__visual img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 768px) { .hero { padding: 5rem 0 4rem; } }

/* === Sections === */
.section { padding: 4rem 0; }
.section--tinted { background: linear-gradient(180deg, rgba(30, 58, 138, 0.04), rgba(202, 138, 4, 0.03)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.lede { font-size: 1.05rem; color: var(--color-muted); }
.section .narrow h2 { text-align: left; }

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

.card {
  background: var(--color-neutral-light);
  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 var(--ease);
  color: var(--color-primary);
}
.card p { color: var(--color-muted); 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(30,58,138,0.12), rgba(202,138,4,0.12));
  color: var(--color-secondary); margin-bottom: 1rem;
}
a.card-link { text-decoration: none; display: block; }
a.card-link:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--color-accent); box-shadow: var(--shadow-md); }

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem 1.5rem; text-align: center;
  border-left: 3px solid var(--color-accent);
  background: var(--color-neutral-light);
  border-radius: var(--radius);
}
.testimonial p {
  font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.5;
  color: var(--color-primary); margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding: 3rem 0; margin: 0;
}
.cta-band__inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; }
}

/* === Split section === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__image img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card, .contact-form {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-card p { color: var(--color-muted); }
.contact-card strong { color: var(--color-primary); }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 500; font-size: 0.95rem; }
.contact-form label > span { display: block; margin-bottom: 0.35rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--color-border); background: var(--color-neutral-light);
  font-family: var(--font-body); font-size: 1rem; color: var(--color-primary);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { width: auto; margin-top: 0.25rem; }

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--color-accent); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-primary); color: rgba(248, 250, 252, 0.85);
  padding: 3rem 0 1.5rem; margin-top: 3rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__tag { color: rgba(248, 250, 252, 0.7); font-size: 0.95rem; max-width: 32ch; }
.logo--footer img { filter: brightness(0) invert(1); height: 64px; }
.footer__grid nav a { display: block; padding: 0.25rem 0; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.footer__legal a { display: block; padding: 0.2rem 0; font-size: 0.9rem; }
.footer__base { border-top: 1px solid rgba(248, 250, 252, 0.15); padding-top: 1.25rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.6); }

/* === 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; }
  html { scroll-behavior: auto; }
}












:root { --brand-accent: hsl(225 72% 44%); --brand-ink: hsl(172 48% 20%); }
.logo { min-width: 0; }
.logo img { max-width: min(100%, 17rem); height: auto; }
.reveal, .fade-in, .animate-in, [data-reveal], [data-animate], .scroll-reveal { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.site-legal { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1; padding: clamp(2rem, 6vw, 5rem) 1.25rem; }
.legal-card { width: min(100%, 52rem); margin: 0 auto; }
.legal-card h1, .legal-card h2 { color: var(--brand-ink, currentColor); }
.legal-date { margin-top: 2rem; opacity: .72; }
@media (max-width: 780px) { .site-header .container { gap: .75rem; } .site-header .logo { max-width: calc(100% - 3.75rem); } [data-nav-menu].is-open, .site-nav.is-open, .primary-nav.is-open, .nav-links.is-open { display: flex !important; } }
