body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
  background: #f6f8fc;
  color: #1f2a44;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

.landing-page .page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.landing-page section,
.landing-page header,
.landing-page footer {
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.landing-page h1,
.landing-page h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.landing-page p {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.5;
}

.landing-page .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a5f9b;
  font-size: 12px;
  font-weight: 700;
}

.landing-page .checkout-container {
  min-height: 0;
}

.landing-page .checkout-main {
  background: linear-gradient(180deg, #f9faff 0%, #f3f5fc 100%);
  border-color: #dbe2f0;
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.06);
}

#offer-title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1f2a44;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.offer-product {
  color: #1f2a44;
  white-space: nowrap;
  line-height: 1.1;
}

.offer-muted-line {
  font-size: 15px;
  font-weight: 600;
  color: #5d6780;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
  gap: 7px;
}

#offer-price {
  color: #4f5a75;
  font-weight: 700;
}

.offer-dot {
  opacity: 0.55;
  transform: translateY(-0.5px);
}

.landing-page .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.landing-page .card {
  background: #f9fbff;
  border: 1px solid #e4ebfa;
  border-radius: 10px;
  padding: 16px;
}

.landing-page .card span {
  color: #4a5f9b;
  font-size: 14px;
  font-weight: 600;
}

.landing-page ul {
  margin: 0;
  padding-left: 18px;
}

.landing-page .cta-button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: #3f5efb;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.landing-page .cta-button:hover {
  background: #2f4be8;
}

.payment-form {
  background: #ffffff;
  border: 1px solid #dce3f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(28, 45, 76, 0.06);
}

.payment-form h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: #2f3a57;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.payment-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-brands {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  background: #f5f7fd;
  border: 1px solid #e5eaf5;
  border-radius: 10px;
}

.card-logo {
  display: block;
  flex: 0 0 auto;
  filter: saturate(0.95);
}

.trust-divider {
  border-top: 1px solid #d9dfeb;
  margin: 6px 0 6px;
}

.trust-banner {
  border: 1px solid #d9dfeb;
  background: #f6f8fe;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  min-height: 38px;
  border-radius: 8px;
}

.trust-banner > * {
  align-self: center;
}

.trust-lock {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #5f6673;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
}

.payment-trust {
  margin: 0;
  font-size: 14px;
  color: #667086;
  text-align: center;
  line-height: 1;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-trust span {
  display: inline-block;
}

.stripe-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  justify-self: end;
}

.powered-by {
  color: #8a92a3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.stripe-word {
  color: #635bff;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #2f3a57;
  margin-bottom: 8px;
}

.email-input {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #d3dced;
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 20px;
  color: #1f2a44;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.email-input::placeholder {
  color: #8a93ad;
}

.email-input:focus {
  outline: none;
  border-color: #7f8ce8;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.stripe-field {
  background: #ffffff;
  border: 1px solid #d3dced;
  border-radius: 10px;
  padding: 13px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-group:focus-within .stripe-field {
  border-color: #7f8ce8;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.pay-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #151b2e 0%, #0f1422 100%);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  padding: 17px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(16, 24, 44, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pay-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(16, 24, 44, 0.4);
}

.pay-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.payment-message {
  margin-top: 10px;
  margin-bottom: 0;
  color: #c0392b;
  font-weight: 600;
}

.payment-success {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #d8ead8;
  background: #f4fbf4;
  border-radius: 10px;
}

.payment-success-title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: #1f6e31;
}

.payment-success-copy {
  margin: 0;
  color: #245738;
  font-size: 17px;
}

.payment-complete .payment-form-header,
.payment-complete .email-group,
.payment-complete .payment-details,
.payment-complete #payment-message {
  display: none;
}

.payment-complete-state #ready-to-buy-section {
  display: none;
}

#success {
  max-width: 640px;
  margin: 48px auto;
  background: #ffffff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 24px;
}

.hidden {
  display: none;
}

@media (max-width: 820px) {
  #offer-title {
    font-size: 24px;
  }

  .offer-muted-line {
    font-size: 14px;
  }

  .payment-form h3 {
    font-size: 17px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}