/* The app's "Test Card" look (ADR 0005), for rewound.video. Self-hosted font: the site makes no third-party requests. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --bg: #0b0b0b;
  --fg: #ffffff;
  --muted: #c9c9c9;
  --line: #333333;
  --surface: #1a1a1a;
  --accent: #f2d231;
  --error: #ff7a66;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.5 "Archivo", system-ui, sans-serif; }
a { color: var(--fg); }
a:hover { color: var(--accent); }
:focus-visible { outline: 4px solid var(--fg); outline-offset: 4px; }

.bars { height: 10px; display: grid; grid-template-columns: repeat(7, 1fr); }
.bars span:nth-child(1) { background: #f0f0f0; }
.bars span:nth-child(2) { background: #f2d231; }
.bars span:nth-child(3) { background: #3fc1d0; }
.bars span:nth-child(4) { background: #57b85a; }
.bars span:nth-child(5) { background: #c9489b; }
.bars span:nth-child(6) { background: #d9452f; }
.bars span:nth-child(7) { background: #2f4fc9; }

main { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.hero { max-width: 640px; margin: clamp(48px, 12vh, 128px) auto 0; text-align: center; }
.logo { display: inline-flex; align-items: center; gap: 0.4em; margin: 0 0 40px; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 900; font-stretch: 125%; line-height: 1; text-transform: uppercase; }
/* The mark is a black square: a grey keyline keeps it from vanishing into the page (ADR 0029). */
.logo img { width: 1.35em; height: 1.35em; outline: 1px solid #666666; outline-offset: -1px; }
h1 { margin: 0 0 20px; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; font-stretch: 110%; line-height: 1.08; letter-spacing: -0.01em; }
.lead { margin: 0 auto 36px; max-width: 34em; font-size: 1.2rem; color: var(--muted); }

form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
input[type="email"] {
  flex: 1; min-width: 220px; max-width: 360px; padding: 12px; border: 2px solid var(--line); border-radius: 0;
  background: var(--bg); color: var(--fg); font: inherit;
}
input[type="email"]:focus-visible { outline: none; border-color: var(--accent); }
button {
  min-height: 52px; padding: 10px 24px; border: 0; border-radius: 0; background: var(--fg); color: var(--bg);
  font: inherit; font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer;
}
button:hover { background: var(--accent); }
/* The honeypot: off screen for people, still in the form for bots. */
.website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: 16px auto 0; max-width: 30em; font-size: 0.9rem; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: clamp(64px, 12vh, 120px) 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.features li { background: var(--surface); border-top: 3px solid var(--fg); padding: 24px; }
.features li:nth-child(1) { border-top-color: #f2d231; }
.features li:nth-child(2) { border-top-color: #3fc1d0; }
.features li:nth-child(3) { border-top-color: #57b85a; }
.features li:nth-child(4) { border-top-color: #c9489b; }
.features li:nth-child(5) { border-top-color: #d9452f; }
.features li:nth-child(6) { border-top-color: #2f4fc9; }
.features li:nth-child(7) { border-top-color: #f0f0f0; }
/* The first tile, the one with the most to say, runs the full width; the other six pair up. */
.features li:first-child { grid-column: 1 / -1; }
h2 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; }
.features p { margin: 0; color: var(--muted); }

.message { max-width: 560px; margin: clamp(48px, 14vh, 160px) auto 0; text-align: center; }
.message p { color: var(--muted); font-size: 1.1rem; }
.message .logo { color: var(--fg); }

footer { max-width: 980px; margin: 80px auto 0; padding: 24px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0 0 8px; max-width: 46em; }
