:root {
  --bg: #1b1d21; --s1: #222429; --s2: #292c32; --s3: #31343b;
  --line: #2c2f35; --line2: #383b43;
  --tx: #f2f4f7; --tx2: #b9bfc9; --tx3: #8b929d;
  --blue: #5089ff; --good: #3fbf5f; --bad: #ff8a8d;
  /* Full Send's red, and the coral of fullsendwow.com's buttons */
  --red: #cc5c5c; --coral: #d6625f; --coral-hi: #e0716e; --on-coral: #1c0d0d;
  --f-body: 'PT Sans', ui-sans-serif, system-ui, sans-serif;
  --f-head: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--tx); font-family: var(--f-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--tx); text-decoration-color: var(--line2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--tx2); }
h1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 14px; }
h2 { font-family: var(--f-head); font-weight: 600; font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.eyebrow { font-family: var(--f-head); font-weight: 600; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tx3); margin: 0 0 8px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { color: var(--tx2); font-size: 18px; max-width: 46ch; margin: 0 0 28px; }

/* teaser */
.teaser { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 56px max(16px, 5vw); display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; align-items: center; }
.art { margin: 0; }
.art img, .art video { display: block; width: 100%; height: auto; border-radius: 12px; }
.art video { background: var(--s1); }
/* the hero set like fullsendwow.com's: a heavy wordmark in Full Send red with its dot, a tagline with one blue word */
.wordmark { font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--red); margin: 0 0 18px; }
.wordmark .dot { display: inline-block; width: 0.15em; height: 0.15em; margin-left: 0.07em; border-radius: 50%; background: var(--tx); }
.tagline { font-family: var(--f-head); font-weight: 500; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--tx2); margin: 0 0 10px; }
.tagline em { font-style: normal; color: var(--blue); }
.teaser .lede { font-size: 16px; color: var(--tx3); margin-bottom: 36px; }
.invite label { display: block; font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 12px; }
/* one bar holding the box and its button, like fullsendwow.com's character search */
.field { display: flex; align-items: center; gap: 8px; padding: 7px; background: var(--s1); border: 1px solid var(--line2); border-radius: 15px; }
.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.field input { height: 44px; padding: 0 8px; font-size: 17px; background: none; border: 0; border-radius: 0; }
.field input:focus-visible { outline: none; }
.field .primary { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 11px; font-family: var(--f-head); font-weight: 500; font-size: 15px; }
input { flex: 1; min-width: 0; font: inherit; color: var(--tx); background: var(--s1); border: 1px solid var(--line2); border-radius: 8px; padding: 11px 14px; }
input::placeholder { color: var(--tx3); }
input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--bad); }
button, .button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 8px; padding: 11px 18px; border: 1px solid var(--line2); background: var(--s2); color: var(--tx); text-decoration: none; display: inline-block; white-space: nowrap; }
button:hover, .button:hover { background: var(--s3); }
button:focus-visible, .button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.primary { background: var(--coral); border-color: var(--coral); color: var(--on-coral); }
.primary:hover { background: var(--coral-hi); border-color: var(--coral-hi); }
button.link { background: none; border: 0; padding: 0; font-weight: 400; color: var(--tx2); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.small { padding: 5px 10px; font-size: 13px; }
.fine { color: var(--tx3); font-size: 14px; margin: 10px 0 0; }
.error { color: var(--bad); font-size: 14px; margin: 8px 0 0; }
.done { font-size: 17px; color: var(--tx2); margin: 0; }
.done b { color: var(--tx); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.account { margin: 36px 0 0; color: var(--tx3); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.account a { color: var(--tx2); }
.account form { display: inline; }
.foot { padding: 20px max(16px, 5vw); color: var(--tx3); font-size: 13px; display: flex; gap: 8px; }
.foot a { color: var(--tx3); }
.narrow { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 72px 16px 40px; }
.narrow h1 { font-size: 40px; }
.code { font-family: var(--f-mono); font-size: 18px; margin: 0 0 18px; }
.prose h2 { margin-top: 28px; }
.prose p { color: var(--tx2); }
@media (max-width: 860px) {
  .teaser { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .art { order: -1; }
  .narrow { padding-top: 40px; }
}
@media (max-width: 560px) {
  .field { flex-direction: column; align-items: stretch; }
  .field .primary { justify-content: center; }
}

/* admin */
.bar { display: flex; align-items: center; gap: 14px; padding: 12px max(16px, 3vw); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--tx2); }
.bar .brand { font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--tx); text-decoration: none; }
.bar .mode { color: var(--tx3); }
.bar form { display: inline; }
.grow { flex: 1; }
.wide { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px max(16px, 3vw) 56px; }
.wide section { margin-bottom: 40px; }
.count { font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--tx3); margin-left: 6px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx3); padding: 8px 10px; border-bottom: 1px solid var(--line2); }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td.when { color: var(--tx2); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.mono, code { font-family: var(--f-mono); font-size: 13px; }
td.actions { text-align: right; white-space: nowrap; }
td.actions form { display: inline; }
td.actions > * + * { margin-left: 6px; }
td.empty { color: var(--tx3); text-align: center; padding: 24px; }
tr.made td { background: var(--s2); }
.tag { font-size: 12px; color: var(--tx3); margin-left: 8px; }
.tag.new { color: var(--good); margin: 0; }
@media (max-width: 860px) {
  table { display: block; overflow-x: auto; }
}
