:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}
h1 { font-weight: 700; font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__header .lede { color: var(--color-secondary); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.lede { font-size: 1.125rem; color: var(--color-secondary); }

/* === 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(248, 250, 252, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow .3s var(--ease-inout), background .3s var(--ease-inout);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(248, 250, 252, 0.9); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--color-primary);
  border-radius: 8px;
}
.nav-toggle:hover { background: rgba(15, 23, 42, 0.06); }
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-block: 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--color-secondary);
  position: relative;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; align-items: center; gap: 2rem; width: auto; padding-block: 0;
  }
  .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-inout);
  }
  .primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
}
@media (min-width: 768px) {
  .site-header__inner { padding-block: 1rem; }
}

/* === Hero (centered, SaaS spotlight) === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(202, 138, 4, 0.06) 0%, rgba(248, 250, 252, 0) 60%);
}
.hero__glow {
  position: absolute; inset: -20% 10% auto 10%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(202, 138, 4, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .lede { max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.98rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-inout), box-shadow .2s var(--ease-inout), background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(202, 138, 4, 0.4); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { color: var(--color-neutral-light); box-shadow: var(--shadow-md); }
.btn--accent {
  background: var(--color-accent);
  color: var(--color-neutral-light);
  box-shadow: 0 6px 20px -6px rgba(202, 138, 4, 0.5);
}
.btn--accent:hover { color: var(--color-neutral-light); box-shadow: 0 12px 30px -8px rgba(202, 138, 4, 0.55); }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(15, 23, 42, 0.18);
}
.btn--ghost:hover { background: rgba(15, 23, 42, 0.05); color: var(--color-primary); }

/* === Intro sections === */
.section--intro { text-align: center; }
.section--intro h2 { margin-bottom: 1rem; }
.section--intro p { color: var(--color-secondary); }

/* === Highlights grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-inout), box-shadow .25s var(--ease-inout);
}
.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: linear-gradient(135deg, rgba(202, 138, 4, 0.12), rgba(15, 23, 42, 0.08));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }

/* === Testimonial === */
.section--testimonial { background: #fff; }
.quote {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-primary);
  font-weight: 500;
}
.quote cite {
  display: block; margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem; color: var(--color-secondary);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: -30% -10% auto auto; width: 60%; height: 100%;
  background: radial-gradient(circle at top right, rgba(202, 138, 4, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { text-align: center; position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.8); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === 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-md);
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-inout), box-shadow .25s var(--ease-inout);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px -20px rgba(202, 138, 4, 0.35);
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.25rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.4rem; margin-bottom: 0.25rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-secondary); font-size: 0.98rem; margin-bottom: 1.5rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding-block: 0.4rem;
  color: var(--color-secondary);
}
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq details {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  background: #fff;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease-inout);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
  color: var(--color-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--color-accent); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-heading); font-weight: 500; margin-bottom: 0.4rem; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: var(--color-neutral-light);
  color: var(--color-primary);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.18);
}
.contact-info { padding: 1rem 0; }
.contact-info h3 { margin-top: 1.25rem; }
.contact-info address { font-style: normal; color: var(--color-secondary); line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); color: var(--color-secondary); font-weight: 400; }
.hours th { font-family: var(--font-heading); color: var(--color-primary); font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(248, 250, 252, 0.8);
  padding-block: 3.5rem 1.5rem;
  margin-top: 3rem;
}
.site-footer__grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 {
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-neutral-light); margin-bottom: 1rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.8); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding-block: 0.25rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.tagline { color: rgba(248, 250, 252, 0.65); font-size: 0.95rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); opacity: 0.9; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__base {
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  font-size: 0.85rem; color: rgba(248, 250, 252, 0.6);
  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);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  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: 0.95rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(248, 250, 252, 0.08); color: var(--color-neutral-light); }
.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; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

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