:root {
  --black: #0a0b0a;
  --panel: #141714;
  --panel-raised: #1b1f1b;
  --rule: #343a34;
  --white: #e8ebe5;
  --muted: #92998f;
  --yellow: #e7f34a;
  --blue: #0098ea;
  --red: #ff674d;
  color: var(--white);
  background: var(--black);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--black);
}

html {
  scroll-behavior: smooth;
}

body.gate-locked {
  overflow: hidden;
}

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

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: fixed;
  z-index: 41;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.access-gate {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  padding: clamp(12px, 3vw, 36px);
  overflow-y: auto;
  place-items: center;
  background: var(--black);
  transition:
    visibility 700ms,
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate::before {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(231, 243, 74, 0.08) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 48px;
  pointer-events: none;
  content: "";
}

.access-gate.cleared {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-32px);
}

.gate-frame {
  position: relative;
  width: min(100%, 1120px);
  border: 1px solid var(--rule);
  background: var(--panel);
}

.gate-frame::before,
.gate-frame::after {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--yellow);
  content: "";
}

.gate-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.gate-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.gate-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gate-header span:last-child {
  color: var(--yellow);
}

.gate-body {
  display: grid;
  min-height: min(68vh, 620px);
  grid-template-columns: 1.1fr 0.9fr;
}

.gate-copy,
.gate-control {
  padding: clamp(28px, 6vw, 72px);
}

.gate-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--rule);
}

.gate-index {
  margin: 0;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gate-copy h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 92px);
}

.gate-copy > p:last-child {
  max-width: 52ch;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.gate-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
}

.gate-track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gate-track i {
  height: 1px;
  background: var(--rule);
}

.gate-control label {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.gate-control input {
  width: 100%;
  height: 54px;
  margin: 0;
  background: transparent;
  appearance: none;
}

.gate-control input::-webkit-slider-runnable-track {
  height: 54px;
  border: 1px solid var(--rule);
  background:
    linear-gradient(90deg, var(--yellow) var(--gate-progress, 0%), var(--panel) var(--gate-progress, 0%));
}

.gate-control input::-webkit-slider-thumb {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 10px var(--black);
  appearance: none;
}

.gate-control input::-moz-range-track {
  height: 52px;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.gate-control input::-moz-range-progress {
  height: 52px;
  background: var(--yellow);
}

.gate-control input::-moz-range-thumb {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 10px var(--black);
}

.gate-result {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gate-result.approved {
  color: var(--yellow);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1540px) / 2));
  border-bottom: 1px solid var(--rule);
  background: rgba(10, 11, 10, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(19px, 3vw, 26px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 16px;
  height: 34px;
  margin-right: 11px;
  border: 2px solid var(--yellow);
  background:
    linear-gradient(135deg, transparent 42%, var(--yellow) 43%, var(--yellow) 57%, transparent 58%);
  background-size: 8px 8px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.network-badge,
.language-control,
.cart-trigger {
  min-height: 38px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--panel);
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.network-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d477;
}

.language-control select {
  min-height: 36px;
  padding: 0 28px 0 10px;
  border: 0;
  color: var(--white);
  background: var(--panel);
  appearance: none;
  font-size: 12px;
  font-weight: 800;
}

.language-control option {
  color: var(--white);
  background: var(--panel);
}

.cart-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px 0 12px;
  border-color: var(--yellow);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-trigger b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
}

main {
  width: min(100% - 40px, 1540px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.portfolio-hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
  align-items: stretch;
  border-right: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 128px) clamp(28px, 6vw, 92px);
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(58px, 7.8vw, 118px);
}

.hero-lead {
  max-width: 62ch;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.primary-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  color: var(--black);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-link b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: rgba(10, 11, 10, 0.12);
  font-size: 17px;
}

.primary-link:hover {
  transform: translateY(-3px);
}

.primary-link:active {
  transform: translateY(1px);
}

.text-link {
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 6px;
}

.system-route {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 60px);
  border-left: 1px solid var(--rule);
  background: var(--panel);
}

.route-head,
.route-foot {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.route-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #84d798;
}

.route-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.system-route ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-route li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.system-route li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  bottom: -5px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  background: var(--panel);
  transform: rotate(45deg);
  content: "";
}

.system-route li > b {
  color: var(--yellow);
  font-size: 11px;
}

.system-route li div {
  display: grid;
  gap: 5px;
}

.system-route li strong {
  font-size: clamp(17px, 2vw, 23px);
}

.system-route li span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.system-route li em {
  color: var(--blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.route-foot {
  margin: 18px 0 0;
  color: var(--yellow);
}

.engineering-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(88px, 11vw, 170px) 0;
  border-top: 1px solid var(--rule);
}

.engineering-proof > header {
  padding: 0 clamp(30px, 5vw, 78px) 0 2px;
}

.engineering-proof h2,
.store-intro h2,
.closing-statement h2 {
  max-width: 900px;
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 82px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

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

.proof-list article {
  display: grid;
  grid-template-columns: 88px minmax(190px, 0.8fr) minmax(240px, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.proof-list article > span {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
}

.proof-list h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.proof-list p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.store-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 72px 2px 26px;
  border-top: 1px solid var(--rule);
}

.store-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.closing-statement {
  display: flex;
  min-height: 72vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 100px;
  padding: clamp(50px, 8vw, 120px);
  border: 1px solid var(--rule);
  background: var(--panel);
}

.closing-statement > p:not(.kicker) {
  max-width: 56ch;
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 4px;
}

.market-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.kicker,
.market-status,
.registry-heading,
.featured-eyebrow,
.product-meta,
.cart-header p,
.manifest-summary span,
.server-proof {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 10px;
  color: var(--yellow);
}

h1 {
  max-width: 1100px;
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.84;
  text-transform: uppercase;
}

.market-status {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  margin-bottom: 18px;
}

.search-control {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.search-control svg {
  width: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
}

.search-control input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.search-control input::placeholder {
  color: var(--muted);
}

.category-list {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--rule);
}

.category-button {
  min-width: max-content;
  padding: 0 18px;
  border: 0;
  background: var(--panel);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-button.active {
  color: var(--black);
  background: var(--yellow);
}

.featured-product {
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(420px, 0.78fr) minmax(520px, 1.22fr);
  margin-bottom: 18px;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.featured-eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 6px 8px;
  color: var(--black);
  background: var(--yellow);
}

.featured-copy h2 {
  max-width: 560px;
  margin: 24px 0 12px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(46px, 7vw, 86px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.84;
  text-transform: uppercase;
}

.featured-copy > div > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.featured-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.featured-price,
.product-price {
  color: var(--blue);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.featured-price {
  font-size: 36px;
}

.add-button {
  min-width: 140px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  color: var(--yellow);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.add-button:hover,
.add-button.in-cart {
  color: var(--black);
  background: var(--yellow);
}

.cargo-cover {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-left: 1px solid var(--rule);
  background: var(--black);
}

.cargo-cover img,
.product-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cargo-cover::before {
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(231, 243, 74, 0.5);
  pointer-events: none;
  content: "";
}

.cargo-cover::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 68px;
  left: 0;
  height: 1px;
  background: var(--yellow);
  content: "";
}

.cover-index {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 22px;
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.cover-code {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  padding: 5px 7px;
  color: var(--black);
  background: var(--yellow);
  font-size: 10px;
  font-weight: 900;
}

.registry-heading {
  display: flex;
  justify-content: space-between;
  padding: 13px 2px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

.product-registry {
  border-right: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.product-row {
  display: grid;
  min-height: 146px;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
}

.product-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  background: var(--black);
}

.product-visual::before {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid #505850;
  content: "";
}

.product-index {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 12px;
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  font-weight: 900;
}

.product-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
}

.product-meta {
  margin-bottom: 7px;
  color: var(--yellow);
}

.product-details h3 {
  margin: 0 0 7px;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  font-stretch: condensed;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.product-details p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-specs {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.product-specs span {
  padding: 4px 6px;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-buy {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-left: 1px solid var(--rule);
}

.product-price {
  font-size: 24px;
  text-align: right;
}

.empty-results {
  padding: 56px 20px;
  color: var(--muted);
  text-align: center;
}

.catalog-loading,
.registry-loading {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.catalog-loading::after,
.registry-loading::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  background: #202520;
  content: "";
  animation: cargo-scan 1.1s ease-in-out infinite alternate;
}

.load-error {
  padding: 56px 20px;
  color: var(--muted);
  text-align: center;
}

.load-error button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  font-weight: 800;
}

.cart-scrim {
  position: fixed;
  z-index: 29;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 180ms ease-out, visibility 180ms;
}

.cart-scrim.visible {
  visibility: visible;
  opacity: 1;
}

.cart-panel {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 480px);
  height: 100vh;
  flex-direction: column;
  padding: 24px;
  border-left: 1px solid var(--yellow);
  background: var(--panel);
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.cart-header p {
  margin: 0 0 6px;
  color: var(--yellow);
}

.cart-header h2 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  line-height: 0.9;
  text-transform: uppercase;
}

.cart-close {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
}

.cart-lines {
  min-height: 100px;
  flex: 1;
  overflow-y: auto;
}

.cart-empty {
  margin: 40px 0;
  color: var(--muted);
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.cart-line strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.cart-line small {
  color: var(--blue);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-control button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--black);
}

.quantity-control button:hover {
  border-color: var(--yellow);
}

.quantity-control button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.45;
}

.manifest-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.manifest-summary div:last-child {
  text-align: right;
}

.manifest-summary span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
}

.manifest-summary strong {
  font-size: 15px;
}

.manifest-summary div:last-child strong {
  color: var(--blue);
  font-size: 24px;
}

.server-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  color: var(--yellow);
}

.server-proof svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.payment-route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin: 4px 0 12px;
}

.payment-route i {
  height: 4px;
  background: var(--rule);
}

.payment-route i.active {
  background: var(--yellow);
}

.cart-status {
  min-height: 36px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.cart-status.error {
  color: var(--red);
}

.mainnet-warning {
  margin: 12px 0;
  padding: 11px 12px;
  color: #ffd8d0;
  border: 1px solid #81392d;
  background: #271411;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-radius: 2px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.checkout-button:disabled {
  color: #6f756b;
  background: var(--rule);
  cursor: not-allowed;
}

.explorer-link {
  display: none;
  margin-top: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-underline-offset: 4px;
}

.explorer-link.visible {
  display: block;
}

.mobile-dock {
  position: fixed;
  z-index: 18;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  background: var(--black);
  font-size: 10px;
  font-weight: 900;
}

.mobile-dock button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  color: var(--black);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes cargo-scan {
  from { left: 0; }
  to { left: 66%; }
}

@media (max-width: 980px) {
  .gate-body {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gate-copy {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .gate-copy h1 {
    margin-top: 40px;
    font-size: clamp(42px, 12vw, 68px);
  }

  .topbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .brand span:last-child {
    font-size: 17px;
  }

  .brand-mark {
    width: 12px;
    height: 28px;
    margin-right: 8px;
  }

  .network-badge span {
    display: none;
  }

  .network-badge {
    width: 34px;
    justify-content: center;
    padding: 0;
  }

  .cart-trigger {
    display: none;
  }

  main {
    width: min(100% - 24px, 620px);
    padding-top: 0;
  }

  .portfolio-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(100dvh - 62px);
    padding: 68px 20px 54px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-route {
    padding: 36px 20px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .engineering-proof {
    grid-template-columns: 1fr;
    padding: 96px 0;
  }

  .engineering-proof > header {
    padding: 0 0 48px;
  }

  .proof-list article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .proof-list p {
    grid-column: 2;
  }

  .store-intro {
    padding-top: 56px;
  }

  .closing-statement {
    min-height: 70vh;
    margin-top: 72px;
    padding: 48px 20px;
  }

  .market-heading {
    gap: 14px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 62px);
  }

  .market-status {
    font-size: 8px;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .category-list {
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px;
    background: transparent;
  }

  .category-button {
    min-height: 40px;
    border: 1px solid var(--rule);
  }

  .featured-product {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .featured-copy {
    padding: 24px 20px;
  }

  .featured-copy h2 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .featured-action {
    align-items: center;
  }

  .featured-price {
    font-size: 29px;
  }

  .cargo-cover {
    min-height: 200px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .product-row {
    min-height: 170px;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .product-details {
    padding: 18px;
  }

  .product-details h3 {
    font-size: 25px;
  }

  .product-specs {
    display: none;
  }

  .product-buy {
    grid-column: 1 / -1;
    display: grid;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 12px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .product-price {
    text-align: left;
  }

  .add-button {
    min-width: 0;
  }

  .cart-panel {
    top: auto;
    bottom: 0;
    height: min(88vh, 780px);
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--yellow);
    border-left: 0;
    transform: translateY(100%);
  }

  .cart-panel.open {
    transform: translateY(0);
  }

  .mobile-dock {
    display: flex;
  }
}

@media (max-width: 560px) {
  .access-gate {
    align-items: start;
  }

  .gate-header {
    gap: 20px;
  }

  .gate-copy,
  .gate-control {
    padding: 26px 20px;
  }

  .gate-copy h1 {
    margin-top: 34px;
    font-size: 43px;
  }

  .gate-copy > p:last-child {
    font-size: 13px;
  }

  .gate-track {
    margin-bottom: 24px;
  }

  .route-head > span:first-child {
    display: none;
  }

  .system-route li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .system-route li em {
    display: none;
  }

  .store-intro {
    grid-template-columns: 1fr;
  }

  .store-intro > p {
    text-align: left;
  }

  .closing-statement h2 {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
