:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-soft: #f8f5f0;
  --line: #e6e0d8;
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --soft: #9a9a9a;
  --accent: #c6a769;
  --accent-dark: #b8965d;
  --icon: #7a6f63;
  --shadow: 0 24px 70px rgba(74, 60, 49, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(245, 242, 236, 0.92)),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.hero-panel {
  min-height: 490px;
  border: 1px solid rgba(198, 167, 105, 0.22);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.97) 0%, rgba(245, 242, 236, 0.86) 45%, rgba(245, 242, 236, 0.18) 100%),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1800&q=82") center right / cover;
  box-shadow: var(--shadow);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 0;
}

.brand {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.start-pill,
.checkout-title-row > span {
  border: 1px solid rgba(198, 167, 105, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--icon);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 40px;
  min-height: 430px;
  padding: 42px 48px 46px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 26px;
  color: rgba(43, 43, 43, 0.72);
  font-size: 17px;
  line-height: 1.62;
}

.goal-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.goal-button {
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(43, 43, 43, 0.78);
  font-weight: 700;
}

.goal-button.active {
  border-color: rgba(198, 167, 105, 0.5);
  background: rgba(198, 167, 105, 0.18);
  color: var(--icon);
}

.summary-panel {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.summary-kicker {
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-panel h2 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.12;
}

.summary-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.summary-meta span::before,
.feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.summary-panel strong {
  color: var(--accent-dark);
  font-size: 28px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}

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

.section-heading h2,
.checkout-card h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.program-list {
  display: grid;
  gap: 18px;
}

.program-card,
.checkout-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(74, 60, 49, 0.08);
}

.program-card {
  overflow: hidden;
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.program-card:hover,
.program-card:focus-visible,
.program-card.selected {
  border-color: rgba(198, 167, 105, 0.58);
  box-shadow: 0 22px 56px rgba(198, 167, 105, 0.18);
  transform: translateY(-2px);
}

.program-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 210px;
  padding: 22px;
  background-size: cover;
  background-position: center;
}

.program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08));
}

.bikini-media {
  background-image: url("https://images.unsplash.com/photo-1579758629938-03607ccdbaba?auto=format&fit=crop&w=1300&q=82");
}

.shape-media {
  background-image: url("https://images.unsplash.com/photo-1518310383802-640c2de311b2?auto=format&fit=crop&w=1300&q=82");
}

.discount-badge,
.day-stack {
  position: relative;
  z-index: 1;
}

.discount-badge {
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 12px;
}

.day-stack {
  display: grid;
  color: #ffffff;
  text-align: right;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.day-stack strong {
  font-size: 80px;
  line-height: 0.78;
}

.day-stack span {
  font-size: 31px;
  font-weight: 700;
}

.program-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.program-date {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.program-body h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.program-body p {
  color: rgba(43, 43, 43, 0.68);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  color: rgba(43, 43, 43, 0.68);
  font-size: 14px;
  list-style: none;
}

.program-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.program-footer strong {
  color: var(--accent-dark);
  font-size: 22px;
  text-align: center;
}

.ghost-button,
.select-button,
.pay-button {
  border: 0;
  border-radius: 14px;
  font-weight: 700;
}

.ghost-button {
  background: rgba(0, 0, 0, 0.07);
  color: var(--icon);
  padding: 13px 18px;
}

.select-button,
.pay-button {
  background: linear-gradient(135deg, #d8c29a, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(198, 167, 105, 0.32);
}

.select-button {
  padding: 14px 18px;
}

.checkout-card {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.checkout-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

form {
  display: grid;
  gap: 12px;
}

label:not(.checkbox-row) {
  display: grid;
  gap: 7px;
}

label > span:first-child {
  color: rgba(43, 43, 43, 0.62);
  font-size: 13px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input:not([type]) {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.045);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: rgba(198, 167, 105, 0.72);
  background: rgba(198, 167, 105, 0.08);
}

.payment-section-title {
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.selected-program-row {
  display: grid;
  gap: 5px;
  border-radius: 14px;
  background: rgba(198, 167, 105, 0.1);
  padding: 13px 14px;
}

.selected-program-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.selected-program-row strong {
  color: var(--icon);
  font-size: 14px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(43, 43, 43, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.pay-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px 0 20px;
  margin-top: 4px;
}

.pay-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}

.form-status.success {
  color: var(--accent-dark);
  font-weight: 700;
}

.form-status.error {
  color: #ef4444;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel,
  .checkout-card {
    position: static;
  }

  .hero-panel {
    background-position: center;
  }
}

@media (max-width: 660px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 12px;
  }

  .hero-panel,
  .program-card,
  .checkout-card {
    border-radius: 18px;
  }

  .brand-row,
  .hero-grid,
  .program-body,
  .checkout-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid {
    min-height: 520px;
    padding-top: 34px;
  }

  .lead {
    font-size: 15px;
  }

  .goal-switch,
  .card-row,
  .feature-list,
  .program-footer {
    grid-template-columns: 1fr;
  }

  .program-footer strong {
    text-align: left;
  }

  .program-media {
    min-height: 185px;
  }

  .day-stack strong {
    font-size: 60px;
  }
}