:root {
  --bg: #1a1a30;
  --raised: #24243d;
  --line: #33334d;
  --text: #edebe7;
  --quiet: #9a98a3;
  --orange: #ff9c18;
  --magenta: #ee6fb8;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 22px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.top a { color: var(--quiet); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.top a:hover, nav.top a[aria-current] { color: var(--text); }

main { padding: 24px 0 64px; }

h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.5px; margin: 0 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { font-size: 19px; color: var(--quiet); }
.updated { color: var(--quiet); font-size: 15px; }

.card { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 20px 0; }

/* Home */
.hero { text-align: center; padding: 40px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; margin-bottom: 22px; }
.hero h1 { font-size: 42px; }
.hero .lede { max-width: 520px; margin: 0 auto 26px; }
.button { display: inline-block; background: var(--orange); color: #1a1a30; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px; }
.button[aria-disabled] { background: var(--raised); color: var(--quiet); border: 1px solid var(--line); }
.host { color: var(--magenta); font-weight: 600; }
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 40px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }
.features p { color: var(--quiet); margin: 0; font-size: 16px; }

/* Form */
form label { display: block; font-weight: 600; margin: 16px 0 6px; }
form input, form textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
form textarea { min-height: 120px; resize: vertical; }
form select { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.shows { list-style: none; padding: 0; margin: 8px 0 0; }
.shows li { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.shows .line { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-size: 15px; word-break: break-word; user-select: all; }
.shows .actions { display: flex; flex-wrap: wrap; gap: 8px; }
button.copy { font: inherit; font-size: 15px; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
button.copy:hover { border-color: var(--orange); }
form input:focus, form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
form button { margin-top: 20px; font: inherit; font-weight: 700; color: #1a1a30; background: var(--orange); border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; }
form button:disabled { opacity: 0.6; cursor: default; }
.status { margin-top: 14px; min-height: 1.6em; }
.hint { color: var(--quiet); font-size: 15px; font-weight: 400; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--quiet); font-size: 15px; }
footer a { color: var(--quiet); margin-right: 16px; }

@media (max-width: 520px) {
  h1 { font-size: 29px; }
  .hero h1 { font-size: 34px; }
  nav.top a { margin-left: 12px; }
}
