/* LoRA Masters storefront — one stylesheet, no external fonts/CDNs (nothing leaves the visitor's browser except our own API).
   Mobile-first: base rules are the phone layout; wider screens are layered on with min-width queries. */
:root {
  --bg: #fafaf9;
  --bg-2: #f2f2f0;
  --card: #ffffff;
  --ink: #0c0c0d;
  --ink-2: #3f3f46;
  --mute: #71717a;
  --line: #e4e4e1;
  --line-2: #d4d4d0;
  --accent: #0c0c0d;        /* buttons and selection are ink: monochrome, no loud accent */
  --accent-ink: #0c0c0d;
  --accent-soft: #e9e9e6;
  --hi: #2563eb;            /* focus ring + "working" dot only */
  --ok: #15803d;
  --warn: #a16207;
  --bad: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12,12,13,.05), 0 8px 24px -12px rgba(12,12,13,.18);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--sans);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250,250,249,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 650 17px/1 var(--sans); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.brand-mark svg { width: 15px; height: 15px; }
.menu-toggle { margin-left: auto; min-height: 44px; padding: 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 16px 32px -20px rgba(0,0,0,.25); }
.nav.open { display: flex; }
.nav a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { font-weight: 650; }
.nav a.btn { margin-top: 14px; border-bottom: 0; color: #fff; font-size: 16px; }

/* buttons: 48px tall, thumb-sized */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: #2a2a2e; border-color: #2a2a2e; color: #fff; }
.btn:active { transform: scale(.98); }
.btn.accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.danger { background: transparent; color: var(--bad); border-color: #f1c4c4; }
.btn.danger:hover { background: #fdf0f0; color: var(--bad); }

/* type */
h1, h2, h3 { font-family: var(--sans); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.eyebrow { display: block; font: 600 13px/1 var(--sans); letter-spacing: .02em; color: var(--mute); margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 22px; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.mono { font-family: var(--mono); font-size: .9em; }
.mute { color: var(--mute); }
section { padding: 64px 0; }
.sec-head { margin-bottom: 28px; }
.sec-head .lede { margin: 0; }

/* hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 36px; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--mute); }
.hero-actions { display: grid; gap: 10px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--mute); font-size: 14px; padding: 0; list-style: none; margin: 0; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 12px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px); flex: none; }

/* image plates + base-vs-LoRA pairs (labels are HTML text over the image corner, never baked into the pixels) */
.plate { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
.plate figure { margin: 0; }
.plate img { border-radius: 12px; width: 100%; height: auto; background: #111; }
.plate figcaption { font-size: 13px; color: var(--mute); padding: 12px 6px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.plate figcaption > span:first-child { color: var(--ink); font-weight: 600; }
.plate-stack { display: grid; gap: 14px; min-width: 0; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair-side { position: relative; min-width: 0; }
.pair-side img { display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.pair-label { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.2; padding: 5px 9px; border-radius: 999px; }
.pair-label.is-lora { background: var(--ink); color: #fff; }
.pair-caption { font-size: 14px; color: var(--ink-2); margin: 8px 6px 4px; }
.pair-facts { font-size: 12.5px; margin: 6px 6px 4px; overflow-wrap: anywhere; }

/* models strip */
.models-strip { padding: 0 0 8px; }
.models-strip .wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; }
.models-strip b { width: 100%; font-size: 13px; font-weight: 600; color: var(--mute); }
.models-strip span { font-size: 14px; font-weight: 550; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--bg-2); }

/* type cards (home) */
.type-cards { display: grid; gap: 12px; }
.type-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.type-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.type-card .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.type-card h3 { margin: 0; font-size: 1.2rem; }
.type-card .price { font-size: 1.6rem; font-weight: 650; letter-spacing: -.03em; }
.type-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.type-card .go { margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.type-card .go::after { content: " \2192"; }
.tag { display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .02em; padding: 5px 8px; border-radius: 999px; background: #fef3c7; color: #854d0e; margin-left: 8px; vertical-align: middle; }

/* steps */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 650 14px var(--sans); margin-bottom: 16px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* examples */
.examples { background: var(--bg-2); }
.example-grid { display: grid; gap: 16px; }
.example-grid > * { min-width: 0; }

/* split + checklist */
.split { display: grid; gap: 28px; align-items: start; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.checks.no li::before { border: 0; width: 12px; height: 2px; background: var(--bad); transform: none; top: .8em; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; }
.panel h3 { margin-bottom: 16px; }

/* closing call-to-action */
.cta-band { padding: 8px 0 72px; }
.cta-band .inner { background: var(--ink); color: #f4f4f5; border-radius: 24px; padding: 40px 24px; display: grid; gap: 22px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #a1a1aa; margin: 8px 0 0; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; justify-self: start; }
.cta-band .btn:hover { background: #e4e4e7; }

/* dark (kept for any page that still uses it) */
.dark { background: var(--ink); color: #e4e4e7; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow, .dark .lede, .dark p { color: #a1a1aa; }

/* pricing table: stacked cards on phones, table on wide screens */
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table, .price-table tbody, .price-table th, .price-table td { display: block; }
.price-table tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.price-table th { font: 650 1.2rem var(--sans); letter-spacing: -.02em; text-align: left; }
.price-table td.price { grid-column: 2; grid-row: 1; font: 650 1.6rem var(--sans); letter-spacing: -.03em; text-align: right; }
.price-table td { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; }
.price-table td.go { padding-top: 12px; }
.price-table td.go .btn { width: 100%; }
.dark .price-table tr { background: #18181b; border-color: #27272a; }
.dark .price-table th, .dark .price-table td.price { color: #fff; }
.dark .price-table td { color: #a1a1aa; }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 1.05rem/1.35 var(--sans); letter-spacing: -.01em; padding: 18px 36px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font: 400 24px var(--sans); color: var(--mute); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* prose (legal pages) */
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .45em; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; border-top: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; min-width: 120px; }
.callout { border: 1px solid var(--line); background: var(--card); padding: 18px 20px; border-radius: var(--radius); margin: 1.6em 0; color: var(--ink-2); }
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .3em; }
.page-head .lede { margin-bottom: 0; }

/* forms */
.form-grid { display: grid; gap: 28px; align-items: start; }
.form-grid > * { min-width: 0; }
fieldset { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
legend { font: 650 1.25rem var(--sans); letter-spacing: -.02em; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
legend .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 650 12.5px var(--sans); flex: none; }
.type-grid { display: grid; gap: 10px; }
.type-opt { position: relative; }
.type-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-opt label { display: block; border: 1.5px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; height: 100%; transition: border-color .15s, box-shadow .15s; }
.type-opt label b { display: flex; justify-content: space-between; gap: 12px; font: 650 1.02rem var(--sans); letter-spacing: -.01em; margin-bottom: 4px; }
.type-opt label span { color: var(--mute); font-size: 14px; line-height: 1.45; display: block; }
.type-opt input:checked + label { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.type-opt input:focus-visible + label { outline: 2px solid var(--hi); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field label.t { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { color: var(--mute); font-size: 13.5px; margin-top: 6px; }
input[type=text], textarea, select { width: 100%; min-height: 48px; font: 16px var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; }
input[type=text]:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 104px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.check.needed { border-color: #f0c674; background: #fffbeb; }
.drop { border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--card); padding: 32px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--bg-2); }
.drop strong { font: 650 1.1rem var(--sans); display: block; margin-bottom: 4px; }
.drop .mute { font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 16px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(12,12,13,.8); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.thumb.bad { outline: 3px solid var(--bad); outline-offset: -3px; }
.thumb .why { position: absolute; inset: auto 0 0 0; background: rgba(185,28,28,.92); color: #fff; font-size: 11px; padding: 3px 5px; }
.meter { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); margin-top: 12px; }
.meter b { color: var(--ink); }
.errors { color: var(--bad); font-size: 14.5px; margin: 10px 0 0; }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.summary-card h3 { font-size: 1.1rem; }
.summary-card dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 15px; }
.summary-card dt { color: var(--mute); } .summary-card dd { margin: 0; text-align: right; font-weight: 600; }
.summary-card .total { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; font: 650 1.5rem var(--sans); letter-spacing: -.03em; margin-bottom: 18px; }
.summary-card .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
.progress { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-top: 14px; display: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }

/* status */
.status-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font: 600 13px var(--sans); background: var(--bg-2); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.pill.ok::before { background: var(--ok); } .pill.work::before { background: var(--hi); animation: pulse 1.4s infinite; } .pill.warn::before { background: var(--warn); } .pill.bad::before { background: var(--bad); }
@keyframes pulse { 50% { opacity: .25; } }
.timeline { display: grid; gap: 8px; list-style: none; padding: 0; margin: 24px 0; }
.timeline li { font-size: 14px; color: var(--mute); border-left: 3px solid var(--line); padding: 2px 0 2px 12px; }
.timeline li.done { border-left-color: var(--ok); color: var(--ink-2); }
.timeline li.now { border-left-color: var(--ink); color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: 1fr; gap: 0; margin: 18px 0; font-size: 15px; }
.kv dt { color: var(--mute); font-size: 13.5px; } .kv dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.file-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.file-row:last-child { border-bottom: 1px solid var(--line); }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin: 16px 0; }
.notice { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; color: var(--ink-2); }
.notice.bad { border-color: #f1c4c4; background: #fdf2f2; }
.copybox { display: flex; gap: 8px; margin-top: 8px; }
.copybox input { flex: 1; min-width: 0; font: 14px var(--mono); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 40px; color: var(--mute); font-size: 14.5px; }
.site-footer .wrap { display: grid; gap: 28px; }
.site-footer h4 { font: 600 13px var(--sans); margin: 0 0 10px; color: var(--ink); }
.site-footer a { display: block; color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.site-footer a:hover { color: var(--ink); }

/* sticky phone call-to-action bar (thumb zone); hidden on wide screens */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,250,249,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-cta span { font-size: 14px; color: var(--mute); line-height: 1.25; } .mobile-cta span b { display: block; color: var(--ink); font-size: 17px; }
.mobile-cta .btn { flex: 1; max-width: 230px; }
body.has-cta { padding-bottom: 76px; }

/* LoRA packs */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pack-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.pack-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.pack-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg-2); }
.pack-body { padding: 14px 16px 18px; } .pack-body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.pack-price { font: 650 1.35rem var(--sans); letter-spacing: -.02em; margin: 0; }
.pack-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--bg-2); }
.pack-desc p { margin: 0 0 12px; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- tablet and up ---------- */
@media (min-width: 640px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
  .type-cards, .steps, .type-grid, .example-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
  .kv { grid-template-columns: 150px 1fr; gap: 10px 16px; } .kv dt { font-size: 15px; } .kv dd { margin: 0; }
  .cta-band .inner { padding: 56px 48px; grid-template-columns: 1fr auto; align-items: center; }
  .cta-band .btn { justify-self: end; }
  .panel { padding: 32px; }
  .models-strip b { width: auto; margin-right: 6px; }
}
/* ---------- desktop ---------- */
@media (min-width: 960px) {
  body.has-cta { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .site-header .wrap { height: 68px; }
  .menu-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 26px; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav a { font-size: 15px; padding: 6px 0; border: 0; color: var(--ink-2); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
  .nav a.btn { margin: 0 0 0 4px; color: #fff; padding: 0 18px; min-height: 40px; font-size: 14.5px; }
  section { padding: 104px 0; }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
  .sec-head h2 { margin: 0; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
  .type-cards { grid-template-columns: repeat(6, 1fr); }
  .type-card { grid-column: span 2; padding: 26px; min-height: 210px; }
  .type-card:nth-child(n+4) { grid-column: span 3; min-height: 0; }
  .type-card .go { margin-top: auto; padding-top: 14px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .form-grid { grid-template-columns: 1fr 340px; gap: 56px; }
  .summary-card { position: sticky; top: 92px; }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .timeline li { border-left: 0; border-top: 3px solid var(--line); padding: 10px 0 0; font-size: 13px; }
  .timeline li.done { border-top-color: var(--ok); } .timeline li.now { border-top-color: var(--ink); }
  .page-head { padding: 72px 0 16px; }
  .price-table { display: table; }
  .price-table tbody { display: table-row-group; }
  .price-table tr { display: table-row; background: none; border: 0; padding: 0; margin: 0; }
  .price-table th, .price-table td { display: table-cell; padding: 24px 16px 24px 0; border-top: 1px solid var(--line); vertical-align: middle; }
  .price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 1px solid var(--line); }
  .price-table th { width: 26%; }
  .price-table td.price { width: 12%; text-align: left; }
  .price-table td.go { width: 14%; text-align: right; padding-right: 0; }
  .price-table td.go .btn { width: auto; }
  .dark .price-table th, .dark .price-table td { border-color: #27272a; }
}

/* ---------- compact shop homepage ---------- */
.shop-hero { padding: 28px 0 18px; }
.shop-hero h1 { font-size: clamp(1.9rem, 5.2vw, 3.4rem); max-width: 18ch; margin-bottom: .35em; }
.shop-hero .lede { margin: 0; font-size: 1.02rem; }
.shop { padding: 0 0 28px; }
.shop-list { display: grid; gap: 8px; }
.shop-item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "desc go"; gap: 2px 14px; align-items: center; padding: 13px 14px 13px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.shop-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.si-name { grid-area: name; font-weight: 650; font-size: 1.05rem; letter-spacing: -.015em; }
.si-desc { grid-area: desc; min-width: 0; color: var(--mute); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.si-price { grid-area: price; font-weight: 650; font-size: 1.15rem; letter-spacing: -.02em; text-align: right; }
.si-go { grid-area: go; justify-self: end; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.shop-note { margin: 14px 2px 0; font-size: 13.5px; color: var(--mute); }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.row-head h2 { margin: 0; font-size: 1.5rem; }
.row-head .mute { font-size: 14px; }
.examples { padding: 32px 0 40px; }
/* phone: example pairs swipe sideways instead of stacking */
@media (max-width: 639px) {
  .example-grid { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .example-grid::-webkit-scrollbar { display: none; }
  .example-grid > * { scroll-snap-align: start; }
  .example-grid .pair-facts { display: none; }
}
.site-footer { padding: 28px 0 32px; font-size: 13.5px; }
.site-footer .wrap { display: block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 12px; }
.foot-links a { padding: 6px 0; }
.site-footer p { margin: 0; }
@media (min-width: 640px) {
  .site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .foot-links { margin: 0; }
}
@media (min-width: 960px) {
  .shop-hero { padding: 64px 0 28px; }
  .shop-hero .lede { font-size: 1.15rem; }
  .shop-list { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .shop-item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "desc" "price" "go"; align-content: start; gap: 8px; padding: 22px; min-height: 230px; }
  .si-desc { -webkit-line-clamp: 3; font-size: 14px; }
  .si-price { text-align: left; font-size: 1.6rem; margin-top: auto; }
  .si-go { justify-self: stretch; text-align: center; padding: 11px 16px; }
  .examples { padding: 56px 0 72px; }
  .example-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   Harbor theme (styled after oakharborwebdesigns.com): navy + sky blue,
   Oswald uppercase headings, Source Sans 3 body, floating white nav card,
   navy hero band with a curved swoop. Fonts are self-hosted (OFL).
   ===================================================================== */
@font-face { font-family: "Oswald"; font-weight: 200 700; font-style: normal; font-display: swap; src: url("/assets/fonts/oswald-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("/assets/fonts/sourcesans3-var-latin.woff2") format("woff2"); }
:root {
  --navy: #001f3f;
  --navy-2: #0a2d52;
  --sky: #43b7ff;
  --sky-dk: #1f9ff0;
  --bg: #ffffff;
  --bg-2: #f3f6fa;
  --ink: #1a1a1a;
  --ink-2: #4e4b66;
  --mute: #6e7191;
  --line: #e3e8ef;
  --line-2: #cfd7e3;
  --hi: #43b7ff;
  --accent-soft: rgba(67,183,255,.22);
  --head: "Oswald", "Bahnschrift SemiCondensed", "Arial Narrow", Arial, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 2px 4px rgba(0,31,63,.05), 0 14px 32px -14px rgba(0,31,63,.28);
}
body { font-size: 17px; color: var(--ink-2); }
h1, h2, h3, legend, .si-name, .si-price, .price, .pack-price, .type-card .price, .summary-card .total, .price-table th, .price-table td.price { font-family: var(--head); color: var(--ink); }
h1, h2 { text-transform: uppercase; font-weight: 600; letter-spacing: 0; line-height: 1.08; }
h3 { font-weight: 500; letter-spacing: .01em; }
.eyebrow { font: 600 14px/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--sky-dk); }

/* buttons: sky pill, navy uppercase Oswald */
.btn, .btn.accent { font: 600 16px/1 var(--head); text-transform: uppercase; letter-spacing: .03em; background: var(--sky); border-color: var(--sky); color: var(--navy); min-height: 50px; padding: 0 28px; }
.btn:hover, .btn.accent:hover { background: var(--sky-dk); border-color: var(--sky-dk); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 20px; }

/* header: navy strip, floating white card */
.site-header { position: relative; background: var(--navy); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 14px 0 0; }
.site-header .wrap { height: 64px; background: #fff; border-radius: 16px; padding: 0 10px 0 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); width: min(1240px, 100% - 24px); }
.brand { font: 600 21px/1 var(--head); color: var(--navy); letter-spacing: .01em; text-transform: uppercase; }
.brand-mark { background: var(--navy); border-radius: 10px; width: 34px; height: 34px; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-mark svg path { stroke: var(--sky); }
.menu-toggle { width: 48px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: var(--navy); color: transparent; font-size: 0; position: relative; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, box-shadow .2s; }
.menu-toggle::before { top: 17px; box-shadow: 0 6px 0 #fff; }
.menu-toggle::after { top: 29px; }
.menu-toggle[aria-expanded="true"]::before { top: 22px; transform: rotate(45deg); box-shadow: none; }
.menu-toggle[aria-expanded="true"]::after { top: 22px; transform: rotate(-45deg); }
.nav { top: calc(100% + 8px); left: 12px; right: 12px; border-radius: 16px; background: #fff; border: 0; padding: 8px 18px 18px; box-shadow: 0 24px 48px -16px rgba(0,31,63,.45); z-index: 40; }
.nav a { font: 500 18px/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.nav a.btn { color: var(--navy); }

/* navy band shared by the homepage hero and every page header */
.harbor, .page-head { position: relative; background: var(--navy); color: var(--bodyTextColorWhite, #fafbfc); }
.harbor h1, .page-head h1 { color: #fff; }
.harbor .lede, .page-head .lede { color: #c9d6e6; }
.harbor .eyebrow, .page-head .eyebrow { color: var(--sky); }
.page-head { padding: 34px 0 48px; margin-bottom: 8px; }
.page-head .lede a { color: #fff; }

/* homepage: hero + product list on navy, curved swoop into white */
.harbor { padding: 34px 0 0; overflow: hidden; }
.harbor::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 120px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.harbor > * { position: relative; z-index: 1; }
.shop-hero { padding: 0 0 22px; text-align: center; }
.shop-hero h1 { margin-inline: auto; font-size: clamp(2.3rem, 9vw, 4.2rem); max-width: 16ch; }
.shop-hero .lede { margin-inline: auto; max-width: 40ch; }
.shop { padding: 0 0 36px; }
.shop-item { border: 0; border-radius: 16px; box-shadow: 0 10px 28px -14px rgba(0,0,0,.55); padding: 14px 12px 14px 18px; }
.shop-item:hover { box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); }
.si-name { font-weight: 600; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.si-desc { color: var(--mute); font-size: 14.5px; }
.si-price { font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.si-go { background: var(--sky); color: var(--navy); font: 600 14px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; padding: 11px 18px; }
.shop-item:hover .si-go { background: var(--sky-dk); }
.shop-note { color: #c9d6e6; text-align: center; position: relative; z-index: 1; }
.shop-note a { color: #fff; text-decoration-color: var(--sky); }
.tag { background: rgba(67,183,255,.16); color: #0b6fb0; font-family: var(--sans); }

.examples { background: #fff; }
.row-head h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.plate { border: 0; box-shadow: var(--shadow); }
.pair-label.is-lora { background: var(--navy); }

/* forms + cards pick up the palette */
legend { text-transform: uppercase; font-weight: 600; letter-spacing: .02em; color: var(--navy); }
legend .n, .steps li::before { background: var(--sky); color: var(--navy); font-family: var(--head); }
.type-opt input:checked + label { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky); background: #f2faff; }
input[type=text]:focus, textarea:focus, select:focus { border-color: var(--sky); }
.check input { accent-color: var(--sky-dk); }
.drop:hover, .drop.over { border-color: var(--sky); background: #f2faff; }
.progress i { background: var(--sky); }
.summary-card, .status-card, .panel, .type-card, .steps li, .pack-card, .price-table tr { border-color: var(--line); }
.summary-card .total { color: var(--navy); }

.cta-band .inner { background: var(--navy); }
.cta-band .btn { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.mobile-cta { background: rgba(0,31,63,.96); border-top: 0; }
.mobile-cta span { color: #c9d6e6; } .mobile-cta span b { color: #fff; font-family: var(--head); }
.pill.work::before { background: var(--sky); }
.timeline li.now { border-color: var(--sky); }

/* footer: navy like the reference */
.site-footer { background: var(--navy); border: 0; color: #9fb3c8; margin-top: 48px; }
.site-footer a { color: #e6eef7; }
.site-footer a:hover { color: var(--sky); }

@media (min-width: 960px) {
  .site-header { padding-top: 24px; }
  .site-header .wrap { height: 80px; padding: 0 16px 0 24px; border-radius: 20px; }
  .nav { gap: 30px; }
  .nav a { font-size: 16px; color: var(--navy); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--sky-dk); }
  .nav a.btn { padding: 0 26px; min-height: 50px; background: var(--navy); border-color: var(--navy); color: #fff; }
  .nav a.btn:hover { background: var(--navy-2); color: #fff; }
  .harbor { padding-top: 72px; }
  .harbor::after { height: 200px; }
  .shop-hero { padding-bottom: 44px; }
  .shop { padding-bottom: 80px; }
  .shop-item { padding: 26px 22px; min-height: 250px; }
  .si-price { font-size: 2rem; }
  .page-head { padding: 72px 0 72px; }
  .site-footer { margin-top: 96px; }
}

/* harbor fixes */
.shop-note { color: var(--mute); margin-top: 22px; }
.shop-note a { color: var(--navy); }
@media (min-width: 960px) {
  .nav { background: none; box-shadow: none; padding: 0; border-radius: 0; }
  .shop-item { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .si-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; min-height: 2.6em; align-content: flex-start; }
  .si-name .tag { margin-left: 0; }
  .si-price { margin-top: auto; padding-top: 12px; }
}
.type-opt label b { font: 600 1.05rem var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }

/* ---------- dark mode (toggle in header; choice saved in localStorage by theme.js) ---------- */
.theme-toggle { order: 1; margin-left: auto; width: 46px; height: 46px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: transparent; color: var(--navy); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--sky); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
.site-header .menu-toggle { order: 2; margin-left: 8px; }
@media (min-width: 960px) {
  .site-header .nav { order: 2; margin-left: auto; }
  .theme-toggle { order: 3; margin-left: 14px; }
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1424; --bg-2: #0f1b2e; --card: #13223a;
  --ink: #eef3f9; --ink-2: #c3cfde; --mute: #8fa2bb;
  --line: #22344f; --line-2: #2f4566;
  --accent-soft: rgba(67,183,255,.18);
  --shadow: 0 2px 4px rgba(0,0,0,.25), 0 14px 32px -14px rgba(0,0,0,.6);
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] .theme-toggle { color: var(--sky); }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .site-header { background: #001229; }
[data-theme="dark"] .site-header .wrap, [data-theme="dark"] .nav { background: var(--card); }
[data-theme="dark"] .brand, [data-theme="dark"] .nav a, [data-theme="dark"] .si-name, [data-theme="dark"] .si-price,
[data-theme="dark"] legend, [data-theme="dark"] .summary-card .total, [data-theme="dark"] .type-opt label b,
[data-theme="dark"] .shop-note a, [data-theme="dark"] .btn.ghost { color: var(--ink); }
[data-theme="dark"] .btn.ghost { border-color: var(--line-2); }
[data-theme="dark"] .btn.ghost:hover { background: var(--line); }
[data-theme="dark"] .menu-toggle { background: var(--line-2); }
[data-theme="dark"] .brand-mark { background: #001f3f; }
[data-theme="dark"] .harbor, [data-theme="dark"] .page-head { background: #001229; }
[data-theme="dark"] .harbor::after { background: var(--bg); }
[data-theme="dark"] .examples { background: var(--bg); }
[data-theme="dark"] .tag { color: #8fd3ff; }
[data-theme="dark"] .type-opt input:checked + label, [data-theme="dark"] .drop:hover, [data-theme="dark"] .drop.over { background: rgba(67,183,255,.1); }
[data-theme="dark"] input[type=text], [data-theme="dark"] textarea, [data-theme="dark"] select { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
[data-theme="dark"] .site-footer { background: #000d1c; }
[data-theme="dark"] .cta-band .inner { background: #001f3f; }
@media (min-width: 960px) {
  [data-theme="dark"] .nav { background: none; }
  [data-theme="dark"] .nav a.btn { background: var(--sky); border-color: var(--sky); color: #001f3f; }
  [data-theme="dark"] .nav a.btn:hover { background: var(--sky-dk); color: #001f3f; }
}
.type-opt label b span { color: inherit; font-size: inherit; display: inline; line-height: inherit; }

/* discount code on the order page */
.coupon-box { margin: 16px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.coupon-box label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-row .btn { flex: none; min-height: 46px; }
.coupon-msg { margin: 6px 0 0; font-size: 14px; }
.coupon-msg.ok { color: #138a4b; } .coupon-msg.bad { color: #c0362c; }
[data-theme="dark"] .coupon-msg.ok { color: #5fd69a; } [data-theme="dark"] .coupon-msg.bad { color: #ff8a80; }
.summary-card .total s.was { color: var(--mute); font-size: .8em; font-weight: 500; }
.summary-card .coupon-row .btn { width: auto; flex: none; padding: 0 18px; }
.summary-card .total > span:last-child { white-space: nowrap; }

/* upscaled-image marker + warning on the order page */
.thumb .why.up { background: rgba(180,110,0,.92); }
.upscale-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; background: #fff4e0; color: #7a4a00; border: 1px solid #f0c77a; }
[data-theme="dark"] .upscale-warn { background: rgba(240,170,60,.12); color: #ffcf85; border-color: rgba(240,170,60,.35); }

/* fix 1: left-anchored hero, real evidence beside it on desktop */
.shop-hero { text-align: left; }
.shop-hero h1, .shop-hero .lede { margin-inline: 0; }
.hero-proof { display: none; margin: 0; }
@media (min-width: 960px) {
  .hero-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .shop-hero h1 { font-size: clamp(3rem, 5.4vw, 4.6rem); max-width: 9ch; line-height: .98; }
  .hero-proof { display: block; }
  .hp-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 14px; overflow: hidden; }
  .hp-imgs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .hero-proof figcaption { margin-top: 10px; font-size: 14px; color: #c9d6e6; }
}

/* fix 2: one price sheet instead of five floating cards with identical pill buttons */
.shop-list { gap: 0; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px -22px rgba(0,0,0,.6); }
.shop-item, .shop-item:hover { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.shop-item + .shop-item { border-top: 1px solid var(--line); }
.shop-item:hover, .shop-item:focus-visible { background: var(--bg-2); }
.si-go, .shop-item:hover .si-go { background: none; padding: 0; border-radius: 0; color: var(--navy); }
.si-go::after { content: " \2192"; transition: margin .15s; }
.shop-item:hover .si-go::after { margin-left: 4px; }
@media (min-width: 960px) {
  .shop-list { gap: 0; }
  .shop-item { min-height: 230px; padding: 28px 24px; }
  .shop-item + .shop-item { border-top: 0; border-left: 1px solid var(--line); }
  .si-go { justify-self: start; text-align: left; padding: 0; margin-top: 4px; }
}
[data-theme="dark"] .shop-list { background: var(--card); }
[data-theme="dark"] .si-go, [data-theme="dark"] .shop-item:hover .si-go { color: var(--sky); background: none; }

/* fix 3: no decorative swoop; the price sheet straddles a straight navy/white edge instead */
.harbor::after, [data-theme="dark"] .harbor::after { border-radius: 0; height: 150px; left: 0; right: 0; }
@media (min-width: 960px) { .harbor::after { height: 250px; } }

/* colour consistency pass (scripts/contrast-audit.mjs): light-mode surfaces that were never themed for dark */
[data-theme="dark"] .check.needed { background: rgba(240,170,60,.10); border-color: rgba(240,170,60,.55); }
[data-theme="dark"] .notice.bad { background: rgba(255,107,107,.10); border-color: rgba(255,107,107,.45); }
[data-theme="dark"] .btn.danger { color: #ff8a80; border-color: rgba(255,107,107,.45); }
[data-theme="dark"] .btn.danger:hover { background: rgba(255,107,107,.12); color: #ff8a80; }
[data-theme="dark"] .pair-label { background: rgba(0,18,41,.88); color: #eef3f9; }
[data-theme="dark"] .pair-label.is-lora { background: var(--sky); color: #001f3f; }
[data-theme="dark"] .nav a.btn, [data-theme="dark"] .nav a.btn:hover { color: #001f3f; }
/* light: muted text was 4.4:1 on tinted rows; nav hover blue was 2.9:1 */
:root:not([data-theme="dark"]) { --mute: #5d6080; }
@media (min-width: 960px) { :root:not([data-theme="dark"]) .nav a:not(.btn):hover, :root:not([data-theme="dark"]) .nav a[aria-current="page"]:not(.btn) { color: #0b6fb0; } }
:root:not([data-theme="dark"]) .tag { color: #095a8f; }

/* fix 4: one squarer radius family instead of pills (buttons/inputs 6px, labels 4px; circles stay for step numbers + dots) */
.btn, .menu-toggle, .si-go, .coupon-row input { border-radius: 6px; }
.chip, .tag, .pair-label, .models-strip span, .pill { border-radius: 4px; }
.site-header .wrap { border-radius: 12px; }
.theme-toggle, .menu-toggle { border-radius: 8px; }

/* fix 5: shout only in the h1 + wordmark; nav, buttons and product rows go mixed case (Oswald 500, no tracking) */
.btn, .btn.accent, .nav a, .si-name, .si-go, .type-opt label b { text-transform: none; letter-spacing: 0; }
.btn, .btn.accent { font-weight: 500; font-size: 18px; }
.btn.small { font-size: 17px; }
.nav a { font-weight: 500; font-size: 19px; }
.si-name { font-size: 1.28rem; font-weight: 500; }
.si-go { font-weight: 500; font-size: 17px; }
@media (min-width: 960px) { .nav a { font-size: 18px; } }
