:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(15,23,42,0.06);
  --shadow-md: 0 12px 40px -12px rgba(15,23,42,0.18);
  --shadow-lg: 0 30px 60px -25px rgba(15,23,42,0.28);
}

/* === Reset & base === */
*, *::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-neutral-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; 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.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section--muted { background: #fff; }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.section__lede { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; color: var(--color-primary); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

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

/* === 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 rgba(51,65,85,0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.94);
  box-shadow: 0 6px 24px -12px rgba(15,23,42,0.15);
}
.nav-inner {
  max-width: 1180px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }
.nav-toggle {
  background: transparent; border: none; color: var(--color-neutral-dark);
  padding: .5rem; cursor: pointer; display: inline-flex;
}
.primary-nav {
  display: none; flex-direction: column; gap: .25rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(248,250,252,0.98); padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(51,65,85,0.08);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: .75rem 0; font-weight: 500; font-family: var(--font-heading);
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static; padding: 0;
    background: transparent; border: none; gap: 1.75rem; align-items: center;
  }
  .primary-nav a::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:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 999px; font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  color: #fff; box-shadow: 0 10px 24px -10px rgba(249,115,22,0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(249,115,22,0.7); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1px solid rgba(51,65,85,0.2);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-accent); color: var(--color-accent); }
.btn:focus-visible { outline: 3px solid rgba(249,115,22,0.4); outline-offset: 2px; }

/* === Hero (saas-spotlight) === */
.hero--spotlight {
  position: relative; overflow: hidden;
  padding: 4rem 1.25rem 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%);
}
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(ellipse at 50% 30%, rgba(249,115,22,0.14), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative; max-width: 1080px; margin: 0 auto; text-align: center;
}
.hero__sub {
  max-width: 58ch; margin: 0 auto 2rem; color: var(--color-primary);
  font-size: 1.125rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual {
  margin: 0 auto; max-width: 960px;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(51,65,85,0.06);
}
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero--spotlight { padding: 6rem 1.25rem 5rem; }
}

.proof-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .75rem 1.25rem; margin: 3rem auto 0; max-width: 1080px;
  color: var(--color-primary); font-size: .9rem; font-weight: 500;
  padding: 1rem 1.25rem; border-top: 1px solid rgba(51,65,85,0.08);
}

/* === Split section === */
.split {
  max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem;
  display: grid; gap: 2.5rem; align-items: center;
}
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__media { order: 2; }
}

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(51,65,85,0.08);
  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__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(249,115,22,0.12); color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-primary); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.quote {
  margin: 0; padding: 2.5rem; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}
.quote p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-primary); font-size: .95rem; }

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

/* === FAQ === */
.faq details {
  background: #fff; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  border: 1px solid rgba(51,65,85,0.08); transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); list-style: none; padding: .25rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--color-primary); margin-top: .75rem; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid rgba(51,65,85,0.18); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .875rem; color: var(--color-primary); line-height: 1.5;
}
.form-consent input { margin-top: .2rem; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(248,250,252,0.78);
  padding: 3.5rem 1.25rem 1.5rem; margin-top: 4rem;
}
.footer-grid {
  max-width: 1180px; margin-inline: auto;
  display: grid; gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin-bottom: .75rem; font-size: .85rem; }
.site-footer a { color: rgba(248,250,252,0.78); }
.site-footer a:hover { color: var(--color-accent); }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-tagline { color: rgba(248,250,252,0.62); margin-top: .75rem; }
.footer-legal { margin-top: 1rem; font-size: .875rem; }
.footer-copy {
  max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(248,250,252,0.1);
  color: rgba(248,250,252,0.55); font-size: .85rem; text-align: center;
}

/* === 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); padding: 1.25rem;
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,250,252,0.9); font-size: .9rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600;
  padding: .55rem 1rem; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(248,250,252,0.12); color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(248,250,252,0.2); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea580c; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }

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