.commerce-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  background: var(--canvas);
}

.commerce-page a:focus-visible,
.commerce-page button:focus-visible {
  outline: 3px solid rgb(243 180 63 / 55%);
  outline-offset: 3px;
}

.commerce-bar {
  width: 100%;
  min-height: 95px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.commerce-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
}

.commerce-brand-mark {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 999px;
  background: var(--signal);
}

.commerce-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
}

.commerce-nav a,
.commerce-nav span {
  color: var(--graphite);
  text-decoration: none;
}

.commerce-nav a:hover,
.commerce-nav a:focus-visible {
  color: var(--healthy);
}

.commerce-nav [aria-current="page"] {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--surface);
}

.commerce-eyebrow,
.receipt-eyebrow,
.receipt-header-state {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commerce-eyebrow {
  color: var(--muted);
}

.offer-hero {
  min-height: 500px;
  padding: 72px 5vw 56px;
  display: flex;
  gap: 4.45vw;
  border-bottom: 1px solid var(--line);
}

.offer-copy {
  width: 58%;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-statement {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offer-statement h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(52px, 4.75vw, 68px);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.offer-statement p {
  max-width: 560px;
  color: var(--graphite);
  font-size: 19px;
  line-height: 29px;
}

.offer-price {
  display: flex;
  align-items: center;
  gap: 24px;
}

.offer-price strong {
  color: var(--ink);
  font-size: 44px;
  line-height: 48px;
}

.offer-price span,
.offer-action-title span,
.offer-action-control > span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 18px;
  text-transform: uppercase;
}

.kit-preview {
  width: 42%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: center;
  border-radius: var(--radius-panel);
  color: var(--surface);
  background: var(--graphite);
  box-shadow: 10px 10px 0 var(--signal);
  transform: rotate(1deg);
}

.kit-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.healthy-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 999px;
  background: var(--healthy);
}

.kit-preview h2 {
  max-width: 380px;
  margin: 0;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.025em;
}

.gate-preview {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #505753;
}

.gate-preview > div {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #505753;
}

.gate-preview span,
.gate-preview small {
  flex: 0 0 44px;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  text-transform: uppercase;
}

.gate-preview strong {
  flex: 1;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

.gate-preview small {
  text-align: right;
}

.gate-preview .pass {
  color: var(--healthy);
}

.kit-contents {
  padding: 48px 5vw 64px;
  display: flex;
  gap: 5vw;
  background: var(--surface);
}

.kit-contents > div {
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kit-contents h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.02em;
}

.file-list {
  width: 58%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  list-style: none;
}

.file-list li {
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.file-list span {
  width: 32px;
  flex: 0 0 32px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.file-list strong {
  flex: 1;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.file-list small {
  width: 82px;
  flex: 0 0 82px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.offer-action {
  min-height: 105px;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--surface);
  background: var(--graphite);
}

.offer-action-title,
.offer-action-control {
  display: flex;
  align-items: center;
  gap: 18px;
}

.offer-action-title strong {
  font-size: 20px;
  line-height: 24px;
}

.offer-action-title span,
.offer-action-control > span {
  color: #aeb4b0;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.04em;
}

.offer-action-control > span {
  text-align: right;
}

.offer-action button,
.download-record button {
  min-width: 252px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--ink);
  background: var(--signal);
  font-size: 16px;
  font-weight: 700;
}

.offer-action button:disabled,
.download-record button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.receipt-page {
  color: var(--surface);
  background: var(--graphite);
}

.commerce-bar-dark {
  border-color: #444a47;
}

.commerce-bar-dark .commerce-brand {
  color: var(--surface);
}

.commerce-brand-mark.blocked {
  background: var(--signal);
}

.receipt-header-state {
  color: #aeb4b0;
  font-size: 11px;
  line-height: 15px;
}

.receipt-workspace {
  min-height: calc(100svh - 95px);
  padding: 72px 5vw 64px;
  display: flex;
  gap: 6.65vw;
}

.receipt-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.receipt-copy > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.blocked-mark {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 44px;
  line-height: 44px;
}

.receipt-eyebrow {
  color: var(--signal);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.11em;
}

.receipt-copy h1 {
  max-width: 720px;
  color: var(--surface);
  font-size: clamp(52px, 4.75vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.receipt-summary {
  max-width: 590px;
  color: #d8ddd9;
  font-size: 20px;
  line-height: 29px;
}

.receipt-copy > small {
  color: #8e9691;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.download-record {
  width: 520px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-self: stretch;
  border: 1px solid #505754;
  border-radius: var(--radius-panel);
  background: #202522;
}

.download-record header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.download-record header small {
  color: var(--signal);
  font: inherit;
  letter-spacing: 0;
}

.download-record h2 {
  margin: 0;
  font-size: 26px;
  line-height: 31px;
}

.download-record > div p {
  margin-top: 8px;
  color: #aeb4b0;
  font-size: 15px;
  line-height: 22px;
}

.download-record dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #444a47;
}

.download-record dl div {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #444a47;
}

.download-record dt,
.download-record dd {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
}

.download-record dt {
  color: #8e9691;
}

.download-record dd {
  color: var(--signal);
}

.download-record button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.record-note {
  color: #8e9691;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 840px) {
  .commerce-bar {
    min-height: 62px;
    padding: 0 20px;
  }

  .commerce-brand {
    gap: 9px;
    font-size: 17px;
  }

  .commerce-brand-mark {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .commerce-nav {
    gap: 12px;
    font-size: 10px;
  }

  .commerce-nav a {
    display: none;
  }

  .commerce-nav [aria-current="page"] {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .offer-hero {
    min-height: auto;
    padding: 30px 20px 28px;
    flex-direction: column;
    gap: 28px;
  }

  .offer-copy,
  .kit-preview,
  .kit-contents > div,
  .file-list {
    width: 100%;
  }

  .offer-copy {
    gap: 18px;
  }

  .offer-statement {
    gap: 18px;
  }

  .offer-statement h1 {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.02;
  }

  .offer-statement p {
    font-size: 17px;
    line-height: 24px;
  }

  .offer-price {
    align-items: flex-end;
    gap: 13px;
  }

  .offer-price strong {
    font-size: 38px;
    line-height: 40px;
  }

  .offer-price span {
    padding-bottom: 4px;
    font-size: 10px;
    line-height: 14px;
  }

  .kit-preview {
    padding: 20px;
    gap: 16px;
    box-shadow: 7px 7px 0 var(--signal);
    transform: rotate(0.5deg);
  }

  .kit-preview h2 {
    font-size: 24px;
    line-height: 27px;
  }

  .kit-preview header {
    font-size: 10px;
    line-height: 14px;
  }

  .gate-preview > div:nth-child(2) {
    display: none;
  }

  .gate-preview > div {
    min-height: 44px;
  }

  .gate-preview strong {
    font-size: 13px;
    line-height: 16px;
  }

  .kit-contents {
    padding: 28px 20px 32px;
    flex-direction: column;
    gap: 22px;
  }

  .kit-contents h2 {
    font-size: 24px;
    line-height: 29px;
  }

  .file-list li {
    min-height: 52px;
  }

  .offer-action {
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .offer-action-title {
    justify-content: space-between;
  }

  .offer-action-title strong {
    font-size: 15px;
    line-height: 19px;
  }

  .offer-action-title span {
    text-align: right;
  }

  .offer-action-control {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .offer-action-control > span {
    text-align: center;
  }

  .offer-action button {
    width: 100%;
  }

  .receipt-header-state {
    font-size: 9px;
  }

  .receipt-header-state span {
    display: none;
  }

  .receipt-workspace {
    min-height: calc(100svh - 62px);
    padding: 30px 20px 0;
    flex-direction: column;
    gap: 28px;
  }

  .receipt-copy {
    gap: 26px;
  }

  .receipt-copy > div {
    gap: 16px;
  }

  .blocked-mark {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .receipt-eyebrow {
    font-size: 10px;
    line-height: 14px;
  }

  .receipt-copy h1 {
    font-size: clamp(40px, 11vw, 48px);
    line-height: 1;
  }

  .receipt-summary {
    font-size: 16px;
    line-height: 23px;
  }

  .receipt-copy > small {
    display: none;
  }

  .download-record {
    width: 100%;
    min-height: 360px;
    padding: 22px;
    gap: 18px;
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  }

  .download-record h2 {
    font-size: 22px;
    line-height: 27px;
  }

  .download-record dl div {
    min-height: 42px;
  }

  .download-record button {
    min-height: 54px;
  }
}

@media (max-width: 430px) {
  .commerce-eyebrow,
  .receipt-eyebrow {
    font-size: 10px;
    line-height: 14px;
  }

  .file-list li:nth-child(3),
  .file-list li:nth-child(4) {
    display: none;
  }

  .offer-action-title span {
    display: none;
  }
}
