:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0F2A28;
  --color-muted: #4B6764;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(19, 78, 74, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(19, 78, 74, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hover-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { 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%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--hover-ease), box-shadow .2s var(--hover-ease), background .2s;
  text-decoration: none; white-space: nowrap;
}
.btn--sm { padding: .55rem .95rem; font-size: .9rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -10px rgba(13, 148, 136, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(13, 148, 136, 0.75); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { transform: translateY(-2px); background: #ea580c; color: #fff; }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--color-neutral-dark); border-color: var(--color-border); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); background: #fff; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  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 transparent;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 6px 24px -18px rgba(19, 78, 74, 0.5); border-bottom-color: var(--color-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle { background: transparent; border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }

.primary-nav { display: none; }
.primary-nav a { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); padding: .5rem .1rem; position: relative; }
.primary-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--hover-ease); }
.primary-nav a:not(.btn):hover::after,
.primary-nav a.is-active:not(.btn)::after { transform: scaleX(1); }

.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .5rem;
  position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
  background: #fff; padding: 1rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; }
}

/* === Hero (saas-spotlight) === */
.hero--saas { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero--compact { padding-block: 3rem 2rem; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(249, 115, 22, 0.14), transparent 70%),
              radial-gradient(50% 50% at 20% 30%, rgba(20, 184, 166, 0.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: left; }
.hero__inner--center { text-align: center; }
.hero--saas h1 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -0.02em; max-width: 20ch; }
.hero__inner--center h1 { margin-inline: auto; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 54ch; margin-bottom: 1.75rem; }
.hero__inner--center .hero__sub { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero__inner--center .hero__actions { justify-content: center; }
.hero__visual { margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

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

/* === Social-proof strip === */
.strip { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; padding-block: 1rem; font-size: .95rem; font-family: var(--font-heading); font-weight: 500; letter-spacing: .02em; }
.strip__inner span { opacity: .9; }

/* === Section shells === */
.section { padding-block: 3.5rem; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.section__head p { color: var(--color-muted); }

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

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

.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(--hover-ease), box-shadow .25s var(--hover-ease);
  display: block;
}
.card p { color: var(--color-muted); margin-bottom: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.14), rgba(20, 184, 166, 0.18));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Quote === */
.section--quote blockquote { margin: 0; text-align: center; }
.section--quote blockquote p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4; }
.section--quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; margin-block: 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(240, 253, 250, 0.88); margin: 0; max-width: 52ch; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: .75rem; transition: box-shadow .2s; }
.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.4rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact card & form === */
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card p { color: var(--color-muted); margin-bottom: 1rem; }

.contact-form { display: grid; grid-template-columns: 1fr; gap: 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .85rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15); }
.contact-form__full { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .875rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }
@media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer__tag { color: rgba(240, 253, 250, 0.75); margin-top: .5rem; }
.footer__legal { border-top: 1px solid rgba(240, 253, 250, 0.15); padding-top: 1rem; margin-top: 1rem; }
.footer__copy { border-top: 1px solid rgba(240, 253, 250, 0.15); padding-top: 1.25rem; font-size: .85rem; color: rgba(240, 253, 250, 0.7); }
.logo--footer img { filter: brightness(0) invert(1); opacity: .95; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }

/* === 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; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; 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 { align-self: flex-start; margin-top: .5rem; }

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