:root {
  --color-primary: #0F766E;
  --color-secondary: #14B8A6;
  --color-accent: #0369A1;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0B3B39;
  --color-muted: #4B6764;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(15, 118, 110, 0.08);
  --shadow-md: 0 20px 60px -20px rgba(15, 118, 110, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(15, 118, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -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-hover); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 .75rem; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 500;
  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 rgba(15, 118, 110, 0.08);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 4px 20px -10px rgba(15, 118, 110, 0.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid rgba(15, 118, 110, 0.2);
  color: var(--color-neutral-dark); border-radius: 10px; padding: .5rem;
  cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
  background: #fff; border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow-md); border: 1px solid rgba(15, 118, 110, 0.08);
}
.primary-nav a {
  padding: .65rem .85rem; border-radius: 10px; font-weight: 500;
  color: var(--color-neutral-dark); position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), filter .2s var(--ease-hover);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 10px 30px -10px rgba(15, 118, 110, 0.5);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(15, 118, 110, 0.55); filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border: 1.5px solid rgba(15, 118, 110, 0.3);
}
.btn-ghost:hover { border-color: var(--color-primary); background: rgba(20, 184, 166, 0.06); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero.saas-hero {
  position: relative; overflow: hidden;
  padding-block: 3.5rem 4rem;
  background:
    radial-gradient(1000px 500px at 50% -100px, rgba(3, 105, 161, 0.14), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
}
.hero.saas-hero::before {
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 60%;
  background: radial-gradient(600px 300px at 30% 50%, rgba(20, 184, 166, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 600; color: var(--color-primary);
  background: rgba(20, 184, 166, 0.12); padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 55ch; margin: 1rem auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-visual {
  margin-top: 1.5rem; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 118, 110, 0.08);
  background: #fff;
}
.hero-visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero-compact { padding-block: 3rem 2rem; }

.proof-strip {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem;
  color: var(--color-muted); font-size: .9rem; font-weight: 500;
}
.proof-strip span { display: inline-flex; align-items: center; gap: .4rem; }
.proof-strip span::before { content: "●"; color: var(--color-secondary); font-size: .7rem; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, var(--color-neutral-light) 100%); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .sub, .sub { color: var(--color-muted); font-size: 1.05rem; max-width: 55ch; margin-inline: auto; }
.body { font-size: 1.05rem; }

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

.card {
  background: #fff; border: 1px solid rgba(15, 118, 110, 0.08);
  border-radius: var(--radius); padding: 1.75rem;
  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 {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(3, 105, 161, 0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* === Quote === */
.quote {
  margin: 0; padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(3, 105, 161, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.1);
}
.quote p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4;
}
.quote cite { font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  padding-block: 4rem; text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(20, 184, 166, 0.3), transparent 70%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240, 253, 250, 0.85); max-width: 55ch; margin: 0 auto 1.5rem; }
.cta-band .cta-details { font-size: .95rem; margin-bottom: 1rem; }
.cta-band .btn-primary {
  background: #fff; color: var(--color-primary);
}
.cta-band .btn-primary:hover { background: var(--color-neutral-light); color: var(--color-primary); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative; background: #fff; padding: 2.25rem;
  border-radius: var(--radius); border: 1px solid rgba(15, 118, 110, 0.12);
  display: flex; flex-direction: column; 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-color: var(--color-accent); border-width: 2px;
  box-shadow: 0 25px 50px -20px rgba(3, 105, 161, 0.3);
}
.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; letter-spacing: .04em;
}
.pricing-card__plan { margin-bottom: .25rem; color: var(--color-primary); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.pricing-card__price {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--color-neutral-dark); margin-bottom: .75rem; line-height: 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 1.75rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.pricing-card__features li {
  display: flex; gap: .55rem; font-size: .95rem; color: var(--color-text);
  line-height: 1.5;
}
.pricing-card__features li span {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px;
  background: rgba(20, 184, 166, 0.18); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; margin-top: 2px;
}
.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 rgba(15, 118, 110, 0.1);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  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); font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 118, 110, 0.08);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.18); background: #fff;
  color: var(--color-text); transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; color: var(--color-muted); line-height: 1.4;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(240, 253, 250, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 3rem;
}
.site-footer .logo img { height: 60px; }
.site-footer h4 { color: #fff; margin-bottom: .75rem; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-grid a { color: rgba(240, 253, 250, 0.85); }
.footer-grid a:hover { color: var(--color-secondary); }
.tagline { color: rgba(240, 253, 250, 0.7); font-size: .95rem; margin-top: .5rem; }
address { font-style: normal; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright {
  border-top: 1px solid rgba(240, 253, 250, 0.12);
  padding-top: 1.5rem; margin-top: 2rem;
  font-size: .85rem; color: rgba(240, 253, 250, 0.65);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}

/* === 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.4rem; border-radius: var(--radius);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.4);
  max-width: 620px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font: inherit; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(240, 253, 250, 0.25); background: transparent; color: var(--color-neutral-light);
  font-weight: 500; transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(240, 253, 250, 0.1); }
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff;
}
.cookie-banner__actions [data-cookie-accept]:hover { background: #0284c7; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: .5rem;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  background: var(--color-secondary); color: var(--color-neutral-dark); border: none; font-weight: 600;
}

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