/* Landing page */
:root {
  --paper: #f4f1ea;
  --ink: #1a1815;
  --soft: #5c574e;
  --rule: #cfc9bc;
  --shot: #121212;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 18px/1.55 'Libre Franklin', 'Segoe UI', system-ui, sans-serif;
}
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
svg { width: 18px; height: 18px; flex: none; }
code { font-family: Consolas, 'SF Mono', Menlo, monospace; font-size: 0.95em; }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; }
.name { font-weight: 800; font-size: 20px; text-decoration: none; }

.intro { padding: 56px 0 64px; }
h1 { max-width: 13em; margin: 0; font-size: clamp(42px, 7.4vw, 82px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.intro p { max-width: 34em; margin: 24px 0 0; font-size: 21px; line-height: 1.45; }

.login { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
}
.twitch { color: #fff; background: #7b2ff2; }
.twitch:hover { background: #6a22d8; }
.kick { color: #17310c; background: #53fc18; }
.kick:hover { background: #46e012; }
.login-error { margin: 22px 0 -10px; padding: 10px 14px; font-weight: 600; color: #7a1c10; background: #f6d9d2; border-left: 3px solid #b5301c; }

.shots { padding: 48px 0 40px; color: #c9c5bb; background: var(--shot); }
.shots-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }

.block { padding: 64px 0 0; }
h2 { margin: 0 0 22px; padding-top: 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.015em; border-top: 2px solid var(--ink); }

.cmds { width: 100%; border-collapse: collapse; }
.cmds td { padding: 11px 0; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
.cmds td:first-child { width: 40%; padding-right: 24px; font-weight: 600; }
.after { margin: 16px 0 0; color: var(--soft); }

.draws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.draws img { background: #121212; }

.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.settings div { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.settings dt { font-weight: 600; }
.settings dd { margin: 2px 0 0; color: var(--soft); }

.setup { max-width: 40em; margin: 0; padding-left: 1.3em; }
.setup li + li { margin-top: 8px; }

.foot { margin-top: 72px; padding: 18px 0 32px; font-size: 15px; color: var(--soft); border-top: 1px solid var(--rule); }

@media (max-width: 780px) {
  .intro { padding: 28px 0 44px; }
  .shots-grid, .draws, .settings { grid-template-columns: 1fr; }
  .shot-panel { max-width: 300px; }
  .cmds, .cmds tbody, .cmds tr, .cmds td { display: block; }
  .cmds tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .cmds td, .cmds td:first-child { width: auto; padding: 0; border: 0; }
  .block { padding-top: 48px; }
}
