/* ==========================================================================
   Repair Gap — site styles
   Dark theme with emerald green accent, Inter type, glass cards, pill buttons.
   ========================================================================== */

:root {
  --bg: #0a0c10;
  --bg-raise: #0d1118;
  --bg-band: #0a1411;
  --surface: rgba(20, 23, 29, 0.55);
  --surface-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.16);

  --text: #f2f3f5;
  --text-2: #c9cdd3;
  --text-3: #8b93a0;

  --accent: #12805a;
  --accent-hover: #13875f;
  --accent-2: #2fb37f;
  --accent-text: #5fd3a0;
  --gap: #f2a541;

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --gutter: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}


.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2,
.h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
}

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-2);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15.5px/1 var(--font);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(2px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-sm .icon { width: 16px; height: 16px; }
.btn-sm:hover .icon { transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-text);
}
.text-link .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Cards ---------- */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(18, 128, 90, 0.14);
  border: 1px solid rgba(47, 179, 127, 0.28);
  color: var(--accent-text);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.site-header.is-scrolled {
  background: rgba(10, 12, 16, 0.78);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.logo svg { width: 26px; height: 26px; }
.logo .logo-light { font-weight: 400; color: #a9d6c2; }
.logo .logo-bold { font-weight: 800; color: var(--accent-text); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav a:not(.btn):hover { color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 148px 0 104px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(18, 128, 90, 0.32), transparent 70%),
    radial-gradient(45% 45% at 8% 92%, rgba(18, 128, 90, 0.14), transparent 70%),
    linear-gradient(180deg, #0b1411 0%, var(--bg) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 60% 35%, #000 20%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(44px, 6.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.038em;
  color: #fff;
}
.hero h1 .accent { color: var(--accent-text); }

.hero-lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
}
.hero-checks .icon { width: 16px; height: 16px; color: var(--accent-text); stroke-width: 2.25; }

/* Value-gap card */

.gap-card { padding: 26px; }

.gap-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.gap-card__head .mono { color: var(--text-3); }

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  color: var(--text-3);
}

.gap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-2);
}
.gap-row strong { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.bar {
  display: flex;
  height: 12px;
  margin: 10px 0 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.bar .fill { height: 100%; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, #3a4452, #5b6676); }
.bar .fill.full { border-radius: 6px; }
.bar .fill.accent { background: linear-gradient(90deg, #0d6b4a, var(--accent-2)); }
.bar .lost {
  height: 100%;
  margin-left: 3px;
  border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(135deg, rgba(242, 165, 65, 0.9) 0 4px, rgba(242, 165, 65, 0.45) 4px 8px);
}

.gap-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: rgba(242, 165, 65, 0.08);
  border: 1px solid rgba(242, 165, 65, 0.22);
  font-size: 13.5px;
  color: #f6c98a;
}
.gap-flag .icon { width: 16px; height: 16px; color: var(--gap); }

.gap-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px dashed var(--border-2);
}
.gap-total span { font-size: 15px; font-weight: 600; }
.gap-total strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gap);
  font-variant-numeric: tabular-nums;
}
.gap-note { margin-top: 10px; font-size: 13px; color: var(--text-3); }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 112px 0; position: relative; }
.section.band {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(18, 128, 90, 0.16), transparent 70%),
    var(--bg-band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Types of DV --- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.type-card { padding: 28px; }
.type-card .mono { display: block; margin-bottom: 14px; }
.type-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.type-card p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; }
.type-card.primary { border-color: rgba(47, 179, 127, 0.4); }
.type-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.type-meta .mono { margin-bottom: 0; }
.type-card .badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 128, 90, 0.2);
  color: var(--accent-text);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.fact-strip > div { padding: 24px 28px; }
.fact-strip > div + div { border-left: 1px solid var(--border); }
.fact-strip strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.fact-strip span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-3); line-height: 1.55; }

/* --- Fleets --- */

.fleet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.fleet-layout .section-head { margin-bottom: 0; position: sticky; top: 112px; }

.who-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.who-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.who-list .icon { width: 16px; height: 16px; color: var(--accent-text); }

.benefit { padding: 26px; }
.benefit h3 { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.benefit p { margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- Steps --- */

.steps { counter-reset: step; }
.step { padding: 28px; }
.step .mono { font-size: 14px; }
.step h3 { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; }
.step .need {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-3);
}

/* --- Total loss --- */

.tl-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  padding: 48px;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(18, 128, 90, 0.22), transparent 60%),
    var(--surface);
}
.tl-card h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.tl-card p { margin-top: 16px; font-size: 17px; color: var(--text-2); line-height: 1.6; }
.tl-card .text-link { margin-top: 24px; }

.check-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--text-2);
}
.check-list li:first-child { padding-top: 0; }
.check-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.check-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-text); stroke-width: 2.25; }
.check-list strong { color: var(--text); font-weight: 600; }

/* --- FAQ --- */

.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.75px;
  background: var(--text-2);
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .plus { border-color: var(--accent-2); }
.faq .answer {
  padding: 0 52px 24px 4px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

/* --- Contact --- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.contact-layout .section-head { margin-bottom: 0; }
.contact-points { margin-top: 32px; }
.contact-points li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15.5px;
  color: var(--text-2);
}
.contact-points .icon { margin-top: 2px; color: var(--accent-text); }
.contact-points a { color: var(--accent-text); font-weight: 600; }
.contact-points a:hover { text-decoration: underline; }

.form-card { padding: 32px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 400 15px/1.4 var(--font);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9cdd3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select option { background: #14171d; color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: #6b7380; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(18, 128, 90, 0.08);
  box-shadow: 0 0 0 3px rgba(47, 179, 127, 0.22);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.form-foot small { font-size: 13px; color: var(--text-3); max-width: 300px; line-height: 1.5; }
.form-status {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--accent-text);
}
.form-status:empty { display: none; }

/* --- Footer --- */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  background: #08090c;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-top p { margin-top: 14px; max-width: 340px; font-size: 14.5px; color: var(--text-3); }
.parent-co {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: border-color 0.2s;
}
.parent-co:hover { border-color: var(--border-2); }
.parent-co img { width: auto; height: 11px; }
.parent-co--inline { margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-links a { font-size: 14.5px; color: var(--text-2); }
.footer-links a:hover { color: #fff; }
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: #6b7380;
}
.footer-legal p { max-width: 720px; line-height: 1.6; }

/* ==========================================================================
   Illustrations (inline SVG)
   ========================================================================== */

.ill-mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: rgba(95, 211, 160, 0.7);
}
.ill-label { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: #f6c98a; }
.ill-caption {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: #6f7884;
}
.ill-coin { font-family: var(--font); font-size: 28px; font-weight: 700; fill: #f6c98a; }

/* Hero: blueprint SUV with the example card overlapping it */
.hero-visual { position: relative; }
.hero-car {
  position: relative;
  z-index: 0;
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  margin: 0 -6% -10px;
}
.hero-visual .gap-card { position: relative; z-index: 1; margin-left: 8%; }

/* Small illustrations at the top of cards */
.spot {
  margin: -8px -8px 22px;
  padding: 10px 8px 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(18, 128, 90, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.02);
}
.spot svg { display: block; width: 100%; height: auto; }
.spot--wide { margin: 0 0 24px; padding: 14px 18px 8px; }
.tl-card { align-items: center; }

/* Fleet lineup under the Fleets section */
.lineup-wrap { overflow: hidden; }
.fleet-lineup { display: block; width: 100%; height: auto; margin-top: 72px; }

/* ==========================================================================
   Fleet portal (portal.html)
   ========================================================================== */

.portal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 72px;
  align-items: center;
}
.portal h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.portal-lead { margin-top: 18px; max-width: 500px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.portal-features { margin-top: 26px; }
.portal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 15.5px;
  color: var(--text-2);
}
.portal-features .icon { width: 18px; height: 18px; color: var(--accent-text); stroke-width: 2.25; }
.portal-spot { max-width: 420px; margin: 32px 0 0; }

.auth-card { padding: 36px; }
.auth-card h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.auth-sub { margin-top: 8px; font-size: 15px; color: var(--text-3); }
.auth-form { display: grid; gap: 18px; margin-top: 26px; }
.auth-form .form-grid { gap: 18px; }
.auth-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-hint { font-size: 12.5px; color: var(--text-3); }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: 600 14px/1.4 var(--font);
  color: var(--accent-text);
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: 600 13px/1 var(--font);
  color: var(--text-3);
  cursor: pointer;
}
.password-toggle:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.auth-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(242, 165, 65, 0.08);
  border: 1px solid rgba(242, 165, 65, 0.22);
  font-size: 14px;
  line-height: 1.5;
  color: #f6c98a;
}
.auth-status:empty { display: none; }

.auth-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-3);
}
.auth-view[hidden] { display: none; }

.site-footer--slim { padding: 28px 0; }
.site-footer--slim .footer-legal { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer--slim a { color: var(--accent-text); font-weight: 600; }

/* ==========================================================================
   Reveal on scroll (only when JS is running)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .icon, .text-link .icon { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .hero-grid,
  .fleet-layout,
  .contact-layout,
  .tl-card,
  .portal-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 560px; }
  .hero-car { width: 100%; margin: 0 0 -8px; }
  .hero-visual .gap-card { margin-left: 6%; }
  .fleet-layout .section-head { position: static; }
  .fleet-layout,
  .contact-layout { gap: 40px; }
  .tl-card { gap: 32px; padding: 36px; }
  .portal { min-height: 0; }
  .portal-grid { gap: 40px; max-width: 560px; }
  .portal-spot { display: none; }
}

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero-visual .gap-card { margin-left: 0; }
  .fleet-lineup { width: 180%; max-width: none; margin: 44px 0 0 -40%; }
  .gap-card__head .mono { font-size: 11px; letter-spacing: 0.03em; }
  .fleet-lineup .ill-caption { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 116px 0 72px; }
  .hero-lead { font-size: 17.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card,
  .tl-card,
  .auth-card { padding: 24px; }
  .portal-lead,
  .portal-features { display: none; }
  .gap-card { padding: 20px; }
  .logo { font-size: 16px; letter-spacing: 0.14em; }
  .logo svg { width: 22px; height: 22px; }
  .faq summary { font-size: 16.5px; }
  .faq .answer { padding-right: 8px; }
  .form-foot .btn { width: 100%; }
}
