:root {
  --bg: #f7f5f0;
  --ink: #111;
  --muted: #666;
  --line: rgba(17,17,17,.12);
  --accent: #a52a27;
  --card-1: #f0e7e4;
  --card-2: #e8edd4;
  --card-3: #e0e6eb;
  --max: 720px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.wordmark span { color: var(--accent); font-weight: 600; }
.badge {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: .35rem .6rem;
  border-radius: 999px;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.hero { padding: 4rem 0 3.5rem; }
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 1.25rem;
}
.hero p {
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.departments {
  display: grid;
  gap: .75rem;
}
.card {
  border-radius: .75rem;
  padding: 1.75rem;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 520px;
}
.card.mysconduct { background: var(--card-1); }
.card.satirium { background: var(--card-2); }
.card.archive { background: var(--card-3); }
a.card { display: block; background: #fff; text-decoration: none; }
a.card:hover { text-decoration: none; }
a.card h2 { color: var(--accent); }

.contact {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.contact a { font-weight: 500; text-decoration: underline; }
.contact a:hover { text-decoration: none; }
.contact .small {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .75rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--line);
}
.site-footer p {
  margin: 0;
  font-size: .75rem;
  color: var(--muted);
}

/* Video page */
.video-page .site-header { padding-bottom: 2rem; }

.prejoin { padding: 1rem 0 3rem; }
.prejoin h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
}
.prejoin .lede {
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 2rem;
}

.join-form {
  display: grid;
  gap: 1rem;
}
.join-form label {
  display: grid;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.join-form input[type="text"] {
  border: 1px solid var(--line);
  background: #fff;
  padding: .85rem;
  font-size: 1rem;
  border-radius: .5rem;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  border-radius: .5rem;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: var(--bg); }
.button.danger { border-color: var(--accent); color: var(--accent); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button.muted { background: var(--line); }

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.check-row input { margin-top: .2rem; }

.preview-stage {
  position: relative;
  background: #111;
  border-radius: .75rem;
  overflow: hidden;
  min-height: 240px;
  display: grid;
  place-items: center;
}
.preview-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-placeholder {
  position: absolute;
  color: #888;
  font-size: .9rem;
}
.preview-controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: .5rem;
}
.preview-controls .button {
  background: rgba(255,255,255,.9);
  border: 0;
  font-size: .8rem;
}

/* Room */
.room { padding: 1rem 0 3rem; }
.room-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
}
.dot.waiting { background: #f59e0b; animation: pulse 1.5s infinite; }
.dot.connecting { background: #f59e0b; animation: pulse 1s infinite; }
.dot.connected { background: #22c55e; }
.dot.failed { background: var(--accent); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.video-cell {
  position: relative;
  background: #111;
  border-radius: .75rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.video-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  position: absolute;
  color: #888;
  font-size: .9rem;
  text-align: center;
  padding: 1rem;
}
.video-label {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: .25rem .5rem;
  border-radius: .35rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.room-controls {
  display: flex;
  gap: .75rem;
  justify-content: center;
}

@media (min-width: 700px) {
  .video-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Hosts + booking */
.hosts-page .page-hero,
.booking-page .booking-hero {
  padding: 2rem 0 2.5rem;
}
.hosts-page .page-hero h1,
.booking-page .booking-hero h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
}
.hosts-page .page-hero .lede,
.booking-page .booking-hero .lede {
  color: var(--muted);
  max-width: 620px;
}

.host-list { padding-bottom: 3rem; }
.host-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem;
}
.host-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.host-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.host-meta h2 { margin: 0 0 .25rem; font-size: 1.35rem; }
.host-meta p { margin: 0; color: var(--muted); font-size: .9rem; }
.verified {
  display: inline-block;
  margin-top: .5rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #15803d;
  background: #dcfce7;
  padding: .25rem .5rem;
  border-radius: .35rem;
}
.host-body p { color: var(--muted); margin: 0 0 1rem; }
.host-topics {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
}
.host-topics li {
  font-size: .8rem;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: .35rem .6rem;
  border-radius: .4rem;
}
.host-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.rate {
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1rem;
  text-align: center;
}
.rate.featured {
  border-color: var(--ink);
  background: var(--bg);
}
.rate .length {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .35rem;
}
.rate .price {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
}
.host-rules {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.host-rules h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .75rem;
}
.host-rules ul {
  padding-left: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.host-rules li { margin-bottom: .5rem; }
.host-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.platform-note {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2rem;
}
.platform-note h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.platform-note ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: var(--muted);
}
.platform-note li { margin-bottom: .5rem; }
.platform-note .small { font-size: .8rem; color: var(--muted); }

.booking-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem;
}
.booking-form .host-summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.booking-form .host-summary strong { display: block; }
.booking-form .host-summary .muted { font-size: .85rem; color: var(--muted); }

.length-picker {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.length-picker legend {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}
.length-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1rem;
  margin-bottom: .5rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.length-option:hover { border-color: var(--ink); }
.length-option.selected { border-color: var(--ink); background: var(--bg); }
.length-option input { display: none; }
.length-option .length-label { font-weight: 600; }
.length-option .length-price { font-weight: 700; font-size: 1.1rem; }

.field {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.field input,
.field textarea {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: .85rem;
  font-size: 1rem;
  border-radius: .5rem;
  color: var(--ink);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.consent-block {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin: 1.25rem 0;
}
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
  display: flex;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.button.large {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}
.payment-note { margin-top: .75rem; font-size: .8rem; color: var(--muted); }

.confirmation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem;
}
.confirmation-details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1rem;
  margin: 1.5rem 0;
}
.confirmation-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}
.confirmation-details div:last-child { margin-bottom: 0; }
.next-steps { margin: 1.5rem 0; }
.next-steps h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .75rem;
}
.next-steps ol {
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: .9rem;
}
.next-steps li { margin-bottom: .5rem; }

@media (max-width: 560px) {
  .host-rates { grid-template-columns: 1fr; }
}

.demo-banner {
  display: inline-block;
  margin-top: 1rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #92400e;
  background: #fef3c7;
  padding: .5rem .75rem;
  border-radius: .4rem;
}
