/* smallbizai.consulting — hand-built, no framework. */

@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(/fonts/instrument.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(/fonts/instrument-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/plexmono.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --card: #fbf8f2;
  --ink: #17231d;
  --ink-2: #3d4b44;
  --muted: #66736c;
  --line: #d6ccba;
  --green: #1f4d3a;
  --green-ink: #f4efe6;
  --accent: #d9481f;
  --accent-ink: #fff8f2;
  --marker: #ffd84d;
  --marker-ink: #17231d;
  --grid: rgba(31, 77, 58, .06);
  --band: #1f4d3a;
  --band-ink: #f4efe6;
  --shadow: 0 1px 0 rgba(23,35,29,.06), 0 8px 24px -12px rgba(23,35,29,.18);
  --radius: 14px;
  --wrap: 1120px;
  --f-display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111713; --paper-2: #18201b; --card: #1a231e;
    --ink: #ece6d8; --ink-2: #c9c2b3; --muted: #97a198; --line: #2e3a33;
    --green: #9fd3b5; --green-ink: #0f1512;
    --accent: #ff7a4d; --accent-ink: #1a0d07;
    --marker: #6b5a12; --marker-ink: #fff3c4;
    --grid: rgba(159, 211, 181, .045);
    --band: #173327; --band-ink: #ece6d8;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111713; --paper-2: #18201b; --card: #1a231e;
  --ink: #ece6d8; --ink-2: #c9c2b3; --muted: #97a198; --line: #2e3a33;
  --green: #9fd3b5; --green-ink: #0f1512;
  --accent: #ff7a4d; --accent-ink: #1a0d07;
  --marker: #6b5a12; --marker-ink: #fff3c4;
  --grid: rgba(159, 211, 181, .045);
  --band: #173327; --band-ink: #ece6d8;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; font-size: 19px; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .tld { color: var(--muted); font-weight: 500; }
.brand .ai { background: var(--marker); color: var(--marker-ink); padding: 0 3px; border-radius: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 6px; }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink-2); width: 38px; height: 38px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; margin-left: 4px; flex: none; }
.theme-toggle svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .brand .tld { display: none; }
  .nav .hide-sm { display: none; }
  .nav .hide-xs { display: none; }
  .nav a { padding: 8px 8px; font-size: 14.5px; }
}
@media (max-width: 400px) {
  .brand { font-size: 17px; }
  .brand svg { width: 26px; height: 26px; }
  .nav .btn { padding: 9px 12px; }
  .nav .btn .long { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  padding: 14px 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--card); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--ink); }
.btn.primary:hover { color: var(--accent-ink); }
.btn.small { padding: 9px 14px; font-size: 14.5px; box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .btn:hover { border-color: var(--ink); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.025em; line-height: 1.05; margin: 0; font-weight: 750; }
h1 { font-size: clamp(40px, 7.2vw, 84px); }
h2 { font-size: clamp(32px, 4.8vw, 54px); }
h3 { font-size: clamp(21px, 2.3vw, 25px); letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.mono { font-family: var(--f-mono); font-size: 13.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.hand { font-family: var(--f-hand); font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--accent); }
mark, .mark { background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%); color: inherit; padding: 0 .06em; }
:root[data-theme="dark"] mark, :root[data-theme="dark"] .mark { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark { color: var(--ink); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { margin-top: 16px; }
.band { background: var(--band); color: var(--band-ink); }
.band .mono, .band .muted { color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.band a:hover { color: var(--marker); }
:root[data-theme="dark"] .band a:hover { color: var(--accent-ink); }
.rule { border: 0; border-top: 1px dashed var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; position: relative; }
@media (min-width: 900px) { .hero { padding: 88px 0 104px; } }
.hero h1 { max-width: 17ch; font-size: clamp(38px, 6vw, 68px); }
.hero .lead { margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.hero-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; transform: rotate(-2deg); transform-origin: left; max-width: 340px; }
.hero-note svg { width: 44px; height: 34px; flex: none; color: var(--accent); margin-top: -6px; }
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.35fr .9fr; align-items: center; } }

/* the "diagnostic ticket" in the hero */
.ticket {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink); padding: 22px 22px 18px; position: relative; max-width: 460px;
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; transform: translateY(-50%); }
.ticket::before { left: -11px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -11px; clip-path: inset(0 50% 0 0); }
.ticket .t-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.ticket ul { list-style: none; padding: 0; margin: 0; }
.ticket li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 8px 0; font-size: 16px; line-height: 1.4; border-bottom: 1px dotted var(--line); }
.ticket li:last-child { border-bottom: 0; }
.ticket .x { color: var(--accent); font-family: var(--f-mono); font-weight: 700; }
.ticket .ok { color: var(--green); font-family: var(--f-mono); font-weight: 700; }
.ticket .t-foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stamp { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 2px solid var(--accent); padding: 4px 8px; border-radius: 6px; transform: rotate(-6deg); display: inline-block; }

/* ---------- three truths ---------- */
.truths { display: grid; gap: 18px; }
@media (min-width: 820px) { .truths { grid-template-columns: repeat(3, 1fr); } }
.truth { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.truth .num { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: .08em; }
.truth h3 { margin: 10px 0 12px; }
.truth p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ---------- specimen cards ---------- */
.specimens { display: grid; gap: 16px; }
@media (min-width: 640px) { .specimens { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .specimens { grid-template-columns: repeat(4, 1fr); } }
.specimen { background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 18px 18px 20px; position: relative; display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.specimen:hover { transform: rotate(-.6deg) translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.specimen .label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.specimen .label b { color: var(--accent); font-weight: 400; }
.specimen h3 { font-size: 20px; }
.specimen p { font-size: 15.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.after-note { margin-top: 26px; display: flex; gap: 10px; align-items: center; }
.after-note svg { width: 40px; height: 30px; color: var(--accent); transform: scaleX(-1) rotate(-10deg); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px dashed color-mix(in srgb, var(--band-ink) 30%, transparent); }
.step:last-child { border-bottom: 1px dashed color-mix(in srgb, var(--band-ink) 30%, transparent); }
.step .n { width: 56px; height: 56px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 24px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; opacity: .9; max-width: 44em; }
.step .tag { display: inline-block; margin-left: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--marker); color: var(--marker-ink); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
@media (min-width: 900px) { .step { grid-template-columns: 72px 1fr; gap: 28px; } .step .n { width: 64px; height: 64px; font-size: 27px; } }

/* ---------- manifesto ---------- */
.manifesto { display: grid; gap: 36px; }
@media (min-width: 960px) { .manifesto { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.manifesto .body p { font-size: 19px; }
.fine { font-family: var(--f-mono); font-size: 14px; line-height: 1.6; background: var(--card); border: 1px dashed var(--ink); border-radius: 10px; padding: 16px 18px; color: var(--ink-2); }
.compare { display: grid; gap: 14px; margin-top: 8px; }
.compare > div { border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); background: var(--card); }
.compare .them { opacity: .8; }
.compare .them li { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.compare ul { margin: 8px 0 0; padding-left: 20px; }
.compare li { margin: 4px 0; font-size: 16.5px; }

/* ---------- receipts ---------- */
.receipts { display: grid; gap: 16px; }
@media (min-width: 700px) { .receipts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .receipts { grid-template-columns: repeat(3, 1fr); } }
.receipt { background: var(--card); border-radius: 8px; padding: 22px 22px 20px; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 20px 100% repeat-x, linear-gradient(#000,#000) top / 100% calc(100% - 7px) no-repeat;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 20px 100% repeat-x, linear-gradient(#000,#000) top / 100% calc(100% - 7px) no-repeat;
  padding-bottom: 30px; }
.receipt .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1; color: var(--green); }
.receipt .what { font-weight: 700; margin: 10px 0 6px; font-size: 17px; }
.receipt p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- about ---------- */
.about { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about { grid-template-columns: 1.3fr .7fr; gap: 64px; } }
.about .body p { font-size: 19px; }
.id-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 6px 6px 0 var(--ink); }
.id-card .photo { aspect-ratio: 4 / 5; background: #fff; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 16px; overflow: hidden; display: grid; place-items: center; }
.id-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.id-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15.5px; }
.id-card dt { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.id-card dd { margin: 0; }

/* ---------- fit ---------- */
.fit { display: grid; gap: 18px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.fit h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: 10px 0 10px 30px; position: relative; border-top: 1px dotted var(--line); font-size: 17px; }
.fit li::before { position: absolute; left: 0; top: 9px; font-family: var(--f-mono); font-weight: 700; }
.fit .yes li::before { content: "✓"; color: var(--green); }
.fit .no li::before { content: "✗"; color: var(--accent); }

/* ---------- final CTA ---------- */
.final { text-align: left; }
.final-box { background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 36px 24px; box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 28px; }
@media (min-width: 900px) { .final-box { padding: 56px; grid-template-columns: 1.2fr .8fr; align-items: center; } }
.phone-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; text-decoration: none; display: inline-block; line-height: 1; }
.copy-btn { font: inherit; font-size: 14px; background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }

/* ---------- FAQ / pricing ---------- */
.page-hero { padding: 56px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 80px 0 56px; } }
.page-hero h1 { font-size: clamp(38px, 6vw, 70px); max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px dashed var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { font-family: var(--f-mono); font-size: 12.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.price-table td:first-child { font-weight: 700; width: 24%; }
.price-table td:last-child { font-family: var(--f-display); font-weight: 750; font-size: 19px; white-space: nowrap; width: 18%; color: var(--green); }
.price-table td.free { color: var(--accent); }
.price-table td .sub { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--muted); white-space: normal; letter-spacing: 0; }
@media (max-width: 720px) {
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100% !important; }
  .price-table thead { display: none; }
  .price-table tr { padding: 16px 18px; border-bottom: 1px dashed var(--line); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { padding: 2px 0; border: 0; }
  .price-table td:nth-child(2) { color: var(--ink-2); font-size: 16px; margin: 4px 0 8px; }
}
.price-notes { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 820px) { .price-notes { grid-template-columns: repeat(3, 1fr); } }
.price-notes > div { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; font-size: 16.5px; color: var(--ink-2); }
.price-notes b { color: var(--ink); display: block; margin-bottom: 4px; }

.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 260px 1fr; gap: 56px; } .faq-toc { position: sticky; top: 92px; align-self: start; } }
.faq-toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.faq-toc a { text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
.faq-toc a:hover { color: var(--accent); }
@media (max-width: 959px) { .faq-toc { display: none; } }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 16px; scroll-margin-top: 90px; }
details.q { border-top: 1px dashed var(--line); }
details.q:last-of-type { border-bottom: 1px dashed var(--line); }
details.q summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 4px; top: 16px; width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 18px; line-height: 1; transition: transform .15s ease; }
details.q[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
details.q .a { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
details.q .a p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.form-shell { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-shell { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; } }
form.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 6px 6px 0 var(--ink); display: grid; gap: 18px; }
@media (min-width: 720px) { form.card { padding: 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15.5px; }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: var(--paper); }
.chips input { accent-color: var(--accent); margin: 0; }
.chips label:has(input:checked) { border-color: var(--ink); background: var(--marker); color: var(--marker-ink); }
.chips input[type="radio"] { width: auto; padding: 0; border: 0; background: transparent; flex: none; }
.chips label { min-height: 44px; }
body:not(.has-sticky) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); }
.respond-note { margin: -4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.local-proof { margin: 14px 0 0; font-family: var(--f-mono); font-size: 14px; letter-spacing: .02em; color: var(--green); }
.field[hidden] { display: none !important; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.err { color: var(--accent); }
.done { display: none; text-align: left; }
.done.show { display: block; }
.side-card { border: 1px dashed var(--ink); border-radius: var(--radius); padding: 24px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.side-card ol { padding-left: 20px; margin: 10px 0 0; }
.side-card li { margin: 10px 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15.5px; color: var(--muted); background: var(--paper); }
.site-foot .wrap { display: grid; gap: 22px; }
@media (min-width: 820px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot a { color: var(--ink-2); }
.site-foot ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.site-foot .brand { font-size: 17px; color: var(--ink); }

/* ---------- misc ---------- */
.stack > * + * { margin-top: 1em; }
.center { text-align: center; }
.muted { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.pill { display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.sticky-text { display: none; }
@media (max-width: 720px) {
  .sticky-text { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; justify-content: center; }
  .sticky-text .btn { width: 100%; box-shadow: 3px 3px 0 var(--ink); }
  body.has-sticky { padding-bottom: 84px; }
  .sticky-text.hide { display: none; }
}

.avatar { display: inline-block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; vertical-align: -14px; margin-right: 10px; border: 2px solid var(--ink); background: #fff; }
.avatar.big { width: 72px; height: 72px; margin: 0; vertical-align: middle; box-shadow: 3px 3px 0 var(--ink); }
.for-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

/* ---------- mobile menu (details/summary: works without JS) ---------- */
.navmenu { display: none; position: relative; }
.navmenu summary { list-style: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary svg { width: 20px; height: 20px; }
.navmenu[open] summary { background: var(--paper-2); color: var(--ink); }
.navpanel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); background: var(--card); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 8px; display: grid; z-index: 80; }
.navpanel a { display: block; padding: 14px 14px; min-height: 44px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink); }
.navpanel a:hover, .navpanel a:focus-visible { background: var(--paper-2); color: var(--ink); }
@media (max-width: 760px) {
  .nav .desk-only { display: none; }
  .navmenu { display: block; margin-left: 4px; }
}
@media (max-width: 400px) {
  .site-head .wrap { gap: 6px; }
  .theme-toggle, .navmenu summary { width: 36px; height: 36px; }
  .nav .btn.small { padding: 8px 11px; }
  .navmenu { margin-left: 0; }
}
@media (min-width: 761px) and (max-width: 980px) { .brand .tld { display: none; } .nav a { padding: 8px 8px; } }

/* ---------- starter fixes ---------- */
.fixes { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 900px) { .fixes { grid-template-columns: repeat(2, 1fr); } }
.fix { background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.fix:target { box-shadow: 6px 6px 0 var(--accent); }
.fix-free { border-width: 2px; box-shadow: 6px 6px 0 var(--ink); }
.fix-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.fix-top .mono { color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.fix-price { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; color: var(--green); line-height: 1; }
.fix h3 { font-size: 26px; }
.fix-for { margin: 0; color: var(--ink-2); }
.fix-cols { display: grid; gap: 14px; }
@media (min-width: 640px) { .fix-cols { grid-template-columns: 1fr 1fr; } }
.fix-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fix-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15.5px; line-height: 1.45; }
.fix-list li { padding-left: 22px; position: relative; }
.fix-list.signs li::before { content: "?"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); color: var(--accent); font-weight: 700; }
.fix-list.gets li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.fix-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.fix-foot .mono { font-size: 12.5px; color: var(--muted); }
.fix-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.fix-chips { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 640px) { .fix-chips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fix-chips { grid-template-columns: repeat(5, 1fr); } }
.fix-chip { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; padding: 14px 16px; transition: transform .15s ease, box-shadow .15s ease; }
.fix-chip:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.fix-chip b { font-family: var(--f-display); font-size: 17px; line-height: 1.2; }
.fix-chip span { font-family: var(--f-mono); color: var(--green); font-size: 14px; }
.rules { display: grid; gap: 10px; }
@media (min-width: 900px) { .rules { grid-template-columns: .8fr 1.2fr; gap: 40px; } }
.rule-list { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-size: 17px; }

/* ---------- proof ---------- */
.proof-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.quote-card blockquote::before { content: "“"; font-family: var(--f-display); font-size: 44px; line-height: 0; vertical-align: -18px; color: var(--accent); margin-right: 4px; }
.quote-card .who { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.story { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 24px; box-shadow: 6px 6px 0 var(--ink); display: grid; gap: 16px; }
.story h3 { font-size: 28px; }
.story .metric { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); color: var(--green); line-height: 1; letter-spacing: -.03em; }
.story dl { display: grid; gap: 4px 16px; margin: 0; }
@media (min-width: 700px) { .story dl { grid-template-columns: 9em 1fr; } }
.story dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.story dd { margin: 0 0 10px; }
.ba { display: grid; gap: 12px; }
@media (min-width: 700px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba figure { margin: 0; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.ba img { display: block; width: 100%; height: auto; }
.ba figcaption { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-top: 1px solid var(--line); }
.review-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stars { display: flex; gap: 6px; }
.stars label { cursor: pointer; font-size: 30px; line-height: 1; color: var(--line); }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label.on { color: #e3a008; }
.stars input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; margin: 6px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.fix-other { border-style: dashed; background: transparent; }
/* review carousel: only rendered once there are 3+ published reviews */
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 440px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.car-track > * { scroll-snap-align: start; }
.car-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.car-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
