/* Automated Publishers, palette M (02_BRAND/BRAND.json, locked 2026-09-21). Dark only: the brand's home ground. */
:root {
  --g: #0A0A0A; --g2: #141416; --line: #2A2A2E;
  --ink: #FFFFFF; --ink2: #D4D4D8; --gray: #9CA3AF;
  --lime: #C6F135; --lime-dim: #8FB32A; --lime-soft: #1F2A0A;
  --display: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--g); color: var(--ink2);
  font: 400 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.bar { padding: 28px clamp(16px, 5vw, 64px) 0; }
.mark img { display: block; height: 40px; width: auto; }

.hero {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
  max-width: 1240px; width: 100%; margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 5vw, 64px);
}
.eyebrow {
  font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 22px;
}
h1 {
  font: 900 clamp(38px, 5vw, 62px)/1.0 var(--display); letter-spacing: -0.035em;
  color: var(--ink); margin: 0 0 24px; text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 700; color: var(--ink);
  background: linear-gradient(transparent 82%, var(--lime) 82%, var(--lime) 94%, transparent 94%); }
.lede { font-size: 19px; max-width: 34em; margin: 0 0 32px; color: var(--ink2); }

.signup {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px;
  max-width: 560px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.field input {
  height: 52px; padding: 0 14px; border-radius: 10px;
  background: var(--g2); border: 1px solid var(--line); color: var(--ink);
  font: 500 17px var(--display);
}
.field input:hover { border-color: #3a3a40; }
.field input[aria-invalid="true"] { border-color: #FF4D6D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.ts { grid-column: 1 / -1; }
button {
  grid-column: 1 / -1; height: 56px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--lime); color: #0A0A0A; font: 900 18px var(--display); letter-spacing: -0.01em;
  box-shadow: 0 0 0 0 rgba(198,241,53,.0); transition: box-shadow .2s, transform .1s;
}
button:hover { box-shadow: 0 0 32px 0 rgba(198,241,53,.28); }
button:active { transform: translateY(1px); }
button[disabled] { opacity: .6; cursor: progress; }
.msg { grid-column: 1 / -1; margin: 4px 0 0; min-height: 1.4em; font-weight: 500; color: var(--ink); }
.msg.ok { color: var(--ink); border-left: 3px solid var(--lime); padding-left: 12px; }
.msg.err { color: #FF8FA3; }
.fine { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--gray); }
.needs { margin: 22px 0 0; font: 400 13px/1.5 var(--mono); color: var(--gray); }

/* The signature: lines from a real Pre-Flight report */
.report {
  background: var(--g2); border: 1px solid var(--line); border-radius: 14px;
  font-family: var(--mono); overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(198,241,53,.18);
}
.report-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--gray);
}
.report-head .file { color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lines { list-style: none; margin: 0; padding: 8px 0; }
.lines li {
  display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: baseline;
  padding: 12px 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink2);
  border-bottom: 1px dashed #222226;
  opacity: 0; transform: translateY(6px); animation: line-in .45s ease-out forwards;
}
.lines li:last-child { border-bottom: 0; }
.lines li b { color: var(--ink); font-weight: 700; display: block; }
.lines li:nth-child(1) { animation-delay: .15s; } .lines li:nth-child(2) { animation-delay: .35s; }
.lines li:nth-child(3) { animation-delay: .55s; } .lines li:nth-child(4) { animation-delay: .75s; }
.lines li:nth-child(5) { animation-delay: .95s; } .lines li:nth-child(6) { animation-delay: 1.15s; }
@keyframes line-in { to { opacity: 1; transform: none; } }
.chk { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-align: center;
  padding: 3px 0; border-radius: 5px; border: 1px solid var(--line); color: var(--gray); }
.chk.pass { color: var(--lime); border-color: #3b4a14; }
.chk.warn { color: #0A0A0A; background: var(--ink); border-color: var(--ink); }
.chk.info { color: var(--gray); }
mark { background: none; color: var(--lime); font-weight: 700; }
.report-foot { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--gray); }

.foot { padding: 28px clamp(16px, 5vw, 64px) 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); }
.foot p { margin: 0 0 6px; max-width: 1240px; }
.foot .small { font-size: 12px; }

/* Plain text pages (welcome, privacy) */
.page { flex: 1; max-width: 720px; width: 100%; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 16px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.page h2 { font: 700 20px/1.3 var(--display); color: var(--ink); margin: 36px 0 10px; }
.page p, .page li { color: var(--ink2); }
.page code { font: 500 14px var(--mono); background: var(--g2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--ink); }
.callout { border-left: 3px solid var(--lime); padding: 4px 0 4px 16px; margin: 28px 0; color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .signup { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lines li { animation: none; opacity: 1; transform: none; }
  button { transition: none; }
}
