:root {
  --navy-950: #0d1a2b;
  --navy-900: #17263d;
  --navy-800: #243955;
  --blue-700: #24558f;
  --blue-600: #326ba9;
  --blue-100: #e8f0f8;
  --copper-600: #a8642f;
  --copper-100: #f5e9dc;
  --ink: #1a2635;
  --muted: #657181;
  --subtle: #8993a0;
  --line: #d9dee4;
  --line-strong: #bbc4ce;
  --canvas: #f4f3ef;
  --surface: #ffffff;
  --surface-muted: #f8f8f6;
  --success: #26734b;
  --success-bg: #e8f4ed;
  --warning: #8a5a16;
  --warning-bg: #fbf1df;
  --error: #a13a3a;
  --error-bg: #fbeaea;
  --info: #255f91;
  --info-bg: #e9f1f8;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 43, .06), 0 8px 24px rgba(13, 26, 43, .05);
  --shadow-lg: 0 24px 70px rgba(8, 20, 36, .18);
  --content: 1280px;
  --content-wide: 1480px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; }
a { color: var(--blue-700); text-underline-offset: .2em; }
a:hover { color: var(--blue-600); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(50, 107, 169, .38); outline-offset: 3px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { color: var(--navy-950); letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--surface);
  color: var(--navy-950);
  border: 2px solid var(--blue-600);
  border-radius: var(--radius-sm);
  font-weight: 750;
}
.skip-link:focus { top: 1rem; }

/* Global shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(13, 26, 43, .05);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(var(--content-wide), 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand-link {
  flex: 0 0 auto;
  display: block;
  width: 166px;
  height: 56px;
  padding: 3px 6px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-sm);
  line-height: 0;
}
.brand-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-links {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-primary, .nav-utility { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border: 0;
  background: transparent;
  color: #344256;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-links a:hover, .nav-button:hover { color: var(--blue-700); background: var(--surface-muted); }
.nav-links a.active { color: var(--navy-950); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 2px;
  background: var(--copper-600);
}
.nav-links form { margin: 0; }
.nav-links .nav-cta {
  margin-left: 4px;
  padding-inline: 15px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
}
.nav-links .nav-cta:hover { background: var(--navy-800); color: #fff; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy-950);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--navy-950);
  color: #fff;
}
.footer-brand { display: grid; gap: 3px; }
.footer-brand strong { font-size: 1.05rem; }
.footer-brand span { color: #b8c2d0; font-size: .92rem; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { color: #e4e9ef; font-size: .9rem; font-weight: 650; }

/* Foundation components */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary, button.primary { background: var(--blue-700); color: #fff; }
.button.primary:hover, button.primary:hover { background: #1e4a7d; color: #fff; }
.button.secondary, button.secondary { background: var(--surface); color: var(--navy-950); border-color: var(--line-strong); }
.button.secondary:hover, button.secondary:hover { background: var(--surface-muted); color: var(--navy-950); }
.button.secondary-on-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .48); }
.button.secondary-on-dark:hover { background: #fff; color: var(--navy-950); }
.button.tertiary { background: transparent; color: var(--blue-700); border-color: transparent; }
.button.destructive, button.destructive { background: var(--error); color: #fff; }
.button:disabled, button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; }

label { display: block; color: var(--navy-950); font-size: .9rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8f9baa; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-600); outline: 3px solid rgba(50, 107, 169, .18); }
input:disabled, select:disabled, textarea:disabled { background: #eceeed; color: var(--subtle); }
small, .muted { color: var(--muted); }
label small { display: block; margin-top: 5px; font-weight: 450; line-height: 1.4; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input, input[type="checkbox"], input[type="radio"] { width: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--blue-700); }
.form-stack, .form-grid { display: grid; gap: 17px; margin-top: 24px; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }

.flash-wrap { width: min(980px, calc(100% - 32px)); margin: 18px auto 0; }
.flash, .notice, .notice-list {
  padding: 14px 16px;
  border: 1px solid #b9cfe2;
  border-left: 4px solid var(--info);
  border-radius: var(--radius-sm);
  background: var(--info-bg);
  color: #1f4e76;
}
.flash.success, .notice.success { border-color: #abd3ba; border-left-color: var(--success); background: var(--success-bg); color: #225e40; }
.flash.warning, .notice.warning { border-color: #e5c991; border-left-color: var(--warning); background: var(--warning-bg); color: #704813; }
.flash.error, .notice.error, .error { border-color: #e1b2b2; border-left-color: var(--error); background: var(--error-bg); color: #812e2e; }
.notice-list p:first-child, .notice-list ol:first-child { margin-top: 0; }
.notice-list p:last-child, .notice-list ol:last-child { margin-bottom: 0; }
.product-status, .status-badge, .coming-soon, .source-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eceff2;
  color: #526071;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.product-status.active, .status-badge.success { background: var(--success-bg); color: var(--success); }
.source-badge.jdp { background: var(--blue-100); color: var(--blue-700); }
.source-badge.rvusa { background: var(--success-bg); color: var(--success); }

.page-shell, .platform-shell, .feature-section, .home-capabilities {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 56px 28px 72px;
}
.narrow { max-width: 880px; }
.page-heading, .platform-page-heading { max-width: 820px; margin-bottom: 30px; }
.page-heading h1, .platform-page-heading h1 { margin: 0; }
.page-heading p, .platform-page-heading p { margin: 12px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading.left-aligned { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 7px 0 12px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.eyebrow, .section-kicker, .account-kicker {
  margin: 0 0 9px;
  color: var(--copper-600);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.platform-card, .account-card, .product-card, .detail-card, .results-card, .search-panel, .results-shell, .spec-sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-grid, .product-grid, .platform-product-grid, .products-catalog, .dashboard-grid, .account-grid, .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article, .product-card, .detail-card, .account-card, .dashboard-panel { padding: 25px; }
.feature-grid h3, .product-card h2, .product-card h3, .account-card h2 { margin-top: 0; }
.feature-grid p, .product-card p, .account-card > p { color: var(--muted); }
.product-card { display: flex; min-height: 260px; flex-direction: column; }
.product-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.product-card-copy { flex: 1; }
.product-card-actions { margin-top: 22px; }
.product-icon, .panel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 850;
}
.future-product-card { border-style: dashed; background: rgba(255,255,255,.6); }
.product-detail, .account-note { padding: 12px; background: var(--surface-muted); border-left: 3px solid var(--line-strong); color: var(--muted); }

.empty-state { padding: 22px; border: 1px dashed var(--line-strong); background: var(--surface-muted); }
.empty-state strong { display: block; }
.empty-state p { margin: 6px 0 14px; color: var(--muted); }
.empty-state.horizontal { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.status-list { margin: 0 0 20px; }
.status-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-list dt { color: var(--muted); }
.status-list dd { margin: 0; font-weight: 700; text-align: right; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--success); }
dialog { max-width: min(620px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(13,26,43,.62); }

/* Homepage */
.home-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.home-hero-media { position: absolute; inset: 0 0 0 30%; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; }
.home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgba(13,26,43,.98) 31%, rgba(13,26,43,.76) 48%, rgba(13,26,43,.12) 76%, rgba(13,26,43,0) 100%);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), 100%);
  min-height: 560px;
  margin: 0 auto;
  padding: 68px 28px;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(590px, 52%); }
.hero-copy .eyebrow { color: #e4aa74; }
.hero-copy h1 { margin: 0 0 20px; color: #fff; font-size: clamp(3rem, 5.2vw, 4.8rem); }
.hero-lead { margin: 0; color: #d7dee7; font-size: clamp(1.1rem, 2vw, 1.38rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 20px; }
.hero-note { margin: 0; color: #b9c5d3; font-size: .92rem; }
.home-proof {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 48px));
  margin: -28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.home-proof > div { padding: 20px 24px; text-align: center; }
.home-proof > div + div { border-left: 1px solid var(--line); }
.home-proof strong, .home-proof span { display: block; }
.home-proof strong { color: var(--navy-950); font-size: 1.2rem; }
.home-proof span { margin-top: 3px; color: var(--muted); font-size: .86rem; }
.home-capabilities { padding-top: 84px; }
.capability-list { border-top: 1px solid var(--line-strong); }
.capability-row {
  display: grid;
  grid-template-columns: 56px minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-strong);
}
.capability-number { align-self: start; color: var(--subtle); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.capability-copy h3 { margin: 0 0 12px; }
.capability-copy > p:not(.section-kicker) { color: var(--muted); }
.search-preview {
  min-height: 210px;
  padding: 26px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 16px 16px 0 var(--copper-100);
}
.preview-label { display: block; margin-bottom: 10px; color: #bfc9d5; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.preview-query { padding: 14px 16px; background: #fff; color: var(--ink); border-radius: var(--radius-sm); font-weight: 700; }
.preview-lines { display: grid; gap: 10px; margin-top: 24px; }
.preview-lines span { height: 8px; background: rgba(255,255,255,.2); }
.preview-lines span:nth-child(2) { width: 78%; }
.preview-lines span:nth-child(3) { width: 58%; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pair figure { position: relative; margin: 0; overflow: hidden; background: #e7e9ea; }
.photo-pair figure span { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 7px; background: rgba(13,26,43,.88); color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.photo-pair figure:last-child span { background: rgba(36,85,143,.92); }
.photo-pair img { display: block; width: 100%; height: 230px; object-fit: cover; }
.home-account-band {
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto 72px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--navy-900);
  color: #fff;
}
.home-account-band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.home-account-band > div:first-child { max-width: 760px; }
.home-account-band > div:first-child > p:last-child { margin-bottom: 0; color: #c9d2dd; }
.home-account-band .eyebrow { color: #e4aa74; }
.account-band-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.home-account-band .tertiary { color: #fff; }

/* Search and data presentation */
.search-hero {
  width: min(var(--content-wide), calc(100% - 48px));
  margin: 28px auto 0;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--navy-900);
  color: #fff;
}
.search-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.25rem); }
.search-hero p { max-width: 820px; margin-bottom: 0; color: #c9d3df; }
.mini-promo { display: flex; min-width: 320px; align-items: center; gap: 12px; padding: 9px; background: #fff; color: var(--ink); text-decoration: none; }
.mini-promo img { width: 118px; height: 68px; object-fit: cover; }
.mini-promo span, .mini-promo strong, .mini-promo small { display: block; }
.mini-promo small { color: var(--blue-700); }
.search-panel, .results-shell { width: min(var(--content-wide), calc(100% - 48px)); margin: 18px auto; padding: 24px 26px; }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 15px; }
.search-panel .button { margin-top: 18px; }
.results-meta { margin-bottom: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #edf0f2; color: #3f4e60; font-size: .78rem; letter-spacing: .025em; text-transform: uppercase; }
tbody tr:hover { background: var(--surface-muted); }
.result-cards { display: none; }
.results-empty p { margin-bottom: 0; }
.pagination { text-align: center; color: var(--muted); }
.spec-sheet { max-width: 940px; margin: 34px auto; padding: 32px; }
.spec-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 3px solid var(--navy-900); }
.spec-header h1 { margin: 0; font-size: 2rem; }
.spec-header p { color: var(--muted); }
.spec-header img { width: 180px; }
.spec-table { margin: 22px 0; }
.spec-table th { width: 35%; background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-promo { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.spec-promo img { width: 160px; height: 90px; object-fit: cover; }
.spec-promo span, .spec-promo strong, .spec-promo small { display: block; }

/* Account, dashboard, authentication */
.platform-content .platform-page { padding: 48px 0 72px; }
.dashboard-welcome { padding: 34px; display: flex; align-items: end; justify-content: space-between; gap: 28px; background: var(--navy-900); color: #fff; }
.dashboard-welcome h1 { margin: 0; color: #fff; }
.dashboard-welcome p { color: #cad4df; }
.dashboard-section, .account-section { margin-top: 40px; }
.section-title-row, .account-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-title-row h2, .account-section-heading h2 { margin: 4px 0 0; }
.dashboard-panel-wide { grid-column: 1 / -1; }
.account-hub { max-width: 1320px; }
.account-card dl, .detail-card dl { display: grid; grid-template-columns: 145px 1fr; margin: 16px 0 0; }
.account-card dt, .account-card dd, .detail-card dt, .detail-card dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.account-card dt, .detail-card dt { font-weight: 750; }
.billing-card { border-top: 4px solid var(--blue-700); }
.auth-shell { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 52px 20px; background: linear-gradient(135deg, #ecebe6, #f7f7f4 58%, #e8edf2); }
.auth-card { width: min(530px, 100%); padding: 32px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy-900); box-shadow: var(--shadow-lg); }
.auth-card.wide { width: min(780px, 100%); }
.auth-card h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 2.65rem); }
.auth-card > p { color: var(--muted); }
.auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: .9rem; }
.dev-verification-box { margin: 20px 0; padding: 16px; border: 1px solid #b9cfe2; border-left: 4px solid var(--info); background: var(--info-bg); }
.dev-verification-box p { margin: 6px 0 14px; }
.global-promo { width: min(var(--content-wide), calc(100% - 48px)); margin: 22px auto 34px; }
.global-promo > a { display: flex; max-width: 660px; align-items: center; gap: 16px; padding: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.promo-images { display: grid; width: 220px; flex: 0 0 220px; grid-template-columns: 1fr 1fr; gap: 7px; }
.promo-images > span { display: grid; gap: 3px; }
.promo-images b { color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.promo-images img { display: block; width: 100%; height: 78px; object-fit: cover; }
.promo-copy strong, .promo-copy small { display: block; }
.promo-copy small { margin-top: 4px; color: var(--blue-700); }
.unit-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.unit-media img { width: 100%; max-height: 360px; object-fit: contain; border: 1px solid var(--line); background: #fff; }

@media (max-width: 1080px) {
  .header-inner { gap: 16px; }
  .nav-links a, .nav-button { padding-inline: 8px; font-size: .84rem; }
  .hero-copy { width: 58%; }
  .capability-row { grid-template-columns: 44px minmax(0, 1fr); }
  .capability-row > :last-child { grid-column: 2; }
  .search-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .feature-grid, .products-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; padding: 7px 18px; }
  .brand-link { width: 145px; height: 50px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 10px 18px 18px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(13,26,43,.12);
  }
  .nav-links.is-open { display: block; }
  .nav-primary, .nav-utility { display: grid; gap: 0; }
  .nav-utility { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-links a, .nav-button, .nav-links form { width: 100%; }
  .nav-links a, .nav-button { justify-content: flex-start; min-height: 44px; padding: 10px 8px; font-size: .96rem; text-align: left; }
  .nav-links a.active::after { top: 9px; right: auto; bottom: 9px; left: 0; width: 3px; height: auto; }
  .nav-links .nav-cta { margin: 7px 0 0; justify-content: center; }
  .home-hero { display: flex; min-height: 0; flex-direction: column; }
  .home-hero-media { position: relative; inset: auto; order: 1; width: 100%; height: 310px; }
  .home-hero-media img { object-position: 67% 60%; }
  .home-hero-shade { display: none; }
  .home-hero-inner { min-height: 0; order: 2; padding: 42px 24px 50px; }
  .hero-copy { width: 100%; max-width: 680px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .home-proof { margin-top: 0; width: 100%; border-width: 0 0 1px; box-shadow: none; }
  .capability-row { grid-template-columns: 34px minmax(0, 1fr); gap: 18px; }
  .capability-row > :last-child { grid-column: 1 / -1; margin-top: 8px; }
  .home-account-band { align-items: flex-start; flex-direction: column; }
  .account-band-actions { width: 100%; }
  .search-hero { align-items: flex-start; flex-direction: column; }
  .mini-promo { width: 100%; min-width: 0; }
  .feature-grid, .product-grid, .platform-product-grid, .products-catalog, .dashboard-grid, .account-grid, .detail-grid { grid-template-columns: 1fr; }
  .dashboard-panel-wide { grid-column: auto; }
  .dashboard-welcome, .empty-state.horizontal { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .page-shell, .platform-shell, .feature-section, .home-capabilities { padding: 40px 18px 52px; }
  .site-footer { display: grid; padding: 28px 20px; }
  .footer-links { flex-wrap: wrap; gap: 10px 18px; }
  .button { width: 100%; }
  .hero-actions { display: grid; }
  .home-hero-media { height: 250px; }
  .home-proof { grid-template-columns: 1fr; }
  .home-proof > div { padding: 14px 18px; text-align: left; }
  .home-proof > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .home-proof strong, .home-proof span { display: inline; }
  .home-proof span { margin-left: 7px; }
  .capability-row { display: block; padding: 34px 0; }
  .capability-number { margin-bottom: 12px; }
  .search-preview { min-height: 180px; box-shadow: 8px 8px 0 var(--copper-100); }
  .photo-pair { gap: 7px; }
  .photo-pair img { height: 170px; }
  .home-account-band { width: calc(100% - 36px); margin-bottom: 52px; padding: 28px 22px; }
  .account-band-actions { display: grid; }
  .form-grid, .search-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .auth-card { padding: 25px 20px; }
  .auth-links { display: grid; }
  .search-hero, .search-panel, .results-shell, .global-promo { width: calc(100% - 24px); }
  .search-hero { margin-top: 12px; padding: 25px 20px; }
  .search-panel, .results-shell { padding: 18px; }
  .results-table-wrap { display: none; }
  .result-cards { display: grid; gap: 14px; }
  .result-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
  }
  .result-card-header { padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
  .result-card-year-make { margin: 0 0 4px; color: var(--navy-800); font-size: .94rem; font-weight: 800; }
  .result-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.22; }
  .result-card-floorplan { margin: 8px 0 0; color: var(--muted); }
  .result-card-floorplan span { margin-right: 5px; }
  .result-card-floorplan strong { color: var(--ink); overflow-wrap: anywhere; }
  .result-card-data { margin: 10px 0 16px; }
  .result-card-data > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .result-card-data dt { color: var(--muted); font-weight: 650; }
  .result-card-data dd { min-width: 0; margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
  .result-card-data .pricing-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: flex-end; }
  .result-card-details { width: 100%; }
  .spec-sheet { margin: 12px; padding: 20px; }
  .spec-header { display: block; }
  .spec-header img { margin-top: 15px; }
  .spec-promo img { width: 120px; height: 70px; }
  .account-card dl, .detail-card dl { grid-template-columns: 1fr; }
  .account-card dt, .detail-card dt { padding-bottom: 0; border-bottom: 0; }
  .status-list > div { display: block; }
  .status-list dd { margin-top: 5px; text-align: left; }
  .section-title-row, .account-section-heading { align-items: flex-start; flex-direction: column; }
  .global-promo > a { display: grid; }
  .promo-images { width: 100%; }
  .unit-media { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .no-print, .flash-wrap { display: none !important; }
  body { background: #fff; }
  .spec-sheet { max-width: none; margin: 0; border: 0; box-shadow: none; }
  .spec-header a { display: none; }
}
