/* Silver Glider Recs: the homepage's closing beat. It sits in the same column
   as The good stuff and speaks the page's language (label, brand teal, the
   12px rounded shape of Create your event), one step quieter than the hero. */
.sg-recs-signup {
  margin: 64px 0 0;
  color: var(--sg-text);
  color-scheme: dark;
  text-align: left;
}
.sg-recs-signup * { box-sizing: border-box; }
.sg-recs-kicker { margin: 0 0 16px; color: var(--sg-text); }
.sg-recs-signup h2 { margin: 0; font-size: clamp(26px, 5vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.sg-recs-intro { margin: 10px 0 24px; color: var(--sg-text-dim); font-size: 15px; line-height: 1.6; }

.sg-recs-form { display: grid; gap: 12px; }
.sg-recs-signup[data-state="done"] .sg-recs-form { display: none; }

/* Two cities, two buttons: both choices visible, one tap. */
.sg-recs-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.sg-recs-city { position: relative; display: block; cursor: pointer; }
.sg-recs-city input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sg-recs-city span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--sg-border); border-radius: 12px; color: var(--sg-text-dim);
  font: 700 14px var(--sg-font-body); transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.sg-recs-city input:checked + span { border-color: var(--sg-accent); background: rgba(28, 197, 190, .1); color: var(--sg-accent); }
.sg-recs-city input:focus-visible + span { outline: 2px solid var(--sg-accent); outline-offset: 3px; }
@media (hover: hover) { .sg-recs-city:hover span { border-color: rgba(28, 197, 190, .42); color: var(--sg-text); } }

.sg-recs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sg-recs-field { position: relative; display: block; }
.sg-recs-field input {
  width: 100%; min-height: 52px; padding: 0 18px;
  border: 1px solid var(--sg-border); border-radius: 12px; outline: none;
  background: rgba(255, 255, 255, .03); color: var(--sg-text);
  font: 400 16px var(--sg-font-body);
}
.sg-recs-field input::placeholder { color: var(--sg-text-faint); opacity: 1; }
.sg-recs-field input:focus { border-color: var(--sg-accent); }
.sg-recs-field input:focus-visible,
.sg-recs-submit:focus-visible { outline: 2px solid var(--sg-accent); outline-offset: 3px; }
.sg-recs-submit {
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px;
  background: var(--sg-accent); color: #0a0a0a; cursor: pointer; white-space: nowrap;
  font: 700 16px var(--sg-font-body);
  transition: background-color 160ms ease, transform 160ms ease;
}
@media (hover: hover) {
  .sg-recs-submit:hover:not(:disabled) { background: var(--sg-accent-press); box-shadow: 0 8px 26px rgba(28, 197, 190, .16); }
}
.sg-recs-submit:active:not(:disabled) { transform: translateY(1px); }
.sg-recs-submit:disabled { cursor: wait; opacity: .65; }

.sg-recs-consent { margin: 2px 0 0; color: var(--sg-text-faint); font-size: 12px; line-height: 1.55; }
.sg-recs-status { margin: 0; color: var(--sg-accent); font-size: 14px; line-height: 1.5; outline: none; }
.sg-recs-status:empty { display: none; }
.sg-recs-form + .sg-recs-status { margin-top: 12px; }
.sg-recs-status[data-kind="error"] { color: #ffaaa3; }
.sg-recs-signup[data-state="done"] .sg-recs-status { margin-top: 0; padding: 16px 18px; border: 1px solid rgba(28, 197, 190, .35); border-radius: 12px; color: var(--sg-text); font-size: 15px; }
.sg-recs-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sg-recs-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 480px) {
  .sg-recs-signup { margin-top: 56px; }
  .sg-recs-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-recs-city span,
  .sg-recs-submit { transition: none; }
}
