/* youforgot.marketing - design system
   Blunt-friend brand: black ground, red verdict, bone text.
   Static, crawlable, no framework. */

:root {
  --ink: #080808;
  --panel: #141412;
  --panel-2: #1b1a18;
  --rule: #2c2b28;
  --bone: #f0ede8;
  --dim: #8d8880;
  --faint: #5c5852;
  --red: #e8291c;
  --red-soft: #ff5a4e;
  --win: #7dc47a;
  --amber: #d9a13b;
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 780px;
  --maxw-wide: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(240,237,232,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,237,232,0.016) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
}
main, header, footer, nav { position: relative; z-index: 1; }

a { color: var(--bone); text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { color: var(--red-soft); text-decoration-color: var(--red-soft); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}
::selection { background: var(--red); color: var(--ink); }
img, svg { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
.nav { border-bottom: 1px solid var(--rule); }
.nav-in { max-width: var(--maxw-wide); margin: 0 auto; padding: 16px 28px; display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; }
.nav .brand { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; text-decoration: none; color: var(--bone); }
.nav .brand span { color: var(--red); }
.nav a:not(.brand) {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim); text-decoration: none;
}
.nav a:not(.brand):hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .spacer { flex: 1; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); display: block; }
.eyebrow--dim { color: var(--dim); }
h1.mega {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(58px, 11.5vw, 140px); line-height: 0.9;
  letter-spacing: 0.01em; margin: 18px 0 0; text-wrap: balance;
}
h1.mega .red { color: var(--red); }
h1.page {
  font-family: var(--display); font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95; letter-spacing: 0.015em; margin: 14px 0 0; text-wrap: balance;
}
h1.page .red { color: var(--red); }
h2 {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.03; letter-spacing: 0.005em;
  text-wrap: balance;
}
h3 {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  font-size: 23px; letter-spacing: 0.02em; margin: 38px 0 12px; text-wrap: balance;
}
h4 { font-family: var(--body); font-weight: 600; font-size: 17px; margin: 24px 0 8px; }
p { margin: 0 0 16px; max-width: 70ch; }
p.lede { font-size: 19.5px; line-height: 1.55; max-width: 64ch; }
p.note { color: var(--dim); font-size: 15px; }
.sub {
  font-family: var(--cond); font-size: clamp(19px, 2.8vw, 27px);
  color: var(--dim); line-height: 1.25; max-width: 36ch; margin-top: 18px;
}
.sub strong { color: var(--bone); font-weight: 600; }
strong { font-weight: 600; }
.redword { color: var(--red-soft); font-weight: 600; }
ul.plain { margin: 0 0 18px; padding-left: 20px; max-width: 70ch; }
ul.plain li { margin-bottom: 9px; }
ul.plain li::marker { color: var(--red); }

section { padding: 66px 0 6px; }
.sec-head { display: flex; align-items: baseline; gap: 15px; border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: 26px; }
.sec-num { font-family: var(--mono); font-size: 12px; color: var(--red); }

/* ---------- hero ---------- */
.hero { padding: 74px 0 58px; border-bottom: 1px solid var(--rule); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 32px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--cond); font-weight: 600;
  font-size: 19px; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 14px 30px; text-decoration: none; border: 1px solid var(--red);
  background: var(--red); color: var(--ink); transition: background .15s, color .15s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--red); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); background: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; align-items: center; }
.btn-row .after { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- quotes / pain ---------- */
.painwall { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 28px 0 10px; }
.pain { background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--red);
  padding: 19px 21px 15px; display: flex; flex-direction: column; gap: 12px; }
.pain q { quotes: "\201C" "\201D"; font-family: var(--cond); font-size: 20px; line-height: 1.28; }
.pain q::before, .pain q::after { color: var(--red); }
.pain .src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--faint);
  text-transform: uppercase; margin-top: auto; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin: 30px 0; }
.stat { background: var(--panel); padding: 21px 20px 17px; }
.stat .n { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: 0.015em; font-variant-numeric: tabular-nums; }
.stat .n .u { color: var(--red); }
.stat .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); margin-top: 9px; line-height: 1.6; }

/* ---------- cards / offers ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin: 28px 0; }
.card { background: var(--panel); border: 1px solid var(--rule); padding: 24px 24px 20px; display: flex; flex-direction: column; }
.card--top { border-color: var(--red); }
.card .price { font-family: var(--display); font-size: 40px; color: var(--red-soft); line-height: 1; font-variant-numeric: tabular-nums; }
.card--top .price { color: var(--red); }
.card .t { font-family: var(--cond); font-weight: 600; font-size: 21px; text-transform: uppercase; letter-spacing: 0.02em; margin: 10px 0 8px; }
.card .d { color: var(--dim); font-size: 15px; line-height: 1.55; }
.card ul { list-style: none; margin: 14px 0 18px; padding: 0; }
.card ul li { font-size: 14.5px; padding-left: 18px; position: relative; margin-bottom: 7px; color: var(--bone); }
.card ul li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-family: var(--mono); font-size: 12px; }
.card .foot { margin-top: auto; padding-top: 6px; }
.card .turnaround { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

/* ---------- callout ---------- */
.callout { border-left: 3px solid var(--red); background: var(--panel); padding: 20px 24px; margin: 26px 0; max-width: 76ch; }
.callout p:last-child { margin-bottom: 0; }
.callout .eyebrow { margin-bottom: 10px; }

/* ---------- tables ---------- */
.tblwrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--rule); }
table { border-collapse: collapse; width: 100%; min-width: 640px; background: var(--panel); font-size: 15px; }
caption { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); padding: 13px 18px 11px; background: var(--panel-2); border-bottom: 1px solid var(--rule); }
th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--rule); background: var(--panel-2); white-space: nowrap; }
td { padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td.k { font-family: var(--cond); font-weight: 600; font-size: 17px; white-space: nowrap; }
td.m { font-family: var(--mono); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }

.status { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.status--win { color: var(--win); }
.status--mid { color: var(--amber); }
.status--no { color: var(--red-soft); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot--win { background: var(--win); } .dot--mid { background: var(--amber); } .dot--no { background: var(--red); }

/* ---------- forms ---------- */
.form { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
input[type="email"], input[type="text"], input[type="url"], select {
  font-family: var(--body); font-size: 16px; padding: 13px 16px; min-width: 240px; flex: 1 1 260px;
  background: var(--panel); border: 1px solid var(--rule); color: var(--bone);
}
input::placeholder { color: var(--faint); }
label.fl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 8px; }
.formnote { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; }
.formmsg { font-family: var(--cond); font-size: 18px; color: var(--win); margin-top: 12px; }

/* ---------- quiz ---------- */
.quiz { border: 1px solid var(--rule); background: var(--panel); margin: 30px 0; }
.quiz-head { padding: 16px 24px 13px; border-bottom: 1px solid var(--rule); background: var(--panel-2);
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.quiz-step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.quiz-bar { height: 3px; background: var(--rule); }
.quiz-bar i { display: block; height: 100%; background: var(--red); width: 0; transition: width .25s ease; }
.quiz-body { padding: 26px 24px 22px; }
.quiz-q { font-family: var(--cond); font-weight: 600; font-size: clamp(22px, 3.2vw, 30px); text-transform: uppercase;
  line-height: 1.15; margin-bottom: 20px; text-wrap: balance; }
.opts { display: flex; flex-direction: column; gap: 9px; }
.opt { text-align: left; background: var(--panel-2); border: 1px solid var(--rule); color: var(--bone);
  font-family: var(--body); font-size: 16.5px; padding: 15px 18px; cursor: pointer; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--red); background: #221f1d; }
.opt .oh { font-weight: 600; display: block; }
.opt .od { color: var(--dim); font-size: 14px; display: block; margin-top: 3px; line-height: 1.45; }
.quiz-back { margin-top: 18px; background: none; border: none; color: var(--faint); font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; padding: 4px 0; }
.quiz-back:hover { color: var(--red); }

/* result */
.verdict-box { border: 1px solid var(--red); background: linear-gradient(180deg, rgba(232,41,28,0.08), rgba(232,41,28,0.02)); padding: 26px 26px 20px; }
.verdict-box .gap { font-family: var(--display); font-size: clamp(38px, 7vw, 68px); line-height: 0.95; color: var(--red); margin: 6px 0 10px; }
.verdict-box .because { font-family: var(--cond); font-size: 20px; line-height: 1.3; color: var(--bone); margin-bottom: 20px; max-width: 52ch; }
.moves { counter-reset: mv; display: flex; flex-direction: column; gap: 12px; margin: 20px 0 6px; }
.move { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.move::before { counter-increment: mv; content: counter(mv); font-family: var(--display); font-size: 26px; color: var(--red); line-height: 1; padding-top: 2px; }
.move .mt { font-weight: 600; }
.move .md { color: var(--dim); font-size: 15px; line-height: 1.5; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); margin-top: 76px; padding: 34px 0 56px; }
footer .fnav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; }
footer .fnav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; }
footer .fnav a:hover { color: var(--red); }
footer p { color: var(--faint); font-size: 13px; font-family: var(--mono); line-height: 1.7; max-width: none; }

/* ---------- misc ---------- */
.hr { border: none; border-top: 1px solid var(--rule); margin: 44px 0; }
.shot { border: 1px solid var(--rule); background: var(--panel); padding: 14px; margin: 18px 0; }
.shot .cap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }
.shot .slot { border: 1px dashed var(--rule); padding: 30px 20px; text-align: center; color: var(--faint);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-in { gap: 14px; }
}

/* ---------- checklist (launch checklist generator) ---------- */
.checklist { margin: 26px 0; }
.cl-group { border: 1px solid var(--rule); background: var(--panel); margin-bottom: 12px; }
.cl-group > h3 { margin: 0; padding: 14px 20px 11px; background: var(--panel-2);
  border-bottom: 1px solid var(--rule); font-size: 19px; display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px; }
.cl-group > h3 .count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim);
  text-transform: none; font-weight: 400; }
.cl-item { display: flex; gap: 13px; padding: 13px 20px; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.cl-item:last-child { border-bottom: none; }
.cl-item input[type="checkbox"] { appearance: none; width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px;
  border: 1px solid var(--faint); background: var(--ink); cursor: pointer; position: relative; }
.cl-item input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.cl-item input[type="checkbox"]:checked::after { content: '✓'; position: absolute; inset: 0; color: var(--ink);
  font-size: 14px; line-height: 17px; text-align: center; font-weight: 700; }
.cl-item label { cursor: pointer; flex: 1; }
.cl-item .why { display: block; color: var(--dim); font-size: 14px; margin-top: 3px; line-height: 1.5; }
.cl-item.done label { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--rule); }
.cl-item.done .why { color: var(--faint); }
.cl-progress { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); margin: 16px 0 6px; }
.cl-progress b { color: var(--red); }

/* ---------- score bars (gap scorecard) ---------- */
.scores { margin: 26px 0; display: flex; flex-direction: column; gap: 14px; }
.score { border: 1px solid var(--rule); background: var(--panel); padding: 15px 18px 13px; }
.score .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.score .nm { font-family: var(--cond); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: 0.02em; }
.score .val { font-family: var(--mono); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.score .track { height: 8px; background: var(--panel-2); border: 1px solid var(--rule); }
.score .fill { height: 100%; background: var(--win); transition: width .4s ease; }
.score.weak .fill { background: var(--red); }
.score.mid .fill { background: var(--amber); }
.score .note { color: var(--dim); font-size: 14px; margin-top: 9px; line-height: 1.5; }
.score.weak .nm { color: var(--red-soft); }
.rating { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.rating button { flex: 1 1 auto; min-width: 44px; background: var(--panel-2); border: 1px solid var(--rule);
  color: var(--bone); font-family: var(--mono); font-size: 13px; padding: 10px 6px; cursor: pointer; }
.rating button:hover { border-color: var(--red); }
.rating button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--ink); font-weight: 700; }

/* ---------- generator output ---------- */
.genout { border: 1px solid var(--red); background: var(--panel); padding: 22px 24px; margin: 20px 0; }
.genout .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px; }
.genout p { font-family: var(--cond); font-size: 21px; line-height: 1.35; margin: 0 0 8px; max-width: none; }
.genout .alt { font-size: 16px; font-family: var(--body); color: var(--dim); line-height: 1.55; }
.fieldset { display: flex; flex-direction: column; gap: 16px; margin: 22px 0; }
.field label.fl { margin-bottom: 6px; }
.field input, .field select { width: 100%; }
.field .hint { color: var(--faint); font-size: 13.5px; margin-top: 5px; display: block; }

/* ---------------------------------------------------------------- receipts charts
   Two stacked plots sharing an x-axis. Recessive furniture, one accent, the
   numbers in tabular figures so columns line up while hovering. */
.chartwrap { position: relative; margin: 0 0 26px; }
.chart-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.sitesel {
  font: inherit; font-size: 15px; background: var(--panel); color: var(--bone);
  border: 1px solid var(--rule); border-radius: 3px; padding: 9px 12px; max-width: 100%;
  /* Own the arrow: a native select crowds it against the longest option name. */
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238d8880' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.sitesel:focus-visible, .rng:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 2px; }
.rngs { display: flex; gap: 0; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.rng {
  font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; background: none; color: var(--dim); border: 0;
  padding: 9px 14px; cursor: pointer; border-right: 1px solid var(--rule);
}
.rng:last-child { border-right: 0; }
.rng:hover { color: var(--bone); }
.rng[aria-pressed="true"] { background: var(--red); color: #fff; }
.chart { margin: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; padding: 16px; }
.chart-cap { font-family: var(--cond); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.cstat { display: flex; flex-direction: column; }
.cn { font-family: var(--display); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.cl { font-family: var(--cond); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.ctip {
  position: absolute; bottom: 100%; transform: translateX(-50%); pointer-events: none;
  background: var(--panel-2); border: 1px solid var(--rule-lit, #3d3b36); border-radius: 3px;
  padding: 9px 12px; font-size: 13px; line-height: 1.5; opacity: 0; transition: opacity .12s;
  display: flex; flex-direction: column; white-space: nowrap; z-index: 5;
  font-variant-numeric: tabular-nums;
}
.ctip.on { opacity: 1; }
.ctip strong { font-family: var(--cond); letter-spacing: .06em; color: var(--red-soft); }
.ctip span { color: var(--dim); }
.empty-chart { color: var(--dim); font-style: italic; padding: 30px 0; text-align: center; }
#table tbody tr.pick { cursor: pointer; }
#table tbody tr.pick:hover, #table tbody tr.pick:focus-visible { background: rgba(232,41,28,.09); outline: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .yf-draw { stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: yfdraw 1.1s ease-out forwards; }
  @keyframes yfdraw { to { stroke-dashoffset: 0; } }
}
