:root {
  --bg: #f0f1f3;
  --surface: #f8f9fb;
  --form: #f8f9fb;
  --field: #f1f3f6;
  --text: #2a3542;
  --muted: #667382;
  --line: #e2e4e8;
  --cta: #3f6248;
  --cta-hover: #34533c;
  --cta-text: #f4f7fa;
  --soft: #dce8df;
  --header: #f0f1f3;
  --shadow: none;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}
.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.site-header-inner, .wrap {
  max-width: 920px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #0d3a66;
}
.brand h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.main { padding: 28px 20px 48px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.form-card { background: var(--form); }
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.offer-title {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-note { color: var(--muted); font-size: 1.05rem; }
.renew {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.benefits {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.benefits li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line);
}
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--cta);
}
.benefits li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--cta);
  border-bottom: 2px solid var(--cta);
  transform: rotate(-45deg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-text);
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--cta-hover); }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  min-height: 40px;
}
.btn-ghost:hover { background: transparent; color: var(--text); }
.trust { max-width: 640px; margin: 36px auto 0; text-align: left; }
.trust h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.trust p { color: var(--muted); margin: 0 0 14px; }
.trust .emphasis { color: var(--text); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.form-title { margin: 0 0 18px; font-size: 1.25rem; }
.form-msg {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1rem;
}
label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
input[type="text"], select.form-control, select {
  width: 100%;
  height: 48px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  font: inherit;
}
input:focus, select:focus {
  outline: none;
  border-color: #b7c6b9;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(63, 98, 72, 0.12);
}
.btn.btn-primary, .btn-primary {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--cta-text);
}
.btn.btn-primary:hover, .btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: var(--cta-text);
}
.btn-outline-primary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn-outline-primary:hover {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
#purchaseButton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.checkout-heading {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
#popupDialog {
  display: none;
}
#popupDialog.show {
  display: block;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.narrow { max-width: 480px; margin: 0 auto; }
footer.site-footer {
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
footer.site-footer a { color: inherit; }
#join-modal, #custom-dialog {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 24, 0.55);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#join-modal.open, #custom-dialog.open { display: flex; }
.modal-card { width: min(440px, 100%); }
.custom-dialog-body { margin: 0 0 18px; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .price { font-size: 2.4rem; }
  .card { padding: 22px 18px; }
}
.thankyou-title {
  margin: 0 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.thankyou-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}
.steps {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: hs-step;
}
.steps li {
  position: relative;
  padding: 10px 0 10px 40px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: hs-step;
  content: counter(hs-step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--cta);
  font-size: 0.85rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 8px 0 28px;
}
.store-badges img {
  height: 48px;
  width: auto;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 12px 0 8px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--field);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cta);
  font-weight: 600;
  text-decoration: none;
}
.video-link:hover { color: var(--cta-hover); }
.narrow-thankyou { max-width: 640px; margin: 0 auto; }
