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

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); 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.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-sub { color: var(--color-primary); max-width: 60ch; margin-inline: auto; }

/* === 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: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: var(--color-neutral-light); }
.btn--primary:hover { box-shadow: 0 12px 28px -12px rgba(51,65,85,0.6); }
.btn--accent { background: linear-gradient(135deg, var(--color-accent), #ea580c); color: #fff; }
.btn--accent:hover { box-shadow: 0 12px 28px -12px rgba(249,115,22,0.6); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(51,65,85,0.05); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(51,65,85,0.06);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(248,250,252,0.92); box-shadow: 0 4px 24px -12px rgba(15,23,42,0.15); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 32px -12px rgba(15,23,42,0.18);
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; padding: 0.5rem 0; display: block; position: relative; }
.primary-nav a:hover { color: var(--color-accent); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta { display: inline-flex; }

@media (min-width: 900px) {
  .site-header__inner { padding: 1rem 1.5rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; align-items: center; gap: 2rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; margin: 0; }
  .primary-nav a { padding: 0.25rem 0; }
  .primary-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
    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); }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(249,115,22,0.10), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(100,116,139,0.12), transparent 60%),
    linear-gradient(180deg, #fff, var(--color-neutral-light) 60%);
  overflow: hidden;
}
.hero--compact { padding: 3rem 0 2.5rem; }
.hero__inner { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: 1.125rem; color: var(--color-primary); max-width: 58ch; margin: 1rem auto 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero__visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; position: relative; }
.hero__visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero__proof { margin-top: 1.5rem; font-size: 0.9rem; color: var(--color-primary); }

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

/* === Sections === */
section { padding: 4rem 0; }
.intro p { font-size: 1.05rem; color: var(--color-neutral-dark); }
.intro .container.narrow { text-align: left; }
.intro h2 { text-align: center; }
.intro .section-sub { text-align: center; margin-bottom: 2rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; 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); } }

/* === Cards === */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  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.10);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-primary); margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(100,116,139,0.06)); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  margin: 0 0 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-primary); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: var(--color-neutral-light);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 4rem 1.25rem;
  padding: 3rem 1.5rem;
}
.cta-band h2, .cta-band p { color: var(--color-neutral-light); }
.cta-band .container { padding: 0; }
.cta-band p { opacity: 0.9; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .cta-band { padding: 4rem 2rem; } }

/* === Stats === */
.stats-band .stat { text-align: center; padding: 1.5rem; }
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}
.stat p { color: var(--color-primary); }

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  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: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-card__plan { font-size: 1.1rem; color: var(--color-primary); margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 1rem; color: var(--color-neutral-dark); }
.pricing-card__lede { color: var(--color-primary); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-neutral-dark); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.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: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  color: var(--color-neutral-dark); 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.5rem; color: var(--color-accent); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-primary); }

/* === Contact === */
.contact-band__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
.contact-band__grid--wide { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .contact-band__grid { grid-template-columns: 2fr 1fr; }
  .contact-band__grid--wide { grid-template-columns: 1fr 1fr; }
}
.contact-band address { font-style: normal; color: var(--color-neutral-dark); line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours caption { font-family: var(--font-heading); font-weight: 600; text-align: left; padding: 1rem 1.25rem 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.65rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; color: var(--color-primary); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row 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: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-primary); }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248,250,252,0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer__title { font-family: var(--font-heading); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-neutral-light); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.tagline { color: rgba(248,250,252,0.7); margin-top: 0.5rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(248,250,252,0.1); font-size: 0.85rem; color: rgba(248,250,252,0.6); margin: 0; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(248,250,252,0.9); font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(248,250,252,0.08); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

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