:root {
  --bg: #f4f7f6;
  --bg-alt: #eaf2f0;
  --surface: #ffffff;
  --text: #0c1a19;
  --text-muted: #4a5f5d;
  --line: #d5e3e0;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-deep: #115e59;
  --accent: #f59e0b;
  --shadow-sm: 0 4px 16px rgba(12, 26, 25, 0.06);
  --shadow-md: 0 16px 40px rgba(12, 26, 25, 0.1);
  --shadow-lg: 0 24px 60px rgba(12, 26, 25, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --container: min(1140px, calc(100% - 2rem));
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(13, 148, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(245, 158, 11, 0.08), transparent 50%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-dark);
}

a:hover {
  color: var(--primary-deep);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, var(--container));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 247, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 227, 224, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand__logo {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-weight: 800;
  font-size: 1.05rem;
}

.brand__by {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
}

.nav a,
.nav .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.nav a:not(.btn):hover {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
}

.nav__cta {
  margin-left: 0.25rem;
  padding-inline: 0.85rem !important;
}

.brand__by {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.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);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.42);
}

.btn--ghost {
  background: var(--surface);
  color: var(--primary-deep);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: #f8fcfb;
  border-color: #b8d4cf;
}

.btn--light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  color: var(--primary-deep);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-deep);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.badge--beta {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  max-width: 14ch;
}

.hero__lead {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero__facts strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.hero__visual {
  position: relative;
  margin: 0;
}

.hero__visual-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  text-align: left;
}

.hero__visual-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.hero__visual-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.hero__visual-btn img {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  object-fit: cover;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__visual-btn:hover img {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 148, 136, 0.15);
}

.hero__visual-hint {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(12, 26, 25, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* Fullscreen lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(8, 14, 18, 0.94);
}

.lightbox::backdrop {
  background: rgba(8, 14, 18, 0.94);
}

.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 1.25rem 1.25rem;
}

.lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

/* Metrics */
.metrics {
  padding-bottom: 1rem;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric {
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.metric__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.metric__label {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--alt {
  background: rgba(234, 242, 240, 0.55);
  border-block: 1px solid rgba(213, 227, 224, 0.6);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
}

.section__lead {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare__col {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.compare__col h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.compare__col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.compare__col li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.compare__col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.compare__col--before {
  background: #fafafa;
}

.compare__col--before li::before {
  background: #cbd5d3;
}

.compare__col--after {
  background: linear-gradient(145deg, #f0faf9, #fff);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-sm);
}

.compare__col--after li::before {
  background: var(--primary);
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.step__body p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.flow-figure {
  margin: 2rem 0 0;
}

.flow-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card--link:hover h3 {
  color: var(--primary-dark);
}

.card--link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.card--current {
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.06);
}

.card--current h3 {
  color: var(--primary-dark);
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.seo-content {
  display: grid;
  gap: 1rem;
}

.seo-content h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.seo-content h3:first-child {
  margin-top: 0;
}

.seo-content p {
  color: var(--text-muted);
}

.steps--compact {
  list-style: decimal;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.steps--compact li {
  padding-left: 0.25rem;
}

.showcase__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

/* CTA banner */
.cta-banner {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.cta-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.35);
}

.cta-banner h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 28ch;
}

.cta-banner p {
  margin-top: 0.5rem;
  opacity: 0.92;
  max-width: 48ch;
  font-size: 0.98rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.contact-aside {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-aside h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-aside > p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
}

.contact-meta {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-meta dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.form-status {
  display: none;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e8f7ef;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  padding: 1.75rem 0 5.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
}

.footer__nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--primary-dark);
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
}

.mobile-cta:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(244, 247, 246, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero__grid,
  .compare,
  .cards,
  .showcase,
  .contact-grid,
  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__visual {
    order: -1;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta {
    display: inline-flex;
  }

  .footer {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
