/* ===== Diekastautofill — content & SEO pages =====================
   Extends /styles.css (v2 brutalist: bone / cobalt / lime). Nothing here
   redefines a v2 class; everything is additive and namespaced to .content.
   Linked from the top of the body by src/pages/content.ts.
   ================================================================ */

.content { display: block; }

/* Sections on content pages sit closer together than the marketing page's
   80px rhythm — these are documents, not billboards. */
.content .section--tight { padding-top: 44px; padding-bottom: 44px; }
.content .section--tight + .section--tight { padding-top: 0; }

/* ── breadcrumbs ──────────────────────────────────────────────── */
.crumbs {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  opacity: .75;
}
.crumbs a { border-bottom: 2px solid transparent; }
.crumbs a:hover { color: var(--blue); border-color: var(--blue); }
.crumbs span[aria-current] { color: var(--blue); }

/* ── headings ─────────────────────────────────────────────────── */
.content .fit-h1 { font-size: clamp(30px, 5.2vw, 62px); line-height: 1.02; max-width: 17ch; }
.content .about-h1 { font-size: clamp(40px, 8vw, 96px); }
.content .policy-h1 { font-size: clamp(32px, 6vw, 68px); }
.content .h2 {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(22px, 3.2vw, 34px);
  margin: 40px 0 16px;
}
.content .section--tight > .h2:first-child { margin-top: 0; }

/* ── THE answer — the first extractable sentence ──────────────── */
.answer {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(19px, 2.5vw, 27px);
  line-height: 1.35;
  max-width: 46ch;
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-left: 12px solid var(--blue);
  box-shadow: 8px 8px 0 var(--ink);
}
.answer a { color: var(--blue); border-bottom: 2px solid var(--blue); }
.answer-sub {
  font-size: 16px;
  max-width: 62ch;
  margin-top: 22px;
}

/* ── prose ────────────────────────────────────────────────────── */
.content .prose p,
.content .prose li { max-width: 68ch; font-size: 16.5px; }
.content .prose p { margin-bottom: 16px; }
.content .prose a { color: var(--blue); border-bottom: 2px solid var(--blue); }
.content .prose strong { font-weight: 700; }
.content .prose .ticks { margin-bottom: 22px; }

/* ── tables ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 8px 0 18px; -webkit-overflow-scrolling: touch; }
.ftable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 15px;
}
.ftable th,
.ftable td {
  border: 1px solid var(--ink);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.ftable thead th {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-color: var(--ink);
}
.ftable tbody th { font-weight: 600; background: rgba(43, 39, 255, .05); }
.ftable tbody tr:hover td { background: rgba(201, 242, 78, .22); }
.ftable a { color: var(--blue); border-bottom: 2px solid var(--blue); }

.ftable--variants {
  min-width: 0;
  box-shadow: none;
  border-width: 2px;
  margin-top: 14px;
  font-size: 14px;
}
.ftable--variants th,
.ftable--variants td { padding: 8px 11px; }

/* ── the TODO marker — deliberately loud, never mistakable for data ── */
.todo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  color: var(--ink);
  background: repeating-linear-gradient(
    -45deg, var(--lime), var(--lime) 7px, #fff2a8 7px, #fff2a8 14px
  );
  border: 2px solid var(--ink);
}
.todo-block { margin-top: 10px; font-size: 15px; }

.measure-note {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 68ch;
  margin-top: 6px;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: rgba(43, 39, 255, .05);
}

/* ── product rows on fitment pages ────────────────────────────── */
.fitcard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 24px;
  margin-bottom: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fitcard:hover { transform: translate(-4px, -4px); box-shadow: 13px 13px 0 var(--blue); }
.fitcard h3 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(21px, 2.6vw, 28px);
  text-transform: uppercase;
  margin: 8px 0 10px;
}
.fitcard h3 a:hover { color: var(--blue); }
.fitcard p { max-width: 60ch; font-size: 15.5px; }
.fitcard__buy { text-align: right; display: grid; gap: 14px; justify-items: end; }
.fitcard__buy .price { font-size: 34px; }
.prepaid {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  background: var(--lime);
}
.addon-note {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 68ch;
  margin-top: 6px;
}
.addon-note a { color: var(--blue); border-bottom: 2px solid var(--blue); }

/* ── what does NOT fit ────────────────────────────────────────── */
.nofit { list-style: none; display: grid; gap: 14px; margin-top: 10px; }
.nofit li {
  position: relative;
  padding: 14px 16px 14px 46px;
  max-width: 72ch;
  font-size: 16px;
  background: var(--card);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.nofit li::before {
  content: "✕";
  position: absolute;
  left: 16px;
  top: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* ── "send us a photo" ────────────────────────────────────────── */
.ask__box {
  background: var(--ink);
  color: var(--bg);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--blue);
  padding: 44px;
}
.ask__box .tag { color: var(--lime); }
.ask__box h2 { font-size: clamp(34px, 6vw, 72px); }
.ask__box .lede { max-width: 56ch; margin-top: 18px; }
.ask .btn { background: var(--lime); color: var(--ink); box-shadow: 5px 5px 0 var(--bg); }
.ask .btn:hover { background: #fff; box-shadow: 8px 8px 0 var(--lime); }
.ask .btn--ghost {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
  box-shadow: 5px 5px 0 var(--bg);
}
.ask .btn--ghost:hover { background: var(--bg); color: var(--ink); box-shadow: 8px 8px 0 var(--lime); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: 5px 5px 0 var(--bg); }
.btn.is-disabled:hover { transform: none; background: transparent; }

/* ── contact ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.contact-card .h2 { margin: 0; }
.contact-card p { font-size: 15.5px; max-width: 46ch; }
.contact-card .btn { margin-top: 8px; }

/* ── policies ─────────────────────────────────────────────────── */
.draft-banner {
  margin-top: 22px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 72ch;
  background: var(--lime);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.draft-banner .todo { background: #fff; }
.policy-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .7;
  margin-top: 18px;
}
.content--policy .prose p { max-width: 74ch; }
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 3px solid var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.policy-nav a { padding: 8px 14px; border: 2px solid var(--ink); }
.policy-nav a:hover { background: var(--ink); color: var(--bg); }
.policy-nav a.is-current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── responsive ───────────────────────────────────────────────── */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .fitcard { grid-template-columns: 1fr; }
  .fitcard__buy { text-align: left; justify-items: start; }
  .ask__box { padding: 28px; }
  .answer { padding: 18px; border-left-width: 8px; }
}

@media print {
  .content .ask, .policy-nav, .crumbs { display: none; }
  .ftable, .answer, .draft-banner { box-shadow: none; }
}
