
.landing main { max-width: none; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* The tower: the hero continues the bar. */
.tower { background: var(--tower); color: var(--tower-ink); }
.landing .bar { border-bottom-color: transparent; }
.nav-links { display: flex; gap: 20px; margin-inline-start: 8px; }
.nav-discord { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); color: var(--tower-ink-2); transition: color 120ms ease-out, background 120ms ease-out; }
.nav-discord:hover { color: #fff; background: #5865f2; }
.nav-discord .i { width: 19px; height: 19px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--tower-ink-2); text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--tower-ink); }
.landing .bar .mark { min-height: 40px; }

/* The phone menu: a <details>, shown only below 480px. */
.nav-menu { display: none; position: relative; }
.nav-menu > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--tower-ink); cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover, .nav-menu[open] > summary { background: var(--tower-line); }
.nav-menu > summary .i { width: 20px; height: 20px; }
.nav-sheet { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; min-width: 200px; padding: 6px; display: grid; background: var(--tower); border: 1px solid var(--tower-line); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.nav-sheet a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--tower-ink); text-decoration: none; font-weight: 500; }
.nav-sheet a:hover, .nav-sheet a[aria-current="page"] { background: var(--tower-line); }
.btn.brass { background: var(--tower-brass); border-color: var(--tower-brass); color: #17130a; }
.btn.brass:hover, .bar .btn.brass:hover { background: var(--tower-brass); border-color: var(--tower-brass); filter: brightness(1.08); }
.btn.ghost { color: var(--tower-ink); border-color: rgba(255, 255, 255, 0.18); }
.btn.ghost:hover { background: var(--tower-line); }
.btn.lg { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn .discord { width: 18px; height: 18px; }

.hero { padding: 56px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--tower-ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { width: 16px; height: 16px; color: var(--tower-brass); }
.hero h1 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 20px; color: #f4f5f7; max-width: 22ch; text-wrap: balance; }
.hero .lede { font-size: 18px; line-height: 1.55; color: #b8bfc9; max-width: 52ch; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .fine { margin: 16px 0 0; font-size: 13px; color: var(--tower-ink-2); }

/* Discord, as it looks: the real staff log messages Rook posts. */
.dc { margin: 0; -webkit-user-select: none; user-select: none; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; background: #313338; color: #dbdee1; font-size: 14.5px; line-height: 1.4; overflow: hidden; }
.dc-channel { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.24); color: #f2f3f5; font-weight: 600; }
.dc-channel .hash { color: #80848e; font-weight: 500; font-size: 20px; line-height: 1; }
.dc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; padding: 14px 16px 6px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; background: #121519; display: grid; place-items: center; }
.dc-avatar svg { width: 22px; height: 22px; color: #d9aa52; }
.dc-author { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.dc-author b { color: #f2f3f5; font-weight: 600; }
.dc-tag { display: inline-flex; align-items: center; gap: 2px; background: #5865f2; color: #fff; font-size: 10px; font-weight: 600; padding: 1px 5px 1px 3px; border-radius: 4px; letter-spacing: 0.02em; }
.dc-tag svg { width: 11px; height: 11px; }
.dc-time { color: #949ba4; font-size: 12px; }
.dc-card { position: relative; margin: 4px 0 8px; padding: 12px 14px 12px 16px; border-radius: 8px; background: #2b2d31; border: 1px solid rgba(255, 255, 255, 0.04); }
.dc-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; border-start-start-radius: 8px; border-end-start-radius: 8px; background: var(--accent-bar, #f9a825); }
.dc-card.warn { --accent-bar: #f9a825; }
.dc-card.bad { --accent-bar: #c62828; }
.dc-title { margin: 0 0 2px; color: #f2f3f5; font-size: 16px; font-weight: 700; }
.dc-mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dc-sub { color: #949ba4; font-size: 12px; margin-top: 2px; }
.dc-sep { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 10px 0; }
.dc-card ul { margin: 0 0 6px; padding-inline-start: 18px; }
.dc-card li { margin: 2px 0; }
.dc-button { display: inline-flex; align-items: center; height: 32px; margin-top: 8px; padding: 0 16px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 14px; font-weight: 500; }
.hero .dc { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
@media (prefers-reduced-motion: no-preference) {
  .hero .dc-msg { animation: msg-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .dc-msg + .dc-msg { animation-delay: 900ms; }
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }

/* Rook Assistant: chats that play in turn (landing-script.ts). */
.ask-demo { min-height: 372px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.ask-scene { display: none; padding-bottom: 10px; }
.ask-scene.on { display: block; }
.ask-mod { background: #3b6e5a; color: #e8f3ee; font-weight: 600; font-size: 16px; }
.ask-modname { color: #7fd1a8 !important; }
.ask-text { margin-bottom: 4px; }
.ask-typing { display: none; align-items: center; gap: 8px; padding: 4px 16px 0 70px; color: #b5bac1; font-size: 13px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #b5bac1; }
.ask-card { --accent-bar: #f9a825; }
.ask-card.applied { --accent-bar: #2e7d32; }
.ask-record { --accent-bar: #5865f2; }
.ask-record b { color: #f2f3f5; font-size: 14px; }
.ask-buttons { display: flex; gap: 8px; }
.ask-apply { background: #248046; }
.ask-done { display: none; }
.ask-card.applied .ask-pending { display: none; }
.ask-card.applied .ask-done { display: block; }
.ask-done > div:not(.dc-sub) { margin: 2px 0; }
.ask-limits { color: var(--ink-2); font-size: 15px; }
/* Playing: parts wait their turn. */
.ask-demo.playing .ask-part { opacity: 0; transform: translateY(8px); transition: opacity 320ms ease-out, transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.ask-demo.playing .ask-part.in { opacity: 1; transform: none; }
.ask-demo.playing .ask-typing.in { display: flex; }
.ask-apply.pressed { background: #1a6334; transform: scale(0.96); transition: transform 120ms ease-out; }
@media (prefers-reduced-motion: no-preference) {
  .dots i { animation: dot 1.2s infinite ease-in-out; }
  .dots i:nth-child(2) { animation-delay: 0.15s; }
  .dots i:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* Sections: varied rhythm, no stock order. */
.sec { padding: 96px 0; }
.sec.tight { padding: 64px 0; }
.sec.sunk { background: var(--stone-sunk); }
.sec h2 { display: block; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.022em; font-weight: 600; margin: 0 0 16px; max-width: 22ch; text-wrap: balance; }
.sec p { color: var(--slate-2); font-size: 16.5px; line-height: 1.65; max-width: 62ch; margin: 0 0 16px; }
.sec p a, .faq a { color: var(--slate); }
.label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--brass); }
.label .i { width: 16px; height: 16px; }
.tower .label { color: var(--tower-brass); }
.more { margin-top: 20px; }
.more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--slate); text-decoration: none; }
.more a:hover { color: var(--brass); }
.more .i { width: 16px; height: 16px; transition: transform 150ms ease-out; }
.more a:hover .i { transform: translateX(3px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.center { align-items: center; }
.source { font-size: 13px; color: var(--slate-3); }

/* The no-IP statement: big, one claim, then the mechanism. */
.claim { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 24px; max-width: 20ch; }

/* The scramble: an address becoming the fingerprint Rook keeps. */
.scramble { margin: 0; padding: 26px 28px 22px; border: 1px solid var(--tower-line); border-radius: var(--r-md); background: var(--tower); color: var(--tower-ink); }
h2 + .scramble { margin-top: 24px; }
.scr-label { position: relative; height: 20px; font-size: 13px; font-weight: 600; color: var(--tower-ink-2); }
.scr-label span { position: absolute; inset-inline-start: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; transition: opacity 250ms ease-out; }
.scr-to { opacity: 0; color: var(--tower-brass); }
.scr-to .i { width: 14px; height: 14px; }
.scramble.done .scr-from { opacity: 0; }
.scramble.done .scr-to { opacity: 1; }
.scr-value { margin: 10px 0 14px; font: 500 clamp(22px, 3vw, 36px)/1.25 "Plex Mono", ui-monospace, monospace; color: #f4f5f7; white-space: nowrap; overflow: hidden; transition: color 300ms ease-out; }
.scramble.done .scr-value { color: var(--tower-brass); }
.scramble figcaption { font-size: 13px; color: var(--tower-ink-2); }

/* Ledger tables: the rules and the data Rook keeps. */
.ledger-table { width: 100%; border-collapse: collapse; background: var(--stone-raised); border: 1px solid var(--mortar); border-radius: var(--r-md); overflow: hidden; font-size: 15px; }
.ledger-table th, .ledger-table td { text-align: start; padding: 13px 18px; border-top: 1px solid var(--mortar-soft); vertical-align: top; }
.ledger-table thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--slate-3); background: var(--stone-sunk); }
.cell { display: flex; align-items: center; gap: 10px; }
.cell-icon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin: -3px 0; border-radius: 6px; background: var(--stone-sunk); color: var(--slate-3); }
.cell-icon .i { width: 15px; height: 15px; }
.ledger-table tbody th { font-weight: 500; color: var(--slate); width: 34%; }
.ledger-table td { color: var(--slate-2); }
.ledger-table .on { color: var(--slate); font-weight: 600; }
.ledger-table .never { color: var(--brick); font-weight: 500; }

/* /vs/double-counter: three columns, stacked rows on a phone. */
.vs-h { margin-bottom: 20px; }
.vs-used { margin: 12px 0 0; color: var(--tower-ink-2); }
.vs-used a { color: inherit; }
.vs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; max-width: 820px; }
.vs-stat { margin: 0; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.02); }
.vs-num { display: block; font: 500 clamp(30px, 5vw, 52px)/1.1 "Plex Mono", ui-monospace, monospace; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vs-stat.good .vs-num { color: var(--tower-brass); }
.vs-stat.bad .vs-num { color: #e0715f; }
.vs-stat figcaption { margin-top: 8px; font-size: 14px; color: var(--tower-ink-2); }
.vs-stat figcaption a { color: inherit; }
.vs-table tbody th { width: 24%; }
.vs-table td { width: 38%; }
.vs-table thead th:nth-child(2) { color: var(--brass); }
.vs-verdict { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; color: var(--slate); }
.vs-verdict .i { width: 16px; height: 16px; flex: none; }
.vs-verdict.win .i { color: var(--brass); }
.vs-verdict.lose { color: var(--slate-2); }
.vs-verdict.lose .i { color: var(--brick); }
.vs-detail { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--slate-3); }
.vs-sources { max-width: 68ch; margin: 18px 0 0; font-size: 14px; color: var(--slate-3); }

/* Alt detection: accounts joined by the brass thread. */
.links { margin: 0; display: grid; gap: 12px; }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 0.9fr) minmax(0, 1fr); align-items: center; padding: 14px 16px; border: 1px solid var(--mortar); border-radius: var(--r-md); background: var(--stone-raised); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { display: block; font-size: 12.5px; color: var(--slate-3); }
.who:last-child { justify-self: end; flex-direction: row-reverse; text-align: end; }
.av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--stone-sunk); color: var(--slate-2); font-weight: 600; font-size: 14px; }
.wire { position: relative; height: 2px; margin: 0 12px; background: var(--brass); opacity: 0.9; }
.signal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 3px 9px; border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); border-radius: 999px; background: var(--stone-raised); color: var(--brass); font-size: 12px; font-weight: 600; white-space: nowrap; }
.link-row.bad .wire { background: var(--brick); }
.link-row.bad .signal { color: var(--brick); border-color: color-mix(in srgb, var(--brick) 45%, transparent); }
.who.bad small { color: var(--brick); font-weight: 500; }
.who.ok small { color: var(--moss); font-weight: 500; }
.link-row.clear .wire { background: none; border-top: 2px dashed var(--mortar-firm); height: 0; }
.link-row.clear .signal { color: var(--slate-3); border-color: var(--mortar); }

/* Raids: the join rate chart. */
.rate { margin: 0; padding: 20px 20px 14px; border: 1px solid var(--mortar); border-radius: var(--r-md); background: var(--stone-raised); }
.rate svg { display: block; width: 100%; height: auto; }
.rate .band { fill: var(--brass-wash); }
.rate .base { stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.rate .line { stroke: var(--slate); stroke-width: 2; fill: none; stroke-linejoin: round; }
.rate .spike { stroke: var(--brick); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.rate .dot { fill: var(--brick); }
.rate .tag { fill: var(--brick); font: 600 12px "Plex Sans", system-ui, sans-serif; }
.rate .label-t { fill: var(--slate-3); font: 12px "Plex Mono", ui-monospace, monospace; }
.rate figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--slate-3); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 16px; height: 0; border-top: 2px solid var(--slate); }
.key.k-base::before { border-top: 2px dashed var(--brass); }
.key.k-spike::before { border-top-color: var(--brick); }

/* Scam protection reuses the dashboard's demo on a wider stage. */
.sec .scam-demo { background: var(--stone-raised); }
.autopilot-row { margin-top: 72px; }
.autopilot-row h3 { margin: 12px 0 12px; font-size: 22px; line-height: 1.3; }
.ap-stage { display: grid; place-items: center; }
.lang-suggest { position: relative; z-index: 30; background: var(--stone-raised); border-bottom: 1px solid var(--mortar); color: #e8eaed; }
.lang-suggest-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 14px 24px; }
.lang-suggest p { flex: 1 1 280px; margin: 0; color: #b8bfc9; font-size: 14px; line-height: 1.5; }
.lang-pick { position: relative; flex: 0 1 240px; min-width: 180px; }
.lang-pick::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.5px solid #8f96a0; border-bottom: 1.5px solid #8f96a0; transform: rotate(45deg); pointer-events: none; }
.lang-pick select { appearance: none; width: 100%; height: 36px; padding-block: 0; padding-inline: 12px 36px; border: 1px solid var(--mortar); border-radius: var(--r-sm); background: var(--stone-sunk); color: #e8eaed; font: inherit; font-size: 14px; cursor: pointer; }
.lang-pick select:hover { border-color: var(--mortar-firm); }
.lang-pick select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.lang-pick option { background: var(--stone-raised); color: #e8eaed; }
.lang-suggest .btn { flex: none; height: 36px; }
.lang-close { order: 1; flex: none; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: #8f96a0; font-size: 20px; line-height: 1; cursor: pointer; }
.lang-close:hover { background: var(--mortar-soft); color: #e8eaed; }
@media (max-width: 640px) {
  .lang-suggest-in { padding: 12px 16px; }
  .lang-suggest p { flex-basis: calc(100% - 44px); }
  .lang-close { order: 0; }
  .lang-pick { flex: 1 1 0; }
}
.topic-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.topic-list li { position: relative; padding-inline-start: 22px; color: #b8bfc9; font-size: 16px; line-height: 1.6; }
.topic-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.7em; width: 8px; height: 8px; border-radius: 2px; background: var(--brass); }
.page-head-band .ctas { margin-top: 28px; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.posts a { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--mortar); border-radius: var(--r-md); background: var(--stone-raised); color: inherit; text-decoration: none; }
.posts a:hover { border-color: var(--mortar-firm); }
.posts time { font: 500 13px "Plex Mono", ui-monospace, monospace; color: #8f96a0; }
.posts b { font-size: 20px; font-weight: 600; color: #f4f5f7; line-height: 1.3; }
.posts span { color: #b8bfc9; font-size: 15px; line-height: 1.55; }
.page-head-band a.label { text-decoration: none; }
.page-head-band a.label .i { transform: rotate(180deg); }
.also { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.also li { display: grid; gap: 6px; align-content: start; }
.also .i { width: 20px; height: 20px; color: var(--brass); margin-bottom: 6px; }
.also b { font-size: 17px; font-weight: 600; color: #f4f5f7; }
.also span { color: #b8bfc9; font-size: 15px; line-height: 1.55; }
@media (max-width: 760px) { .also { grid-template-columns: 1fr; gap: 28px; } }

/* Setup: the same numbered steps as the dashboard's checklist. */
.setup { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.setup li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--mortar); }
.setup li > * { grid-column: 2; }
.setup li::before { grid-row: 1 / span 2; align-self: start; }
.setup.single { grid-template-columns: 1fr; }
.setup li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--mortar-firm); font: 500 13px "Plex Mono", ui-monospace, monospace; color: var(--brass); }
.setup b { display: block; font-weight: 600; font-size: 16px; }
.setup span { display: block; margin-top: 4px; color: var(--slate-2); line-height: 1.55; }

/* Questions people search for. */
.faq { border-top: 1px solid var(--mortar); }
.faq details { border-bottom: 1px solid var(--mortar); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 "Plex Mono", ui-monospace, monospace; color: var(--slate-3); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--brass); }
.faq p { margin: 0 0 18px; color: var(--slate-2); line-height: 1.65; max-width: 70ch; }

/* Subpages open on a short tower band. */
.page-head-band { padding: 64px 0 56px; }
.page-head-band h1 { margin: 0 0 12px; color: #f4f5f7; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 600; }
.page-head-band .lede { margin: 0; max-width: 60ch; color: #b8bfc9; font-size: 18px; line-height: 1.55; }
.page-head-band .lede a { color: var(--tower-ink); }
.sec.tight h2 { font-size: clamp(22px, 2.4vw, 28px); }

/* Pricing: one plan, everything in it. */
.plan-card { padding: 28px; border: 1px solid var(--mortar); border-radius: var(--r-md); background: var(--stone-raised); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 880px; margin: 0 auto; }
.plan-card { display: flex; flex-direction: column; }
.plan-card .plan-list { flex: 1; align-content: start; }
.plan-card.plus .btn .rook-plus { color: var(--brass); }
.plan-card.plus { border-color: color-mix(in srgb, var(--brass) 45%, var(--mortar)); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brass) 9%, transparent), transparent 60%), var(--stone-raised); }
.plan-top h2 { display: flex; align-items: center; gap: 8px; }
.plan-top .rook-plus { width: 22px; height: 22px; color: var(--brass); }
.plan-card .plan-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--slate-3); }
.plans .plan-top { flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--mortar-soft); }
.plan-top h2 { margin: 0; font-size: 22px; }
.plan-price { margin: 0; color: var(--slate-3); font-size: 15px; }
.plan-price span { font: 600 32px/1 "Plex Sans", system-ui, sans-serif; letter-spacing: -0.02em; color: var(--slate); margin-inline-end: 4px; }
.plan-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 12px; }
.plan-list li { display: flex; align-items: center; gap: 12px; color: var(--slate-2); }
.plan-list .i { width: 18px; height: 18px; flex: none; color: var(--brass); }

/* The closing band brings the tower back. */
.closing { padding: 80px 0; }
.closing h2 { color: #f4f5f7; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 600; }
.closing p { color: #b8bfc9; margin: 0 0 28px; max-width: 52ch; font-size: 17px; line-height: 1.55; }

/* The privacy policy and terms. */
.legal { padding: 48px 0 80px; }
.legal .prose { max-width: 70ch; font-size: 15.5px; }
.legal .prose > :first-child { margin-top: 0; }
.legal .prose h2 { font-size: 18px; }


/* 404: the rook on its board. */
.lost { min-height: calc(100vh - 56px); display: grid; align-content: center; padding: 48px 0 72px; }
.board { --sq: clamp(14px, 3.2vw, 34px); display: grid; grid-template-columns: repeat(17, var(--sq)); grid-auto-rows: var(--sq); width: max-content; margin-bottom: 40px; position: relative; border: 1px solid var(--tower-line); }
.board i { display: block; background: #15181c; }
.board i:nth-child(even) { background: #1a1e23; }
.board i.on { background: var(--tower-brass); }
.board .piece { position: absolute; left: 0; bottom: 0; width: var(--sq); height: var(--sq); display: grid; place-items: center; color: #f4f5f7; }
.board .piece svg { width: 80%; height: 80%; }
@media (prefers-reduced-motion: no-preference) {
  .board .piece { animation: rook-slide 1.6s cubic-bezier(0.22, 0.8, 0.2, 1) 0.3s both; }
}
@keyframes rook-slide { from { transform: translateX(0); } to { transform: translateX(calc(var(--sq) * 16)); } }
.board .piece { transform: translateX(calc(var(--sq) * 16)); }
.lost h1 { color: #f4f5f7; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 600; }
.lost p { color: #b8bfc9; font-size: 17px; line-height: 1.55; margin: 0 0 28px; max-width: 48ch; }
.lost code { font: 14px "Plex Mono", ui-monospace, monospace; color: var(--tower-ink); background: var(--tower-line); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero .wrap, .split, .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .setup { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; margin-inline-start: 4px; font-size: 13.5px; }
  .landing .bar .nav-dash { display: none; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 56px; }
  .sec { padding: 56px 0; }
  .sec.tight { padding: 48px 0; }
  .hero .wrap, .split, .split.flip { gap: 28px; }
  .closing { padding: 48px 0 56px; }
  .page-head-band { padding: 40px 0 36px; }
  .legal { padding: 32px 0 56px; }
  .landing .bar .btn.sm { min-height: 40px; }
  .ledger-table th, .ledger-table td { padding: 11px 12px; font-size: 14px; }
  .link-row { grid-template-columns: 1fr; row-gap: 6px; padding: 12px 14px; }
  .wire { height: auto; margin: 0; margin-inline-start: 16px; padding: 6px 0; padding-inline-start: 26px; background: none; border-inline-start: 2px solid var(--brass); opacity: 1; }
  .link-row.bad .wire { background: none; border-inline-start-color: var(--brick); }
  .link-row.clear .wire { height: auto; border-top: 0; border-inline-start: 2px dashed var(--mortar-firm); }
  .signal { position: static; display: inline-block; transform: none; }
  .who:last-child { justify-self: start; flex-direction: row; text-align: start; }
  .who.none { display: none; }
  .cell-icon { display: none; }
}
@media (max-width: 640px) {
  .vs-table thead { display: none; }
  .vs-table tr { display: block; padding: 12px 14px; border-top: 1px solid var(--mortar-soft); }
  .vs-table tbody tr:first-child { border-top: 0; }
  .vs-table tbody th, .vs-table td { display: block; width: auto; padding: 0; border: 0; }
  .vs-table tbody th { margin-bottom: 8px; }
  .vs-table td + td { margin-top: 8px; }
  .vs-table td::before { content: attr(data-who); display: block; font-size: 12.5px; font-weight: 500; color: var(--slate-3); }
  .vs-table td[data-who="Rook"]::before { color: var(--brass); }
  .vs-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-discord { display: none; }
  .sec .demo-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec .demo-channel:nth-child(3) { display: none; }
}
