:root {
  --color-text: #111418;
  --color-accent: #34d96f;
  --color-accent-light: #a7e8bc;
  --color-bg: #ffffff;
  --color-section: #f5f7fa;
  --color-border: #e2e4ea;
  --shadow-soft: 0 12px 30px rgba(17, 20, 24, 0.08);
  --compare-arrow-size: 16px;
  --compare-arrow-stroke: 3px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo img {
  display: block;
}

.primary-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.primary-nav a {
  position: relative;
  padding-bottom: 4px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.primary-nav a:hover::after {
  width: 100%;
}

.button {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary {
  padding: 0.85rem 1.8rem;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(52, 217, 111, 0.25);
}

.button-primary:hover {
  background: #2cb35b;
  transform: translateY(-1px);
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #4a4f58;
}

.hero {
  padding-top: 80px;
  padding-bottom: 48px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at top right, rgba(52, 217, 111, 0.2), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-card {
  background: transparent;
  border-radius: 24px;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 640px;
  width: 100%;
  justify-self: end;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.hero-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.hero-list li::before {
  content: "•";
  color: var(--color-accent);
  font-size: 1.4rem;
}

.hero-compare {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare {
  --split: 50;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  align-items: center;
  animation: compareIntro 0.35s ease both;
}

.compare-shell {
  position: relative;
  border-radius: 22px;
  padding: 16px 14px 14px;
  background: #ffffff;
  border: 1px solid #e6e8ed;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 415px;
  max-height: 376px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.compare-window-dots {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 6;
  pointer-events: none;
}

.compare-window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d3d5da;
}

.compare-stage {
  margin-top: 18px;
  position: relative;
  width: 100%;
  height: 230px;
  max-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #f7f8fa;
  border: 1px solid #eceef2;
  user-select: none;
  touch-action: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.compare-layer-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split) * 1%) 0 0);
}

.compare-layer-before {
  z-index: 1;
}

.compare-divider {
  position: absolute;
  inset: 0;
  left: calc(var(--split) * 1%);
  width: 3px;
  transform: translateX(-1.5px);
  background: #ffffff;
  z-index: 3;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: calc(var(--split) * 1%);
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 100%;
  background: #ffffff;
  border: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.compare-handle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 34px;
  height: 34px;
  border-radius: 100%;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1rem;
}

.compare-handle-arrow,
.compare-cycle-icon {
  position: relative;
  display: block;
  width: var(--compare-arrow-size);
  height: var(--compare-arrow-size);
  color: var(--color-accent);
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 5 8 12l7 7' stroke='%2334d96f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 0 var(--color-accent)) drop-shadow(0 0 0 var(--color-accent));
}

.compare-handle-arrow-right,
.compare-cycle-next .compare-cycle-icon {
  transform: rotate(180deg);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.compare-arrow-group {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 1px 8px;
  background: #ffffff;
  border-radius: 999px;
  z-index: 7;
  color: var(--color-accent);
}

.compare-cycle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.compare-cycle-icon {
  display: block;
  color: var(--color-accent);
  height: 24px;
  width: 24px;
  mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.172 12L15.207 5.965L14.5 5.258L7.758 12L14.5 18.742L15.207 18.035L9.172 12Z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.172 12L15.207 5.965L14.5 5.258L7.758 12L14.5 18.742L15.207 18.035L9.172 12Z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
}

.compare-cycle-next .compare-cycle-icon {
  transform: rotate(180deg);
}

.compare-cycle[aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
}

.compare-cycle[aria-disabled="true"]:hover {
  transform: none;
}

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

.compare-infobar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(52, 217, 111, 0.08);
  border: 1px solid rgba(52, 217, 111, 0.45);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  align-self: stretch;
  justify-content: flex-start;
}

.compare-infobar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 217, 111, 0.45);
  background: rgba(52, 217, 111, 0.12);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.95rem;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 0;
  margin-top: 56px;
  margin-bottom: 5px;
  box-shadow: var(--shadow-soft);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 32s linear infinite;
  width: max-content;
}

.logo-marquee img {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-neutral {
  background: var(--color-section);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.step {
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 12px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ba-card {
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.ba-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ba-images.ba-images-stack {
  grid-template-columns: 1fr;
}

.ba-images figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ba-images img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}

.ba-images figcaption {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #70757f;
}

.offer {
  background: var(--color-section);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-control label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.form-control input,
.form-control select,
.form-control textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form-control textarea {
  min-height: 120px;
  resize: vertical;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(52, 217, 111, 0.2);
}

.full-width {
  grid-column: 1 / -1;
}

.consent {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.consent input {
  margin-top: 3px;
}

.form-actions {
  margin-top: 24px;
}

#form-status {
  margin-top: 16px;
  font-weight: 600;
}

.status-success {
  color: #118b4c;
}

.status-error {
  color: #b3261e;
}

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

.faq-item {
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-size: 1rem;
}

.legal-main {
  padding: 140px 0 80px;
  background: var(--color-section);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 4vw, 56px);
}

.legal-tagline {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.legal-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.legal-intro,
.legal-updated {
  font-size: 1.05rem;
  color: #4a4f58;
}

.legal-intro {
  margin-bottom: 32px;
}

.legal-updated {
  margin-top: 8px;
  margin-bottom: 16px;
}

.legal-section + .legal-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.legal-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.legal-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 16px 0 8px;
  color: #1d2433;
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-list li {
  margin-bottom: 6px;
}

footer {
  background: #0f1115;
  color: #fff;
  padding: 48px 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-top img {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: #d0d5dd;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: stretch;
    max-width: none;
  }

  .compare-shell {
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .compare-stage {
    aspect-ratio: 16 / 13;
  }

  .compare-arrow-group {
    margin-top: 14px;
  }

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

@media (max-width: 640px) {
  section {
    padding: 40px 0;
  }

  .legal-main {
    padding: 120px 0 60px;
  }

  .legal-content {
    padding: 24px;
    border-radius: 16px;
  }

  .cards-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .ba-images {
    grid-template-columns: 1fr;
  }

  .compare {
    padding: 0;
    border-radius: 0;
  }

  .compare-shell {
    padding: 18px 12px 14px;
  }

  .compare-stage {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .compare-handle {
    width: 52px;
    height: 52px;
  }

  .compare-handle-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .compare-cycle {
    width: 32px;
    height: 32px;
  }

  .compare-infobar {
    font-size: 0.95rem;
  }

  .offer {
    padding: 32px;
  }

  .footer-top {
    flex-direction: column;
  }

  .logo-marquee {
    margin-top: 36px;
    padding: 12px 0;
    margin-bottom: 5px;
  }

  .logo-track {
    gap: 32px;
  }

  .logo-marquee img {
    height: 34px;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 24, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}

.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  cursor: zoom-out;
}

.image-lightbox button {
  position: absolute;
  top: 24px;
  right: 24px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes compareIntro {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 961px) {
  .ba-images img {
    height: 280px;
  }

  .ba-images figure {
    min-height: 320px;
  }

  .ba-images figure.landscape {
    min-height: 260px;
  }

  .ba-images figure.landscape img {
    height: 220px;
  }
}
