:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --primary: #ef5b3f;
  --secondary: #171717;
  --background: #fffdf9;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 32rem),
    var(--background);
  color: var(--secondary);
  overscroll-behavior-y: none;
}

button, input { font: inherit; }

.form-shell {
  min-height: 100vh;
  min-height: 100svh;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 5px;
  background: color-mix(in srgb, var(--primary) 15%, white);
  z-index: 10;
}

.progress__value {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 260ms ease;
}

.screen {
  display: none;
  width: min(760px, calc(100% - 36px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 72px 0 48px;
  align-items: center;
  animation: enter 260ms ease both;
}

.screen.is-active { display: flex; }
.screen__content { width: 100%; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.brand__logo, .brand__fallback {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  object-fit: contain;
  background: white;
  box-shadow: 0 14px 40px rgb(20 20 20 / 10%);
}

.brand__fallback {
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--button-text, white);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .06em;
}

.brand__fallback--wide { font-size: 18px; letter-spacing: .03em; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-text, var(--primary));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 680px; font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(30px, 5vw, 48px); }

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--secondary) 73%, white);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
}

.muted { color: color-mix(in srgb, var(--secondary) 62%, white); }

.button {
  display: inline-flex;
  min-height: 54px;
  margin-top: 30px;
  padding: 0 25px;
  border: 0;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--button-text, white);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 25%, transparent);
  transition: transform 150ms ease, box-shadow 150ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, .choice:focus-within { outline: 3px solid color-mix(in srgb, var(--primary) 32%, transparent); outline-offset: 3px; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.question-number { color: var(--accent-text, var(--primary)); font-size: 15px; font-weight: 800; }
.question-number::after { content: " →"; }

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 750; }

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, white);
  border-radius: 13px;
  background: rgb(255 255 255 / 82%);
  color: var(--secondary);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--secondary) 50%),
    linear-gradient(135deg, var(--secondary) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 15px) 24px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.fields--compact { margin-top: 20px; }

.choices { display: grid; gap: 11px; margin-top: 30px; }
.choice {
  display: flex;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, white);
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--primary) 5%, white);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.choice:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, white);
}

.choice input { width: 18px; height: 18px; accent-color: var(--primary); }

.legal-box {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: rgb(255 255 255 / 72%);
  font-size: 14px;
  line-height: 1.55;
}

.notice {
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff3cd;
  color: #664d03;
  font-size: 14px;
}

.nav-hint { margin-left: 12px; font-size: 13px; }

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

@media (max-width: 640px) {
  body { overscroll-behavior-y: auto; }
  .screen {
    width: min(100% - 28px, 760px);
    min-height: 100dvh;
    padding-top: max(32px, env(safe-area-inset-top));
    padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px));
    align-items: flex-start;
  }
  .screen__content { margin: 0; }
  .fields { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
  .field--wide { grid-column: auto; }
  .brand { margin-bottom: 24px; }
  .brand__logo, .brand__fallback { width: 64px; height: 64px; border-radius: 17px; }
  .brand__fallback { font-size: 21px; }
  .eyebrow { margin-bottom: 8px; font-size: 11px; line-height: 1.35; }
  h1 { font-size: clamp(36px, 10.2vw, 44px); }
  h2 { font-size: clamp(29px, 8.3vw, 36px); }
  .lead { margin-top: 16px; font-size: 17px; line-height: 1.48; }
  .field input, .field select { min-height: 56px; font-size: 16px; }
  .button { width: 100%; min-height: 56px; margin-top: 24px; }
  .choices { gap: 9px; margin-top: 22px; }
  .choice { min-height: 56px; padding: 11px 14px; }
  .legal-box { margin-top: 20px; }
  .nav-hint { display: none; }
}

@media (max-width: 360px) {
  .screen { width: min(100% - 24px, 760px); padding-top: max(24px, env(safe-area-inset-top)); }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Bidaclub corporate treatment for the fixed club-interest form. */
.bidaclub-lead-page {
  font-family: var(--bida-font);
  background:
    linear-gradient(90deg, rgb(148 56 54 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(32 41 64 / 3%) 1px, transparent 1px),
    radial-gradient(circle at 88% 12%, rgb(242 183 5 / 18%), transparent 27rem),
    var(--background);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.bidaclub-lead-page .progress { height: 6px; background: rgb(148 56 54 / 12%); }
.bidaclub-lead-page .screen { width: min(800px, calc(100% - 40px)); }
.bidaclub-lead-page .screen__content { position: relative; }
.bidaclub-lead-page .screen__content:before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 28px;
  background: var(--bida-gold);
}

.bidaclub-lead-page .brand { margin-bottom: 28px; }
.bidaclub-lead-page .brand__logo {
  width: 112px;
  height: 112px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bidaclub-lead-page .brand__fallback {
  border-radius: 0;
  background: var(--bida-burgundy);
  box-shadow: none;
}

.bidaclub-lead-page .eyebrow { color: var(--bida-burgundy); }
.bidaclub-lead-page h1, .bidaclub-lead-page h2 { color: var(--bida-navy); font-weight: 750; }
.bidaclub-lead-page .lead { color: var(--bida-navy-soft); }
.bidaclub-lead-page .question-number { color: var(--bida-burgundy); }

.bidaclub-lead-page .button {
  min-width: 170px;
  border-radius: 8px;
  background: var(--bida-gold);
  box-shadow: 0 12px 26px rgb(242 183 5 / 25%);
  color: var(--bida-navy);
}

.bidaclub-lead-page .button:hover { box-shadow: 0 15px 30px rgb(242 183 5 / 32%); }
.bidaclub-lead-page .button:focus-visible { outline-color: rgb(242 183 5 / 45%); }
.bidaclub-lead-page .choice { border-color: rgb(32 41 64 / 16%); background: rgb(255 255 255 / 88%); }
.bidaclub-lead-page .choice:has(input:checked) { border-color: var(--bida-burgundy); background: rgb(148 56 54 / 8%); }
.bidaclub-lead-page .choice input { accent-color: var(--bida-burgundy); }
.bidaclub-lead-page .field input, .bidaclub-lead-page .field select { border-color: rgb(32 41 64 / 16%); border-radius: 9px; }
.bidaclub-lead-page .legal-box { border-color: var(--bida-gold); background: rgb(255 255 255 / 82%); }
.bidaclub-lead-page .notice { border-left: 4px solid var(--bida-gold); border-radius: 0 8px 8px 0; background: var(--bida-gold-soft); color: #654c00; }

@media (max-width: 640px) {
  .bidaclub-lead-page .screen { width: min(100% - 28px, 800px); }
  .bidaclub-lead-page .screen__content:before { width: 38px; height: 4px; margin-bottom: 20px; }
  .bidaclub-lead-page .brand__logo { width: 82px; height: 82px; }
  .bidaclub-lead-page .button { width: 100%; }
}

/* Preserve shield proportions; the monochrome WordPress variant needs a dark base. */
#club-form .brand__logo { padding: 10px; background: var(--logo-background, white); }

/* Center community form headings, copy and branding; keep controls easy to scan. */
#club-form .screen__content { text-align: center; }
#club-form .brand { justify-content: center; }
#club-form h1, #club-form .lead { margin-inline: auto; }
#club-form .fields, #club-form .choices { text-align: left; }
@media (min-width: 641px) {
  #club-form .nav-hint { display: block; margin: 12px 0 0; }
}

.preview-banner { margin: 0; padding: 14px 18px; text-align: center; background: #fff3cd; color: #493b07; font-size: 14px; }

