/* Bow Financing - "Steel" direction (2026-10-22). Static, no build step. */
:root {
  --bg: #0e1114;
  --panel: #161a1f;
  --line: #252b32;
  --line-strong: #39414a;
  --ink: #e7ebef;
  --ink-strong: #ffffff;
  --ink-soft: #a9b3bd;
  --ink-mute: #8a949e;
  --accent: #f0a35e;
  --accent-hover: #ffb877;
  --wrap: 1160px;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { color: var(--ink-strong); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink-strong); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.tag { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--accent); margin: 0 0 18px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-strong); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand:hover { color: var(--ink-strong); }
.brand svg { width: 26px; height: 26px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 0; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; background: var(--accent); color: var(--bg); }
.btn:hover { background: var(--accent-hover); color: var(--bg); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* hero */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 88px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); line-height: 1.0; letter-spacing: -.03em; max-width: 13ch; margin-bottom: 22px; }
.hero .lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-soft); max-width: 50ch; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; }
.stats > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats .k { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: .06em; }
.stats .v { font-size: 19px; font-weight: 600; color: var(--ink-strong); }

/* fit check */
.check { border-bottom: 1px solid var(--line); }
.check .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; align-items: start; }
.check h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.check .intro p { color: var(--ink-soft); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
.form { display: grid; gap: 28px; margin: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.step legend { padding: 0; margin-bottom: 4px; display: flex; align-items: baseline; gap: 12px; color: var(--ink-strong); font-weight: 600; font-size: 18px; }
.step legend span { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--accent); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-strong); }
.field .hint { font-size: 13px; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font: 400 16px/1.4 var(--sans); /* 16px stops iOS zooming on focus */
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; }
.money input { padding-left: 28px; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 13px; color: var(--ink-mute); margin: 0; }
.submit { display: grid; gap: 12px; justify-items: start; }

/* steps */
.how .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how .n { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.how h3 { font-size: 22px; margin: 8px 0 6px; letter-spacing: -.01em; }
.how p { color: var(--ink-soft); margin: 0; }

/* message and text pages */
.message .wrap { padding-top: 96px; padding-bottom: 96px; max-width: 640px; }
.message p { color: var(--ink-soft); }
.message .actions { margin-top: 24px; }
.prose .wrap { padding-top: 72px; padding-bottom: 72px; max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; letter-spacing: -.01em; }
.prose p { color: var(--ink-soft); }

/* footer */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-mute); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 40px; display: grid; gap: 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .check .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .how .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .panel { padding: 20px 16px; border-radius: 6px; }
  .row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .stats > div:last-child { border-bottom: 0; }
  .brand { font-size: 17px; }
  .submit .btn { width: 100%; }
}

/* badge on message pages */
.badge { width: 56px; height: 56px; margin: 0 0 22px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); display: grid; place-items: center; }
.badge svg { width: 26px; height: 26px; }
#unsub-form .actions { margin: 6px 0 22px; }

/* keep the sticky header off the form when jumping to #check */
#check { scroll-margin-top: 72px; }
