/* =====================================================================
   RM Auto Performance - shared styles (public site + sign-in pages).
   Colors come from the logo: piston orange on a charcoal gear.
   Dark is the default; <html class="light"> switches to light mode.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bg: #0f1012;
  --bg-2: #131417;
  --surface: #17181b;
  --surface-2: #1e2024;
  --surface-3: #25272c;
  --border: #2a2c31;
  --border-strong: #3a3d44;
  --text: #f3f3f4;
  --muted: #a2a5ad;
  --faint: #6f737b;
  --accent: #f0932b;          /* logo orange */
  --accent-hover: #ffa748;
  --accent-ink: #1b1207;      /* text on orange */
  --accent-text: #f7a54a;     /* orange used as text on dark */
  --accent-soft: rgba(240, 147, 43, 0.12);
  --accent-line: rgba(240, 147, 43, 0.35);
  --danger: #ef5b4c;
  --danger-soft: rgba(239, 91, 76, 0.12);
  --ok: #3fb96f;
  --ok-soft: rgba(63, 185, 111, 0.13);
  --warn: #f2bd4b;
  --warn-soft: rgba(242, 189, 75, 0.14);
  --info: #6aa7de;
  --info-soft: rgba(106, 167, 222, 0.14);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Bebas Neue', 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  color-scheme: dark;
}

:root.light {
  --bg: #f6f5f3;
  --bg-2: #efede9;
  --surface: #ffffff;
  --surface-2: #f4f2ef;
  --surface-3: #eae7e2;
  --border: #e4e1dc;
  --border-strong: #d2cec7;
  --text: #17181b;
  --muted: #5c5f66;
  --faint: #8a8d94;
  --accent: #f0932b;
  --accent-hover: #e2821a;
  --accent-ink: #1b1207;
  --accent-text: #b25a07;
  --accent-soft: rgba(240, 147, 43, 0.14);
  --accent-line: rgba(214, 118, 18, 0.4);
  --danger: #c93a2c;
  --danger-soft: rgba(201, 58, 44, 0.09);
  --ok: #1f8a4c;
  --ok-soft: rgba(31, 138, 76, 0.1);
  --warn: #a8700a;
  --warn-soft: rgba(212, 150, 20, 0.14);
  --info: #2f6ea8;
  --info-soft: rgba(47, 110, 168, 0.1);
  --shadow: 0 10px 30px rgba(30, 25, 15, 0.1);
  --shadow-sm: 0 2px 8px rgba(30, 25, 15, 0.08);
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; line-height: 0.98; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.3rem); letter-spacing: 0.03em; line-height: 1; margin-top: 10px; }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .08s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .65; cursor: default; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 20px rgba(240, 147, 43, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 0.88rem; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.icon-btn:hover { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }

/* theme toggle: shows the moon in dark mode, the sun in light mode */
[data-theme-toggle] .i-sun { display: none; }
:root.light [data-theme-toggle] .i-sun { display: block; }
:root.light [data-theme-toggle] .i-moon { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-link img { width: 40px; height: 40px; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.08em; line-height: 1; }
.brand-word b { font-weight: 400; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--muted);
  font-size: 0.93rem; font-weight: 500; transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { content: ''; display: block; height: 2px; margin-top: 3px; background: var(--accent); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.auth-slot { display: flex; align-items: center; gap: 8px; }
.hello { font-size: .88rem; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: center; color: #fff;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.72) 42%, rgba(10, 10, 12, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, 0.85) 0%, rgba(10, 10, 12, 0) 38%);
}
.hero-inner { padding-top: 64px; padding-bottom: 72px; }
.hero .eyebrow { color: #ffb45f; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.3rem, 9vw, 6.6rem); letter-spacing: 0.02em; line-height: 0.92; max-width: 11ch; margin: 18px 0 20px; }
.hero-title span { color: var(--accent); }
.hero-sub { max-width: 34rem; font-size: 1.1rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); max-width: 560px; }
.hero-facts li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.78); }
.hero-facts svg { color: var(--accent); flex-shrink: 0; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.service-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.04em; line-height: 1.05; }
.service-card p { color: var(--muted); font-size: 0.94rem; }
.service-note { font-size: 0.85rem !important; }
.service-price { color: var(--text) !important; font-weight: 600; font-size: 0.92rem !important; }
.service-cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.service-cta::after { content: '\2192'; transition: transform .18s; }
.service-cta:hover::after { transform: translateX(3px); }
.services-empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 30px 0; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border: 1px solid var(--border); border-radius: var(--radius); min-height: 190px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- steps ---------- */
.steps-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- about / visit ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 16px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--accent); letter-spacing: .02em; }
.stat span { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.visit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.visit-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .04em; margin-bottom: 14px; }
.contact-list { list-style: none; display: flex; flex-direction: column; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .ci { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex-shrink: 0; }
.contact-list small { display: block; font-size: .75rem; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.contact-list a, .contact-list span.v { color: var(--text); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--accent-text); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 96px; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #1d1e22 0%, #2a2118 100%);
  border: 1px solid rgba(240,147,43,.25);
}
.cta-box::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(240,147,43,.35), transparent 70%); z-index: -1; }
.cta-box h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .03em; line-height: 1; }
.cta-box p { color: rgba(255,255,255,.75); margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid p { color: var(--muted); margin-top: 12px; max-width: 34ch; }
.footer-grid h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; font-weight: 600; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-text); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: .84rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 28px; }
.page-hero .section-title { font-size: clamp(2.6rem, 6vw, 4rem); }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; padding-bottom: 96px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: .04em; line-height: 1; }
.form-card .lead { color: var(--muted); margin: 8px 0 22px; font-size: .95rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- form fields (public + auth) ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label, .field-label { font-size: .88rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 8px; }
.field > label .opt { font-weight: 400; color: var(--faint); }
.field > label a { font-weight: 500; color: var(--accent-text); text-decoration: none; }
.field > label a:hover { text-decoration: underline; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
:root.light .field input, :root.light .field select, :root.light .field textarea { background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .hint { font-size: .8rem; color: var(--faint); }
.field .caps { font-size: .8rem; color: var(--warn); }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 52px; }
.pw-toggle {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--faint); border-radius: 8px; cursor: pointer;
}
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.pw-toggle .i-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .i-eye { display: none; }
.pw-toggle[aria-pressed="true"] .i-eye-off { display: block; }
.otp-input { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.5rem !important; letter-spacing: .5em; text-align: center; padding-left: 20px !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* bot trap */

/* password strength */
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 2px; }
.pw-meter i { height: 5px; border-radius: 3px; background: var(--surface-3); transition: background-color .2s; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: #9ccc4a; }
.pw-meter[data-score="4"] i { background: var(--ok); }
.pw-rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .8rem; color: var(--faint); margin-top: 4px; }
.pw-rules li { display: flex; align-items: center; gap: 6px; }
.pw-rules li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex-shrink: 0; }
.pw-rules li.ok { color: var(--ok); }
.pw-rules li.ok::before { background: currentColor; box-shadow: inset 0 0 0 3px var(--surface); }

/* alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin-bottom: 18px; border: 1px solid; }
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert.error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--text); }
.alert.error svg { color: var(--danger); }
.alert.success { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.alert.success svg { color: var(--ok); }
.alert.info { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 40%, transparent); }
.alert.info svg { color: var(--info); }
.alert a { color: var(--accent-text); font-weight: 600; }
.shake { animation: shake .38s ease; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.dev-code { border: 1px dashed var(--accent-line); background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: .84rem; color: var(--muted); }
.dev-code strong { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; letter-spacing: .3em; color: var(--text); margin-bottom: 4px; }

/* ---------- sign-in pages ---------- */
.auth-page { min-height: 100svh; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100svh; }
.auth-visual { position: relative; isolation: isolate; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px; }
.auth-visual img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.auth-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.88) 70%); }
.auth-visual .brand-word { color: #fff; }
.auth-visual h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: .95; letter-spacing: .02em; max-width: 12ch; }
.auth-visual h2 span { color: var(--accent); }
.auth-points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.auth-points li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.82); font-size: .95rem; }
.auth-points svg { color: var(--accent); flex-shrink: 0; }
.auth-panel { display: flex; flex-direction: column; padding: 28px 40px; background: var(--bg); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.back-link:hover { color: var(--accent-text); }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 36px 0; }
.auth-card .brand-link { display: none; margin-bottom: 24px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; letter-spacing: .03em; line-height: 1; }
.auth-card .lead { color: var(--muted); margin: 8px 0 26px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: .94rem; }
.auth-alt a, .text-link { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.auth-alt a:hover, .text-link:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; }
.link-btn:disabled { color: var(--faint); cursor: default; }
.auth-foot { text-align: center; font-size: .8rem; color: var(--faint); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: .8rem; color: var(--faint); }

/* ---------- shop by parts (landing) ---------- */
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 620px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 92px;
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: border-color .18s, transform .18s, box-shadow .18s;
}
.cat-card:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card:hover .cat-icon { background: var(--accent); color: var(--accent-ink); }
.cat-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .18s, color .18s; }
.cat-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cat-text strong { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.cat-text small { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.cat-count { position: absolute; top: 10px; right: 12px; font-size: .74rem; font-weight: 700; color: var(--faint); }
.cat-skel { min-height: 92px; }
.parts-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.parts-tools .label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-strong); text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--text); transition: border-color .15s, color .15s; }
.fit-chip b { font-size: .74rem; color: var(--faint); font-weight: 700; }
.fit-chip:hover { border-color: var(--accent); color: var(--accent-text); }
.quick-search { margin-left: auto; display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.quick-search input, .search-bar input {
  flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px 10px 40px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 13px center;
}
:root.light .quick-search input, :root.light .search-bar input { background-color: #fff; }
.quick-search input:focus, .search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- parts catalog page ---------- */
.search-bar { display: flex; gap: 10px; max-width: 640px; margin-top: 22px; }
.search-bar input { font-size: 1.02rem; min-height: 52px; }
.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 96px; }
.cat-nav { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cat-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; font-size: .92rem; font-weight: 500; }
.cat-link:hover { background: var(--surface-2); color: var(--text); }
.cat-link.on { background: var(--accent-soft); color: var(--accent-text); }
.cat-link .ci-sm svg { width: 18px; height: 18px; }
.cl-name { flex: 1; }
.cl-n { font-size: .78rem; color: var(--faint); font-weight: 600; }
.cat-link.on .cl-n { color: inherit; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: .03em; line-height: 1; }
.results-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filters select { min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.parts-grid .skeleton { min-height: 210px; }
.part-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .18s, box-shadow .18s; }
.part-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.part-top { display: flex; align-items: center; gap: 10px; }
.part-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.part-icon svg { width: 20px; height: 20px; }
.part-cat { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.part-card h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.fit-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.fit-tag { font-size: .74rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text); }
.fit-tag.muted { background: transparent; color: var(--faint); padding-left: 0; font-weight: 500; }
.part-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); } .stock.warn { color: var(--warn); } .stock.none { color: var(--faint); }
.part-price { font-weight: 700; font-size: .92rem; }
.parts-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.parts-empty h3 { font-size: 1.1rem; margin-bottom: 6px; }
.parts-empty p { color: var(--muted); margin-bottom: 18px; }

@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 16px; }
  .cat-nav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-link { width: auto; white-space: nowrap; flex-shrink: 0; }
  .cat-link .ci-sm { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-search { margin-left: 0; max-width: none; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .cat-card { min-height: 76px; padding: 14px; }
  .cat-icon { width: 46px; height: 46px; }
  .parts-grid { grid-template-columns: 1fr; }
}

/* part photos */
.part-card { padding: 0; overflow: hidden; }
.part-card > :not(.part-media) { margin-left: 18px; margin-right: 18px; }
.part-card > :last-child { margin-bottom: 18px; }
.part-media { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #ffffff; display: grid; place-items: center; overflow: hidden; }
.part-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .25s; }
.part-card:hover .part-media img { transform: scale(1.04); }
.part-media.empty { background: var(--surface-2); color: var(--faint); gap: 6px; align-content: center; }
.part-media.empty svg { width: 44px; height: 44px; opacity: .55; }
.part-media.empty span { font-size: .78rem; }
.part-credit { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: .68rem; line-height: 1.3; padding: 3px 8px; border-radius: 6px; background: rgba(15, 16, 18, .72); color: #e9e9ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.part-credit a { color: #ffc27d; text-decoration: none; }
.part-credit a:hover { text-decoration: underline; }
.part-top { margin-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-card .brand-link { display: inline-flex; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .site-nav a { padding: 13px 12px; font-size: 1rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--surface-2); }
  body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .header-actions { margin-left: auto; }
  .hello { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 14px 10px; }
  .stat strong { font-size: 1.9rem; }
  .stat span { font-size: .66rem; letter-spacing: .08em; }
  .row-2, .pw-rules { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .auth-panel { padding: 18px 16px; }
  .auth-card { padding: 24px 0; }
  .brand-word { font-size: 1.35rem; }
  .auth-slot .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.part-card .btn-block { width: auto; }

/* =====================================================================
   Licensed & registered (permits) - js/credentials.js
   ===================================================================== */
.hero-trust { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(15, 16, 18, .55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); color: rgba(255,255,255,.88); font-size: .86rem; }
.hero-trust svg { color: #5fd68e; flex-shrink: 0; }
.hero-trust a { color: #ffb45f; font-weight: 600; text-decoration: none; }
.hero-trust a:hover { text-decoration: underline; }

.permits-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.permits-head { max-width: 720px; margin-bottom: 40px; }
.permits-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.permit-cards { display: flex; flex-direction: column; gap: 18px; }
.permit-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 26px; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.permit-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ok); }
.permit-card:has(.permit-view) { grid-template-columns: minmax(0, 1fr) 170px; }
.permit-card:has(.permit-view) .permit-top, .permit-card:has(.permit-view) .permit-facts { grid-column: 1; }
.permit-top { display: flex; gap: 14px; align-items: flex-start; }
.permit-seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.permit-top h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.permit-top p { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.permit-facts { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 14px 40px; margin: 0; }
.permit-facts .wide { grid-column: 1 / -1; }
.permit-facts dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 3px; }
.permit-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.permit-no { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.permit-no > span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; }
.permit-copy { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border-strong); background: transparent; font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.permit-copy:hover { border-color: var(--accent); color: var(--accent-text); }
.permit-copy.done { border-color: var(--ok); color: var(--ok); }
.permit-valid { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .86rem; font-weight: 600; }
.permit-valid.soon { background: var(--warn-soft); color: var(--warn); }
.permit-view { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; padding: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 3 / 4; }
.permit-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s; }
.permit-view span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78) 40%); }
.permit-view:hover img { transform: scale(1.04); }
.permit-view:hover { border-color: var(--accent); }

.verify-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.verify-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .04em; margin-bottom: 14px; }
.verify-steps { list-style: none; counter-reset: v; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.verify-steps li { counter-increment: v; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; }
.verify-steps li::before { content: counter(v); grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: .85rem; }
.verify-steps strong { font-size: .95rem; }
.verify-steps span { color: var(--muted); font-size: .9rem; }
.verify-steps a { color: var(--accent-text); font-weight: 600; }
.verify-steps a svg { display: inline; vertical-align: -1px; margin-left: 3px; }
.verify-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--faint); font-size: .82rem; }
.reg-line { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; }

.cert-dlg { width: min(900px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.cert-dlg::backdrop { background: rgba(0,0,0,.72); }
.cert-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.cert-head strong { display: block; } .cert-head small { color: var(--muted); }
.cert-close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.cert-close:hover { border-color: var(--accent); color: var(--accent-text); }
.cert-body { background: var(--surface-3); padding: 12px; overflow: auto; max-height: calc(100vh - 170px); display: grid; place-items: center; }
.cert-body img { max-width: 100%; height: auto; border-radius: 4px; }
.cert-note { padding: 12px 18px; color: var(--faint); font-size: .82rem; }

@media (max-width: 960px) { .permits-grid { grid-template-columns: 1fr; } .verify-card { position: static; } }
@media (max-width: 560px) {
  .permit-card, .permit-card:has(.permit-view) { grid-template-columns: 1fr; padding: 22px 18px 22px 22px; }
  .permit-view { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 10; }
  .permit-facts { grid-template-columns: 1fr; }
  .hero-trust { border-radius: 14px; }
}

/* =====================================================================
   Reviews - js/reviews-public.js
   ===================================================================== */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.reviews-head > div:first-child { max-width: 680px; }
.reviews-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.rv-score { display: grid; justify-items: end; gap: 4px; text-align: right; }
.rv-score strong { font-family: var(--font-display); font-weight: 400; font-size: 3.2rem; line-height: .9; }
.rv-score > span { color: var(--muted); font-size: .9rem; }
.rv-score .rv-rec { color: var(--text); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars i { display: inline-flex; color: var(--border-strong); }
.stars i.on { color: #f5b301; }
.stars svg { fill: currentColor; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.review-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-card header { display: flex; align-items: center; gap: 12px; }
.review-card header > div { min-width: 0; flex: 1; }
.review-card header strong { display: block; font-size: .98rem; }
.review-card header small { color: var(--faint); font-size: .8rem; }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: .85rem; background: var(--accent-soft); color: var(--accent-text); }
.rv-avatar.facebook { background: rgba(24, 119, 242, .14); color: #4b8ff5; }
.rv-avatar.google { background: rgba(52, 168, 83, .14); color: var(--ok); }
.rv-src { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); }
.rv-src.facebook { color: #4b8ff5; } .rv-src.site { color: var(--ok); }
a.rv-src:hover { border-color: currentColor; }
.rv-rec { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; margin: 0; }
.rv-rec svg { fill: #f5b301; }
.rv-text { margin: 0; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.rv-service { margin: 0; font-size: .82rem; color: var(--faint); }
.rv-reply { border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: .88rem; }
.rv-reply b { display: block; font-size: .78rem; color: var(--accent-text); margin-bottom: 2px; }
.rv-reply p { margin: 0; color: var(--muted); white-space: pre-line; }
.review-more { display: flex; justify-content: center; margin-top: 24px; }
.review-more .btn[hidden] { display: none; }
:root.light .rv-avatar.facebook, :root.light .rv-src.facebook { color: #1765d8; }
@media (max-width: 960px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } .reviews-side, .rv-score { align-items: flex-start; justify-items: start; text-align: left; } }

/* ---------- create account: richer side panel + step indicator ---------- */
.auth-visual { position: sticky; top: 0; height: 100svh; }
.auth-visual.rich { justify-content: flex-start; gap: 0; }
.auth-visual.rich::before { background: linear-gradient(165deg, rgba(10,10,12,.72) 0%, rgba(10,10,12,.9) 55%, rgba(10,10,12,.96) 100%); }
.av-body { margin: auto 0; max-width: 520px; }
.av-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: rgba(240,140,30,.12); border: 1px solid rgba(240,140,30,.35); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.av-lead { color: rgba(255,255,255,.78); margin: 14px 0 26px; font-size: 1rem; line-height: 1.55; max-width: 44ch; }
.av-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.av-steps li { display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.av-steps li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: rgba(255,255,255,.14); }
.av-steps b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .85rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.av-steps li:first-child b { background: var(--accent); border-color: var(--accent); color: #111; }
.av-steps div { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; }
.av-steps strong { font-size: .95rem; }
.av-steps span { font-size: .84rem; color: rgba(255,255,255,.65); }
.av-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.av-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.av-perks svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.av-perks div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.av-perks strong { font-size: .88rem; }
.av-perks span { font-size: .78rem; color: rgba(255,255,255,.62); line-height: 1.4; }
.av-trust { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.6); margin: 18px 0 0; }
.av-trust svg { color: var(--accent); }
@media (max-height: 760px) { .av-lead { margin-bottom: 18px; } .av-steps li { padding-bottom: 10px; } .av-perks li { padding: 9px 10px; } .av-perks span { display: none; } }

.reg-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 6px; }
.reg-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--faint); padding-top: 10px; border-top: 3px solid var(--border); }
.reg-steps li.on { color: var(--text); border-top-color: var(--accent); }
.reg-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--surface-2, rgba(255,255,255,.06)); flex-shrink: 0; }
.reg-steps li.on b { background: var(--accent); color: #111; }
.reg-sec { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 6px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.field .fhint { font-size: .76rem; color: var(--faint); margin-top: -2px; }
