/*
 * RedQ smoke-test landing, built on the live lootfront.app landing: black neutrals, Hanken Grotesk with
 * JetBrains Mono for facts, the Lootfront pixel face for one phrase in the hero, and the forge band of glyphs
 * that the product stands on. Lootfront's amber becomes coral. Every picture on the page is the product.
 */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: 'Lootfront Pixel';
  src: url('fonts/lootfront-pixel.woff2') format('woff2');
  font-display: block;
}

:root {
  color-scheme: dark;
  --black: #000;
  --bg: #050505;
  --card: #0c0c0d;
  --raised: #151517;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f5;
  --text-2: #a3a3a3;
  --text-3: #737373;
  --red: #ff5a3c;
  --red-ink: #1f0904;
  --live: #4cc38a;
  --bad: #ff6b60;
  --face: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* small facts use the main face too; JetBrains Mono stays only for the glyphs forge.js draws */
  --mono: var(--face);
  --pixel: 'Lootfront Pixel', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

body.landing {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 16px / 1.6 var(--face);
  -webkit-font-smoothing: antialiased;
}

.landing :where(h1, h2, h3, h4, p, ul, ol, figure) {
  margin: 0;
}

.landing :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.landing ::selection {
  background: var(--red);
  color: #fff;
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

kbd {
  display: inline-block;
  min-width: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--raised);
  color: var(--text);
  font: 500 12px / 1.6 var(--mono);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 500 15px / 1 var(--face);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    transform 150ms var(--ease);
}

.btn svg {
  transition: transform 150ms var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-light {
  background: var(--text);
  color: var(--black);
}

.btn-light:hover {
  background: #fff;
}

/* the main action in the mark's red, darker at the bottom, like Lootfront's gold button */
.btn-red {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(0deg, #f04a2c, #ff7a5c);
  color: var(--red-ink);
}

.btn-red:hover {
  background: linear-gradient(0deg, #e25e47, #f78f78);
}

.btn-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ink {
  background: var(--red-ink);
  color: #ffab96;
}

.btn-ink:hover {
  background: #33140b;
}

/* ---------- top bar ---------- */
.bar-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.logo .mark {
  width: 22px;
  height: 22px;
  color: var(--red);
}


.bar-links {
  display: flex;
  gap: 24px;
}

.bar-links a {
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms var(--ease);
}

.bar-links a:hover {
  color: var(--text);
}

.bar-end {
  margin-left: auto;
}

/* ---------- hero: one axis, the product standing on the forge band ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 200px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* the grotesk in white, one phrase in the pixel face and red; 56px with 50px gives matching caps */
.hero-text h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.h1-main {
  display: block;
  max-width: 900px;
  font-size: 56px;
  line-height: 1.12;
  text-wrap: balance;
}

.h1-pixel {
  color: var(--red);
  font-family: var(--pixel);
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.h1-pain {
  display: block;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 520px;
  margin-top: 24px;
  color: var(--text-2);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
}

.hero-hint {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13px;
}

.hero-product {
  position: relative;
  margin-top: 64px;
}

/* ---------- the forge band: red torn into the black with glyphs (forge.js), plain red without script ---------- */
.forge {
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 100vw;
  translate: -50% 0;
  pointer-events: none;
}

.forge-body {
  position: absolute;
  inset: 100px 0;
  background: var(--red);
}

.forge canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.forge.is-forged .forge-body {
  display: none;
}

.hero-band {
  top: calc(20% - 100px);
  bottom: -200px;
}

/* ---------- the window: dark glass with stepped pixel corners, three square lights, the thread's address ---------- */
.window-frame {
  --px: 4px;
  position: relative;
  padding: 0 calc(var(--px) * 2) calc(var(--px) * 2);
  background: #111113;
  clip-path: polygon(
    calc(var(--px) * 3) 0, calc(100% - var(--px) * 3) 0, calc(100% - var(--px) * 3) var(--px),
    calc(100% - var(--px) * 2) var(--px), calc(100% - var(--px) * 2) calc(var(--px) * 2),
    calc(100% - var(--px)) calc(var(--px) * 2), calc(100% - var(--px)) calc(var(--px) * 3), 100% calc(var(--px) * 3),
    100% calc(100% - var(--px) * 3), calc(100% - var(--px)) calc(100% - var(--px) * 3),
    calc(100% - var(--px)) calc(100% - var(--px) * 2), calc(100% - var(--px) * 2) calc(100% - var(--px) * 2),
    calc(100% - var(--px) * 2) calc(100% - var(--px)), calc(100% - var(--px) * 3) calc(100% - var(--px)),
    calc(100% - var(--px) * 3) 100%, calc(var(--px) * 3) 100%, calc(var(--px) * 3) calc(100% - var(--px)),
    calc(var(--px) * 2) calc(100% - var(--px)), calc(var(--px) * 2) calc(100% - var(--px) * 2),
    var(--px) calc(100% - var(--px) * 2), var(--px) calc(100% - var(--px) * 3), 0 calc(100% - var(--px) * 3),
    0 calc(var(--px) * 3), var(--px) calc(var(--px) * 3), var(--px) calc(var(--px) * 2),
    calc(var(--px) * 2) calc(var(--px) * 2), calc(var(--px) * 2) var(--px), calc(var(--px) * 3) var(--px)
  );
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px;
  color: var(--text-3);
}

.window-bar i {
  width: 8px;
  height: 8px;
  background: #2a2a2e;
}

.window-bar i:first-child {
  background: var(--red);
}

.window-bar span {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
}

.window-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  overflow: hidden;
  background: var(--card);
}

/* ---------- a Reddit thread, drawn plainly ---------- */
.thread {
  padding: 32px 40px 40px;
  font-size: 15px;
}

.thread-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.thread-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--text-2);
  font-size: 11px;
}

.thread-sub {
  font-weight: 500;
}

.thread-age {
  color: var(--text-3);
}

.thread h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.thread > p {
  margin-top: 12px;
  color: var(--text-2);
}

.thread-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 12px;
}

.thread-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* The on-page button the extension puts under a thread, sized like Reddit's own action pills */
.thread-draft {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.draft-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--red-ink);
  font-size: 13px;
  font-weight: 600;
}

.draft-pill svg {
  width: 16px;
  height: 16px;
}

.draft-note {
  color: var(--text-3);
  font-size: 12px;
}

.thread-draft + .comment-box {
  margin-top: 12px;
}

.comment .op {
  margin-left: 4px;
  color: var(--red);
  font-weight: 600;
}

.comment-box {
  margin-top: 24px;
  border: 1px solid var(--red);
  border-radius: 16px;
  background: var(--bg);
}

.comment-box p {
  padding: 16px 16px 8px;
  font-size: 14px;
  line-height: 1.6;
}

.comment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  color: var(--text-3);
  font-size: 12px;
}

.comment-btn {
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--text);
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
}

.comments {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  font-size: 14px;
}

.comment b {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.comment p {
  margin-top: 2px;
  color: var(--text-2);
}

/* ---------- the side panel, as the extension draws it in dark mode ---------- */
.panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--black);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head .mark {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--red);
}

.panel-head div {
  display: grid;
  flex: 1;
  min-width: 0;
}

.panel-head b {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.panel-head span {
  color: var(--text-3);
  font-size: 12px;
  line-height: 16px;
}

.panel-icon {
  color: var(--text-3);
}

.panel-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.panel-label {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
}

.panel-card h4 {
  margin-top: -4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.panel-reason {
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
}

.panel-draft {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
  line-height: 1.6;
}

.panel-draft mark {
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(255, 90, 60, 0.2);
  color: #ffb4a1;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--raised);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.pill-main {
  flex: 1;
  background: var(--text);
  color: var(--black);
}

.pill-main kbd {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.06);
  color: var(--black);
}

.pill-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text-3);
}

/* ---------- sections ---------- */
.section {
  padding-top: 144px;
  scroll-margin-top: 24px;
}

/* ---------- how it works now: the text, and a wall of threads that all look alike ---------- */
.now {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}

.now-text h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.now-text h3 {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 500;
}

.now-text p {
  max-width: 34rem;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.wall {
  --tile: 200px;
  --gap: 16px;
  position: relative;
  height: 600px;
  overflow: hidden;
  mask: radial-gradient(closest-side, #000 60%, transparent);
}

.wall-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(6, var(--tile));
  grid-auto-rows: 120px;
  gap: var(--gap);
  transform: translate(-50%, -50%) rotateX(42deg) rotateZ(-30deg);
  transform-style: preserve-3d;
}

.wall-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-strong);
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.3;
}

.wall-tile b {
  font-size: 10px;
  font-weight: 400;
}

.wall-tile span {
  color: var(--text-2);
  font-weight: 500;
}

.wall-tile i {
  height: 5px;
  border-radius: 3px;
  background: var(--raised);
}

.wall-tile i:last-child {
  width: 60%;
}

/* the one thread that asks for your product: raised off the wall, in red */
.wall-ours {
  grid-column: 3 / span 2;
  grid-row: 3 / span 2;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border-radius: 12px;
  transform: translateZ(48px) scale(1.06);
  box-shadow:
    0 0 0 2px var(--red),
    0 30px 100px -10px rgba(255, 90, 60, 0.45);
  transition:
    box-shadow 900ms var(--ease),
    transform 900ms var(--ease);
}

.wall-ours span {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.wall-ours em {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  transition: opacity 900ms var(--ease);
}

.wall.is-waiting .wall-ours {
  transform: none;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.wall.is-waiting .wall-ours em {
  opacity: 0;
}

/* ---------- set it up once: four steps, each with a piece of the real panel ---------- */
.sell-band {
  padding-top: 144px;
}

.sell-head {
  max-width: 44rem;
}

.sell-head h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sell-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 18px;
}

.levers {
  display: grid;
  gap: 120px;
  margin: 96px 0 0;
  padding: 0;
  list-style: none;
}

.lever {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}

.lever.is-flipped .lever-text {
  order: 2;
}

.lever-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text-2);
  font-size: 14px;
}

.lever-name span {
  color: var(--red);
  font-weight: 600;
}

.lever h3 {
  margin-top: 20px;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lever-text > p:not(.lever-name) {
  max-width: 30rem;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

/* the close-ups: pieces of the panel and the thread on a hairline */
.crop {
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--black);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.crop-thread {
  padding: 28px;
  background: var(--card);
}

.crop-thread h4 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.crop-rules {
  padding: 24px;
}

.crop-title {
  color: var(--text-3);
}

.rules {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rules li {
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 20px;
  border-top: 1px solid var(--line);
  position: relative;
}

.rules li::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.rules b {
  font-size: 15px;
  font-weight: 500;
}

.rules span {
  color: var(--text-3);
  font-size: 12px;
}

.rules .is-off b {
  color: var(--text-3);
  text-decoration: line-through;
}

.rules .is-off span {
  color: #ffab96;
}

.rules .is-off::before {
  background: var(--red);
}

/* ---------- five minutes: speedrun splits ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.how-text h2,
.never h2,
.price-head h2,
.faq-head h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}


.never-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }

.never-list li { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); }

.never-list b { font-size: 17px; font-weight: 500; }

.never-list b::before { content: 'Never: '; color: var(--red); font-family: var(--mono); font-size: 13px; font-weight: 500; }

.never-list span { color: var(--text-2); font-size: 15px; }

.how-text p {
  max-width: 30rem;
  margin: 16px 0 32px;
  color: var(--text-2);
  font-size: 17px;
}

.splits {
  margin: 0;
  padding: 8px 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--card);
  list-style: none;
}

.splits li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  color: var(--text-2);
  font-size: 15px;
}

.splits li + li {
  border-top: 1px solid var(--line);
}

.splits time {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.splits b {
  color: var(--text);
  font-weight: 500;
}

.splits .is-hot,
.splits .is-hot b,
.splits .is-hot time {
  color: var(--red);
}

/* ---------- pricing: one card on the middle line ---------- */
.price-head {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.price-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.price-card {
  display: flex;
  flex-direction: column;
  max-width: 440px;
  margin: 48px auto 0;
  padding: 32px;
  border: 1px solid rgba(255, 90, 60, 0.3);
  border-radius: 24px;
  background: #150b08;
  box-shadow: inset 0 -24px 60px -20px rgba(255, 90, 60, 0.25);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 500;
}

.price-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 90, 60, 0.14);
  color: #ffab96;
}

.price-figure {
  margin-top: 24px;
  font-family: var(--pixel);
  font-size: 60px;
  line-height: 1;
}

.price-billed {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 14px;
}

.price-lines {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
}

.price-lines li {
  display: flex;
  gap: 10px;
}

.price-lines svg {
  flex: none;
  margin-top: 4px;
  color: var(--red);
}

/* ---------- questions ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.faq-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa:first-child {
  border-top: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa-sign {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--text-3);
}

.qa-sign::before,
.qa-sign::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease);
}

.qa-sign::after {
  transform: rotate(90deg);
}

.qa[open] .qa-sign::after {
  transform: rotate(0deg);
}

.qa p {
  max-width: 60ch;
  padding-bottom: 20px;
  color: var(--text-2);
  font-size: 15px;
}

/* ---------- the last call, on the forge band: ink on red ---------- */
.final {
  position: relative;
  isolation: isolate;
  margin-top: 96px;
  padding: 240px 0;
  color: var(--red-ink);
  text-align: center;
}

.final-forge {
  top: 0;
  bottom: 0;
}

.final h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.final h2 span {
  display: block;
}

.final .btn {
  min-height: 56px;
  margin-top: 40px;
  padding: 0 32px;
  border-radius: 14px;
  font-size: 17px;
}

.final :focus-visible {
  outline-color: var(--red-ink);
}

.final-hint {
  margin-top: 16px;
  color: rgba(31, 9, 4, 0.75);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- footer ---------- */
.foot {
  padding: 48px 0;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--text-2);
  font-size: 14px;
}

.foot-legal {
  color: var(--text-3);
}

/* ---------- the waitlist dialog ---------- */
.modal {
  width: min(440px, calc(100vw - 32px));
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.modal h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.modal-lead {
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--raised);
  color: var(--text);
}

.signup {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-label {
  color: var(--text-3);
  font-size: 13px;
}

.field-label i {
  margin-left: 4px;
  font-style: normal;
  opacity: 0.7;
}

.input {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--black);
  color: var(--text);
  font: 400 16px / 1 var(--face);
  transition: border-color 150ms var(--ease);
}

.input:focus {
  border-color: var(--red);
  outline: none;
}

.signup-status {
  min-height: 20px;
  color: var(--text-3);
}

.signup-status.is-ok {
  color: var(--live);
}

.signup-status.is-bad {
  color: var(--bad);
}

.signup.is-done .field,
.signup.is-done button[type='submit'] {
  display: none;
}

/* ---------- motion: one entrance on load ---------- */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-text {
    animation: enter 500ms var(--ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall-ours,
  .wall-ours em {
    transition: none;
  }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .never-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .now,
  .lever,
  .how,
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .lever.is-flipped .lever-text {
    order: 0;
  }

  .window-view {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .wall {
    --tile: 170px;
    height: 480px;
  }
}

@media (max-width: 760px) {
  .window-view {
    grid-template-columns: minmax(0, 1fr);
  }

  .thread {
    padding: 20px 16px 24px;
  }

  .thread > p,
  .thread-stats,
  .comments {
    display: none;
  }

  .panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .panel .panel-draft {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .bar-links {
    display: none;
  }

  .hero {
    padding: 40px 0 140px;
  }

  .h1-main {
    font-size: 34px;
  }

  .h1-pixel {
    display: block;
    font-size: 30px;
  }

  .h1-pain {
    font-size: 22px;
    text-wrap: balance;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-product {
    margin-top: 48px;
  }

  .hero-band {
    bottom: -140px;
  }

  .window-frame {
    --px: 3px;
  }

  .window-bar {
    height: 30px;
    font-size: 11px;
  }

  .window-bar i {
    width: 6px;
    height: 6px;
  }

  .pill {
    padding: 0 12px;
  }

  .pill-main kbd,
  .pill-icon {
    display: none;
  }

  .section,
  .sell-band {
    padding-top: 96px;
  }

  .levers {
    gap: 80px;
    margin-top: 56px;
  }

  .wall {
    --tile: 130px;
    --gap: 12px;
    height: 380px;
  }

  .wall-plane {
    grid-auto-rows: 90px;
  }

  .wall-ours span {
    font-size: 15px;
  }

  .crop-thread,
  .crop-rules {
    padding: 20px;
  }

  .splits li {
    padding: 16px;
    font-size: 13px;
  }

  .final {
    padding: 180px 0;
  }

  .modal {
    padding: 24px;
  }
}
