:root {
  /* Palette from the DOC NYC lounge poster: true black page, poster teal for
     accents. The card stays light so the small form text stays readable. */
  --page-bg: #000000;
  --card: #faf5eb;
  --ink: #1e1a17;
  --muted: #6b625a;
  --label: #3a3d42;
  --rule: #bdb7af;
  --accent: #00b2a9;        /* poster teal: buttons, rules, bullets, focus */
  --accent-hover: #009c94;
  --accent-text: #007a74;   /* teal dark enough for text on the card (4.8:1) */
  --on-accent: #06201f;     /* near-black text on teal (6.6:1; white is 2.6:1) */
  --accent-soft: #dcf1ee;
  --notice-ink: #29403f;
  --error: #a3341f;
  --display: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
  padding: 10px 16px 24px;
}

.card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 3px;
  padding: 30px 44px 40px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 178, 169, 0.35);
}

.brand-lockup {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto;
  /* The logo file has a white background; multiply lets the cream card show through. */
  mix-blend-mode: multiply;
}

.sparkle {
  display: block;
  width: 130px;
  height: 130px;
  margin: 18px 0 22px 42px;
  color: var(--accent-soft);
}

h1 { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; }
.subtitle { margin-top: 10px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: 0.01em; color: #3d3833; }
.accent-rule { width: 56px; height: 2px; background: var(--accent); margin: 18px 0 24px; border: 0; }

.intro { font-size: 15px; line-height: 1.5; }

.perks { list-style: none; margin: 14px 0 22px; }
.perks li { position: relative; padding-left: 20px; margin-bottom: 14px; }
.perks li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.perk-title { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.005em; }
.perk-body { font-size: 13px; color: var(--muted); margin-top: 3px; }

form { margin-top: 26px; }

.field { margin-bottom: 26px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--label);
  margin-bottom: 12px;
}
.field-hint { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="email"],
select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 6px 2px 8px;
  outline: none;
}
input:focus, select:focus { border-bottom-color: var(--accent); }

select {
  appearance: none;
  cursor: pointer;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%233a3d42'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  font-size: 14px;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.choice span:hover { border-color: var(--accent); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.conditional { display: none; margin-top: -6px; }
.conditional.show { display: block; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: #4a443e;
  margin: 6px 0 30px;
  cursor: pointer;
}
.consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  padding: 15px;
  cursor: pointer;
  transition: background 0.15s;
}
.submit:hover { background: var(--accent-hover); }
.submit:disabled { opacity: 0.6; cursor: wait; }

.form-error { display: none; color: var(--error); font-size: 13px; margin-top: 12px; text-align: center; }
.form-error.show { display: block; }

.confirmation { display: none; }
.confirmation.show { display: block; }
.confirmation p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }

.footer { text-align: center; margin-top: 22px; font-size: 12px; }
.footer a { color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.footer a:hover { color: rgba(255, 255, 255, 0.7); }

.notice {
  font-size: 13px;
  line-height: 1.5;
  color: var(--notice-ink);
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  margin-top: 12px;
}
.notice[hidden] { display: none; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.slots .choice span { display: block; text-align: center; padding: 9px 4px; font-size: 13px; white-space: nowrap; }
.slots .choice input:disabled + span {
  color: #a9a29a;
  text-decoration: line-through;
  border-style: dashed;
  cursor: not-allowed;
}
.slots .choice input:disabled + span:hover { border-color: var(--rule); }
.slot-group-label { font-size: 12px; color: var(--muted); margin: 4px 0 8px; grid-column: 1 / -1; }
.slot-status { font-size: 13px; color: var(--muted); }

.perk-body a { color: var(--accent-text); }

.next-step {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  background: var(--accent-soft);
}
.next-step p { font-size: 14px; margin-bottom: 12px; }
.next-step .next-step-title { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.cta-link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: var(--on-accent);
  background: var(--accent);
  padding: 11px 18px;
  text-decoration: none;
  transition: background 0.15s;
}
.cta-link:hover { background: var(--accent-hover); }
.cta-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 520px) {
  .card { padding: 24px 22px 32px; }
  .sparkle { width: 100px; height: 100px; margin: 14px 0 18px 18px; }
  h1 { font-size: 34px; }
}
