:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-soft: #f1f1ea;
  --text: #1f2a2e;
  --muted: #5c6b72;
  --accent: #2f7c72;
  --accent-strong: #3dd1b5;
  --highlight: #ffd58a;
  --border: #e6e1d8;
  --shadow: 0 18px 40px rgba(26, 30, 34, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, rgba(61, 209, 181, 0.16), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(255, 213, 138, 0.22), transparent 40%),
    var(--bg);
  min-height: 100vh;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 225, 216, 0.9);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

.brand-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

.nav-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #39c6a3, #63e1cf);
  color: #0f1f1c;
  box-shadow: 0 12px 28px rgba(61, 209, 181, 0.3);
}

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

.button.ghost {
  color: var(--text);
  background: rgba(47, 124, 114, 0.08);
  border: 1px solid rgba(47, 124, 114, 0.2);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 32px 110px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  margin: 0;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.hero-proof strong {
  display: block;
  font-size: 1.05rem;
}

.hero-proof span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.ba-card {
  width: min(520px, 100%);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.ba-header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.video-compare-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e6e4dd;
  width: 100%;
  max-width: 100%;
  --compare-width: 100%;
}

.video-compare-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-compare-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-base {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-clipper {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.video-compare {
  position: absolute;
  inset: 0;
  width: var(--compare-width);
  height: 100%;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}

.handle-line {
  width: 2px;
  height: 100%;
  background: rgba(31, 42, 46, 0.6);
  box-shadow: 0 0 0 6px rgba(61, 209, 181, 0.2);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 42, 46, 0.15);
  color: #1f2a2e;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.15);
}

.compare-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.9rem;
  z-index: 4;
}

.video-compare-container.ready .compare-loading {
  display: none;
}

.ba-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 124, 114, 0.2);
  background: rgba(47, 124, 114, 0.1);
  color: var(--text);
  font-size: 0.82rem;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 16px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

.section-tag {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.social-proof {
  padding-top: 10px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  box-shadow: 0 12px 24px rgba(31, 42, 46, 0.08);
}

.step-grid,
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card,
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 26px rgba(31, 42, 46, 0.08);
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 209, 181, 0.16);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.tabs {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-button {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.2s ease;
}

.tab-button.is-active {
  background: rgba(61, 209, 181, 0.18);
  color: var(--text);
  border-color: rgba(61, 209, 181, 0.35);
}

.tab-panels {
  display: grid;
  gap: 16px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(61, 209, 181, 0.18), rgba(255, 213, 138, 0.16));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 18px;
  box-shadow: 0 12px 22px rgba(31, 42, 46, 0.06);
}

.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
}

.text-highlighter {
  position: relative;
  display: inline-block;
  color: var(--text);
  background-image: linear-gradient(120deg, transparent 0%, transparent 45%, var(--highlight) 45%, var(--highlight) 100%);
  background-size: 100% 0.7em;
  background-repeat: no-repeat;
  background-position: 0 88%;
  padding: 0 6px 2px;
  transition: background-size 0.8s ease;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.js .text-highlighter {
  background-size: 0% 0.7em;
}

.js .text-highlighter.is-visible {
  background-size: 100% 0.7em;
}

[data-reveal] {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 31, 28, 0.55);
}

.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: min(720px, 90vw);
  box-shadow: var(--shadow);
  padding: 20px;
  z-index: 2;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-close {
  border: none;
  background: rgba(47, 124, 114, 0.12);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.modal-body video {
  width: 100%;
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-ctas {
    width: 100%;
  }

  .hero {
    padding: 50px 20px 90px;
  }

  .section {
    padding: 60px 20px;
  }

  .cta-card {
    padding: 24px;
  }
}
