:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-bg: #FFFFFF;
  --color-text: #0F2A34;
  --color-muted: #4A6D77;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 52, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 42, 52, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 42, 52, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === Logo === */
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }

/* === Header / Nav (glass) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 254, 255, 0.75);
  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-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  padding: .5rem;
  border-radius: 10px;
  cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  gap: 0.5rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-neutral-dark);
  padding: .5rem 0;
  font-weight: 500;
  position: relative;
}
.site-nav a.is-active { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    border: 0;
    gap: 1.75rem;
  }
  .site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .site-nav a:hover::after,
  .site-nav a.is-active::after { transform: scaleX(1); }
  .site-nav a.btn::after { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  line-height: 1;
}
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(8, 145, 178, 0.6);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(8, 145, 178, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(34, 197, 94, 0.55); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08), rgba(34, 211, 238, 0.10));
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .lede {
  max-width: 56ch;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  color: var(--color-muted);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3rem;
}
.hero-visual {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hero-inner-page { padding-block: 3rem 2rem; }
@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted {
  background: linear-gradient(180deg, var(--color-neutral-light), #fff);
}
.section-title { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@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); }
}

/* === Cards === */
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.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(8,145,178,0.12), rgba(34,211,238,0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}
.pricing-card__plan { color: var(--color-neutral-dark); margin-bottom: .25rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: .5rem;
  flex-grow: 1;
}
.pricing-card__features li {
  display: flex;
  gap: .5rem;
  color: var(--color-text);
  font-size: .95rem;
  line-height: 1.5;
}
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === Testimonial === */
.testimonial {
  position: relative;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}
.testimonial .quote-mark {
  color: var(--color-secondary);
  opacity: .5;
  margin: 0 auto 1rem;
}
.testimonial p {
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
  font-style: italic;
  max-width: 60ch;
  margin: 0 auto 1rem;
  line-height: 1.6;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
  margin-block: 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-inner > div { max-width: 60%; }
}

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

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}
.form-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; }

.contact-details {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .contact-details { grid-template-columns: 1fr 1fr; } }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 4rem;
}
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer .tagline { color: rgba(255,255,255,0.65); font-size: .95rem; margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .875rem; opacity: .85; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.65);
}

/* === 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: 560px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--color-neutral-light); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .875rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }

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