/* === Tokens === */
:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-border: rgba(30, 64, 175, 0.14);
  --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 20px 60px -20px rgba(15, 23, 42, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -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); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.lede { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }

/* === 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(239, 246, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.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); color: var(--color-neutral-dark); padding: 0.5rem; border-radius: 10px; cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: 0.5rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.primary-nav a { color: var(--color-text); font-weight: 500; padding: 0.4rem 0; position: relative; }
.primary-nav a.is-active { color: var(--color-primary); }
.primary-nav a.nav-cta { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); padding: 0.55rem 1rem; border-radius: 999px; text-align: center; }
.primary-nav a.nav-cta:hover { text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a:not(.nav-cta).is-active::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

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

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 55%, #E0F2FE 100%);
  padding-block: 4rem 3rem;
}
.hero--inner { padding-block: 3rem 2.5rem; }
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: left; }
.hero h1 { max-width: 22ch; margin-bottom: 1rem; }
.hero-sub { font-size: 1.2rem; color: var(--color-text-muted); max-width: 48ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-visual { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.hero-visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem 4rem; }
  .hero--inner { padding-block: 4rem 3rem; }
  .hero-inner { max-width: 1000px; }
  .hero h1 { font-size: clamp(2.75rem, 4.5vw, 4.25rem); }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-neutral-light); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .lede { margin-bottom: 0; }
@media (min-width: 900px) { .section { padding-block: 6rem; } }

.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Cards / grid === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 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);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.25); }
.card-link { text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card h3 { margin-bottom: 0.6rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-text-muted); margin: 0; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(59,130,246,0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Quote === */
.quote {
  margin: 0;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; line-height: 1.5; color: var(--color-text); margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-text-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 60ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@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 var(--color-border);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pricing-card__plan { color: var(--color-neutral-dark); margin-bottom: 0.25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--color-text); margin-bottom: 1rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-text-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; padding: 0.4rem 0; color: var(--color-text); border-bottom: 1px dashed var(--color-border); }
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.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: 0;
  color: var(--color-primary);
  font-size: 1.4rem;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-text-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 2rem; } }
.contact-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; margin-bottom: 1.5rem; color: var(--color-text-muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px dashed var(--color-border); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours td { color: var(--color-text-muted); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; }
.contact-form label { font-family: var(--font-heading); font-weight: 500; margin-top: 1rem; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  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-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.25rem; font-size: 0.9rem; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 400; }
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }
.contact-form button[type="submit"] { margin-top: 1.5rem; align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin-bottom: 0.75rem; font-family: var(--font-heading); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: #fff; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.tagline { margin-top: 0.75rem; color: rgba(255,255,255,0.75); }
.footer-nav { display: flex; flex-direction: column; }
.footer-contact address { font-style: normal; margin-bottom: 1rem; color: rgba(255,255,255,0.85); }
.legal-links { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 1rem; }
.legal-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* === Reveal motion === */
.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);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
  max-width: 560px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(255,255,255,0.25); }
.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 [data-cookie-save] { background: var(--color-primary); color: #fff; align-self: flex-start; margin-top: 0.5rem; }
