@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: oklch(1 0 0);
  --pearl: oklch(0.975 0.005 240);
  --pearl-2: oklch(0.955 0.007 235);
  --surface: oklch(1 0 0);
  --ink: oklch(0.17 0.018 248);
  --ink-2: oklch(0.3 0.017 248);
  --muted: oklch(0.44 0.014 248);
  --line: oklch(0.89 0.008 240);
  --line-strong: oklch(0.72 0.02 240);
  --primary: oklch(0.42 0.104 112);
  --primary-strong: oklch(0.34 0.096 112);
  --teal: oklch(0.55 0.118 178);
  --teal-bright: oklch(0.78 0.12 178);
  --blue: oklch(0.43 0.13 248);
  --amber: oklch(0.69 0.15 75);
  --dark: oklch(0.15 0.018 248);
  --white: oklch(1 0 0);
  --night: oklch(0.16 0.02 252);
  --night-2: oklch(0.21 0.024 252);
  --night-line: oklch(0.32 0.02 252);
  --night-ink: oklch(0.97 0.004 240);
  --night-muted: oklch(0.72 0.015 245);
  --radius: 8px;
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-sticky: 30;
  --z-header: 40;
  --z-dialog: 50;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.002em;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

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

button {
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input::placeholder,
textarea::placeholder {
  color: oklch(0.52 0.014 248);
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid oklch(0.72 0.12 178 / 0.45);
  outline-offset: 2px;
}

label {
  display: grid;
  gap: 7px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label span,
dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.01em;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- Dark chrome: header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: oklch(0.16 0.02 252 / 0.86);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--night-ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: var(--night-muted);
  font-size: 0.93rem;
  font-weight: 560;
}

.nav-links a {
  padding: 8px 0;
  transition: color 160ms var(--ease);
}

.nav-links a:hover {
  color: var(--night-ink);
}

.header-actions,
.hero-actions,
.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */

.btn,
.icon-button,
.menu-toggle,
.category-button,
.save-button,
.dialog-close {
  cursor: pointer;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 640;
  letter-spacing: 0.004em;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out),
    color 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

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

.btn:active {
  transform: translateY(0);
  transition-duration: 60ms;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink-2);
}

.btn-subtle {
  background: oklch(1 0 0 / 0.1);
  color: var(--night-ink);
}

.btn-subtle:hover {
  background: oklch(1 0 0 / 0.17);
}

.btn-large {
  min-height: 50px;
  padding-inline: 20px;
  font-size: 0.98rem;
}

.btn-search {
  min-height: 46px;
  background: var(--night);
  color: var(--night-ink);
}

.btn-search:hover {
  background: var(--night-2);
}

.btn-text {
  background: transparent;
  color: var(--blue);
  padding-inline: 6px;
}

.btn-wide {
  width: 100%;
}

.btn:disabled,
.save-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.icon-button,
.menu-toggle,
.save-button,
.dialog-close {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid oklch(1 0 0 / 0.16);
  background: transparent;
  color: var(--night-ink);
  transition: background 160ms var(--ease);
}

.icon-button:hover {
  background: oklch(1 0 0 / 0.1);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  background: oklch(1 0 0 / 0.1);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--night-ink);
  transition: transform 240ms var(--ease-out), opacity 160ms var(--ease-out);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero: night flight deck ---------- */

.hero-stage {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.08fr);
  grid-template-areas:
    "copy visual"
    "search search";
  gap: 30px 44px;
  align-items: center;
  padding: 64px max(24px, calc((100vw - var(--max)) / 2)) 40px;
  background:
    radial-gradient(120% 90% at 82% 10%, oklch(0.24 0.035 255 / 0.9), oklch(0.16 0.02 252 / 0) 60%),
    linear-gradient(175deg, var(--night) 0%, oklch(0.14 0.02 255) 60%, oklch(0.12 0.018 258) 100%);
  color: var(--night-ink);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.72 0.12 178 / 0.5), transparent);
}

.hero-copy {
  grid-area: copy;
  max-width: 640px;
}

.signal-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--teal-bright);
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.signal-line::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 660;
  font-stretch: 112%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-copy h1 .h1-line {
  display: block;
}

.hero-copy > p:not(.signal-line) {
  max-width: 540px;
  margin: 26px 0 30px;
  color: var(--night-muted);
  font-size: 1.1rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions .btn-outline {
  border-color: oklch(1 0 0 / 0.28);
  color: var(--night-ink);
}

.hero-actions .btn-outline:hover {
  border-color: oklch(1 0 0 / 0.55);
  background: oklch(1 0 0 / 0.06);
}

.hero-visual {
  position: relative;
  grid-area: visual;
  min-height: 540px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  background: var(--night-2);
  box-shadow: 0 30px 60px -30px oklch(0 0 0 / 0.55);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.14 0.02 255 / 0.55) 0%, oklch(0.14 0.02 255 / 0) 40%),
    linear-gradient(180deg, oklch(0.14 0.02 255 / 0) 55%, oklch(0.14 0.02 255 / 0.65) 100%);
  pointer-events: none;
}

.scan-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.78 0.12 178 / 0.18), transparent);
  width: 22%;
  transform: translateX(-130%);
  animation: scan 9s var(--ease) infinite;
}

/* Featured panel: cockpit glass */

.feature-panel {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: 32px;
  width: min(372px, calc(100% - 64px));
  padding: 24px;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius);
  background: oklch(0.17 0.022 252 / 0.82);
  color: var(--night-ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
}

.panel-controls button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 6px;
  background: transparent;
  color: var(--night-ink);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.panel-controls button:hover:not(:disabled) {
  background: oklch(1 0 0 / 0.12);
  border-color: oklch(1 0 0 / 0.34);
}

.panel-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.panel-controls .icon {
  width: 16px;
  height: 16px;
}

.panel-label {
  margin: 0 0 12px;
  color: var(--teal-bright);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-panel h2 {
  max-width: 264px;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 640;
  font-stretch: 106%;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.feature-panel .panel-swap {
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.feature-panel.is-swapping .panel-swap {
  opacity: 0;
  transform: translateY(5px);
}

.detail-status,
.status {
  min-height: 27px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 9px;
  font-size: 0.76rem;
  font-weight: 660;
  letter-spacing: 0.015em;
}

.detail-status {
  margin-top: 12px;
}

.feature-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin: 20px 0;
}

.feature-panel dt {
  color: var(--night-muted);
}

.feature-specs dd {
  margin: 3px 0 0;
  font-size: 0.96rem;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.feature-panel p:not(.panel-label) {
  margin: 0 0 18px;
  color: var(--night-muted);
  font-size: 0.92rem;
}

.feature-panel .btn-outline {
  border-color: oklch(1 0 0 / 0.26);
  color: var(--night-ink);
}

.feature-panel .btn-outline:hover {
  border-color: oklch(1 0 0 / 0.5);
  background: oklch(1 0 0 / 0.06);
}

.panel-page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--teal-bright);
  font-size: 0.9rem;
  font-weight: 620;
}

.panel-page-link::after {
  content: "\2192";
  transition: transform 200ms var(--ease-out);
}

.panel-page-link:hover::after {
  transform: translateX(3px);
}

/* Search console: light island on the night deck */

.search-console {
  position: sticky;
  top: 84px;
  z-index: var(--z-sticky);
  grid-area: search;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid oklch(0.88 0.012 240);
  border-radius: var(--radius);
  background: oklch(1 0 0 / 0.97);
  color: var(--ink);
  box-shadow: 0 24px 48px -28px oklch(0 0 0 / 0.5);
}

.console-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / -1;
}

.console-title h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 660;
  letter-spacing: -0.005em;
}

/* ---------- Light marketplace sections ---------- */

.inventory-section,
.trust-sell-grid,
.process-section,
.pricing-section,
.seller-section,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

main {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--pearl) 55%, var(--bg) 100%);
}

.inventory-section {
  padding: 34px 0 72px;
}

.category-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.aircraft-rail::-webkit-scrollbar {
  display: none;
}

.category-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 580;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.category-button:hover,
.category-button.is-active {
  background: oklch(0.93 0.02 112);
  color: var(--primary-strong);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 26px 0 18px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 660;
  font-stretch: 106%;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-heading p {
  margin-top: 6px;
  color: var(--muted);
}

.section-heading a,
.trust-card a,
.site-footer a:not(.brand) {
  color: var(--blue);
  font-weight: 620;
}

/* Aircraft cards */

.aircraft-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(284px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
}

.aircraft-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out);
}

.aircraft-card:hover,
.aircraft-card.is-selected {
  transform: translateY(-4px);
  border-color: oklch(0.69 0.07 112);
}

.aircraft-card.is-selected {
  box-shadow: 0 0 0 3px oklch(0.72 0.1 112 / 0.16);
}

.aircraft-card[hidden] {
  display: none;
}

.aircraft-card > img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.aircraft-card:hover > img {
  transform: scale(1.045);
}

.card-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-group {
  display: flex;
  gap: 6px;
}

.status.featured {
  background: var(--primary);
  color: var(--white);
}

.status.verified,
.detail-status.is-verified {
  background: oklch(0.91 0.05 175);
  color: oklch(0.31 0.096 175);
}

.status.attention,
.detail-status.is-attention {
  background: oklch(0.94 0.07 76);
  color: oklch(0.38 0.09 72);
}

.status.pending,
.detail-status.is-pending {
  background: oklch(0.92 0.014 250);
  color: var(--ink-2);
}

.feature-panel .detail-status.is-verified {
  background: oklch(0.55 0.118 178 / 0.25);
  color: var(--teal-bright);
}

.feature-panel .detail-status.is-attention {
  background: oklch(0.69 0.15 75 / 0.24);
  color: oklch(0.85 0.12 80);
}

.feature-panel .detail-status.is-pending {
  background: oklch(1 0 0 / 0.12);
  color: var(--night-muted);
}

.save-button {
  width: 34px;
  height: 34px;
  border: 1px solid oklch(0.9 0.006 240);
  background: oklch(1 0 0 / 0.92);
  color: var(--ink-2);
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}

.save-button:hover {
  transform: scale(1.06);
}

.save-button.is-saved {
  color: var(--primary);
  animation: save-pop 320ms var(--ease-out);
}

.save-button.is-saved svg {
  fill: currentColor;
}

@keyframes save-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

.card-copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.card-copy h3,
.card-copy p {
  margin: 0;
}

.card-copy h3 {
  font-size: 1.05rem;
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.card-copy h3 a {
  transition: color 160ms var(--ease);
}

.card-copy h3 a:hover {
  color: var(--primary-strong);
}

.card-copy p {
  color: var(--muted);
  font-size: 0.87rem;
}

.card-copy strong {
  margin-top: 4px;
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums;
}

p.sample-note,
.section-heading p.sample-note {
  max-width: 62ch;
  margin-top: 8px;
  color: oklch(0.5 0.1 75);
  font-size: 0.84rem;
  font-weight: 580;
}

.sample-banner {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid oklch(0.85 0.08 78);
  border-radius: var(--radius);
  background: oklch(0.97 0.03 85);
  color: oklch(0.42 0.09 72);
  font-size: 0.9rem;
  font-weight: 580;
}

.empty-state {
  margin-top: 12px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

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

/* Trust + seller promo */

.trust-sell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, 0.9fr);
  gap: 18px;
  margin-bottom: 84px;
}

.trust-card,
.seller-promo,
.seller-section,
.process-strip article,
.seller-form {
  border-radius: var(--radius);
}

.trust-card,
.seller-promo {
  border: 1px solid var(--line);
  background: var(--white);
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 30px;
}

.trust-card h2,
.trust-card p,
.seller-promo h2,
.seller-promo p,
.seller-copy h2,
.seller-copy p {
  margin: 0;
}

.trust-card h2,
.seller-promo h2 {
  font-size: 1.55rem;
  font-weight: 660;
  font-stretch: 106%;
  letter-spacing: -0.012em;
  line-height: 1.1;
}

.trust-card p,
.seller-promo p {
  margin-top: 10px;
  color: var(--muted);
}

.trust-card a {
  display: inline-flex;
  margin-top: 18px;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-items div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--pearl);
  align-content: start;
}

.trust-items .icon {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.trust-items strong,
.trust-items span {
  display: block;
}

.trust-items strong {
  font-weight: 640;
}

.trust-items span {
  color: var(--muted);
  font-size: 0.87rem;
}

.seller-promo {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: end;
  border: 0;
  background: var(--night);
  color: var(--night-ink);
}

.seller-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 45%;
  opacity: 0.55;
}

.seller-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.16 0.02 252 / 0.1), oklch(0.14 0.02 252 / 0.86));
}

.seller-promo > div {
  position: relative;
  z-index: 1;
  max-width: 320px;
}

.seller-promo p {
  color: var(--night-muted);
}

.seller-promo .btn {
  margin-top: 16px;
}

/* Process */

.process-section {
  margin-bottom: 84px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.process-strip article {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.process-strip span {
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.process-strip h3 {
  margin: 12px 0 8px;
  font-size: 1.04rem;
  font-weight: 640;
}

.process-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Pricing */

.pricing-section {
  margin-bottom: 84px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out);
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.plan-card.is-highlighted {
  border-color: var(--night);
  background: var(--night);
  color: var(--night-ink);
}

.plan-card.is-highlighted:hover {
  border-color: var(--night);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 660;
}

.plan-price {
  margin: 0;
}

.plan-price strong {
  font-size: 2.1rem;
  font-weight: 680;
  font-stretch: 106%;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

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

.plan-card.is-highlighted .plan-price span,
.plan-card.is-highlighted .plan-features {
  color: var(--night-muted);
}

.plan-note {
  margin: 0;
  color: var(--teal);
  font-size: 0.83rem;
  font-weight: 620;
}

.plan-card.is-highlighted .plan-note {
  color: var(--teal-bright);
}

.plan-features {
  margin: 6px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.plan-features li {
  padding-left: 24px;
  background: no-repeat left 4px / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5d23' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.plan-card.is-highlighted .plan-features li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd8c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.plan-card.is-highlighted .btn-primary {
  background: var(--white);
  color: var(--night);
}

.plan-card.is-highlighted .btn-primary:hover {
  background: var(--pearl-2);
}

.plan-card .btn-outline {
  border-color: var(--line-strong);
}

/* Seller section */

.seller-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 84px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-copy h2 {
  max-width: 640px;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 660;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.seller-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  text-wrap: pretty;
}

.seller-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.seller-proof div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pearl);
}

.seller-proof strong,
.seller-proof span {
  display: block;
}

.seller-proof strong {
  font-size: 1.55rem;
  font-weight: 680;
  font-stretch: 106%;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.seller-proof span {
  color: var(--muted);
  font-size: 0.86rem;
}

.seller-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 40px -32px oklch(0 0 0 / 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-field {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--pearl);
}

.check-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.check-field span {
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--ink-2);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--primary-strong);
  font-weight: 620;
}

/* ---------- Listing detail page ---------- */

.listing-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 70px;
}

.listing-breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
}

.listing-breadcrumb a {
  color: var(--blue);
}

.listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.listing-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--pearl);
}

.listing-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.listing-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.listing-panel h1 {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 660;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.listing-panel .panel-label {
  color: var(--teal);
}

.listing-panel > p {
  color: var(--ink-2);
  text-wrap: pretty;
}

.listing-panel dt {
  color: var(--muted);
}

.listing-panel .feature-specs dd {
  color: var(--ink);
}

.listing-panel .plan-features {
  margin-bottom: 0;
}

.listing-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: start;
  margin-top: 26px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.listing-inquiry-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 660;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.listing-inquiry-copy p {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Footer: night chrome ---------- */

.site-footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 24px 28px;
  align-items: start;
  margin-top: 40px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2)) 42px;
  background: var(--night);
  border-top: 0;
  color: var(--night-muted);
}

.site-footer a:not(.brand) {
  color: var(--night-ink);
  font-weight: 560;
  opacity: 0.85;
  transition: opacity 160ms var(--ease);
}

.site-footer a:not(.brand):hover {
  opacity: 1;
}

.site-footer p {
  max-width: 560px;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.footer-legal {
  font-size: 0.84rem;
  opacity: 0.8;
}

.footer-brand {
  color: var(--night-ink);
}

/* ---------- Inquiry dialog ---------- */

.inquiry-dialog {
  width: min(620px, calc(100% - 32px));
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  z-index: var(--z-dialog);
}

.inquiry-dialog::backdrop {
  background: oklch(0.1 0.015 250 / 0.6);
  backdrop-filter: blur(3px);
}

.inquiry-dialog[open] {
  animation: dialog-in 280ms var(--ease-out);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: var(--pearl);
  color: var(--ink);
  transition: background 160ms var(--ease);
}

.dialog-close:hover {
  background: var(--pearl-2);
}

.dialog-heading {
  padding-right: 40px;
}

.dialog-heading span {
  color: var(--teal);
  font-weight: 640;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialog-heading h2,
.dialog-heading p {
  margin: 0;
}

.dialog-heading h2 {
  margin-top: 4px;
  font-size: 1.7rem;
  font-weight: 660;
  font-stretch: 106%;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.dialog-heading p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---------- Motion ---------- */

/* Hero load choreography */
.hero-copy .signal-line,
.hero-copy h1 .h1-line,
.hero-copy > p:not(.signal-line),
.hero-actions {
  animation: rise-in 700ms var(--ease-out) both;
}

.hero-copy h1 .h1-line:nth-child(1) {
  animation-delay: 70ms;
}

.hero-copy h1 .h1-line:nth-child(2) {
  animation-delay: 140ms;
}

.hero-copy > p:not(.signal-line) {
  animation-delay: 220ms;
}

.hero-actions {
  animation-delay: 300ms;
}

.hero-visual {
  animation: visual-in 900ms var(--ease-out) 150ms both;
}

.feature-panel {
  animation: rise-in 700ms var(--ease-out) 420ms both;
}

.search-console {
  animation: rise-in 700ms var(--ease-out) 380ms both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll reveals with per-item stagger */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  transform: translateY(16px);
  transition: transform 600ms var(--ease-out);
}

.js .reveal.is-visible {
  transform: translateY(0);
}

.js .reveal.reveal-stagger {
  transform: none;
}

.js .reveal-stagger > * {
  transform: translateY(14px);
  transition: transform 550ms var(--ease-out);
}

.js .reveal-stagger.is-visible > * {
  transform: translateY(0);
}

.js .reveal-stagger.is-visible > :nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: 210ms; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: 280ms; }
.js .reveal-stagger.is-visible > :nth-child(6) { transition-delay: 350ms; }
.js .reveal-stagger.is-visible > :nth-child(7) { transition-delay: 420ms; }

@keyframes scan {
  0%, 18% {
    transform: translateX(-140%);
    opacity: 0;
  }
  24%, 58% {
    opacity: 1;
  }
  78%, 100% {
    transform: translateX(560%);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--night-line);
    border-radius: var(--radius);
    background: var(--night-2);
    color: var(--night-ink);
    z-index: var(--z-header);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-stage,
  .trust-sell-grid,
  .seller-section,
  .listing-hero,
  .listing-inquiry {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-areas:
      "copy"
      "visual"
      "search";
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 7.5vw, 4.4rem);
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 440px;
  }

  .search-console {
    grid-template-columns: repeat(2, 1fr);
    position: static;
  }

  .trust-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .header-actions .btn,
  .icon-button {
    display: none;
  }

  .hero-stage {
    padding-inline: 16px;
    padding-bottom: 26px;
    gap: 20px;
  }

  .inventory-section,
  .trust-sell-grid,
  .process-section,
  .pricing-section,
  .seller-section,
  .listing-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .hero-copy > p:not(.signal-line) {
    font-size: 1rem;
  }

  .hero-actions,
  .panel-actions,
  .section-heading,
  .seller-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 480px;
  }

  .feature-panel {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
  }

  .feature-panel h2 {
    font-size: 1.45rem;
  }

  .feature-specs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
  }

  .search-console,
  .form-row,
  .trust-items,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .console-title {
    display: grid;
    gap: 4px;
  }

  .inventory-section {
    padding-bottom: 46px;
  }

  .aircraft-rail {
    grid-auto-columns: minmax(270px, 86vw);
  }

  .trust-card,
  .seller-section,
  .listing-inquiry {
    padding: 20px;
  }

  .listing-media img {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
