:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1F1B4D;
  --color-muted: #4B4E82;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 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);
  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; transition: color .2s var(--ease); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === Layout helpers === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary);
  margin: 0 0 1rem;
}
.sub { color: var(--color-muted); font-size: 1.125rem; max-width: 60ch; margin-inline: auto; }

/* === Header / nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 24px -18px rgba(49, 46, 129, 0.35); }
.nav-wrap {
  max-width: 1180px; margin-inline: auto; padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; }
.primary-nav ul { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a {
  font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark);
  position: relative; padding: .35rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--color-primary); 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); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 0; padding: .5rem; border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) {
  .logo img { height: 96px; }
  .primary-nav ul { display: flex; }
  .nav-toggle { display: none; }
}

.primary-nav ul[data-nav-menu].is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
}
.primary-nav ul[data-nav-menu].is-open li { border-bottom: 1px solid var(--color-border); }
.primary-nav ul[data-nav-menu].is-open li:last-child { border-bottom: 0; }
.primary-nav ul[data-nav-menu].is-open a { display: block; padding: .9rem 0; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  line-height: 1;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(79, 70, 229, 0.7); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.6);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(249, 115, 22, 0.75); color: #fff; }

/* === Hero — saas-spotlight === */
.hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.10), transparent 55%),
    linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(99, 102, 241, 0.02) 60%, transparent),
    var(--color-neutral-light);
}
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.18), transparent 70%);
  pointer-events: none; filter: blur(30px); z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.hero__grid--single { grid-template-columns: 1fr; max-width: 780px; }
.hero__text .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 0 0 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero__meta { margin-top: 2rem; font-size: .875rem; color: var(--color-muted); }
.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.hero--sub { padding: 3rem 0 2.5rem; }
@media (min-width: 900px) {
  .hero { padding: 6rem 0 5rem; }
  .hero--sub { padding: 4.5rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero__grid--single { grid-template-columns: 1fr; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--tint {
  background:
    radial-gradient(circle at 90% 0%, rgba(99, 102, 241, 0.10), transparent 55%),
    var(--color-neutral-light);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head h2 { margin-bottom: .75rem; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }

/* === Grids & 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: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  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: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(99, 102, 241, 0.10));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }

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

/* === Quote === */
.quote {
  margin: 0; text-align: center; padding: 2rem 1rem;
  border-left: 0;
}
.quote p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding: 4rem 1rem; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 15% 30%, rgba(249, 115, 22, 0.35), transparent 55%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(238, 242, 255, 0.88); max-width: 56ch; margin: 0 auto 1.5rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 60px -20px rgba(249, 115, 22, 0.35);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .75rem; border-radius: 999px;
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.pricing-card__plan { margin-bottom: .5rem; }
.pricing-card__price {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 .5rem;
}
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; font-size: .98rem; }
.pricing-card__features { margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  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-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 1rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--color-border); background: #fff;
  color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}
.contact-form .btn { align-self: flex-start; }

/* === Hours table === */
.hours { width: 100%; max-width: 520px; margin: 1.5rem auto 0; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours th, .hours td { padding: .85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(238, 242, 255, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.logo--footer img { height: 64px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(238, 242, 255, 0.12); font-size: .875rem; color: rgba(238, 242, 255, 0.65); text-align: center; }
.copyright p { margin: 0; }

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

/* === 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: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
  max-width: 720px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(238, 242, 255, 0.9); font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(238, 242, 255, 0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(238, 242, 255, 0.1); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
