/* HWF brand extracted from hw2staging.wpenginepowered.com (Elementor theme):
   black ground, white Raleway text, gold uppercase headings, red CTAs, Crete Round accents. */
:root {
  color-scheme: dark;
  --bg: #000;
  --card: #121212;
  --text: #fff;
  --muted: #fff;
  --gold: #e6ae48;
  --red: #e34242;
  --red-dark: #c02f2f;
  --line: #2e2b26;
  --input-bg: #fff;
  --input-text: #1a1a1a;
  --font-sans: "Raleway", Arial, sans-serif;
  --font-accent: "Crete Round", Georgia, serif;
}

* {
  box-sizing: border-box;
}

/* All type is rem-based — scaling the root bumps everything 10% */
html {
  font-size: 110%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Brand bar */
.brand-bar {
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Header */
.site-header {
  background: var(--bg);
  text-align: center;
  padding: 2.5rem 1rem 0.75rem;
}

.site-title {
  margin: 0.5rem 0 0;
  font-size: 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--gold);
}

/* Main card */
.content {
  max-width: 680px;
  margin: 1rem auto 2.5rem;
  padding: 0 1rem;
}

.purchase-card,
.thank-you {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
}

/* Product list */
.tier-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem 1rem;
  margin: 0 0 1.5rem;
}

.tier-list legend {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.35rem;
}

.tier-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}

.tier-item:hover {
  border-color: var(--line);
}

.tier-item:has(input:checked) {
  border-color: var(--gold);
  background: #1a1a1a;
}

.tier-item input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--red);
}

.tier-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.tier-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.tier-name {
  flex: 1;
  min-width: 60%;
  font-size: 1.275rem;
}

.tier-benefits {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  color: var(--text);
}

.tier-benefits li::marker {
  color: var(--gold);
}

.tier-benefits li {
  margin: 0.1rem 0;
}

.tier-price {
  font-family: var(--font-accent);
  font-size: 1.275rem;
  color: var(--gold);
}

.tier-badge {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  white-space: nowrap;
}

.tier-item.included {
  opacity: 0.6;
  cursor: default;
}

/* Selected summary */
.selected-summary {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1.5rem 0;
  padding: 0.75rem 0;
}

.selected-summary p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.selected-summary strong {
  color: var(--text);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.2rem;
}

/* Payment */
#paypal-button-container {
  margin-top: 1rem;
  padding: 10px;
}

/* Scheme mismatch with the dark page paints the transparent PayPal iframe white — align it */
#paypal-button-container iframe {
  color-scheme: light;
}

.payment-status {
  margin: 0.75rem 0 0;
  color: var(--red);
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* Thank-you page */
.thank-you {
  text-align: center;
}

.thank-you h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.6rem;
  color: var(--text);
  margin-top: 0;
}

.thank-you a {
  color: var(--gold);
}

/* Footer */
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 1rem 2.5rem;
}

.site-footer a {
  color: var(--gold);
}

/* Event note */
.event-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

/* Intake form */
.contact-fields,
.intake-group,
.payment-method {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem 1rem;
  margin: 1.5rem 0 0;
}

.contact-fields legend,
.intake-group legend,
.payment-method legend {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.35rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  color: var(--input-text);
  color-scheme: light;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--input-bg);
}

/* Chrome autofill paints its own dark bg under color-scheme:dark — pin it white */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
  -webkit-text-fill-color: var(--input-text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.payment-method label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.25rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.continue-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-dark);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.continue-btn:hover:not(:disabled) {
  background: #a52828;
}

.continue-btn:disabled {
  background: #4a4a4a;
  color: #9a9a9a;
  cursor: default;
}

/* Step wizard */
.step-indicator {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.step-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.nav-btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.95rem 1.4rem;
}

.nav-btn.back {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.nav-btn.back:hover {
  border-color: var(--gold);
}

.nav-btn.next {
  flex: 1;
  background: var(--red-dark);
  color: #fff;
  border: 0;
}

.nav-btn.next:hover {
  background: #a52828;
}

.step-nav .continue-btn {
  width: auto;
  flex: 1;
  margin-top: 0;
}

.pay-recap {
  margin: 0 0 0.5rem;
}

.pay-benefits {
  margin: 0 0 0.75rem;
}

.pay-recap strong {
  font-family: var(--font-accent);
  color: var(--gold);
  font-weight: 400;
}

.form-status {
  color: var(--red);
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0.5rem 0 0;
}

.privacy-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #b5b0a8;
}

.privacy-note a {
  color: var(--gold);
}

#payment-section {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

#check-instructions {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1a1a1a;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

#check-instructions address {
  font-style: normal;
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Netlify honeypot */
.hidden-field {
  position: absolute;
  left: -9999px;
}
