/* Self-hosted (SIL Open Font License, see /fonts), so visitors' IPs aren't sent to Google */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0f1113;
  --ink-2: #181b1e;
  --ink-3: #24282c;
  --paper: #f4f4f2;
  --white: #ffffff;
  --text: #1b1e21;
  --text-muted: #5d646b;
  --text-on-dark: #eef0f2;
  --muted-on-dark: #a3abb3;
  --line: #dcdedf;
  --line-dark: #2e3338;
  --accent: #e3262f;
  --accent-hover: #c41d25;
  --accent-on-dark: #ff5c63; /* accent for small text on dark backgrounds (6.3:1) */
  --field-line: #858c93;     /* form control borders, 3.4:1 on white */
  --ok: #1f8a4c;
  --radius: 6px;
  --radius-lg: 10px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding: 72px 0 64px; } /* keep focused items clear of the sticky header and mobile bar */
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; letter-spacing: .01em; margin: 0 0 1rem; text-transform: uppercase; }
h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.375rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); }
.muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .625rem 1.25rem; border-radius: var(--radius); border: 2px solid transparent; font: 600 .9375rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn-lg { min-height: 52px; padding: .875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,17,19,.94); backdrop-filter: blur(8px); color: var(--text-on-dark); border-bottom: 1px solid var(--line-dark); }
.header-row { display: flex; align-items: center; gap: 1rem; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font: 700 1.5rem/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.logo svg { width: 28px; height: 28px; }
.logo b { color: var(--accent); }
.nav { display: none; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--muted-on-dark); }
.nav a:hover { color: var(--text-on-dark); }
.header-call { display: none; }
.header-cta { margin-left: auto; min-height: 40px; padding: .5rem 1rem; }

/* Hero */
.hero { background: radial-gradient(ellipse at 80% 40%, #23272b 0%, var(--ink) 60%); color: var(--text-on-dark); padding: 3rem 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--muted-on-dark); border: 1px solid var(--line-dark); padding: .375rem .75rem; border-radius: 999px; margin-bottom: 1.25rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,138,76,.25); }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.125rem; color: var(--muted-on-dark); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9375rem; }
.checks li { display: flex; gap: .625rem; align-items: center; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-visual { position: relative; max-width: min(460px, 70vw); width: 100%; margin-inline: auto; text-align: center; }
.hero-visual .pause { margin-top: .75rem; min-height: 36px; padding: .375rem .875rem; font-size: .8125rem; border-width: 1px; }
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); }
.wheel { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Trust strip */
.strip { background: var(--accent); color: #fff; }
.strip-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.25rem 0; text-align: center; }
.strip strong { display: block; font: 700 1.5rem/1.1 var(--head); text-transform: uppercase; }
.strip span { font-size: .8125rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark .muted, .section-dark .lead { color: var(--muted-on-dark); }
.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover); margin-bottom: .5rem; }
.section-dark .kicker { color: var(--accent-on-dark); }

.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; }
.services article { background: var(--white); padding: 1.75rem; }
.services article h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 1rem; }
.services p { color: var(--text-muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; counter-reset: s; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
.steps span { font: 700 3rem/1 var(--head); color: var(--accent); display: block; margin-bottom: .75rem; }
.steps p { color: var(--muted-on-dark); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: 2rem; }
.gallery button { all: unset; cursor: pointer; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 1; }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1.5rem .75rem .625rem; font-size: .8125rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gallery > p { grid-column: 1 / -1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 92vh; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox .caption { text-align: center; margin: .75rem 0 0; }
.lightbox .close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.75rem; cursor: pointer; }

/* Quote */
.quote-grid { display: grid; gap: 2.5rem; align-items: start; }
.tips { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 2rem 0; }
.tips h3 { font-size: 1.125rem; }
.tips ul { margin: 0; padding-left: 1.1rem; color: var(--muted-on-dark); }
.tips li { margin-bottom: .25rem; }
.quote-intro a { color: var(--text-on-dark); font-weight: 600; }

.card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; padding: 0; }
.field em { font-style: normal; font-weight: 400; font-size: .8125rem; color: var(--text-muted); margin-left: .25rem; }
input, textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text); background: var(--white); border: 1px solid var(--field-line); border-radius: var(--radius); padding: .75rem .875rem; min-height: 48px; }
::placeholder { color: var(--text-muted); opacity: 1; }
fieldset.field > label { font-weight: 500; }
fieldset input + label { margin-top: .875rem; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,38,47,.25); }
textarea { resize: vertical; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; }
.row input { flex: 1 1 200px; }
.row .btn { color: var(--text); border-color: var(--field-line); border-width: 1px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; min-height: 0; margin: .15rem 0 0; padding: 0; accent-color: var(--accent); }
.check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.field > .dropzone, .dropzone { display: grid; place-items: center; gap: .25rem; text-align: center; padding: 1.75rem 1rem; border: 2px dashed var(--field-line); border-radius: var(--radius); cursor: pointer; background: #fafafa; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); background: #fff5f5; }
.dropzone:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone strong { font-weight: 600; }
.dropzone span { font-size: .8125rem; color: var(--text-muted); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .75rem; }
.previews img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.hp { position: absolute; left: -9999px; }
.form-error { background: #fdecec; color: #8f1219; border-radius: var(--radius); padding: .75rem 1rem; font-size: .9375rem; margin-top: .75rem; }
#captcha:not(:empty) { margin-bottom: 1rem; }
.fine { font-size: .8125rem; color: var(--text-muted); text-align: center; margin: .75rem 0 0; }
.done { text-align: center; padding: 3rem 1.5rem; }
.done h3::before { content: "✓"; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--ok); color: #fff; font: 700 1.75rem/1 var(--body); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { color: var(--text-muted); }

.cta-band { background: var(--ink-2); color: var(--text-on-dark); padding: 3rem 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-row h2 { margin: 0; }

.site-footer { background: var(--ink); color: var(--text-on-dark); padding: 3rem 0 6rem; }
.site-footer .muted { color: var(--muted-on-dark); }
.site-footer a { text-decoration: none; }
.footer-row { display: grid; gap: 1.5rem; }
.footer-row p { margin: .25rem 0; }
.copy { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; margin-top: 2rem; font-size: .875rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: .75rem; }
.site-footer .legal-links a { text-decoration: underline; }

/* Legal pages */
.legal h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal li { margin-bottom: .375rem; }
.legal .note { background: var(--white); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; border-radius: var(--radius); }

/* Sticky phone bar */
.mobile-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: grid; place-items: center; min-height: 56px; background: var(--ink); color: var(--text-on-dark); text-decoration: none; font-weight: 600; }
.mobile-bar a.primary { background: var(--accent); color: #fff; }

@media (min-width: 640px) {
  .strip-row { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-row { grid-template-columns: 1fr auto; }
  .card { padding: 2rem; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-call { display: inline-flex; margin-left: .5rem; min-height: 40px; padding: .5rem 1rem; border-width: 1px; border-color: var(--line-dark); }
  .header-cta { margin-left: 0; }
  .hero { padding: 5.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .quote-intro { position: sticky; top: 96px; }
  .section { padding: 6rem 0; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 3rem; }
}
