/* Set up your party — sits on top of home.css. Three numbered steps on one
   quiet page: her look, her questions, the unlock. Nothing boxed; rules and
   whitespace do the work, the way the homepage does it. */

.wrap.setup { max-width: 56rem; }

/* ── intro ─────────────────────────────────────────────────────────── */

.setup-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.setup-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.setup-hero .hero-desc { max-width: 30em; }

.setup-hero .hero-cta { margin-top: 2.5rem; }

/* The code box at the top: a purchase code or the staff code, either kind. */
.setup-hero .hero-code { margin: 2.5rem auto 0; position: relative; }
.setup-hero .hero-code .msg { position: absolute; left: 0; top: 100%; margin-top: 0.5rem; }

.save-state {
  display: block;
  min-height: 1.2em;
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── a step ────────────────────────────────────────────────────────── */

.step {
  border-top: 1px solid var(--rule-dark);
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0;
}

.step-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
}

.step-state {
  margin-left: auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  text-align: right;
}

.step-lede {
  color: var(--ink-soft);
  max-width: 38em;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.step-lede a, .note a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: var(--accent); }

.note {
  font-size: 0.9063rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 42em;
}

.note.center { text-align: center; max-width: none; }

.msg { font-size: 0.875rem; color: var(--ink-soft); min-height: 1.4em; margin-top: 0.75rem; }
.msg:empty { display: none; }

/* text-only buttons that read like the homepage's text links */
.text-btn {
  background: none;
  border: 0;
  padding: 0 0 0.35em;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}

.text-btn:hover { color: var(--ink); border-color: var(--ink); }
.text-btn:disabled { opacity: 0.4; cursor: default; }

/* fields: a hairline under the text, no box */
.field {
  display: grid;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input, .field select, .code-form input {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.45em 0;
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus, .field select:focus, .code-form input:focus { border-color: var(--ink); }
.field input:disabled { color: var(--ink); opacity: 1; -webkit-text-fill-color: var(--ink); }
.field input::placeholder, .code-form input::placeholder { color: #b5ada3; }

/* ── 01 · her look ─────────────────────────────────────────────────── */

.looks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.75rem;
}

.look {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 7.5rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.look .t-swatch {
  width: 3.75rem;
  height: 3.75rem;
  outline-offset: 4px;
  transition: outline-color 0.15s;
}

.look:hover .t-swatch { outline-color: var(--ink-soft); }
.look.is-on .t-swatch { outline: 1.5px solid var(--rule-dark); outline-offset: 4px; }

.look-name {
  font-size: 0.6563rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

.look.is-on .look-name { color: var(--ink); }

.look-tag {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.look.locked .t-swatch { opacity: 0.8; }
.look.locked { cursor: default; gap: 0.6rem; }
.look.locked .look-name { padding-top: 0.3rem; }

/* the buy button on a locked look */
.look-buy {
  background: none;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.6563rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.look-buy:hover, .look-buy:focus-visible { background: var(--ink); color: var(--bg); }
.look-buy:disabled { opacity: 0.5; cursor: wait; }

/* ── 02 · her questions ────────────────────────────────────────────── */

.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.game-tab {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.55rem 0;
  margin-bottom: -0.55rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.6563rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.game-tab:hover { color: var(--ink); }
.game-tab.is-on { color: var(--ink); border-bottom-color: var(--rule-dark); }

.game-select { display: none; margin-bottom: 1.5rem; }
.game-select select { max-width: 100%; }

@media (max-width: 720px) {
  .game-tabs { display: none; }
  .game-select { display: grid; }
}

.q-hint {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.q-list { border-top: 1px solid var(--rule); }

.q-row {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.q-n {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 1.2rem;
}

.q-fields { display: grid; gap: 1rem; min-width: 0; }
.q-fields.multi { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }

.q-del {
  font-size: 0.625rem;
  padding-top: 1.35rem;
  border-bottom: 0;
  color: var(--ink-soft);
  opacity: 0.6;
  transition: opacity 0.15s;
}
.q-row:hover .q-del, .q-del:focus { opacity: 1; }

.q-row.readonly .q-fields input { border-bottom-color: transparent; }

.q-actions {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ── 03 · the unlock ───────────────────────────────────────────────── */

.pricing.two { grid-template-columns: 1fr 1fr; }
.pricing.one { grid-template-columns: minmax(0, 32rem); }
@media (max-width: 780px) { .pricing.two { grid-template-columns: 1fr; } }

/* the one add-on at checkout: every theme, ticked on or off */
.bump {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9063rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  background: var(--bg-card);
}
.bump input { margin: 0.3em 0 0; accent-color: var(--ink); }
.bump small { display: block; font-size: 0.8125rem; color: var(--ink-soft); }
.note-sub { font-size: 0.8125rem; color: var(--ink-soft); margin-left: 0.4em; }

.code-form {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: 26rem;
  margin-top: 1rem;
}

.code-form[hidden] { display: none; }
.code-form input { text-transform: uppercase; letter-spacing: 0.1em; }
.code-form .btn, .code-form .text-btn { flex: none; }

.unlocked {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}

.unlocked p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.unlocked p .eyebrow { display: block; margin-bottom: 0.4rem; }

/* ── the bar that stays put ────────────────────────────────────────── */

.setup-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.setup-bar .save-state { margin: 0 auto 0 0; }

@media (max-width: 520px) {
  .step-head { flex-wrap: wrap; }
  .step-state { margin-left: 0; flex-basis: 100%; text-align: left; }
  .q-row { grid-template-columns: 1.75rem 1fr; }
  .q-del { grid-column: 2; justify-self: start; padding-top: 0; }
  .setup-bar .save-state { display: none; }
}
