body { background: var(--bg-soft); min-height: 100vh; display: flex; flex-direction: column; }
.top, .consolebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 48px); background: var(--bg); border-bottom: 1px solid var(--line); }
.top nav a, .foot a { color: var(--ink-2); text-decoration: none; font-size: 13px; }
.top nav a:hover, .foot a:hover { text-decoration: underline; }
.brandx { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: inline-block; position: relative; }
.mark::after { content: ''; position: absolute; inset: 6px; border: 2px solid #fff; border-radius: 3px; }

.hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1100px; width: 100%; margin: 0 auto; padding: clamp(24px, 6vw, 64px) clamp(16px, 4vw, 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--accent); font-weight: 600; margin: 0 0 12px; }
.pitch h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 300; line-height: 1.12; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; max-width: 520px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.muted { color: var(--muted); font-size: 13px; }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.card h2 { font-size: 22px; margin-bottom: 4px; }
.card .sub { color: var(--muted); margin: 0 0 18px; }
.card.narrow { max-width: 460px; width: 100%; }
.center { flex: 1; display: grid; place-items: center; padding: 24px 16px; }
.field .help, .hint { font-size: 12px; color: var(--muted); }
.hint.ok { color: var(--green); } .hint.bad { color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 6px 0 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.check a, .done a { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.primary { width: 100%; justify-content: center; padding: 12px 16px; }
.done { text-align: center; padding: 8px 0; } .done .big { font-size: 44px; margin-bottom: 8px; }
.foot { text-align: center; padding: 20px; }
.field input[type=checkbox] { width: auto; padding: 0; }

/* console */
.consolebar .who { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.wrap { max-width: 1180px; width: 100%; margin: 0 auto; padding: 28px clamp(16px, 4vw, 32px) 60px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.stat .v { font-size: 32px; font-weight: 300; } .stat .l { color: var(--muted); font-size: 13px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pill { border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); border-radius: 99px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.pill.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.tbl { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.trow { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr 1.6fr; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.trow:last-child { border-bottom: 0; }
.cell.acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.overlay { position: fixed; inset: 0; background: rgba(18,24,27,.45); display: grid; place-items: center; padding: 20px; z-index: 50; }
.modal { background: var(--bg); border-radius: 16px; width: min(520px, 100%); padding: 24px 26px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { font-size: 20px; margin-bottom: 14px; } .modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
pre.snip { background: var(--ink); color: #d8e3e8; border-radius: 10px; padding: 12px 14px; font-size: 12px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 99; font-size: 13px; }
a.btn { text-decoration: none; }

/* conditions */
.legal { max-width: 780px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 32px) 60px; background: var(--bg); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.legal h1 { font-size: 30px; margin-bottom: 8px; } .legal h2 { font-size: 19px; margin: 28px 0 8px; font-weight: 500; }
.legal p, .legal li { color: var(--ink-2); } .legal .draft { background: var(--amber-soft); color: var(--amber); border-radius: 10px; padding: 12px 14px; font-size: 13px; margin: 14px 0 22px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 1fr; gap: 6px; } .cell.acts { justify-content: flex-start; }
}
