/**
 * Motorol — public frontend design system (Phase 10 / Task 2)
 * B1–B5: tokens, typography, spacing, global resets, buttons & links.
 * Option A palette. Mobile-first from 375px. No build step.
 */

/* =============================================================================
   1. RESET
   ============================================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.motorol {
  margin: 0;
  min-height: 100vh;
}

img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

hr,
.divider {
  border: 0;
  border-top: 1px solid var(--rule);
  height: 0;
  margin: 0;
}

/* =============================================================================
   2. TOKENS — color (B1 Option A)
   ============================================================================= */

:root {
  --ink: #0c0c0d;
  --ink-soft: #3f3f46;
  --muted: #71717a;
  --bg: #fafafa;
  --paper: #ffffff;
  --rule: #e4e4e7;
  --rule-soft: #f4f4f5;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #ffedd5;
  --surface-elevated: #ffffff;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 9999px;

  /* Inline / legacy aliases used across Blade */
  --text: var(--ink);
  --border: var(--rule-soft);
  --surface: var(--paper);
}

/* =============================================================================
   3. TOKENS — typography (B2)
   ============================================================================= */

:root {
  --type-display-xl: clamp(3.5rem, 7.5vw, 8.5rem);
  --type-display-l: clamp(2.5rem, 5vw, 4.5rem);
  --type-display-m: clamp(1.75rem, 3vw, 2.25rem);
  --type-h3: 1rem;
  --type-lead: 1.125rem;
  --type-body: 1rem;
  --type-small: 0.875rem;
  --type-eyebrow: 0.6875rem;
  --type-mono: 0.8125rem;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* =============================================================================
   4. TOKENS — spacing & layout (B3)
   ============================================================================= */

:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 5rem;
  --space-8: 8rem;
  --space-9: 12rem;
  --space-10: 16rem;

  --container-wide: 1600px;
  --container-site: 1320px;
  --container-text: 680px;
  --container-narrow: 520px;

  --gutter-desk: 2.5rem;
  --gutter-mob: 1.25rem;

  /* Legacy section rhythm (maps to tokenized padding) */
  --section-y: clamp(4rem, 8vw, var(--space-8));
}

/* =============================================================================
   5. BASE — html / body / defaults
   ============================================================================= */

body.motorol {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.motorol :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.motorol :focus:not(:focus-visible) {
  outline: none;
}

.motorol a {
  color: var(--accent);
  text-decoration: none;
}

.motorol a:hover {
  color: var(--accent-hover);
}

/* =============================================================================
   6. BASE — headings & display (Fraunces 300 + variable axes)
   ============================================================================= */

.motorol h1,
.motorol h2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--space-3);
}

.motorol h1 {
  line-height: 1.05;
}

.motorol h2:not(.display-m):not(.display-l):not(.display-xl):not(.home-panel__title) {
  font-size: var(--type-display-l);
  line-height: 1.08;
}

.motorol h3 {
  font-family: var(--font-body);
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}

.motorol p {
  margin: 0 0 var(--space-3);
  max-width: var(--container-text);
}

.motorol p:last-child {
  margin-bottom: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-size: var(--type-display-xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lead {
  font-family: var(--font-body);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.motorol-muted {
  color: var(--muted);
}

/* =============================================================================
   7. LAYOUT — containers & sections
   ============================================================================= */

.motorol .container {
  width: 100%;
  max-width: var(--container-site);
  margin-inline: auto;
  padding-inline: var(--gutter-mob);
}

@media (min-width: 768px) {
  .motorol .container {
    padding-inline: var(--gutter-desk);
  }
}

.section--hero-next {
  padding-block-start: clamp(5rem, 10vw, var(--space-9));
}

.home-hero--lean + .section--hero-next {
  /* First band after hero (brand strip): gentle separation */
  padding-block-start: clamp(3rem, 6vw, var(--space-7));
}

/* =============================================================================
   8. COMPONENTS — primary button (B5)
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1rem 1.75rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--type-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn--accent {
  background: var(--accent);
  color: var(--bg);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn:active {
  transform: scale(0.98);
}

/* =============================================================================
   9. COMPONENTS — text link + swipe underline (B5)
   ============================================================================= */

.motorol .link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s cubic-bezier(0.7, 0, 0.2, 1);
  padding-bottom: 2px;
}

.motorol .link:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

.motorol-footer__links a {
  color: var(--muted);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s cubic-bezier(0.7, 0, 0.2, 1), color 0.2s ease;
  padding-bottom: 2px;
}

.motorol-footer__links a:hover {
  color: var(--ink);
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* =============================================================================
   10. COMPONENTS — form fields (contact / compatibility)
   ============================================================================= */

.card--surface {
  background: var(--paper);
  padding: var(--space-5) var(--space-5) var(--space-6);
  border-top: 1px solid var(--rule);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.motorol .form-control,
.motorol textarea.form-control,
.motorol select.form-control {
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.2s ease, border-width 0.2s ease;
}

.motorol .form-control::placeholder,
.motorol textarea.form-control::placeholder {
  color: var(--muted);
  opacity: 1;
}

.motorol .form-control:focus,
.motorol textarea.form-control:focus,
.motorol select.form-control:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}

.motorol .form-control:focus-visible,
.motorol textarea.form-control:focus-visible,
.motorol select.form-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.motorol textarea.form-control {
  min-height: 7.5rem;
  resize: vertical;
}

/* =============================================================================
   12. COMPONENTS — header / nav / footer
   ============================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 4px 24px rgba(12, 12, 13, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-logo__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.site-logo:hover {
  color: var(--accent);
}

.site-logo:hover .site-logo__mark {
  background: var(--accent-hover);
}

/* Nav layout: mobile drawer + desktop row — see Phase 10 block below */

.motorol-footer {
  border-top: 1px solid var(--rule);
  padding: var(--space-7) 0 var(--space-5);
  margin-top: var(--section-y);
  font-size: var(--type-small);
  color: var(--muted);
}

.motorol-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
}

/* =============================================================================
   13. COMPONENTS — alerts
   ============================================================================= */

.motorol-alert {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  background: var(--paper);
  margin-bottom: var(--space-4);
}

.motorol-alert--success {
  border-color: var(--rule);
  background: var(--accent-soft);
  color: var(--ink);
}

.motorol-alert--error {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

/* =============================================================================
   14. COMPONENTS — homepage hero (lean: copy + quote card, no photography)
   ============================================================================= */

.home-hero--lean {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.25rem, 5vw, 3.75rem);
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(234, 88, 12, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.home-hero__layout {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 960px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 19.5rem);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 21rem);
  }
}

.home-hero__copy {
  padding-bottom: var(--space-2);
  max-width: 36rem;
}

.home-hero__aside {
  width: 100%;
  max-width: 23rem;
}

@media (min-width: 960px) {
  .home-hero__aside {
    max-width: none;
    justify-self: end;
  }
}

.home-hero__title {
  margin: 0 0 var(--space-4);
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-panel--quote {
  width: 100%;
  margin: 0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(12, 12, 13, 0.04),
    0 12px 32px -8px rgba(12, 12, 13, 0.1);
}

.home-panel__meta {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.motorol .home-panel__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.15;
  color: var(--ink);
}

.home-panel__lede {
  margin: 0 0 var(--space-3);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.home-panel__engines-only {
  margin: 0 0 var(--space-3);
  font-size: var(--type-small);
  color: var(--ink-soft);
  max-width: none;
}

.quote-form__engines-note {
  margin: 0 0 var(--space-3);
  font-size: var(--type-small);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .motorol .quote-form--hero-layout .quote-form__step--1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-6);
    row-gap: var(--space-4);
    align-items: end;
  }

  .motorol .quote-form--hero-layout .quote-form__step--1 .quote-form__engines-note {
    grid-column: 1 / -1;
    margin-bottom: var(--space-2);
  }

  .motorol .quote-form--hero-layout .quote-form__step--1 .quote-form__id-toggle {
    grid-column: 1 / -1;
  }

  .motorol .quote-form--hero-layout .quote-form__step--1 .quote-form__field:has([name="vehicle_id"]) {
    grid-column: 1;
  }

  .motorol .quote-form--hero-layout .quote-form__step--1 .quote-form__field:has([name="country"]) {
    grid-column: 2;
  }

  .motorol .quote-form--hero-layout .quote-form__step--1 > .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: var(--space-2);
  }
}

.home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  margin: 0 0 var(--space-4);
  font-size: var(--type-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
}

.home-hero__lead {
  margin: 0 0 var(--space-3);
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.home-hero__sublead {
  margin: 0 0 var(--space-4);
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.home-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111827 !important;
  background: var(--accent);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(12, 12, 13, 0.15);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero__btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.25);
}

@media (max-width: 480px) {
  .home-hero__title {
    max-width: 14ch;
  }
}

.home-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: var(--type-small);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.home-hero__btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =============================================================================
   14b. COMPONENTS — brand row (Phase 13)
   ============================================================================= */

.motorol .section.section--brands {
  background: var(--rule-soft);
  padding-block: clamp(2.5rem, 5vw, var(--space-7));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.motorol .brand-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .motorol .brand-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .motorol .brand-row {
    grid-template-columns: repeat(8, 1fr);
  }
}

.motorol .brand-row img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) opacity(0.55);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.motorol .brand-row img:hover {
  filter: grayscale(1) brightness(0) opacity(0.9);
}

.motorol .form-promises {
  margin-block: var(--space-3);
  color: var(--muted);
  font-size: var(--type-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.motorol .eyebrow.form-promises {
  margin-top: 0;
  margin-bottom: var(--space-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--type-eyebrow);
  font-weight: 500;
}

.motorol .quote-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .motorol .quote-bar:not(.quote-bar--panel) {
    grid-template-columns: 2fr 1fr auto;
    align-items: end;
    gap: var(--space-3);
  }
}

.motorol .quote-bar__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.motorol .quote-bar__label {
  color: var(--muted);
}

.motorol .quote-bar:not(.quote-bar--panel) input,
.motorol .quote-bar:not(.quote-bar--panel) select {
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: var(--space-2) 0;
  font-size: 1rem;
  background: transparent;
  border-radius: 0;
  font-family: inherit;
  color: var(--ink);
  width: 100%;
}

.motorol .quote-bar:not(.quote-bar--panel) input:focus,
.motorol .quote-bar:not(.quote-bar--panel) select:focus {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  outline: none;
}

.motorol .quote-bar .btn {
  white-space: nowrap;
}

.motorol .quote-bar__footnote {
  margin-top: var(--space-3);
  font-size: var(--type-small);
  color: var(--muted);
}

.motorol .home-panel--quote .quote-bar {
  margin-top: var(--space-2);
}

.motorol .quote-bar.quote-bar--panel {
  margin-top: var(--space-4);
}

.motorol .quote-bar.quote-bar--panel .quote-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.motorol .quote-bar.quote-bar--panel input,
.motorol .quote-bar.quote-bar--panel select {
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: var(--space-2) 0;
  font-size: 1rem;
  min-height: 0;
  background: transparent;
  transition: border-color 0.15s ease, border-width 0.15s ease;
}

.motorol .quote-bar.quote-bar--panel input:hover,
.motorol .quote-bar.quote-bar--panel select:hover {
  border-bottom-color: rgba(12, 12, 13, 0.35);
}

.motorol .quote-bar.quote-bar--panel input:focus,
.motorol .quote-bar.quote-bar--panel select:focus {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  outline: none;
}

.motorol .quote-bar.quote-bar--panel input:focus-visible,
.motorol .quote-bar.quote-bar--panel select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.motorol .quote-bar.quote-bar--panel .quote-bar__submit {
  width: 100%;
  min-height: 2.75rem;
  padding-inline: var(--space-4);
  justify-content: center;
}

@media (min-width: 640px) {
  .motorol .quote-bar.quote-bar--panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: var(--space-4) var(--space-3);
  }

  .motorol .quote-bar.quote-bar--panel .quote-bar__field:first-of-type {
    grid-column: 1 / -1;
  }

  .motorol .quote-bar.quote-bar--panel .quote-bar__field:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  .motorol .quote-bar.quote-bar--panel .quote-bar__submit {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 10.5rem;
    white-space: nowrap;
  }
}

/* Homepage — engines-only tiles (reference-style category row) */
.home-engine-tiles {
  background: var(--bg);
}

.home-engine-tiles .section__header .lead {
  max-width: 52ch;
}

.home-engine-tiles__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-engine-tiles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-engine-tiles__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-engine-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(12, 12, 13, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-engine-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(12, 12, 13, 0.09);
}

.home-engine-tile__icon {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  background: var(--rule-soft);
  border: 1px solid var(--rule);
}

.home-engine-tile__icon--accent {
  background: var(--accent-soft);
  border-color: rgba(234, 88, 12, 0.35);
}

.home-engine-tile__title {
  margin: 0 0 var(--space-3);
}

.home-engine-tile__text {
  margin: 0;
  font-size: var(--type-small);
  color: var(--ink-soft);
}

.home-engine-tiles__link {
  margin-top: var(--space-6);
}

/* Editorial photography treatment */
.motorol .protocol__img,
.motorol .article-card img,
.motorol .section--network .section__media img,
.motorol .page-hero__media img,
.motorol .page-hero img,
.motorol .card img {
  filter: grayscale(0.85) contrast(1.1) brightness(0.92);
}

.motorol .section--network .section__media img {
  filter: grayscale(0.88) contrast(1.12) brightness(0.48);
}

@media (prefers-reduced-motion: no-preference) {
  .motorol .article-card:hover img,
  .motorol .card:hover img {
    filter: grayscale(0.6) contrast(1.05) brightness(0.95);
    transition: filter 0.6s ease;
  }
}

/* =============================================================================
   15. Phase 10 — display utilities, sections, quote form, grids, motion hairlines
   ============================================================================= */

@property --rule-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

.stats {
  border-top: 1px solid var(--rule);
}

.section--alt {
  background: var(--bg);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--rule);
}

.page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-hero--sav .page-hero__media img {
  aspect-ratio: 2 / 1;
}

.page-hero__inner {
  padding-block: var(--space-7);
}

.story__block {
  position: relative;
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  max-width: var(--container-text);
}

.story__block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}

.story__block .eyebrow {
  margin-bottom: var(--space-3);
}

.story__block h2.display-m {
  margin: 0 0 var(--space-4);
}

.story__block p {
  margin: 0;
  max-width: none;
}

.motorol-quote-success {
  padding-block: var(--space-5);
}

.inner-prose {
  max-width: var(--container-text);
}

.inner-prose h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: var(--type-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.inner-prose h2:first-child {
  margin-top: 0;
}

.inner-prose p {
  margin: 0 0 var(--space-4);
  max-width: none;
}

.inner-prose ul,
.inner-prose ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.35rem;
}

.inner-prose li {
  margin-bottom: var(--space-2);
}

.inner-prose li:last-child {
  margin-bottom: 0;
}

.inner-prose h3.display-m {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.inner-prose h3.display-m:first-child {
  margin-top: 0;
}

.inner-prose .motorol-muted {
  margin: 0 0 var(--space-4);
}

.form-stack {
  margin-top: var(--space-5);
}

.form-stack .form-field {
  margin-bottom: var(--space-4);
}

.form-actions {
  margin-top: var(--space-4);
}

.magazine-back {
  margin-top: var(--space-7);
}

.magazine-grid {
  margin-top: var(--space-6);
}

.magazine-card h2.display-m {
  margin: 0 0 var(--space-3);
}

.magazine-card h2 a {
  color: inherit;
  text-decoration: none;
}

.magazine-card h2 a:hover {
  color: var(--accent);
}

.magazine-card-title {
  font-size: var(--type-body);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.compatibility-alert {
  margin-top: var(--space-4);
}

.compatibility-error {
  color: var(--accent);
  font-size: var(--type-small);
  margin: 0;
}

.pro-grid {
  align-items: start;
}

.pro-card h2 {
  font-size: var(--type-body);
  font-weight: 600;
  margin: 0 0 var(--space-3);
}

.display-xl {
  font-family: var(--font-display);
  font-size: var(--type-display-xl);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.display-l {
  font-family: var(--font-display);
  font-size: var(--type-display-l);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.display-m {
  font-family: var(--font-display);
  font-size: var(--type-display-m);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.motorol h3.display-m {
  font-family: var(--font-display);
  font-size: var(--type-display-m);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--type-mono);
  letter-spacing: 0;
}

.text-center {
  text-align: center;
}

.link--block {
  display: inline-block;
  margin-top: var(--space-5);
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

.container--site {
  max-width: var(--container-site);
}

.motorol .container.container--narrow {
  max-width: var(--container-narrow);
}

.motorol .container.container--text {
  max-width: var(--container-text);
}

.motorol .container.container--site {
  max-width: var(--container-site);
}

.section__header,
.card,
.protocol__step,
.stat,
.faq__item {
  --rule-scale: 1;
  position: relative;
}

.section__header::before,
.card::before,
.protocol__step::before,
.stat::before,
.faq__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
  transform: scaleX(var(--rule-scale));
  transform-origin: left center;
  pointer-events: none;
}

.section--devis .section__header,
.section--devis .display-l,
.section--devis .lead {
  margin-bottom: var(--space-4);
}

.quote-form__product,
.quote-form__client-type {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-5);
}

.quote-form__product legend,
.quote-form__client-type legend {
  margin-bottom: var(--space-3);
}

.quote-form__product label,
.quote-form__client-type label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--type-body);
  color: var(--ink-soft);
}

.quote-form__product label.is-disabled,
.quote-form__product .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.badge {
  display: inline-block;
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-body);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.quote-form__id-toggle {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--rule-soft);
}

.quote-form__tab {
  margin: 0;
  padding: var(--space-2) 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--type-small);
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.quote-form__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select {
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: var(--space-3) 0;
  font-size: 1rem;
  background: transparent;
  width: 100%;
  font-family: inherit;
  color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}

.quote-form input:focus-visible,
.quote-form select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.quote-form__label {
  display: block;
  margin-bottom: var(--space-2);
}

.quote-form__field + .quote-form__field {
  margin-top: var(--space-5);
}

.quote-form__step {
  margin-bottom: var(--space-6);
}

.quote-form__consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  font-size: var(--type-body);
  color: var(--ink-soft);
}

.quote-form__consent input {
  margin-top: 0.35rem;
}

.quote-form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.quote-promises {
  list-style: none;
  margin: 0 0 var(--space-7);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.spec-list {
  margin: var(--space-4) 0 0;
  font-size: var(--type-small);
  color: var(--ink-soft);
}

.spec-list dt {
  font-weight: 600;
  margin-top: var(--space-3);
  color: var(--ink);
}

.spec-list dt:first-child {
  margin-top: 0;
}

.spec-list dd {
  margin: var(--space-1) 0 0;
}

.is-hidden {
  display: none !important;
}

.stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .stats__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding-top: var(--space-4);
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-display-m);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .motorol .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section__header {
  margin-bottom: var(--space-6);
  max-width: var(--container-text);
}

.card {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.card .eyebrow {
  margin-bottom: var(--space-3);
}

.card h3.display-m {
  margin: 0 0 var(--space-4);
}

.card p {
  margin: 0 0 var(--space-5);
  max-width: none;
}

.grid--services {
  align-items: start;
}

.card--service .card__media {
  margin-bottom: var(--space-4);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.card--service .card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section--services .link {
  color: var(--accent);
}

.protocol__step {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7);
}

@media (min-width: 900px) {
  .protocol__step {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "body img" "num img";
    align-items: start;
  }

  .protocol__num {
    grid-area: num;
  }

  .protocol__body {
    grid-area: body;
  }

  .protocol__img {
    grid-area: img;
  }
}

.protocol__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--muted);
  line-height: 1;
}

.protocol__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.section--quotes .quote__text {
  font-family: var(--font-display);
  font-size: var(--type-display-m);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 50, "WONK" 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--ink);
}

.section--quotes .quote figcaption {
  color: var(--muted);
}

.article-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: var(--space-4);
}

.article-card .eyebrow {
  margin-bottom: var(--space-2);
}

.article-card h3.display-m {
  margin: 0 0 var(--space-3);
}

.article-card p {
  margin: 0 0 var(--space-4);
  max-width: none;
}

.faq__q {
  font-family: var(--font-display);
  font-size: var(--type-display-m);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  cursor: pointer;
  list-style: none;
  padding-right: var(--space-6);
  position: relative;
  color: var(--ink);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::marker {
  content: "";
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  margin-top: var(--space-3);
  font-size: var(--type-body);
  color: var(--ink-soft);
  max-width: none;
}

.section--network {
  position: relative;
  isolation: isolate;
  color: var(--bg);
  min-height: 28rem;
}

.section--network .section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section--network .section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section--network .section__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.7) 100%);
  pointer-events: none;
}

.section--network__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-9);
}

.section--network__inner .section__header,
.section--network__inner p {
  color: var(--bg);
}

.section--network__inner .eyebrow {
  color: rgba(242, 239, 232, 0.85);
}

.network__list {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
}

.network__list li {
  border-top: 1px solid rgba(242, 239, 232, 0.2);
  padding-block: var(--space-3);
}

.section--cta {
  background: var(--ink);
  color: var(--bg);
  padding-block: var(--space-9);
}

.section--cta .display-l,
.section--cta .lead {
  color: var(--bg);
}

.section--cta .btn--accent {
  margin-top: var(--space-5);
}

/* Header / nav (Task 6) */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule-soft);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

@media (min-width: 900px) {
  .nav-toggle,
  .nav-close,
  .motorol-nav-backdrop {
    display: none !important;
  }
}

.motorol-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.motorol-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 899px) {
  body.motorol-nav-open {
    overflow: hidden;
  }

  .motorol-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
    width: min(22rem, 88vw);
    max-width: none;
    max-height: none !important;
    margin: 0;
    padding: var(--space-8) var(--space-5) var(--space-6);
    background: var(--bg);
    box-shadow: -12px 0 48px rgba(17, 17, 17, 0.12);
    font-size: var(--type-display-m);
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.15;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    opacity: 1;
  }

  .motorol-nav.is-open {
    transform: translateX(0);
    margin-top: 0;
    padding-bottom: var(--space-6);
  }

  .motorol-nav .link {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    padding-block: var(--space-2);
  }

  .motorol-nav .btn--nav {
    margin-top: var(--space-3);
    text-align: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: var(--type-eyebrow);
    font-weight: 600;
  }
}

.nav-close {
  align-self: flex-end;
  margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) var(--space-2) 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
}

.nav-close:hover {
  color: var(--ink);
}

@media (min-width: 900px) {
  .motorol-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2) var(--space-4);
    width: auto;
    margin-inline-start: auto;
    font-size: var(--type-small);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: inherit;
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    max-height: none;
    overflow: visible;
    opacity: 1;
  }

  .motorol-nav .link {
    font-size: var(--type-small);
    font-family: var(--font-body);
    font-weight: 400;
    padding-block: 0;
  }

  .motorol-nav .btn--nav {
    margin-top: 0;
  }
}

.motorol-nav .link {
  color: var(--ink-soft);
}

.motorol-nav .link:hover {
  color: var(--accent);
}

.btn--nav {
  padding: 0.65rem 1.25rem;
  font-size: var(--type-eyebrow);
}

.motorol .motorol-nav__phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: var(--space-4);
}

@media (min-width: 1024px) {
  .motorol .motorol-nav__phone {
    display: inline-flex;
  }
}

.motorol .motorol-nav__phone-icon {
  font-size: 1rem;
  color: var(--accent);
}

.motorol .motorol-nav__phone:hover {
  color: var(--accent);
}

.motorol .sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 1px;
  background: var(--rule);
  box-shadow: 0 -1px 0 var(--rule);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.motorol .sticky-cta.is-visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .motorol .sticky-cta {
    display: none;
  }
}

.motorol.is-quote-page .sticky-cta {
  display: none;
}

.motorol .sticky-cta__button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
}

.motorol .sticky-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.125rem;
  text-decoration: none;
}

.motorol .sticky-cta__button:hover {
  background: var(--accent);
}

/* Footer dark */
.motorol-footer--dark {
  background: var(--ink);
  color: rgba(242, 239, 232, 0.75);
  border-top: 0;
  margin-top: 0;
  padding-block: var(--space-9) var(--space-6);
}

.motorol-footer--dark .eyebrow {
  color: rgba(242, 239, 232, 0.85);
}

.motorol-footer--dark .footer-brand {
  color: rgba(242, 239, 232, 0.95);
}

.motorol-footer--dark .display-m {
  color: rgba(242, 239, 232, 0.95);
}

.motorol-footer--dark a {
  color: rgba(242, 239, 232, 0.7);
}

.motorol-footer--dark a:hover {
  color: var(--bg);
}

.motorol-footer--dark .motorol-footer__links a {
  color: rgba(242, 239, 232, 0.7);
  background-image: linear-gradient(currentColor, currentColor);
}

.motorol-footer--dark .motorol-footer__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(242, 239, 232, 0.15);
  font-size: var(--type-small);
}

.motorol-footer__grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .motorol-footer__grid {
    grid-template-columns: 1.2fr repeat(4, 1fr);
  }
}

.motorol-footer__col {
  border-top: 1px solid rgba(242, 239, 232, 0.15);
  padding-top: var(--space-4);
}

@media (min-width: 768px) {
  .motorol-footer__col {
    border-top: 0;
    padding-top: 0;
    border-inline-start: 1px solid rgba(242, 239, 232, 0.15);
    padding-inline-start: var(--space-4);
  }

  .motorol-footer__col--brand {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.motorol-footer__bio {
  margin-top: var(--space-3);
  font-size: var(--type-small);
  line-height: 1.55;
  max-width: 36ch;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-small);
}

.lang-switch .badge {
  border-color: rgba(242, 239, 232, 0.25);
  color: rgba(242, 239, 232, 0.65);
}

.motorol-footer--dark .motorol-footer__col .motorol-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.motorol-footer--dark .motorol-footer__col p {
  margin: var(--space-3) 0 0;
  font-size: var(--type-small);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .motorol-nav {
    transition: none;
  }
}

/* =============================================================================
   20. Homepage v2 — sections
   ============================================================================= */

.home-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  box-shadow:
    0 1px 3px rgba(12, 12, 13, 0.06),
    0 20px 50px -20px rgba(12, 12, 13, 0.12);
}

.section--devis.section--paper {
  background: transparent;
}

.home-stats {
  background: var(--ink);
  color: #fafafa;
  border-top: 0;
  padding-block: clamp(2.75rem, 6vw, var(--space-8));
}

.home-stats .stats {
  border-top: 0;
}

.home-stats .stat__number {
  color: #fff;
}

.home-stats .eyebrow {
  color: rgba(250, 250, 250, 0.65);
}

.home-stats .stat::before {
  background: rgba(255, 255, 255, 0.18);
}

.home-services .card--service {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 8px 30px rgba(12, 12, 13, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-services .card--service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(12, 12, 13, 0.1);
}

.home-services .card--service::before {
  display: none;
}

.home-protocol .protocol__step {
  border-left: 4px solid var(--accent);
  padding-left: var(--space-5);
  margin-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left-width: 4px;
  box-shadow: 0 8px 28px rgba(12, 12, 13, 0.05);
}

.home-protocol .protocol__step::before {
  display: none;
}

.home-why .card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  padding: var(--space-5) 0 0;
  box-shadow: none;
}

.home-why .card::before {
  display: none;
}

.section--quotes.home-quotes {
  background: linear-gradient(180deg, #18181b 0%, #0c0c0d 100%);
  color: #fafafa;
}

.section--quotes.home-quotes .section__header .eyebrow {
  color: rgba(250, 250, 250, 0.55);
}

.section--quotes.home-quotes .quote__text {
  color: #fafafa;
}

.section--quotes.home-quotes .quote figcaption {
  color: rgba(250, 250, 250, 0.55);
}

.section--quotes.home-quotes .section__header::before {
  display: none;
}

.home-protocol .protocol {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-mag .article-card a {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-mag .article-card a:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(12, 12, 13, 0.08);
}

.home-mag .article-card img {
  border-radius: 0;
}

.home-mag .article-card a > *:not(:first-child) {
  padding-inline: var(--space-4);
}

.home-mag .article-card a > *:last-child {
  padding-bottom: var(--space-5);
}

.home-faq .faq {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

.home-faq .faq__item::before {
  display: none;
}

.home-faq .faq__item {
  border-color: var(--rule);
}

.section--cta.home-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #c2410c 50%, var(--ink) 100%);
  color: #fff;
}

.section--cta.home-cta .display-l,
.section--cta.home-cta .lead {
  color: #fff;
}

.section--cta.home-cta .btn--accent {
  background: #fff;
  color: var(--accent-hover);
}

.section--cta.home-cta .btn--accent:hover {
  background: var(--rule-soft);
  color: var(--ink);
}

@media (min-width: 900px) {
  .motorol-nav .link {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .motorol-nav .link:hover {
    background: var(--rule-soft);
    color: var(--ink);
  }
}

.nav-toggle {
  border-radius: var(--radius-md);
  border-color: var(--rule);
}

@media (max-width: 899px) {
  .motorol-nav {
    font-weight: 600;
  }
}

/* =============================================================================
   Phase 15 — GPA26 reference gap closure (trust strip, services, testimonials,
   SEO prose, footer payments, hero overlay)
   ============================================================================= */

.motorol .home-trust-features {
  background: var(--ink);
  color: var(--bg);
  padding-block: var(--space-6);
}

.motorol .trust-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 640px) {
  .motorol .trust-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .motorol .trust-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.motorol .trust-features__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.motorol .trust-features__icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.motorol .trust-features__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-size: 1.125rem;
  margin: 0;
  color: var(--bg);
}

.motorol .trust-features__sub {
  font-size: 0.8125rem;
  color: rgba(242, 239, 232, 0.7);
  margin: var(--space-1) 0 0;
}

.motorol .service-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.motorol .service-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--space-4);
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.4s ease;
  border-radius: var(--radius-md);
}

.motorol .service-card:hover .service-card__image {
  filter: grayscale(0.55) contrast(1.08);
}

.motorol .service-card__image--about {
  background-image: url("/assets/images/stock/about-hero.jpg");
}

.motorol .service-card__image--delivery {
  background-image: url("/assets/images/stock/network.jpg");
}

.motorol .service-card__image--how-we-test {
  background-image: url("/assets/images/stock/test-page-hero.jpg");
}

.motorol .service-card__image--magazine {
  background-image: url("/assets/images/stock/mag-3-scrap.jpg");
}

.motorol .service-card h3 {
  margin: 0 0 var(--space-3);
}

.motorol .service-card p {
  margin: 0 0 var(--space-3);
  color: var(--ink-soft);
}

.motorol .services-grid {
  align-items: stretch;
}

.motorol .quote__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.motorol .section--quotes.home-quotes .section__header .display-l {
  color: #fafafa;
}

.motorol .home-quotes .grid.grid--4 > .quote {
  margin: 0;
  padding: var(--space-5);
  border: 1px solid rgba(250, 250, 250, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.motorol .section--quotes.home-quotes .quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 120, "SOFT" 50, "WONK" 0;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #fafafa;
  margin: 0 0 var(--space-3);
}

@media (min-width: 1024px) {
  .motorol .section--quotes.home-quotes .quote__text {
    font-size: 1.25rem;
  }
}

.motorol .prose p {
  margin: 0 0 var(--space-4);
}

.motorol .prose p:last-child {
  margin-bottom: 0;
}

.motorol .home-seo-prose {
  background: var(--bg);
}

.motorol .home-seo-prose .prose {
  max-width: 65ch;
}

.motorol .home-panel--quote .eyebrow {
  margin-top: 0;
  margin-bottom: var(--space-2);
  color: var(--muted);
}

.inner-prose .counsel-placeholder {
  color: var(--muted);
  font-style: italic;
}

.motorol .footer-payments {
  padding-block: var(--space-5);
  border-top: 1px solid rgba(242, 239, 232, 0.15);
}

.motorol .footer-payments .eyebrow {
  color: rgba(242, 239, 232, 0.75);
}

.motorol .footer-payments__list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: rgba(242, 239, 232, 0.65);
  font-size: 0.875rem;
}

.motorol .home-mag__grid {
  gap: var(--space-5);
}

@media (min-width: 1024px) {
  .motorol .home-mag__grid.grid--4 {
    gap: var(--space-4);
  }
}

