/* Redline marketing site. The app's own palette: black, white, one red. System type. No framework, no web font. */
:root { --bg: #000; --panel: #131315; --line: #2c2c2e; --text: #f5f5f7; --dim: #a1a1a6; --red: #e23b3b; --max: 68rem; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand i { display: block; width: 8px; height: 18px; border-radius: 3px; background: var(--red); }
nav.main { display: flex; gap: 18px; margin-left: auto; flex: 0 1 auto; min-width: 0; scrollbar-width: none; font-size: 15px; overflow-x: auto; white-space: nowrap; }
nav.main a { color: var(--dim); text-decoration: none; padding: 8px 0; }
nav.main a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; flex: none; }
.btn:hover { background: #f04a4a; }
.btn.ghost { background: none; border: 1px solid #55555c; color: var(--text); }
.btn.ghost:hover { background: var(--panel); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
main section { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
h1 { margin: 0; font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h3 { margin: 0 0 6px; font-size: 1.125rem; }
p { margin: 0 0 16px; max-width: 64ch; }
.lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); color: #d6d6db; max-width: 56ch; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.answer { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--red); font-size: 1.125rem; color: #e6e6ea; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.cta-row small { color: var(--dim); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 28px; padding: 0; list-style: none; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.card p { margin: 0; color: var(--dim); font-size: 16px; }
a.card { display: block; text-decoration: none; }
a.card:hover { border-color: #55555c; }
a.card b { display: block; font-size: 1.5rem; line-height: 1.2; }
ol.steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; max-width: 46rem; }
ol.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 62px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
ol.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; }
ol.steps p { margin: 0; color: var(--dim); }
table { width: 100%; max-width: 46rem; margin-top: 20px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
td:last-child, th:last-child { text-align: right; }
table.vs { max-width: none; } table.vs td, table.vs th { vertical-align: top; text-align: left; } table.vs th[scope=row] { width: 22%; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--dim); }
@media (max-width: 640px) { table.vs, table.vs tbody, table.vs tr, table.vs td, table.vs th { display: block; width: auto; } table.vs thead { display: none; } table.vs td:nth-child(2)::before { content: "Redline: "; color: var(--red); font-weight: 600; } table.vs td:nth-child(3)::before { content: "Them: "; color: var(--dim); font-weight: 600; } table.vs th[scope=row] { padding-bottom: 0; border-bottom: 0; color: var(--text); font-weight: 600; } table.vs td { border-bottom: 0; padding-top: 4px; } table.vs tr { border-bottom: 1px solid var(--line); padding: 8px 0; } }
details { max-width: 46rem; border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
details p { color: #d6d6db; }
.crumbs { margin: 0 0 18px; font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--dim); }
.prose h2 { margin-top: 40px; } .prose ul, .prose ol { max-width: 64ch; padding-left: 22px; } .prose li { margin-bottom: 8px; }
footer { padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
footer .cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
footer a { display: block; padding: 4px 0; color: var(--dim); text-decoration: none; } footer a:hover { color: var(--text); }
footer b { color: var(--text); }
/* the test */
.rtest { scroll-margin-top: 72px; margin-top: 28px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); max-width: 46rem; }
.rtest [hidden] { display: none; }
.rtest .passage { font-size: 1.125rem; line-height: 1.75; }
.rtest .passage p { max-width: none; }
.rsvp { display: grid; place-items: center; min-height: 9.5rem; margin: 8px 0 18px; border-block: 2px solid #55555c; font-size: clamp(2rem, 1.2rem + 4vw, 3.25rem); font-weight: 600; letter-spacing: 0.01em; }
.rsvp b { color: var(--red); font-weight: 600; }
.rtest fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.rtest legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.rtest label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.rtest label:has(input:checked) { border-color: var(--red); }
.result { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); margin: 4px 0 20px; }
.result div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.result b { display: block; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.result span { color: var(--dim); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 560px) { header.top .wrap { gap: 12px; } nav.main { gap: 14px; font-size: 14px; } .brand { font-size: 17px; } }
