:root {
  --primary: #24745f;
  --primary-dark: #185545;
  --accent: #e2a84d;
  --bg: #eaf6fb;
  --surface: #ffffff;
  --surface-blue: #d8edf7;
  --text: #17303b;
  --muted: #5e7480;
  --line: #b8d8e6;
  --danger: #c73737;
  --radius: 8px;
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 34rem),
    linear-gradient(180deg, var(--bg), #f5fbfd 54%, #edf7f2);
  color: var(--text);
  line-height: 1.55;
}

html,
body {
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding: 28px 0 48px;
}

.hero {
  display: grid;
  gap: 22px;
  align-items: center;
  min-height: 100vh;
  padding: 16px 0 22px;
}

.hero-banner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px clamp(8px, 2vw, 18px) 14px;
  border: 2px solid #1f1f1f;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.hero-banner__plain,
.hero-banner__highlight {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 5px;
  padding: 0 3px;
  overflow-wrap: anywhere;
  font-size: clamp(1.42rem, 5.4vw, 3rem);
}

.hero-banner__plain:last-child,
.hero-banner__highlight:last-child {
  margin-bottom: 0;
}

.hero-banner__highlight {
  background: #07820f;
  color: #fff;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 4px;
  color: var(--primary-dark);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.subtitle {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
}

.video-frame::before {
  content: none;
}

.video-frame:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  background: #000;
}

.video-frame:fullscreen video {
  object-fit: contain;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
}

.video-play-overlay.hidden {
  display: none;
}

.video-play-overlay__label,
.video-play-overlay__label-p5,
.video-play-overlay__p4,
.video-play-overlay__p5,
.video-play-overlay__muted {
  display: none;
}

.video-play-overlay__icon {
  display: grid;
  width: clamp(86px, 22vw, 136px);
  height: clamp(86px, 22vw, 136px);
  place-items: center;
  border-radius: 999px;
  background: #118a2a;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.video-play-overlay__text {
  max-width: min(90%, 520px);
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(17, 138, 42, 0.92);
  font-size: clamp(1.05rem, 4vw, 1.65rem);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
}

html[data-play-variant="P4"] .video-play-overlay {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.08);
}

html[data-play-variant="P4"] .video-play-overlay.hidden {
  display: none;
}

html[data-play-variant="P4"] .video-play-overlay::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(82%, 560px);
  height: min(72%, 230px);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(19, 199, 62, 0.86);
}

html[data-play-variant="P4"] .video-play-overlay__label,
html[data-play-variant="P4"] .video-play-overlay__label-p4,
html[data-play-variant="P4"] .video-play-overlay__p4 {
  display: block;
}

html[data-play-variant="P4"] .video-play-overlay__p1 {
  display: none;
}

html[data-play-variant="P4"] .video-play-overlay__label {
  max-width: min(72%, 460px);
  color: #fff;
  font-size: clamp(1rem, 4.1vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

html[data-play-variant="P4"] .video-play-overlay__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  line-height: 0.85;
}

html[data-play-variant="P4"] .video-play-overlay__play {
  display: block;
}

html[data-play-variant="P4"] .video-play-overlay__text {
  max-width: min(72%, 460px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.48rem);
  font-weight: 900;
  line-height: 1.12;
}

html[data-play-variant="P5"] .video-play-overlay {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.08);
}

html[data-play-variant="P5"] .video-play-overlay.hidden {
  display: none;
}

html[data-play-variant="P5"] .video-play-overlay::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(82%, 560px);
  height: min(72%, 230px);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(19, 199, 62, 0.86);
}

html[data-play-variant="P5"] .video-play-overlay__label,
html[data-play-variant="P5"] .video-play-overlay__label-p5,
html[data-play-variant="P5"] .video-play-overlay__p5 {
  display: block;
}

html[data-play-variant="P5"] .video-play-overlay__label-p4,
html[data-play-variant="P5"] .video-play-overlay__p1,
html[data-play-variant="P5"] .video-play-overlay__p4,
html[data-play-variant="P5"] .video-play-overlay__play {
  display: none;
}

html[data-play-variant="P5"] .video-play-overlay__label {
  max-width: min(72%, 460px);
  color: #fff;
  font-size: clamp(1.08rem, 4.5vw, 1.95rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

html[data-play-variant="P5"] .video-play-overlay__icon {
  display: grid;
  width: clamp(78px, 17vw, 118px);
  height: auto;
  place-items: center;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-play-variant="P5"] .video-play-overlay__muted {
  display: block;
  color: #fff;
  line-height: 1;
}

html[data-play-variant="P5"] .video-play-overlay__muted-icon {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

html[data-play-variant="P5"] .video-play-overlay__text {
  max-width: min(72%, 460px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1.08rem, 4.35vw, 1.78rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

video {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  background: #000;
  object-fit: cover;
}

.video-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 8px;
  min-width: 210px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(13, 32, 39, 0.84);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.video-countdown.hidden {
  opacity: 0;
  pointer-events: none;
}

.countdown-label {
  font-size: 0.95rem;
}

.countdown-seconds {
  color: #9ce6d3;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.mute-btn,
.manual-start {
  position: absolute;
  z-index: 5;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mute-btn {
  left: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  background: rgba(13, 32, 39, 0.74);
  color: #fff;
  font-size: 1.2rem;
}

.manual-start {
  right: 24px;
  bottom: 24px;
  display: none;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.manual-start.visible {
  display: inline-flex;
}

.mute-btn:hover,
.manual-start:hover {
  transform: translateY(-1px);
}

.pause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 999px;
  background: rgba(13, 32, 39, 0.72);
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pause-indicator.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #8bd5c2);
  transition: width 0.12s linear;
}

.form-wait-notice {
  width: min(960px, calc(100% - 32px));
  margin: -10px auto 24px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.delayed-video-copy {
  display: none;
}

.delayed-video-copy.visible {
  display: block;
}

.form-wait-notice.hidden {
  display: none;
}

#leadForm {
  display: none;
  width: min(960px, calc(100% - 32px));
  min-height: min(720px, 100vh);
  margin: 0 auto 34px;
  padding: 8px clamp(18px, 5vw, 28px) 12px;
  border: 2px dashed #3d86ff;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  animation: slideUp 0.35s ease;
  color: #000;
  text-align: center;
}

#leadForm.visible {
  display: block;
}

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

.title-form {
  margin-top: 12px;
  color: #000;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
}

.form-product {
  display: block;
  width: min(58%, 210px);
  max-height: 280px;
  margin: 12px auto 10px;
  object-fit: contain;
}

.form-note {
  margin: 24px 0 0;
  color: #000;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

#leadForm input {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid #b8d4ff;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#leadForm input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 116, 95, 0.14);
}

#leadForm button {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: #367fe7;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

#leadForm button:hover {
  background: var(--primary-dark);
}

#leadForm button:disabled {
  background: #8ca5af;
  cursor: wait;
}

.form-policy {
  margin: 12px 0 0;
  color: #1f1f1f;
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
}

.form-policy a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.msg {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
}

.msg.success {
  background: #dcf7e7;
  color: #17603b;
}

.msg.error {
  background: #ffe4e4;
  color: #9c2424;
}

.error-text {
  display: none;
  margin: -4px 0 12px;
  color: var(--danger);
  font-size: 0.9rem;
}

.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.reviews {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 30px;
  background: #fff;
}

.section-heading {
  margin-bottom: 14px;
}

.reviews-title {
  margin-top: 2px;
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.review-card {
  position: relative;
  max-height: none;
  margin: 0 0 20px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: none;
}

.review-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-name {
  margin: 0 0 6px 4px;
  color: #2d58ae;
  font-size: 1rem;
  font-weight: 800;
}

.review-bubble {
  position: relative;
  margin-right: 2px;
  padding: 10px 24px;
  border-radius: 22px;
  background: #e7e8ed;
  color: #000;
}

.review-like-count {
  position: absolute;
  right: 4px;
  bottom: -12px;
  display: inline-flex;
  min-width: 74px;
  align-items: center;
  gap: 0;
  padding: 2px 10px 3px 6px;
  border: 3px solid #e7e8ed;
  border-radius: 999px;
  background: #fff;
  color: #2d58ae;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}

.review-like-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 0.66rem;
  line-height: 1;
}

.review-like-icon--thumb {
  z-index: 2;
  background: #2f82ff;
}

.review-like-icon--heart {
  z-index: 1;
  margin-left: -5px;
  background: #ef4f6f;
}

.review-like-number {
  margin-left: 5px;
}

.review-card.liked .review-like-count {
  border-color: #d4e2ff;
  background: #f6f9ff;
}

.review-text {
  color: #000;
  font-size: clamp(1rem, 4.4vw, 1.28rem);
  line-height: 1.12;
}

.review-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 7px 0 0 4px;
  color: #2d58ae;
  font-size: 0.92rem;
}

.review-actions button,
.review-login {
  border: 0;
  background: transparent;
  color: #2d58ae;
  font: inherit;
  cursor: pointer;
}

.review-card.liked .review-like-action {
  font-weight: 700;
}

.review-login {
  display: block;
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
}

.form-topline {
  font-size: 1rem;
  line-height: 1.15;
}

.form-topline p + p {
  margin-top: 12px;
}

.form-topline span,
.price-row strong {
  color: #f01808;
}

.price-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: center;
  margin: 16px 0 0;
}

.price-row span {
  color: #000;
  font-size: 1.15rem;
  text-decoration: line-through;
}

.price-row strong {
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
}

.form-timer {
  margin: 2px 0 16px;
  color: #585858;
  font-size: clamp(2.1rem, 9vw, 3.3rem);
  line-height: 1;
}

.form-label {
  display: block;
  margin: 8px 0 4px;
  color: #000;
  font-size: 1rem;
  text-align: center;
}

.form-disclaimer {
  margin: 14px 0 0;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.15;
}

.site-footer {
  background: #f5f5f5;
  color: #4d5f66;
  font-size: 0.88rem;
  line-height: 1.35;
}

.site-footer__inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.site-footer p + p {
  margin-top: 12px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 12px;
  }

  .hero-copy,
  .hero-banner,
  .form-wait-notice,
  #leadForm,
  .reviews {
    width: min(100% - 20px, 960px);
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .mute-btn {
    left: 18px;
    bottom: 18px;
  }

  .manual-start {
    right: 18px;
    bottom: 18px;
    max-width: calc(100% - 88px);
    padding: 11px 14px;
  }

  .review-top {
    display: block;
  }

  .review-stars {
    margin-top: 4px;
  }

  .site-footer__inner {
    width: min(100% - 20px, 960px);
  }
}
