:root {
  --color-primary: #0F766E;
  --color-secondary: #14B8A6;
  --color-accent: #0369A1;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-ink: #0B2A28;
  --color-muted: #4B6E6A;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 2px 20px rgba(19, 78, 74, 0.08);
  --shadow-lift: 0 20px 50px -20px rgba(19, 78, 74, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
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 1rem;
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
main { display: block; }
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 253, 250, 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.92);
  box-shadow: 0 6px 24px -12px rgba(19, 78, 74, 0.25);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 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; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-neutral-dark);
  border-radius: 2px;
}
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  flex-direction: column;
  gap: .25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .75rem .5rem;
  border-radius: 8px;
  position: relative;
}
.primary-nav a:hover { background: var(--color-neutral-light); color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a.nav-cta {
  background: var(--color-primary);
  color: #ffffff;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  margin-top: .25rem;
  text-align: center;
}
.primary-nav a.nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    padding: 0;
    background: transparent;
    border: none;
  }
  .primary-nav a { padding: .55rem .9rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: .9rem; right: .9rem; bottom: .3rem;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(3, 105, 161, 0.15), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(20, 184, 166, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
  padding: 3.5rem 1.25rem 3rem;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.09);
  padding: .4rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 1rem auto 1.75rem;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-visual {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 .25rem;
}
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.hero-thanks .hero-inner { padding: 2rem 0; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero .lede { font-size: 1.25rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 10px 25px -10px rgba(15, 118, 110, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(15, 118, 110, 0.7); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-neutral-dark);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: #ffffff; transform: translateY(-2px); color: var(--color-primary); }
.btn-accent {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.btn-accent:hover { background: #ffffff; transform: translateY(-2px); color: var(--color-primary); }

/* === Proof strip === */
.proof-strip {
  max-width: 1100px;
  margin: -1rem auto 0;
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: .95rem;
}
.proof-strip strong { color: var(--color-neutral-dark); font-weight: 600; }

/* === Section === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow { max-width: 780px; }
.section.narrow p { font-size: 1.05rem; color: var(--color-muted); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-head p { color: var(--color-muted); }

@media (min-width: 768px) {
  .section { padding: 5.5rem 1.5rem; }
}

/* === Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .cards-grid.cards-3, .cards-grid.cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(15, 118, 110, 0.35); }
.card h3 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.card-link { text-decoration: none; }
.card-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(20, 184, 166, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.stat-card h3 {
  font-size: 1.75rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--color-secondary);
  background: var(--color-neutral-light);
  border-radius: var(--radius-md);
  text-align: left;
}
.testimonial p {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 500;
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  color: var(--color-muted);
  font-style: normal;
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  margin: 4rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark) 90%);
  color: #ffffff;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 80% 0%, rgba(3, 105, 161, 0.4), transparent 60%);
  pointer-events: none;
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.cta-band a { color: var(--color-neutral-light); }
.cta-band a.btn-accent { color: var(--color-neutral-dark); }
@media (min-width: 768px) {
  .cta-band { margin: 5rem auto; max-width: 1140px; padding: 4rem 2rem; }
}

/* === Contact page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact-info address {
  font-style: normal;
  color: var(--color-muted);
  line-height: 1.7;
}
.contact-info strong { color: var(--color-neutral-dark); }
.contact-form {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}
.contact-form h2 { margin-top: 0; }
.contact-form label {
  display: grid;
  gap: .35rem;
  font-size: .92rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-ink);
  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(15, 118, 110, 0.15);
}
.form-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--color-muted);
  font-weight: 400 !important;
}
.form-consent input { margin-top: .2rem; }
.contact-form button { justify-self: start; }

/* === FAQ === */
.faq { display: grid; gap: .5rem; }
.faq details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  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: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}
.footer-col h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col a { color: rgba(240, 253, 250, 0.8); display: block; padding: .2rem 0; }
.footer-col a:hover { color: var(--color-secondary); }
.footer-col .logo img { height: 72px; filter: brightness(0) invert(1); }
.footer-col .tagline { margin-top: 1rem; color: rgba(240, 253, 250, 0.7); font-size: .95rem; max-width: 32ch; }
.footer-col address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem; }
.legal-links a { padding: 0; font-size: .9rem; }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  text-align: center;
  font-size: .85rem;
  color: rgba(240, 253, 250, 0.6);
}

/* === 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;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 560px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: rgba(240, 253, 250, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 253, 250, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(240, 253, 250, 0.08); }
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.cookie-banner button[data-cookie-accept]:hover { background: #025a8a; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}
.cookie-banner__prefs button[data-cookie-save] {
  justify-self: start;
  margin-top: .5rem;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-neutral-dark);
}

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