/* NexaFix website
   Colours (owner's palette, 2026-10-13):
     Nexa Deep Navy B  #010B40   dark sections, header, footer, text on light areas
     Nexa Cyan B       #00F5FF   highlights on navy: buttons, icons, headline accents
     Nexa Energy Blue B #2684FF  highlights on white: icons, large accents, map pins
     Nexa Beige B      #F7F7F2   cards and text areas on white; text on navy
   Plus white for open page areas, and a few shades made from these four
   (see "Shades" below). The site looks the same whatever the visitor's
   phone is set to (light or dark mode).
   Each section picks .t-light (white) or .t-dark (navy). */

:root {
  --navy: #010B40;
  --cyan: #00F5FF;
  --blue: #2684FF;
  --beige: #F7F7F2;
  --white: #FFFFFF;
  /* Shades made from the palette */
  --blue-ink: #1766DE;   /* Energy Blue, a little deeper: small text and links on white stay readable */
  --navy-2: #051753;     /* navy with 10% Energy Blue: second dark band */
  --navy-3: #071E5F;     /* navy with 16% Energy Blue: cards on navy */
  --navy-4: #0A286E;     /* navy with 24% Energy Blue: raised cards, hovers */
  --cyan-soft: #7FFAFF;  /* cyan with white: button hover on navy */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.t-light {
  color-scheme: light;
  --bg: var(--white); --bg-2: var(--beige);
  --surface: var(--beige); --surface-2: #EEEEE8;
  --fg: var(--navy); --muted: #52597D;
  --border: rgba(1, 11, 64, .10); --border-strong: rgba(1, 11, 64, .2);
  --accent: var(--blue-ink); --accent-big: var(--blue); --icon: var(--blue);
  --tint: rgba(38, 132, 255, .1);
  --dot: rgba(1, 11, 64, .12);
  --shadow: 0 1px 2px rgba(1, 11, 64, .05), 0 16px 36px -18px rgba(1, 11, 64, .28);
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-hover: var(--navy-4); --btn-glow: rgba(1, 11, 64, .35);
  --soon-bg: rgba(38, 132, 255, .12); --soon-fg: var(--blue-ink);
  --focus: var(--blue);
}
.t-dark {
  color-scheme: dark;
  --bg: var(--navy); --bg-2: var(--navy-2);
  --surface: var(--navy-3); --surface-2: var(--navy-4);
  --fg: var(--beige); --muted: #B2B5C0;
  --border: rgba(247, 247, 242, .11); --border-strong: rgba(247, 247, 242, .22);
  --accent: var(--cyan); --accent-big: var(--cyan); --icon: var(--cyan);
  --tint: rgba(0, 245, 255, .1);
  --dot: rgba(247, 247, 242, .1);
  --shadow: 0 20px 44px -20px rgba(0, 0, 0, .65);
  --btn-bg: var(--cyan); --btn-fg: var(--navy); --btn-hover: var(--cyan-soft); --btn-glow: rgba(0, 245, 255, .45);
  --soon-bg: rgba(0, 245, 255, .12); --soon-fg: var(--cyan);
  --focus: var(--cyan);
}
.t-light, .t-dark { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--beige); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.015em; font-weight: 700; }
p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--blue)); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type & shared pieces ---------- */
.section { padding: 112px 0; position: relative; }
.sec-head { max-width: 660px; margin-bottom: 48px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.h2 span { display: block; color: var(--accent-big); }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.fine { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 820px; }
.soon { display: inline-block; font: 600 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--soon-bg); color: var(--soon-fg); vertical-align: middle; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg, var(--cyan)); color: var(--btn-fg, var(--navy)); font: 600 15.5px/1 var(--font-body);
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--btn-hover, var(--cyan-soft)); box-shadow: 0 10px 28px -10px var(--btn-glow, rgba(0, 245, 255, .45)); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-light { background: var(--beige); color: var(--navy); }
.btn-light:hover { background: var(--white); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn-ghost:hover { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--icon); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.ticks .i { width: 18px; height: 18px; margin-top: 1px; color: var(--icon); stroke-width: 2.4; }

/* ---------- 01 Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  background: rgba(1, 11, 64, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(247, 247, 242, .08); color: var(--beige);
  transition: background .3s, border-color .3s;
}
.site-header.at-top { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; }
.brand img { height: 26px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a:not(.btn) { position: relative; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: #C6C8CE; text-decoration: none; white-space: nowrap; transition: color .2s; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="true"] { color: var(--white); }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-only-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid rgba(247, 247, 242, .2); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(247, 247, 242, .08); border-color: rgba(0, 245, 255, .5); }
.menu-btn { display: none; }

/* ---------- 02 Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(860px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 64px) 0 56px; }
.hero-media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 66%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--navy) 0%, rgba(1, 11, 64, .82) 20%, rgba(1, 11, 64, .25) 48%, rgba(1, 11, 64, 0) 70%),
  linear-gradient(180deg, rgba(1, 11, 64, .75) 0%, rgba(1, 11, 64, 0) 24%, rgba(1, 11, 64, 0) 72%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; left: -10%; top: 15%; width: 65%; height: 80%; background: radial-gradient(closest-side, rgba(38, 132, 255, .22), transparent); pointer-events: none; }
.hero-inner { position: relative; }
.hero h1 { max-width: 860px; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.025em; color: var(--white); }
.hero h1 span { display: block; color: var(--cyan); }
.hero-sub { margin-top: 22px; max-width: 540px; font-size: 18.5px; line-height: 1.6; color: #C6C8CE; }
.hero-place { position: absolute; right: 24px; top: -24px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: rgba(1, 11, 64, .55); border: 1px solid rgba(247, 247, 242, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; line-height: 1.4; color: #C6C8CE; }
.hero-place .i { color: var(--cyan); width: 18px; height: 18px; margin-top: 1px; }
.hero-place b { display: block; color: var(--white); font-weight: 600; }

.search { position: relative; z-index: 20; margin-top: 34px; display: flex; align-items: center; gap: 10px; max-width: 640px; height: 66px; padding: 8px 8px 8px 22px; background: var(--white); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(247, 247, 242, .14); }
.search > .i { color: #52597D; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 16px; }
.search input::placeholder { color: #6B7194; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search .btn { height: 50px; border-radius: 12px; padding: 0 26px; }
.search:focus-within { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 3px rgba(0, 245, 255, .6); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: 400px; overflow: auto; padding: 8px; background: var(--white); color: var(--navy); border-radius: 16px; box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .65); }
.suggest[hidden] { display: none; }
.suggest li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--beige); }
.suggest .s-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(38, 132, 255, .1); color: var(--blue); }
.suggest .s-ic .i { width: 18px; height: 18px; }
.suggest .s-label { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.suggest .s-sub { display: block; font-size: 12.5px; color: #52597D; line-height: 1.35; }
.suggest .s-type { font-size: 11.5px; font-weight: 600; color: #52597D; background: var(--beige); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.suggest .s-head { display: block; padding: 8px 10px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #52597D; cursor: default; }
.suggest .s-head:hover { background: none; }
.suggest .s-empty { display: block; padding: 14px 12px; font-size: 14px; color: #52597D; cursor: default; }
.suggest .s-empty:hover { background: none; }

.quick { margin-top: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1040px; overflow: hidden; background: rgba(1, 11, 64, .62); border: 1px solid rgba(247, 247, 242, .12); border-radius: 18px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.quick a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; border-left: 1px solid rgba(247, 247, 242, .09); transition: background .2s; }
.quick a:first-child { border-left: 0; }
.quick a:hover { background: rgba(0, 245, 255, .06); }
.q-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--cyan); background: rgba(0, 245, 255, .08); border: 1px solid rgba(0, 245, 255, .32); }
.q-ic .i { width: 18px; height: 18px; }
.quick b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--white); }
.quick small { display: block; margin-top: 2px; font-size: 12px; color: #B2B5C0; line-height: 1.3; }

/* ---------- 03 The Living Network ---------- */
.network-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.points { display: grid; gap: 18px; margin: 32px 0 36px; }
.points li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.points b { color: var(--fg); font-weight: 600; }
.pt-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--icon); }
.eco { padding: 28px 0; }
.eco-stage { position: relative; aspect-ratio: 6 / 5; max-width: 640px; margin: 0 auto; }
.eco-stage::before { content: ""; position: absolute; inset: 4% 2%; border-radius: 50%; background: radial-gradient(circle, var(--dot) 1.2px, transparent 1.7px) 0 0 / 18px 18px; -webkit-mask: radial-gradient(closest-side, #000 35%, transparent); mask: radial-gradient(closest-side, #000 35%, transparent); }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-ring { fill: none; stroke: var(--border-strong); stroke-width: 1.2; stroke-dasharray: 2 7; }
.eco-ring.inner { stroke: var(--border); stroke-dasharray: none; }
.eco-base path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.eco-flow path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 93; animation: flow 3.4s linear infinite; animation-delay: var(--d); }
.eco-flow path.rev { animation-direction: reverse; }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.hub { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, var(--navy-4), var(--navy) 72%); box-shadow: 0 0 0 10px rgba(38, 132, 255, .12), 0 0 0 22px rgba(38, 132, 255, .06), 0 24px 50px -16px rgba(1, 11, 64, .6); }
.hub img { width: 54%; height: auto; }
.hub::before, .hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(38, 132, 255, .55); animation: pulse 3.6s var(--ease) infinite; }
.hub::after { animation-delay: 1.8s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 7px 15px 7px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; }
.n-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cyan); }
.n-ic .i { width: 16px; height: 16px; }

/* ---------- 04 Quick action categories ---------- */
.explore { background: radial-gradient(80% 60% at 85% 0%, rgba(38, 132, 255, .2), transparent 60%), var(--bg); }
.tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.task { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.task::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 245, 255, .14), transparent); pointer-events: none; }
.task:hover { transform: translateY(-4px); border-color: rgba(0, 245, 255, .4); }
.task-img { position: relative; margin: -28px -24px 4px; height: 160px; overflow: hidden; }
.task-img img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .95; }
.task-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--bg-2) 100%); }
.task-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--cyan); background: rgba(0, 245, 255, .08); border: 1px solid rgba(0, 245, 255, .26); }
.task-ic .i { width: 24px; height: 24px; }
.task h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; font-size: 22px; color: var(--white); }
.task > p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.task .ticks { margin: 2px 0 10px; }
.task .btn { margin-top: auto; align-self: flex-start; }

/* ---------- 05 Nexa Map ---------- */
.map-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; height: 620px; }
.map-panel { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.panel-top { display: grid; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--border); }
.field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); color: var(--muted); }
.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 15px; }
.field input::placeholder { color: var(--muted); opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--fg); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--border-strong); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot.dc { background: var(--blue); }
.dot.ac { background: var(--navy); box-shadow: 0 0 0 2px var(--cyan) inset; }
.chip[aria-pressed="true"] .dot.ac { box-shadow: 0 0 0 1.5px var(--white); }
.soon-chips { gap: 6px; }
.chip.is-soon { height: 28px; padding: 0 9px; gap: 5px; font-size: 12.5px; cursor: default; color: var(--muted); border-style: dashed; background: transparent; }
.chip.is-soon .i { width: 14px; height: 14px; }
.chip.is-soon small { font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--soon-fg); background: var(--soon-bg); padding: 2px 6px; border-radius: 999px; }
.st-count { padding: 12px 18px 4px; font-size: 13px; color: var(--muted); }
/* Key for the icon colours (same colours as the map pins) */
.st-key { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 4px 18px 12px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.st-key li { display: inline-flex; align-items: center; gap: 7px; }
.st-key .st-ic { width: 22px; height: 22px; border-radius: 7px; }
.st-key .st-ic svg { width: 12px; height: 12px; }
.st-list { flex: 1; min-height: 0; overflow: auto; padding: 4px 8px 10px; }
.st { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background .15s; }
.st:hover { background: var(--surface-2); }
.st[aria-current="true"] { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--blue); }
.st-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--white); color: var(--navy); border: 1px solid var(--border-strong); }
.st-ic svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.stc-head .st-ic svg { width: 22px; height: 22px; }
.st-ic.dc { background: var(--blue); color: var(--white); border-color: var(--blue); }
.st-ic.ac { background: var(--navy); color: var(--cyan); border-color: var(--navy); }
.st-name { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.st-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.st-badge { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: var(--white); color: var(--muted); border: 1px solid var(--border); }
.st-badge.dc { color: var(--blue-ink); border-color: rgba(38, 132, 255, .4); background: rgba(38, 132, 255, .08); }
.st-badge.ac { color: var(--navy); border-color: rgba(1, 11, 64, .3); background: rgba(1, 11, 64, .05); }
.st-empty { padding: 24px 12px; text-align: center; color: var(--muted); font-size: 14px; }
.st-empty button { margin-top: 10px; }

.map-col { position: relative; min-height: 0; }
.map-stage { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #E9EAEE; }
#leaflet { position: absolute; inset: 0; background: #E9EAEE; font: inherit; }
.leaflet-container { font-family: var(--font-body); }
/* Calm grey map so the blue and navy pins stand out. */
.leaflet-tile-pane { filter: grayscale(.9) contrast(.94) brightness(1.04); }
.leaflet-container .leaflet-control-attribution a { color: var(--blue-ink); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #52597D; font-size: 15px; }
.pin-wrap { background: none; border: 0; }
.pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--beige); color: var(--navy); border: 3px solid var(--white); box-shadow: 0 6px 16px -4px rgba(1, 11, 64, .55); transition: transform .2s var(--ease); }
.pin svg { width: 15px; height: 15px; fill: currentColor; }
.pin.dc { background: var(--blue); color: var(--white); }
.pin.ac { background: var(--navy); color: var(--cyan); }
.pin.sel { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(38, 132, 255, .35), 0 8px 20px -4px rgba(1, 11, 64, .55); }
.leaflet-marker-icon:focus-visible .pin { outline: 3px solid var(--navy); outline-offset: 2px; }

.st-card { position: absolute; z-index: 800; top: 16px; right: 16px; width: 330px; max-height: calc(100% - 32px); overflow: auto; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 24px 50px -20px rgba(1, 11, 64, .45); }
.st-card[hidden] { display: none; }
.stc-head { display: flex; gap: 12px; align-items: flex-start; }
.stc-head img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.stc-head .st-ic { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.stc-title { flex: 1; min-width: 0; }
.stc-title h3 { font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.stc-title p { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.stc-close { flex: none; width: 32px; height: 32px; margin: -6px -6px 0 0; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.stc-close:hover { background: var(--surface-2); color: var(--fg); }
.stc-close .i { width: 18px; height: 18px; }
.stc-rating { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.stc-rating b { color: var(--fg); }
.stc-rating svg { width: 16px; height: 16px; fill: var(--blue); }
.stc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stc-facts dt { font-size: 12px; color: var(--muted); }
.stc-facts dd { font-size: 14px; font-weight: 600; line-height: 1.35; }
.stc-facts dd.nl { color: var(--muted); font-weight: 500; }
.stc-note { margin-top: 12px; font-size: 13.5px; color: var(--fg); }
.stc-approx { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.stc-actions { display: flex; gap: 10px; margin-top: 16px; }
.stc-actions .btn { flex: 1; }

/* ---------- 06 Your vehicle ---------- */
.vehicle { background: radial-gradient(70% 70% at 0% 100%, rgba(38, 132, 255, .18), transparent 60%), var(--bg); }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.vehicle .h2 { color: var(--white); }
.no-signin { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 32px; padding: 14px 16px; max-width: 520px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.no-signin .i { color: var(--cyan); margin-top: 1px; }
.vmock { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vmock figcaption { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.vcard { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.vcard-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.vcard-head b { font-weight: 600; }
.tag-example { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: var(--soon-fg); background: var(--soon-bg); }
.vcar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 16px; padding: 12px; border-radius: 14px; background: rgba(247, 247, 242, .04); border: 1px solid var(--border); }
.vcar-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--cyan); }
.vcar b { display: block; font-size: 16px; font-family: var(--font-display); font-weight: 600; }
.vcar small { display: block; font-size: 12.5px; color: var(--muted); }
.ok-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--cyan); background: var(--tint); padding: 5px 10px; border-radius: 999px; }
.ok-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.vstats { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 18px; }
.gauge { position: relative; width: 116px; height: 116px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: rgba(247, 247, 242, .1); stroke-width: 10; }
.gauge circle.val { stroke: var(--cyan); stroke-linecap: round; }
.gauge > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge b { font: 700 26px/1 var(--font-display); }
.gauge small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.vstats dl { display: grid; gap: 12px; }
.vstats dt { font-size: 12px; color: var(--muted); }
.vstats dd { font-size: 15px; font-weight: 600; }
.vactions { display: grid; gap: 4px; }
.vactions .vcard-head { margin-bottom: 8px; }
.vactions > span { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-size: 14.5px; font-weight: 500; border-top: 1px solid var(--border); }
.vactions > span .i:first-child { color: var(--cyan); }
.vactions .chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }

/* ---------- 07 Marketplace ---------- */
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.sec-row .sec-head { margin-bottom: 0; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-4px); }
.cat-art { position: relative; height: 140px; display: grid; place-items: center; color: var(--cyan); background:
  radial-gradient(circle at 50% 125%, rgba(38, 132, 255, .6), transparent 70%),
  linear-gradient(180deg, var(--navy-2), var(--navy)); }
.cat-art::before { content: ""; position: absolute; width: 88px; height: 88px; border-radius: 26px; background: rgba(247, 247, 242, .06); border: 1px solid rgba(0, 245, 255, .28); }
.cat-art .i { position: relative; width: 38px; height: 38px; stroke-width: 1.6; }
.cat-art.has-photo { height: auto; aspect-ratio: 3 / 2; display: block; background: var(--navy); }
.cat-art.has-photo::before { display: none; }
.cat-art.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-body { padding: 20px 20px 22px; }
.cat h3 { font-size: 19px; }
.cat p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.grades { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.grades-title { font-weight: 600; font-size: 15px; }
.grades ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.grades li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.grades li b { display: block; color: var(--fg); }
.grades li i { flex: none; width: 11px; height: 11px; margin-top: 6px; border-radius: 50%; }
.g-genuine { background: var(--blue); }
.g-oem { background: var(--navy); }
.g-after { background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }

/* ---------- 08 Community ---------- */
.community { padding-top: 0; }
.community-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: var(--beige); border: 1px solid var(--border); }
.community .lead { margin-bottom: 32px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.topics-title { grid-column: 1 / -1; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.topic { display: grid; gap: 6px; padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border); }
.topic .i { color: var(--icon); width: 22px; height: 22px; margin-bottom: 6px; }
.topic b { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.topic span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- 09 Resources ---------- */
.resources { padding-top: 0; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.guide-img { display: block; margin: -28px -28px 22px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--navy); }
.guide-img img { display: block; width: 100%; height: auto; }
.guide-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); }
.guide-tag { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.guide h3 { margin-top: 8px; font-size: 21px; line-height: 1.25; }
.guide p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- 10 Partners ---------- */
.partners { background:
  linear-gradient(rgba(0, 245, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, rgba(0, 245, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
  radial-gradient(60% 80% at 100% 50%, rgba(38, 132, 255, .22), transparent 70%), var(--navy); }
.partners .h2 { color: var(--white); }
.partners-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.partners .ticks { margin: 28px 0 34px; }
.ticks.big li { font-size: 16px; }
.ptypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ptypes li { display: grid; gap: 14px; align-content: start; padding: 20px 18px; min-height: 128px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 15px; line-height: 1.35; }
.ptypes .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--cyan); background: var(--tint); }

/* ---------- 11 Trust ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.principle { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.pr-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cyan); }
.principle h3 { margin-top: 18px; font-size: 18px; }
.principle p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.principle a { color: var(--accent); font-weight: 600; }
.stories { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 22px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--border-strong); color: var(--muted); }
.stories > .i { width: 28px; height: 28px; color: var(--icon); }
.stories p { flex: 1 1 320px; font-size: 15.5px; }

/* ---------- 12 Final CTA ---------- */
.final { overflow: hidden; isolation: isolate; background: radial-gradient(70% 90% at 80% 100%, rgba(38, 132, 255, .28), transparent 60%), var(--bg); }
.final .h2 { color: var(--white); }
.trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.trails .tr { fill: none; stroke-width: 2; }
.trails .tr.thin { stroke-width: 1; }
.trails .tr-run { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 70 930; opacity: .9; animation: run 9s linear infinite; animation-delay: var(--d); filter: drop-shadow(0 0 6px rgba(0, 245, 255, .8)); }
.trails .tr-run.white { stroke: var(--beige); opacity: .6; filter: drop-shadow(0 0 6px rgba(247, 247, 242, .7)); }
@keyframes run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: center; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.direct .i { color: var(--cyan); }
.direct a { color: var(--fg); font-weight: 600; }
.form-card { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: rgba(7, 30, 95, .82); border: 1px solid var(--border-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.form-card label small { font-weight: 400; opacity: .8; }
.form-card input:not([type="radio"]), .form-card textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: rgba(1, 11, 64, .6); color: var(--fg); font-size: 15px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--tint); }
.form-card textarea::placeholder { color: #8A8FA8; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.roles legend { width: 100%; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.roles label { display: block; position: relative; }
.roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roles span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--fg); font-size: 13.5px; transition: background .2s, border-color .2s; }
.roles input:checked + span { background: var(--tint); border-color: var(--cyan); color: var(--cyan); }
.roles input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- 13 Footer & 14 Brand signature ---------- */
.site-footer { background: var(--navy); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.f-brand img { height: 28px; width: auto; }
.f-brand p { margin: 18px 0 16px; max-width: 320px; font-size: 14.5px; color: var(--muted); }
/* Brand tagline under the logo, spaced to about the logo's width */
.f-brand .f-tagline { margin: 10px 0 0; font: 600 10px/1 var(--font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.f-brand a { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-size: 14.5px; text-decoration: none; }
.f-brand a .i { width: 18px; height: 18px; color: var(--cyan); }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer h3 { margin-bottom: 6px; font: 600 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.site-footer nav a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover, .f-brand a:hover { color: var(--cyan); }
.bottom-bar { border-top: 1px solid var(--border); background: var(--navy-2); }
.bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.signature { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.signature img { width: 22px; height: 22px; }

/* ---------- Legal pages ---------- */
.site-header.solid { background: var(--navy); }
.site-header.solid .header-row { justify-content: space-between; }
.back-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(247, 247, 242, .2); color: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; }
.back-link:hover { background: rgba(247, 247, 242, .08); border-color: rgba(0, 245, 255, .5); }
.back-link .i { width: 16px; height: 16px; transform: rotate(180deg); }
.doc-page { padding: calc(var(--header-h) + 56px) 0 88px; min-height: 70vh; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.doc h2 { margin-top: 36px; font-size: 22px; }
.doc p, .doc ul, .doc ol { margin-top: 12px; color: var(--muted); }
.doc ul { list-style: disc; padding-left: 22px; }
.doc ol { padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc b { color: var(--fg); }
.doc a { color: var(--accent); font-weight: 500; }
.doc .updated { font-size: 14px; }
.banner { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; color: var(--navy); background: var(--beige); border: 1px solid var(--border); border-left: 4px solid var(--blue); }
.note { font-size: 14px; }

/* ---------- Business "Log in | Sign up" in the header (2026-10-16) ----------
   Desktop: two text links before "Get started"; the header may be wider than the page
   (and a little tighter below 1366px) so they fit.
   Below 1271px they move into the menu as "Business log in / sign up" rows. */
.hdr-acct { display: flex; align-items: center; gap: 12px; margin: 0 6px; }
.hdr-acct a { font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; white-space: nowrap; transition: color .2s; }
.hdr-acct a:hover { color: var(--cyan); }
.hdr-acct span { width: 1px; height: 16px; background: rgba(247, 247, 242, .3); }
.nav-acct { display: none; }
@media (min-width: 1271px) {
  .site-header .wrap { max-width: 1368px; } /* the header may be a little wider than the page */
}
@media (min-width: 1271px) and (max-width: 1365px) {
  .header-row { gap: 20px; }
  .main-nav { gap: 18px; }
  .main-nav a:not(.btn) { font-size: 14px; }
  .header-actions { gap: 8px; }
}

/* ---------- Reveal on scroll (added by script.js) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .main-nav a:not(.btn) { font-size: 14px; }
}
@media (max-width: 1270px) {
  .menu-btn { display: grid; }
  .hdr-acct { display: none; }
  .main-nav .nav-acct { display: block; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; margin: 0; background: rgba(1, 11, 64, .98); border-bottom: 1px solid rgba(247, 247, 242, .08); max-height: calc(100svh - var(--header-h)); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .site-header.menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .site-header.menu-open { background: rgba(1, 11, 64, .98); border-color: rgba(247, 247, 242, .08); }
  .main-nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(247, 247, 242, .08); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a[aria-current="true"] { color: var(--cyan); }
  .nav-only-mobile { display: inline-flex; margin-top: 20px; }
  .tasks, .cats, .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(5, minmax(184px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .quick::-webkit-scrollbar { display: none; }
  .quick a { scroll-snap-align: start; }
  .hero-place { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .resources { padding-top: 0; }
  .network-grid, .vehicle-grid, .community-panel, .partners-grid, .final-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .network-grid .eco { order: -1; }
  .community-panel { padding: 40px 32px; }
  .eco { padding: 0; }
  .map-layout { grid-template-columns: minmax(0, 1fr); height: auto; }
  .map-col { display: flex; flex-direction: column; gap: 14px; order: -1; }
  .map-stage { position: relative; height: 420px; }
  .st-card { position: static; width: auto; max-height: none; box-shadow: var(--shadow); }
  .map-panel { max-height: 520px; }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .grades ul { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-media { width: 100%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(1, 11, 64, .8) 0%, rgba(1, 11, 64, .72) 40%, rgba(1, 11, 64, .9) 75%, var(--navy) 100%); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .resources { padding-top: 0; }
  .brand img { height: 22px; }
  .header-cta { display: none; }
  .main-nav { padding: 8px 16px 24px; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 48px) 0 40px; }
  .hero-sub { font-size: 16.5px; }
  .search { height: 58px; padding: 6px 6px 6px 16px; border-radius: 16px; }
  .search .btn { height: 46px; padding: 0 16px; }
  .search > .i { display: none; }
  .quick { margin-right: -16px; border-radius: 16px 0 0 16px; grid-template-columns: repeat(5, minmax(184px, 1fr)); }
  .lead { font-size: 16.5px; }
  .sec-head, .sec-row { margin-bottom: 36px; }
  .sec-row { flex-direction: column; align-items: flex-start; }
  .tasks, .cats, .principles { grid-template-columns: minmax(0, 1fr); }
  .ptypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptypes li { min-height: 0; }
  .community-panel { padding: 28px 18px; border-radius: 22px; }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .vmock { grid-template-columns: minmax(0, 1fr); }
  .vstats { gap: 16px; }
  .gauge { width: 100px; height: 100px; }
  .map-stage { height: 340px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
  .bottom-row { flex-direction: column; align-items: flex-start; }
  /* Network picture: icons above two-line labels so all six fit */
  .eco-stage { margin: 34px 4px; }
  .node { flex-direction: column; gap: 4px; padding: 6px 8px 7px; border-radius: 14px; font-size: 11.5px; line-height: 1.2; white-space: normal; text-align: center; max-width: 92px; }
  .n-ic { width: 26px; height: 26px; }
  .n-ic .i { width: 14px; height: 14px; }
  .hub { width: 24%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eco-flow, .trails .tr-run, .hub::before, .hub::after { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .task, .cat, .btn, .btn .i { transition: none; }
}


/* ---------- Hero video (2026-10-17): the owner's clip of an EV on a city highway at dusk,
   muted and looping, framed on the skyline and the car, fading into navy on the left like the
   photo before it. The poster (its first frame) shows while it loads, and stays when the visitor
   asks for less motion (script.js); the pause button is in the bottom corner. ---------- */
/* The whole picture fades in from its left edge (no seam against the glow behind the
   headline), and is capped in width so the 720-px-wide clip isn't stretched too far. */
.hero-media { overflow: hidden; width: min(66%, 1040px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.hero-pause { position: absolute; z-index: 2; right: 24px; bottom: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(247, 247, 242, .25); background: rgba(1, 11, 64, .55); color: var(--white); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.hero-pause:hover { background: rgba(1, 11, 64, .8); border-color: var(--cyan); }
.hero-pause .i { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .hero-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-video { object-position: 50% 56%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(1, 11, 64, .8) 0%, rgba(1, 11, 64, .58) 42%, rgba(1, 11, 64, .86) 76%, var(--navy) 100%); }
}
/* On phones the quick links fill the bottom, so the button sits top right, under the header. */
@media (max-width: 640px) { .hero-pause { right: 16px; bottom: auto; top: calc(var(--header-h) + 10px); width: 36px; height: 36px; } }
.hdr-dash { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(0, 245, 255, .55); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.hdr-dash:hover { background: rgba(0, 245, 255, .12); }

/* Final section without the early-access form (2026-10-17): one centred column */
.final-grid.solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.final-grid.solo .lead, .final-grid.solo .direct { margin-left: auto; margin-right: auto; justify-content: center; }


/* Once a business is logged in on this browser (localStorage "nexafix-business", set by the dashboard),
   the partner sign-up options disappear. They come back after Log out (2026-10-17). */
.is-biz a[href^="for-partners.html"],
.is-biz a[href^="partner-onboarding.html"],
.is-biz a[href^="business-login.html"],
.is-biz a[href^="partner-os.html"],
.is-biz #partners { display: none !important; }

/* Home community topics: owner's round icons (2026-10-20) */
.topic-badge { width: 56px; height: 56px; display: block; margin-bottom: 6px; }

/* Home "Grow your business" partner tiles with the owner's photos (2026-10-20) */
.ptypes li.has-photo { position: relative; overflow: hidden; min-height: 170px; align-content: end; background: var(--navy); }
.ptype-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptypes li.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 11, 64, .05) 20%, rgba(1, 11, 64, .88) 100%); }
.ptypes li.has-photo > .i, .ptypes li.has-photo > span { position: relative; z-index: 1; }
.ptypes li.has-photo > .i { background: rgba(1, 11, 64, .7); }
.ptypes li.has-photo > span { color: var(--white); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
@media (max-width: 960px) { .ptypes li.has-photo { min-height: 150px; } }

/* Home "Trust, built in." cards with the owner's photos (2026-10-20) */
.principle.has-photo { overflow: hidden; }
.pr-photo { margin: -24px -24px 18px; aspect-ratio: 3 / 2; overflow: hidden; }
.pr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Home "Your vehicle" example card: car photo (2026-10-23) */
.vcar-photo { margin: 4px 0 14px; border-radius: 14px; overflow: hidden; background: #FFFFFF; }
.vcar-photo img { display: block; width: 100%; height: auto; }

/* Home grade legend: brake pad photo for each grade (2026-10-23) */
.grades li.has-photo { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-content: start; padding: 0 0 4px; }
.grades .grade-img { grid-column: 1 / -1; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--border); margin-bottom: 4px; }

/* Home: approved providers row (providers.js, 2026-10-27); same cards as Find a service (pages2.css) */
.home-prov[hidden] { display: none; }
.home-prov .prov-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-prov .prov { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.home-prov .prov-pic { position: relative; height: 128px; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: var(--cyan); }
.home-prov .prov-pic .i { width: 46px; height: 46px; stroke-width: 1.4; }
.home-prov .prov-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.home-prov .prov-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--blue-ink); }
.home-prov .prov-badge .i { width: 15px; height: 15px; }
.home-prov .prov h3 { font-size: 17px; line-height: 1.25; }
.home-prov .prov-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.home-prov .prov-tags span { padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--blue-ink); font-size: 12px; font-weight: 500; }
.home-prov .prov-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.home-prov .prov-meta .i { width: 15px; height: 15px; color: var(--blue); }
.home-prov .prov .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }
.home-prov .prov-type { font-size: 13px; color: var(--muted); margin-top: -4px; }
.home-prov .prov-pic { height: 96px; }
.home-prov .sec-row { margin-bottom: 32px; }
@media (max-width: 1100px) { .home-prov .prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-prov .prov-grid { grid-template-columns: 1fr; } }

/* Home page cards and labels that are now links (2026-10-27) */
a.cat, a.node, a.topic, .vactions > a { color: inherit; text-decoration: none; }
a.cat { display: block; }
a.cat:focus-visible, a.node:focus-visible, a.topic:focus-visible, .vactions > a:focus-visible, .ptypes .ptype-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
a.node { transition: border-color .2s, box-shadow .2s; }
a.node:hover { border-color: var(--blue); }
a.topic { transition: border-color .2s, transform .25s var(--ease); }
a.topic:hover { border-color: var(--blue); transform: translateY(-2px); }
.vactions > a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-size: 14.5px; font-weight: 500; border-top: 1px solid var(--border); }
.vactions > a .i:first-child { color: var(--cyan); }
.vactions > a:hover { color: var(--cyan); }
.ptypes .ptype-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ptypes li:has(.ptype-link):hover .ptype-img { transform: scale(1.04); }
.ptype-img { transition: transform .4s var(--ease); }
.guide .guide-more { margin-top: 12px; font-size: 14.5px; }
.partners .btn-ghost { margin-left: 8px; }
@media (max-width: 560px) { .partners .btn-ghost { margin: 10px 0 0; } }
