@font-face { font-family: "Geist"; src: url("fonts/Geist.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Swarm Sans"; src: url("fonts/SwarmSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #0A0A0A; --ink: #FAFAFA; --muted: #A3A3A3; --faint: #8F8F8F;
  --surface: #161616; --raised: #1C1C1C; --line: #262626; --control: #6B6B6B;
  --error: #FF8A80; --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--page); color: var(--ink); font: 16px/1.5 "Geist", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
:focus-visible { outline: 2px solid #FAFAFA; outline-offset: 2px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 4vw, 48px); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 24px; width: auto; display: block; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14.5px; text-decoration: none; }
.back:hover { color: var(--ink); }

.wrap { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 48px) 48px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start; }
h1 { font: 700 clamp(30px, 4vw, 44px)/1.08 "Swarm Sans", "Geist", sans-serif; letter-spacing: -0.02em; }
.lede { color: #D4D4D4; margin-top: 12px; max-width: 540px; font-size: 17px; }

.hosts { border: 0; margin-top: 28px; display: grid; gap: 8px; }
.hosts legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.host { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.host:hover { border-color: #3A3A3A; }
.host input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.host:has(input:checked) { border-color: var(--ink); background: var(--raised); }
.host:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.host b { display: block; font-weight: 600; }
.host small { display: block; color: var(--muted); font-size: 13.5px; }
.av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #FAFAFA; color: #0A0A0A; font: 700 15px "Swarm Sans", "Geist", sans-serif; }
.av-any { background: #0A0A0A; border: 1px solid #3A3A3A; }
.av-any img { width: 26px; }

.zone { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.zone label { font-size: 15px; line-height: 24px; color: #D4D4D4; }
select, input, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--control); border-radius: 10px; }
select { min-height: 44px; padding: 0 12px; max-width: 100%; }
.hint { color: var(--faint); font-size: 13.5px; margin-top: 8px; }

#times { margin-top: 24px; }
.loading, .empty { color: var(--muted); }
.day { margin-top: 22px; }
.day h3 { font-size: 15px; font-weight: 600; }
.day h3 span { color: var(--muted); font-weight: 400; }
.grid { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 10px; border: 1px solid #3A3A3A; background: transparent; color: var(--ink); font: 500 15.5px "Geist", sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: #0A0A0A; border-color: var(--ink); }
.more { margin-top: 18px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #3A3A3A; background: none; color: var(--ink); font: 500 15px "Geist", sans-serif; cursor: pointer; }
.more:hover { border-color: var(--ink); }

.card { position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h2 { font: 700 20px/1.25 "Swarm Sans", "Geist", sans-serif; letter-spacing: -0.01em; }
.picked-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
form label { display: block; margin-top: 16px; margin-bottom: 6px; font-size: 14.5px; line-height: 24px; font-weight: 500; }
.opt { color: var(--faint); font-weight: 400; }
input, textarea { width: 100%; padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; min-height: 104px; }
input::placeholder { color: #8F8F8F; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin-top: 14px; color: var(--error); font-size: 14.5px; }
.go { margin-top: 18px; width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: #FAFAFA; color: #0A0A0A; font: 600 16px "Geist", sans-serif; cursor: pointer; transition: transform 0.2s var(--ease), opacity 0.2s ease; }
.go:hover:not(:disabled) { transform: translateY(-1px); }
.go:disabled { opacity: 0.45; cursor: not-allowed; }
.fine { color: var(--faint); font-size: 13px; margin-top: 12px; }

.done { text-align: left; }
.done-flock { width: 56px; margin-bottom: 14px; }
.done p { margin-top: 10px; color: #D4D4D4; }
.done a.meet { color: var(--ink); font-weight: 600; word-break: break-all; }
.cta { display: inline-flex; align-items: center; min-height: 46px; margin-top: 18px; padding: 0 20px; border-radius: 999px; border: 1px solid #5A5A5A; text-decoration: none; font-weight: 600; }

.foot { padding: 24px clamp(16px, 4vw, 48px) 32px; color: var(--faint); font-size: 13.5px; text-align: center; }
.foot a { color: var(--muted); }

@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
  .zone select { width: 100%; }
  .card { position: static; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
