:root {
  --bg: #07111d;
  --bg-elevated: rgba(10, 21, 34, 0.88);
  --bg-panel: rgba(13, 24, 39, 0.82);
  --bg-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(125, 193, 255, 0.14);
  --line-strong: rgba(125, 193, 255, 0.26);
  --text: #ebf6ff;
  --muted: #8fa8bf;
  --primary: #57f1ff;
  --secondary: #5f78ff;
  --accent: #ff9a53;
  --success: #5cffb0;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100% - 40px));
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(87, 241, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(95, 120, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 110%, rgba(255, 154, 83, 0.12), transparent 30%),
    linear-gradient(180deg, #050c14 0%, #08121f 38%, #060f18 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 92%);
}

body::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(87, 241, 255, 0.08) 50%, transparent 100%);
  opacity: 0.18;
  transform: translateX(-46%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 14, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(87, 241, 255, 0.16));
}

.brand__meta {
  display: grid;
  gap: 2px;
}

.brand__meta strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

.brand__meta small {
  color: var(--muted);
}

.site-nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.site-nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(87, 241, 255, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
}

.btn-primary {
  color: #05111a;
  background: linear-gradient(135deg, var(--primary), #79c2ff 52%, var(--secondary));
  box-shadow: 0 14px 42px rgba(87, 241, 255, 0.2);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-inline {
  padding-inline: 16px;
}

.page-hero {
  position: relative;
  padding: 82px 0 40px;
  overflow: hidden;
}

.page-hero--compact {
  padding-top: 62px;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero--home::before {
  inset: 6% -12% auto auto;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(87, 241, 255, 0.2) 0%, rgba(87, 241, 255, 0.08) 34%, transparent 70%);
  filter: blur(8px);
}

.page-hero--home::after {
  inset: auto auto 5% -6%;
  width: 620px;
  height: 360px;
  background:
    radial-gradient(circle at 18% 50%, rgba(95, 120, 255, 0.18), transparent 38%),
    linear-gradient(130deg, rgba(87, 241, 255, 0.05), transparent 58%);
  clip-path: polygon(0 22%, 70% 0, 100% 46%, 34% 100%, 0 82%);
  opacity: 0.85;
}

.page-hero--distribution::before {
  inset: 2% -10% auto auto;
  width: 560px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 154, 83, 0.18) 0%, rgba(255, 154, 83, 0.05) 34%, transparent 70%);
}

.page-hero--distribution::after {
  inset: auto auto 0 -8%;
  width: 640px;
  height: 340px;
  background:
    radial-gradient(circle at 50% 50%, rgba(95, 120, 255, 0.14), transparent 46%),
    linear-gradient(110deg, rgba(255, 154, 83, 0.08), transparent 54%);
  clip-path: polygon(0 28%, 62% 0, 100% 34%, 56% 100%, 0 76%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-grid--compact {
  grid-template-columns: 1fr;
}

.page-hero--home .hero-grid {
  min-height: calc(100vh - 132px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
}

.hero-text,
.section-head p,
.section-copy p,
.data-card__note,
.supply-card p,
.stage-card p,
.update-card p,
.car-card__version,
.car-card__highlight,
.job-card__summary,
.doc-card p,
.query-card p,
.policy-card p,
.faq-item__content p,
.contact-card p,
.lead-item p,
.timeline-item__body p {
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-ribbon__item,
.command-stat,
.hero-ticker__item,
.deal-lane__item,
.deal-progress,
.deal-queue__item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.hero-ribbon__item {
  padding: 16px 18px;
}

.hero-ribbon__item::before,
.command-stat::before,
.hero-ticker__item::before,
.deal-lane__item::before,
.deal-progress::before,
.deal-queue__item::before {
  content: "";
  position: absolute;
  inset: auto auto -38px -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 241, 255, 0.14), transparent 72%);
  pointer-events: none;
}

.page-hero--distribution .hero-ribbon__item::before,
.hero-command--distribution .command-stat::before,
.page-hero--distribution .deal-lane__item::before,
.page-hero--distribution .deal-progress::before,
.page-hero--distribution .deal-queue__item::before {
  background: radial-gradient(circle, rgba(255, 154, 83, 0.18), transparent 72%);
}

.hero-ribbon__label,
.command-stat__label,
.deal-progress__label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-ribbon__value,
.command-stat__value,
.deal-lane__value,
.deal-queue__value {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.hero-ribbon__note,
.command-stat__note,
.deal-lane__note,
.deal-queue__note,
.deal-progress__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-ribbon--distribution .hero-ribbon__value {
  color: var(--accent);
}

.hero-tags,
.tag-list,
.lead-summary,
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.tag-list span,
.active-filter {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.88rem;
}

.hero-system {
  position: relative;
  z-index: 1;
}

.hero-system__stack {
  display: grid;
  gap: 16px;
}

.hero-command {
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(87, 241, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 21, 33, 0.92), rgba(8, 16, 28, 0.82));
  box-shadow: var(--shadow-md);
}

.hero-command--distribution {
  border-color: rgba(255, 154, 83, 0.18);
}

.hero-command__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hero-command__title {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.hero-command__description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-command__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.command-stat {
  padding: 14px 16px;
}

.panel-card--hero-lg {
  padding: 30px;
}

.hero-system__subgrid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
  margin-top: 22px;
}

.hero-system__subgrid--distribution {
  grid-template-columns: 1fr 1fr;
}

.hero-ticker,
.deal-lane,
.deal-progress-list,
.deal-queue {
  display: grid;
  gap: 12px;
}

.hero-ticker__item,
.deal-lane__item,
.deal-queue__item {
  padding: 16px 18px;
}

.hero-ticker__head,
.deal-lane__head,
.deal-queue__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.hero-ticker__head strong,
.deal-lane__head strong,
.deal-queue__head strong {
  font-size: 0.98rem;
}

.hero-ticker__head span,
.deal-lane__head span,
.deal-queue__head span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-ticker__item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-card,
.data-card,
.supply-card,
.stage-card,
.update-card,
.car-card,
.job-card,
.policy-card,
.tool-card,
.doc-card,
.query-card,
.contact-card,
.empty-state {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 23, 38, 0.92), rgba(9, 18, 30, 0.78));
  box-shadow: var(--shadow-lg);
}

.panel-card,
.contact-card,
.empty-state {
  padding: 26px;
}

.panel-card::before,
.data-card::before,
.supply-card::before,
.stage-card::before,
.update-card::before,
.car-card::before,
.job-card::before,
.policy-card::before,
.tool-card::before,
.doc-card::before,
.query-card::before,
.contact-card::before,
.empty-state::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 66%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 241, 255, 0.18), transparent 72%);
  pointer-events: none;
}

.panel-card--hero {
  padding: 28px;
}

.panel-head,
.section-head,
.section-head--compact,
.results-meta,
.car-card__head,
.car-card__footer,
.job-card__head,
.update-card__head,
.lead-item__head,
.timeline-item__head,
.data-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  align-items: center;
  margin-bottom: 18px;
}

.status-pill,
.mini-badge,
.panel-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-pill,
.mini-badge {
  background: rgba(87, 241, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(87, 241, 255, 0.18);
}

.panel-note {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 42px 0;
}

.section--alt {
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-head--compact {
  margin-bottom: 16px;
}

.section-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.two-col,
.cta-layout,
.inventory-preview,
.detail-overview,
.detail-section-grid {
  display: grid;
  gap: 24px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-col--asymmetric {
  grid-template-columns: 1.08fr 0.92fr;
}

.inventory-preview,
.cta-layout,
.detail-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-grid,
.feature-grid,
.stage-grid,
.card-grid,
.job-grid,
.spec-grid,
.doc-grid,
.stack-grid {
  display: grid;
  gap: 18px;
}

.data-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.data-grid--hero {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature-grid,
.stage-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid,
.card-grid--wide,
.job-grid,
.detail-section-grid,
.deal-board {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stack-grid {
  grid-template-columns: 1fr;
}

.inventory-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  align-items: start;
}

.route-map {
  display: grid;
  gap: 14px;
}

.route-node {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.route-node__index,
.stage-card__index,
.timeline-item__marker {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
}

.route-node strong,
.supply-card h3,
.stage-card h3,
.update-card h3,
.car-card h3,
.job-card h3,
.doc-card h3,
.policy-card h3,
.tool-card h3,
.contact-card h3,
.query-card h3,
.timeline-item__head h3,
.detail-summary h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.detail-summary h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.route-node p {
  margin: 4px 0 0;
  color: var(--muted);
}

.data-card,
.supply-card,
.stage-card,
.update-card,
.job-card,
.policy-card,
.tool-card,
.doc-card {
  padding: 20px;
}

.data-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.data-card__value {
  display: block;
  margin: 14px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.data-card--compact {
  min-height: 168px;
}

.stage-card {
  display: grid;
  gap: 12px;
}

.stage-card__sub {
  color: var(--primary);
  font-size: 0.88rem;
}

.filter-form,
.crm-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  color-scheme: dark;
  background-color: #0d1827;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%23EBF6FF' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
  border-color: rgba(125, 193, 255, 0.18);
  color: #ebf6ff !important;
}

.field select::-ms-expand {
  display: none;
}

.field select option,
.field select optgroup {
  background-color: #0b1726 !important;
  color: #ebf6ff !important;
}

.field select option:checked,
.field select option:hover {
  background-color: #143149 !important;
  color: #ffffff !important;
}

.field select option[value=""] {
  color: #8fa8bf !important;
}

.field select optgroup {
  color: #57f1ff !important;
  font-style: normal;
  font-weight: 700;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(87, 241, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(87, 241, 255, 0.08);
}

.filter-actions {
  display: grid;
  gap: 12px;
}

.results-shell {
  display: grid;
  gap: 20px;
}

.results-meta__copy {
  text-align: right;
}

.results-meta__copy strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.active-filter--muted {
  opacity: 0.76;
}

.car-card {
  padding: 0;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.car-card:hover,
.job-card:hover,
.policy-card:hover,
.tool-card:hover,
.data-card:hover,
.supply-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.car-card__media,
.detail-gallery__main {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: calc(var(--radius-xl) - 4px);
  background: linear-gradient(135deg, rgba(87, 241, 255, 0.08), rgba(95, 120, 255, 0.08));
}

.car-card__media img,
.detail-gallery__main img,
.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lazy-image {
  opacity: 0.68;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lazy-image.is-loaded {
  opacity: 1;
}

.car-card:hover .lazy-image,
.thumb-button:hover .lazy-image,
.detail-gallery__main:hover .lazy-image {
  transform: scale(1.02);
}

.car-card__overlay {
  position: absolute;
  inset: 16px 16px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.car-card__body {
  display: grid;
  gap: 14px;
  padding: 20px 22px 22px;
}

.car-card__meta {
  margin: 0;
  color: var(--primary);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.car-card__version {
  margin: 8px 0 0;
}

.price-tag,
.detail-price {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
}

.price-tag {
  font-size: 1.45rem;
}

.detail-price {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.spec-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.car-card__footer {
  color: var(--muted);
}

.text-link {
  color: var(--primary);
}

.update-card__head time,
.policy-card__head time,
.lead-item__head span,
.timeline-item__head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.copy-stack {
  display: grid;
  gap: 14px;
}

.copy-stack--compact {
  gap: 10px;
  margin: 18px 0;
}

.copy-stack p {
  margin: 0;
  color: var(--muted);
}

.contact-list p,
.contact-list li {
  margin: 0;
  color: var(--muted);
}

.contact-list--panel {
  margin-bottom: 22px;
}

.lead-summary__item {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lead-summary__item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.lead-summary__item strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.lead-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-item {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-layout {
  display: grid;
  gap: 24px;
}

.detail-gallery {
  display: grid;
  gap: 16px;
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.thumb-button {
  overflow: hidden;
  min-height: 96px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.thumb-button.is-active {
  border-color: rgba(87, 241, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(87, 241, 255, 0.08);
}

.detail-summary {
  display: grid;
  gap: 18px;
}

.detail-summary__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-summary__top,
.detail-summary__grid {
  display: grid;
  gap: 16px;
}

.detail-summary__top {
  grid-template-columns: 1fr auto;
}

.detail-summary__grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.detail-summary__highlights,
.job-card__list {
  display: grid;
  gap: 10px;
}

.detail-summary__highlights p,
.job-card__list p {
  margin: 0;
  position: relative;
  padding-left: 16px;
}

.detail-summary__highlights p::before,
.job-card__list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.spec-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.spec-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.spec-card strong {
  display: block;
  margin-top: 10px;
}

.doc-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.doc-card__status {
  margin: 0;
  color: var(--primary);
}

.doc-card strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
}

.timeline-item__body {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item.is-done .timeline-item__marker {
  background: rgba(92, 255, 176, 0.16);
  color: var(--success);
}

.query-result {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.policy-card__head {
  align-items: center;
  margin-bottom: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text);
  cursor: pointer;
}

.faq-item__symbol {
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item__content {
  display: none;
  padding: 0 20px 18px;
}

.faq-item__content.is-open {
  display: block;
}

.tool-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.news-results-meta {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(11, 22, 36, 0.82), rgba(9, 18, 30, 0.68));
}

.news-results-meta__copy {
  display: grid;
  gap: 8px;
}

.news-results-meta__copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.news-results-meta__copy p {
  margin: 0;
  color: var(--muted);
}

.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-filter-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.news-filter-chip:hover,
.news-filter-chip.is-active {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(87, 241, 255, 0.26);
  background: rgba(87, 241, 255, 0.1);
}

.news-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 23, 38, 0.92), rgba(9, 18, 30, 0.78));
  box-shadow: var(--shadow-lg);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: -18% auto auto 70%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 241, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.news-card__head,
.news-card__footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.news-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.news-card__head time,
.news-card__footer span {
  color: var(--muted);
  font-size: 0.86rem;
}

.news-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-card__list {
  display: grid;
  gap: 10px;
}

.news-card__list p {
  position: relative;
  padding-left: 16px;
}

.news-card__list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.article-main,
.article-side {
  display: grid;
  gap: 24px;
}

.article-main__head h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list p {
  margin: 0;
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}

.article-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.article-list--summary {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.article-sections {
  display: grid;
  gap: 18px;
}

.article-section {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.article-section h3 {
  margin: 0 0 16px;
  font-size: 1.16rem;
}

.article-related {
  display: grid;
  gap: 14px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-nav__card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.article-nav__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.article-nav__card strong {
  font-size: 1rem;
}

.article-nav__card p {
  margin: 0;
  color: var(--muted);
}

.article-nav__label {
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-nav__card--muted {
  opacity: 0.76;
}

.related-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.related-card strong {
  font-size: 1rem;
}

.related-card p {
  margin: 0;
  color: var(--muted);
}

.deal-board {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.deal-progress {
  padding: 18px;
}

.deal-progress__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.deal-progress__value {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.deal-progress__track {
  position: relative;
  height: 10px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.deal-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--progress, 0) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.page-hero--distribution .deal-progress__fill,
.deal-board .deal-progress__fill {
  background: linear-gradient(90deg, var(--accent), #ffcf80, var(--primary));
}

.deal-lane__value,
.deal-queue__value {
  color: var(--accent);
}

.deal-lane__meta,
.deal-queue__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.deal-lane__meta span,
.deal-queue__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.8rem;
}

.poster-preview {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(87, 241, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(13, 23, 38, 0.96), rgba(10, 18, 30, 0.9));
  border: 1px solid rgba(87, 241, 255, 0.14);
}

.poster-preview__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 12px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.access-gate__form {
  gap: 14px;
}

.access-gate__error {
  min-height: 22px;
  margin: -4px 0 0;
  color: #ff9b9b;
  font-size: 0.92rem;
}

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

.job-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.empty-state strong {
  font-size: 1.2rem;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 56px;
  color: var(--muted);
}

.footer-shell strong {
  color: var(--text);
}

.footer-shell p {
  margin: 6px 0 0;
}

.footer-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(7, 14, 24, 0.96);
  border: 1px solid rgba(87, 241, 255, 0.22);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.24s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-shell.is-visible {
  display: grid;
}

.modal-shell__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
}

.modal {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 21, 35, 0.96), rgba(8, 16, 28, 0.92));
  box-shadow: var(--shadow-lg);
}

.modal__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 0;
}

.modal__title {
  margin: 8px 0 0;
}

.modal__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.modal__body {
  padding: 24px;
}

.modal-open {
  overflow: hidden;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-enhanced .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.is-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .two-col,
  .two-col--asymmetric,
  .inventory-preview,
  .cta-layout,
  .detail-overview,
  .detail-section-grid,
  .inventory-layout,
  .data-grid,
  .feature-grid,
  .stage-grid,
  .card-grid,
  .card-grid--wide,
  .job-grid,
  .spec-grid,
  .doc-grid,
  .hero-ribbon,
  .hero-system__subgrid,
  .deal-board,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .page-hero--home .hero-grid {
    min-height: auto;
  }

  .hero-command__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav-wrap {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 18, 30, 0.96);
    box-shadow: var(--shadow-md);
  }

  .site-nav-wrap.is-open {
    display: flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    border-radius: 18px;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
  }

  .top-cta {
    width: 100%;
  }

  .header-shell {
    position: relative;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100% - 24px, 1240px);
  }

  .panel-card,
  .contact-card,
  .empty-state,
  .data-card,
  .supply-card,
  .stage-card,
  .update-card,
  .job-card,
  .policy-card,
  .tool-card,
  .doc-card,
  .query-card {
    padding: 18px;
  }

  .field-row,
  .data-grid--hero,
  .detail-summary__top,
  .detail-gallery__thumbs,
  .spec-grid--two {
    grid-template-columns: 1fr;
  }

  .panel-head,
  .section-head,
  .results-meta,
  .car-card__head,
  .car-card__footer,
  .job-card__head,
  .timeline-item__head,
  .lead-item__head,
  .hero-command__head,
  .hero-ticker__head,
  .deal-progress__top,
  .deal-lane__head,
  .deal-queue__head,
  .news-card__head,
  .news-card__footer {
    flex-direction: column;
  }

  .results-meta__copy {
    text-align: left;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero-command__grid,
  .hero-ribbon {
    grid-template-columns: 1fr;
  }
}
