/* Parts statement audit — see landing/DESIGN.md. One accent (safety orange), steel/graphite, work-order grid. */

:root {
  --ink: #1c1f22;
  --steel: #3a4046;
  --paper: #eef0f1;
  --sheet: #fff;
  --rule: #b9bfc4;
  --text: #1c1f22;
  --muted: #5b636b;
  --accent: #ff6a13;
  --accent-soft: rgba(255, 106, 19, 0.14);
  --f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; margin: 0; }
p, ul, ol, dl, dd { margin: 0; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--accent); overflow-wrap: anywhere; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 1rem; }

/* Top bar */
.topbar { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--accent); }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.topbar-name { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; }
.topbar-mail { color: var(--paper); font-size: 0.95rem; }
.topbar-home { color: var(--paper); text-decoration: none; }

/* Hero */
.hero { padding-top: 2rem; padding-bottom: 2.5rem; }
.kicker { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 1rem; margin-bottom: 0.5rem; }
.hero h1 { font-size: 2.4rem; text-transform: none; }
.hero-terms { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; margin-top: 0.75rem; }
.price { background: var(--accent); color: var(--ink); padding: 0 0.3rem; }
.lead { margin-top: 1rem; }

/* Pay button */
.pay { margin-top: 1.5rem; }
.btn {
  display: block;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { box-shadow: none; transform: translate(4px, 4px); }
.pay-note { margin-top: 0.6rem; font-size: 0.95rem; color: var(--muted); }

/* Statement illustration — grid rows, not a table */
.sheet { margin: 2rem 0 0; background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ink); font-size: 0.95rem; }
.sheet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 5.5rem 5.25rem;
  gap: 0.25rem 0.75rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.sheet-head { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-size: 0.85rem; padding-top: 0.4rem; padding-bottom: 0.4rem; }
.c-amt { text-align: right; }
.c-none { color: var(--muted); }
.c-st { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-align: right; }
.bar { display: inline-block; height: 0.55em; background: var(--rule); vertical-align: middle; }
.b-s { width: 1.75rem; }
.b-m { width: 2.5rem; }
.b-l { width: 3.25rem; }
.is-off { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.is-off .c-line { font-weight: 600; }
.tag { background: var(--accent); color: var(--ink); padding: 0.05rem 0.35rem; font-weight: 700; }
.c-note { grid-column: 1 / -1; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.sheet figcaption { padding: 0.5rem 0.75rem; font-size: 0.85rem; color: var(--muted); }

/* Sections — numbered like a work order */
.sec { padding-top: 0; padding-bottom: 2.25rem; }
.sec-head { display: flex; align-items: baseline; gap: 0.75rem; border-top: 2px solid var(--ink); padding-top: 0.6rem; margin-bottom: 1rem; }
.sec-no { font-family: var(--f-head); font-weight: 600; color: var(--muted); font-size: 1.1rem; letter-spacing: 0.04em; }
.sec h2 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.03em; }
.sec p + p { margin-top: 0.75rem; }

.lines { list-style: none; padding: 0; margin-bottom: 1rem; border-top: 1px solid var(--rule); }
.lines li { padding: 0.55rem 0 0.55rem 1.25rem; border-bottom: 1px solid var(--rule); position: relative; }
.lines li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.55rem; height: 0.55rem; background: var(--accent); }

.case { border-left: 4px solid var(--steel); padding-left: 0.85rem; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.steps li:first-child { border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: 1 / span 2; font-family: var(--f-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ink); background: var(--accent); text-align: center; padding: 0.2rem 0; align-self: start; }
.steps h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }

.label { display: block; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 0.95rem; }

.big { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; line-height: 1.2; }

.sign { font-weight: 600; }

.faq dt { font-weight: 600; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.faq dd { padding-bottom: 0.75rem; color: var(--steel); }
.faq dd:last-child { border-bottom: 1px solid var(--rule); }

.sec-pay { padding-bottom: 3rem; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 1.5rem 0 2rem; font-size: 0.95rem; }
.foot p + p { margin-top: 0.3rem; }
.foot a { color: var(--paper); }
.foot-llc { font-weight: 600; }
.foot .foot-unsub { color: var(--rule); margin-top: 0.75rem; }

/* Thanks page */
.done { padding-top: 2.5rem; padding-bottom: 3rem; }
.done h1 { font-size: 2.6rem; display: inline-block; background: var(--accent); padding: 0 0.4rem; }
.done .lead { font-size: 1.2rem; }
.done .lines { margin-top: 1rem; }

@media (min-width: 48rem) {
  .wrap { padding: 0 2rem; }
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: 3.25rem; }
  .btn { display: inline-block; padding: 0.85rem 1.75rem; }
}

@media (max-width: 30rem) {
  .hero h1 { font-size: 2.1rem; }
  .sheet-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .c-line { grid-column: 1 / -1; }
  .sheet-head .c-line { display: none; }
  .c-amt { text-align: left; }
}
