:root {
  --paper: #ffffff;
  --paper-deep: #f6f6f4;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #16161d;
  --muted: #6b7280;
  --line: #e6e6ea;
  --line-strong: #c9c9d1;
  --forest: #4f46e5;
  --forest-deep: #16161d;
  --moss: #3730a3;
  --signal: #ffffff;
  --orange: #4f46e5;
  --error: #b91c1c;
  --brand: #4f46e5;
  --brand-ink: #3730a3;
  --brand-wash: #f1f0fe;
  --shadow: 0 1px 2px rgba(16, 16, 29, 0.04), 0 18px 52px rgba(16, 16, 29, 0.08);
  --radius: 24px;
  --radius-small: 13px;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(79, 70, 229, 0.05), transparent 24rem),
    linear-gradient(180deg, #fafaf8 0, #fff 34rem);
  font-family: var(--font-ui);
  font-kerning: normal;
  font-feature-settings: "kern", "liga", "tnum";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.demo-rail {
  padding: 7px 20px;
  background: #d8ff64;
  color: #182006;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
}

.store-brand,
.nav-links a,
.bag-pill {
  color: inherit;
  text-decoration: none;
}

.store-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 4px;
  color: #3a3a44;
  font-size: 0.92rem;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.integration-badge,
.bag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
}

.integration-badge {
  padding: 8px 13px;
  color: #565662;
}

.bag-pill {
  gap: 7px;
  padding: 8px 9px 8px 14px;
  font-weight: 650;
}

.bag-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb strong {
  color: #3a3a44;
  font-weight: 650;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 30px clamp(40px, 5vw, 72px);
  width: min(var(--maxw), calc(100vw - 40px));
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.demo-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 0 0 2px;
}

.demo-flow {
  display: flex;
  align-items: center;
  min-width: 0;
}

.demo-flow {
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4b4b57;
  font-size: 0.75rem;
  box-shadow: 0 8px 25px rgba(22, 22, 29, 0.05);
}

.demo-flow span {
  white-space: nowrap;
}

.demo-flow b {
  color: var(--brand);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.product-stage {
  display: grid;
  align-content: start;
  gap: 28px;
  min-width: 0;
  animation: reveal 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  scroll-margin-top: 96px;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  border: 1px solid rgba(22, 22, 29, 0.07);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(145deg, #6158ee, #3730a3);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 24px 70px rgba(22, 22, 29, 0.08);
  overflow: hidden;
}

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

.product-media::before {
  width: min(68%, 540px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.1),
    0 44px 80px rgba(16, 24, 40, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.product-media::after {
  inset: 0;
  border: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(24, 21, 65, 0.2));
}

.product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(90%, 720px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 22px rgba(16, 24, 40, 0.3));
  transform: rotate(-2deg) translateY(-4px);
}

.media-stamp {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.media-stamp span,
.media-stamp b {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.media-stamp b {
  font-size: 0.78rem;
}

.media-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy {
  padding: 0 4px 10px;
  scroll-margin-top: 96px;
}

.product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.product-kicker,
.checkout-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.2vw, 5.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.description {
  max-width: 610px;
  margin: 18px 0 0;
  color: #3a3a44;
  font-size: 1rem;
}

.price-lockup {
  display: grid;
  flex: 0 0 auto;
  gap: 5px;
  min-width: 150px;
  padding: 13px 0 9px 18px;
  border-left: 1px solid var(--line);
}

.price-lockup > span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.feature strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
}

.feature-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--forest);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-weight::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-weight::after {
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(1px);
}

.icon-water::before {
  width: 13px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 11px 11px 12px 12px;
  transform: rotate(38deg);
}

.icon-air::before,
.icon-air::after {
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.icon-air::before {
  transform: translateY(-4px);
}

.icon-air::after {
  box-shadow: 0 8px 0 currentColor;
  transform: translateX(3px);
}

.icon-pack::before {
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-pack::after {
  width: 8px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  transform: translateY(-8px);
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 22px;
}

.care-grid h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.care-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 26px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--line);
  overflow: hidden;
}

.trust-strip span {
  padding: 13px 8px;
  background: var(--surface);
  color: #555561;
  text-align: center;
  font-size: 0.78rem;
}

.checkout-panel {
  position: sticky;
  top: 86px;
  align-self: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f6f6f3;
  box-shadow: 0 20px 60px rgba(16, 16, 29, 0.12);
  overflow: hidden;
  animation: reveal 620ms 90ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  scroll-margin-top: 96px;
}

.checkout-rail {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 22px;
  background: var(--ink);
  color: #d8ff64;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.checkout-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 22px;
  background: rgba(246, 246, 243, 0.92);
}

.checkout-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.checkout-heading p:not(.checkout-kicker) {
  max-width: 360px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.secure {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--brand-ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.secure::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #047857;
}

.checkout-step {
  margin: 0 14px 14px;
  padding: 19px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 22, 29, 0.045);
}

.checkout-step + .checkout-step {
  border-top: 1px solid var(--line);
}

.step-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.step-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-full {
  margin-top: 17px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.field > span:first-child {
  color: #3a3a44;
  font-size: 0.74rem;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input {
  padding: 0 13px;
}

.select-shell {
  position: relative;
  display: block;
  width: 100%;
}

.select-shell::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  pointer-events: none;
  transform: translateY(-67%) rotate(45deg);
}

.field select {
  appearance: none;
  padding: 0 44px 0 13px;
}

.field input:focus,
.field select:focus,
.preview-card-form button:focus-visible,
.receipt-card summary:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
  outline: none;
}

.shipping-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px dashed #c7c9d3;
  border-radius: var(--radius-small);
  background: var(--paper-deep);
}

.shipping-dot {
  width: 17px;
  height: 17px;
  border: 5px solid var(--brand);
  border-radius: 50%;
  background: var(--signal);
}

.shipping-card strong,
.shipping-card span {
  display: block;
}

.shipping-card strong,
.shipping-card b {
  color: var(--ink);
  font-size: 0.82rem;
}

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

.section-title {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.entity-route {
  align-self: center;
  padding: 5px 8px;
  border: 1px solid #d9d6fb;
  border-radius: 999px;
  background: var(--brand-wash);
  color: var(--brand-ink);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.summary-body {
  margin: 16px 0 0 36px;
  padding: 15px 16px 13px;
  border-radius: var(--radius-small);
  background: var(--paper-deep);
}

.summary dl,
.receipt-card dl {
  margin: 0;
}

.summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 6px 0;
}

.summary dt,
.receipt-card dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.summary dd,
.receipt-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: right;
  word-break: break-word;
}

.summary .total {
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dddde2;
}

.summary .total dt {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.summary .total dd {
  color: var(--brand);
  font-size: 1.17rem;
  font-weight: 850;
}

.quote-state {
  min-height: 20px;
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--brand);
  color: #555561;
  font-size: 0.72rem;
}

.quote-state.error {
  color: var(--error);
}

.payment-box {
  min-width: 0;
  margin: 16px 0 0 36px;
  padding: 14px;
  border: 1px solid #d7d7de;
  border-radius: var(--radius-small);
  background: #fff;
}

.payment-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.payment-title span:last-child {
  color: var(--brand-ink);
  font-size: 0.68rem;
}

.ob-checkout {
  min-height: 120px;
}

.preview-card-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.preview-card-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #747d76;
  font-size: 0.79rem;
}

.preview-card-row b {
  color: var(--ink);
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}

.preview-card-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.preview-card-form button {
  min-height: 50px;
  padding: 12px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 12px 22px rgba(22, 22, 29, 0.16);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.preview-card-form button:hover {
  background: var(--brand);
  box-shadow: 0 15px 28px rgba(79, 70, 229, 0.22);
  transform: translateY(-1px);
}

.payment-note {
  margin: 10px 0 0;
  color: #727b74;
  text-align: center;
  font-size: 0.68rem;
}

.payment-unavailable {
  padding: 14px;
  border: 1px dashed #c6a39e;
  border-radius: 8px;
  color: var(--error);
  font-size: 0.78rem;
}

.payment-step.is-authorized .step-number {
  background: #047857;
  box-shadow: 0 0 0 5px rgba(4, 120, 87, 0.1);
}

.receipt-card {
  display: grid;
  gap: 13px;
  margin: 16px 0 0 36px;
  padding: 16px;
  border: 1px solid #9ee6c7;
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 8%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(145deg, #effdf7, #e9fbf3);
  box-shadow: 0 16px 36px rgba(4, 120, 87, 0.1);
  animation: receipt-in 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.receipt-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.receipt-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #047857;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(4, 120, 87, 0.18);
}

.receipt-copy {
  min-width: 0;
}

.receipt-kicker {
  margin: 0 0 2px;
  color: #047857;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.receipt-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.receipt-copy > p:last-child {
  margin: 4px 0 0;
  color: #51605a;
  font-size: 0.72rem;
}

.receipt-amount {
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding-left: 14px;
  border-left: 1px solid rgba(4, 120, 87, 0.2);
  text-align: right;
}

.receipt-amount span {
  color: #64736c;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.receipt-amount strong {
  color: #065f46;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.receipt-route {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid rgba(4, 120, 87, 0.14);
  border-bottom: 1px solid rgba(4, 120, 87, 0.14);
  color: #627068;
  font-size: 0.68rem;
}

.receipt-route strong {
  color: #065f46;
  font-size: 0.74rem;
  white-space: nowrap;
}

.receipt-state {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(4, 120, 87, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #047857;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.receipt-proofs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.receipt-proofs div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(4, 120, 87, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
}

.receipt-proofs dt,
.receipt-proofs dd {
  display: block;
  text-align: left;
}

.receipt-proofs dt {
  color: #64736c;
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.receipt-proofs dd {
  margin: 4px 0 0;
  color: #18342b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.receipt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.receipt-actions details {
  min-width: 0;
}

.receipt-actions summary {
  width: fit-content;
  cursor: pointer;
  color: #24483c;
  font-size: 0.68rem;
  font-weight: 800;
}

.receipt-actions pre {
  width: 100%;
  max-width: 100%;
  max-height: 190px;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid rgba(4, 120, 87, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #3a3a44;
  font-size: 0.66rem;
  overflow: auto;
}

.receipt-reset {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(4, 120, 87, 0.26);
  border-radius: 999px;
  background: transparent;
  color: #065f46;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.receipt-reset:hover {
  border-color: #047857;
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.receipt-reset:focus-visible {
  outline: 3px solid rgba(4, 120, 87, 0.2);
  outline-offset: 2px;
}

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

.store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - 1120px) / 2));
  background: #14141b;
  color: #9a9aa8;
  font-size: 0.82rem;
}

.store-footer > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 780;
}

.footer-brand > span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff;
  color: #14141b;
  font-size: 0.62rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  min-width: 0;
  scroll-margin-top: 96px;
}

.catalog-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
}

.catalog-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.catalog-heading p {
  max-width: 62ch;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-note {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4b4b57;
  font-size: 0.7rem;
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.catalog-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.catalog-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 30px rgba(22, 22, 29, 0.07);
  transform: translateY(-2px);
}

.catalog-card:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 2px;
}

.catalog-card.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}

.catalog-badge {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-badge.is-adapter {
  background: var(--brand-wash);
  color: var(--brand-ink);
}

.catalog-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.catalog-sku {
  color: var(--muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.catalog-price {
  margin-top: 2px;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.media-placeholder {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  text-align: center;
}

.media-placeholder-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.preview-only-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--paper-deep);
}

.preview-only-note strong {
  font-size: 0.9rem;
}

.preview-only-note span {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 780px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .catalog-heading h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 420px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(820px, calc(100vw - 40px));
  }

  .checkout-panel {
    position: static;
  }

  .product-media {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .demo-rail {
    padding-inline: 12px;
    font-size: 0.63rem;
  }

  .nav-inner {
    padding: 12px 14px;
  }

  .nav-links,
  .integration-badge {
    display: none;
  }

  .page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 18px 14px 40px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .demo-topbar {
    display: grid;
    gap: 12px;
    padding: 3px 2px 14px;
  }

  .demo-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    width: 100%;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
  }

  .demo-flow span {
    min-width: 0;
    white-space: normal;
  }

  .demo-flow span:nth-child(4),
  .demo-flow span:nth-child(5) {
    display: none;
  }

  .demo-flow span:nth-child(3) {
    text-align: right;
  }

  .product-stage,
  .product-copy,
  .summary,
  .payment-box,
  .preview-card-form {
    min-width: 0;
  }

  .product-media {
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 0.95;
  }

  .product-media::before {
    width: 62%;
    box-shadow:
      0 0 0 24px rgba(255, 255, 255, 0.1),
      0 24px 48px rgba(16, 24, 40, 0.18);
  }

  .product-image {
    width: 88%;
  }

  .media-stamp {
    top: 13px;
    left: 13px;
    padding: 7px 8px;
  }

  .media-caption {
    right: 13px;
    bottom: 13px;
    left: 13px;
    font-size: 0.58rem;
  }

  .product-heading {
    display: grid;
    gap: 17px;
  }

  .product-copy h1 {
    font-size: clamp(3.15rem, 16vw, 4.3rem);
    line-height: 0.86;
  }

  .price-lockup {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .price {
    white-space: normal;
  }

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

  .care-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

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

  .checkout-heading {
    display: grid;
    padding: 20px 18px;
  }

  .secure {
    width: fit-content;
  }

  .checkout-step {
    margin: 0 10px 10px;
    padding: 19px 16px 21px;
  }

  .section-title {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .entity-route {
    grid-column: 2;
    justify-self: start;
  }

  .summary-body,
  .payment-box {
    margin-left: 0;
  }

  .shipping-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .shipping-card b {
    grid-column: 2;
    justify-self: start;
  }

  .payment-title {
    display: grid;
    gap: 3px;
  }

  .preview-card-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .preview-card-row b {
    text-align: left;
  }

  .preview-card-form button {
    width: 100%;
  }

  .receipt-card {
    margin-left: 0;
    padding: 14px;
  }

  .receipt-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .receipt-amount {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(4, 120, 87, 0.16);
    border-left: 0;
    text-align: left;
  }

  .receipt-proofs {
    grid-template-columns: 1fr;
  }

  .receipt-actions {
    display: grid;
    justify-items: start;
  }

  .receipt-reset {
    width: 100%;
  }

  .store-footer,
  .store-footer > div {
    display: grid;
  }

  .store-footer {
    gap: 12px;
    padding: 28px 20px;
  }

  .store-footer > div {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .store-brand {
    font-size: 1.02rem;
  }

  .bag-pill {
    min-height: 34px;
    padding-block: 6px;
  }

  .checkout-rail {
    padding-inline: 14px;
    font-size: 0.52rem;
  }

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

  .summary dl div {
    display: grid;
    gap: 1px;
  }

  .summary dd {
    text-align: left;
  }
}

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