/* Circle Direct standalone mock purchase journey. No external assets or fonts. */
:root {
  --red: #b92b27;
  --red-dark: #92211e;
  --red-soft: #fff1ef;
  --ink: #282422;
  --muted: #706965;
  --line: #e9e2dc;
  --warm-bg: #faf7f3;
  --white: #ffffff;
  --green: #25734a;
  --green-soft: #edf8f1;
  --amber-soft: #fff7e7;
  --shadow: 0 8px 28px rgba(60, 42, 30, 0.06);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(185, 43, 39, 0.3);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-150%);
}

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

.mock-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border-bottom: 1px solid #efcfcb;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.mock-banner__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-header__inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.back-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--red);
}

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

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand__name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand__divider {
  width: 1px;
  height: 22px;
  margin: 0 2px;
  background: var(--line);
}

.brand__descriptor {
  color: var(--muted);
  font-size: 0.83rem;
}

.demo-badge,
.fiction-tag,
.priority-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.demo-badge {
  padding: 6px 11px;
  background: #f3efeb;
  color: #625a55;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.intro {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.eyebrow,
.stage-heading__label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.intro__copy {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.demo-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:not(:disabled):active {
  transform: translateY(1px);
}

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

.button--primary:hover:not(:disabled) {
  background: var(--red-dark);
}

.button--secondary {
  border-color: #dcd4ce;
  background: var(--white);
  color: #49423e;
}

.button--secondary:hover:not(:disabled) {
  border-color: #bfb4ac;
  background: #fcfaf8;
}

.button--wide {
  width: 100%;
  margin-top: 22px;
}

.button--small {
  min-height: 38px;
  padding: 8px 12px;
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.button__icon {
  font-size: 0.72rem;
}

.auto-play-status {
  margin: -12px 0 24px;
  padding: 12px 16px;
  border: 1px solid #e5d6c0;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #725324;
  font-size: 0.86rem;
  font-weight: 600;
}

.simulation-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.journey-card,
.stage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.journey-card {
  position: sticky;
  top: 66px;
  padding: 20px 14px 14px;
}

.journey-card__heading {
  display: flex;
  padding: 0 8px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.journey-card__kicker {
  font-size: 0.8rem;
  font-weight: 800;
}

.journey-card__count {
  color: var(--muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.step-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.step-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  padding: 10px 9px;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.step-button:hover:not(:disabled) {
  background: #faf7f4;
}

.step-button[aria-current="step"] {
  background: var(--red-soft);
}

.step-button__number {
  display: grid;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #ddd5cf;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.step-button[aria-current="step"] .step-button__number {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.step-button.is-complete .step-button__number {
  border-color: #b9dbc7;
  background: var(--green-soft);
  color: var(--green);
}

.step-button__text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.step-button__text strong {
  font-size: 0.83rem;
}

.step-button__text small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-button__state {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.safety-note {
  display: flex;
  margin-top: 15px;
  padding: 13px 10px 2px;
  gap: 9px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 0.78rem;
}

.safety-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.safety-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.73rem;
}

.workspace {
  min-width: 0;
}

.stage-card {
  min-height: 490px;
  padding: 30px;
}

.stage-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.stage-heading h2,
.receipt-hero h2 {
  margin-bottom: 7px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.stage-heading p:not(.stage-heading__label) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.count-pill,
.status-pill,
.secure-mock-badge,
.receipt-status {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 6px 10px;
  align-items: center;
  border-radius: 999px;
  background: #f4f0ed;
  color: #625b56;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
}

.secure-mock-badge,
.receipt-status {
  background: var(--green-soft);
  color: var(--green);
}

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

.product-card {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefd;
}

.product-card__top {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-card__visual {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 12px;
  background: var(--product-color, #f5eee7);
  color: var(--product-ink, #765848);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.product-card__tag {
  padding: 4px 7px;
  border-radius: 5px;
  background: #f4f0ed;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-card__pack {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-card__description {
  min-height: 42px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-card__bottom {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__price {
  font-size: 1rem;
}

.product-card__bottom .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.product-card__quantity {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
}

.cart-preview {
  display: flex;
  margin-top: 18px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9e9de;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
}

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

.cart-item:first-child {
  padding-top: 0;
}

.cart-item__details {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.cart-item__visual {
  display: grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 10px;
  background: var(--product-color, #f5eee7);
  color: var(--product-ink, #765848);
  font-size: 0.72rem;
  font-weight: 800;
}

.cart-item__details h3 {
  margin-bottom: 3px;
  font-size: 0.88rem;
}

.cart-item__details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ded6d0;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-control button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  background: #fcfaf8;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}

.quantity-control button:hover:not(:disabled) {
  background: var(--red-soft);
  color: var(--red);
}

.quantity-control span {
  min-width: 32px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.cart-item__end {
  display: flex;
  min-width: 90px;
  align-items: flex-end;
  flex-direction: column;
  gap: 5px;
}

.cart-item__end strong {
  font-size: 0.88rem;
}

.remove-button {
  min-height: 28px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-button:hover:not(:disabled) {
  color: var(--red);
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
}

.empty-state__icon {
  display: block;
  margin-bottom: 10px;
  color: #b8aca3;
  font-size: 2.6rem;
}

.empty-state h3 {
  margin-bottom: 5px;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.totals {
  display: flex;
  margin-top: 18px;
  padding-top: 17px;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid var(--line);
}

.totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.totals > div strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.totals--compact {
  max-width: 360px;
  margin: 24px 0 0 auto;
}

.totals--compact > div {
  color: var(--ink);
  font-size: 0.95rem;
}

.totals--compact > div strong {
  font-size: 1.1rem;
}

.totals p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: right;
}

.totals .totals__grand {
  margin-top: 3px;
  padding-top: 15px;
  border-top: 1px dashed #dcd3cc;
  color: var(--ink);
  font-weight: 800;
}

.totals .totals__grand strong {
  color: var(--red);
  font-size: 1.15rem;
}

.address-card {
  position: relative;
  display: flex;
  margin-bottom: 22px;
  padding: 18px;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcfaf8;
}

.address-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.15rem;
}

.address-card strong {
  display: block;
  margin: 3px 0 2px;
  font-size: 0.88rem;
}

.address-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.mini-label {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fiction-tag {
  margin-left: auto;
  padding: 4px 8px;
  background: #eee9e4;
  color: var(--muted);
}

.dispatch-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.dispatch-option {
  display: flex;
  min-height: 115px;
  padding: 17px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #ded6d0;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.dispatch-option:hover:not(:disabled) {
  border-color: #c3a29e;
}

.dispatch-option[aria-checked="true"] {
  border-color: var(--red);
  background: #fffafa;
  box-shadow: 0 0 0 1px var(--red);
}

.dispatch-option__selector {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid #b9afa8;
  border-radius: 50%;
  background: var(--white);
}

.dispatch-option[aria-checked="true"] .dispatch-option__selector {
  border: 5px solid var(--red);
}

.dispatch-option__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.dispatch-option__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.dispatch-option__title strong {
  font-size: 0.83rem;
}

.dispatch-option__title > span:not(.priority-tag) {
  color: var(--muted);
  font-size: 0.68rem;
}

.dispatch-option__body small {
  color: var(--muted);
  font-size: 0.7rem;
}

.priority-tag {
  padding: 3px 6px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.6rem;
}

.dispatch-option__price {
  flex: 0 0 auto;
  font-size: 0.85rem;
}

.operational-note {
  display: flex;
  margin-top: 22px;
  padding: 14px 16px;
  align-items: flex-start;
  gap: 11px;
  border-left: 3px solid #c98d3d;
  border-radius: 0 8px 8px 0;
  background: var(--amber-soft);
  color: #7b5b2d;
}

.operational-note p {
  margin: 0;
  font-size: 0.76rem;
}

.operational-note strong {
  display: block;
  margin-bottom: 2px;
  color: #65471e;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.section-title {
  margin-bottom: 11px;
  font-size: 0.78rem;
}

.recipient-card {
  display: grid;
  margin-bottom: 25px;
  padding: 16px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.recipient-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f0e8e1;
  color: #725c4e;
  font-size: 0.7rem;
  font-weight: 800;
}

.recipient-card strong,
.recipient-card span {
  display: block;
  font-size: 0.82rem;
}

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

.recipient-card p {
  margin: 4px 0 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
}

.checkout-dispatch {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.checkout-dispatch strong,
.checkout-dispatch span {
  display: block;
  font-size: 0.78rem;
}

.checkout-dispatch span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.order-summary {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcfaf8;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.75rem;
}

.summary-item__name {
  color: #4f4843;
}

.summary-item__name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.65rem;
}

.summary-item__price {
  flex: 0 0 auto;
  font-weight: 700;
}

.button-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.payment-notice {
  display: flex;
  margin-top: 20px;
  padding: 14px 16px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #cfe4d7;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
}

.payment-notice strong {
  font-size: 0.82rem;
}

.payment-notice p {
  margin: 2px 0 0;
  font-size: 0.72rem;
}

.tracking-reference {
  display: flex;
  margin-bottom: 28px;
  padding: 12px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 9px;
  background: #f6f2ee;
  font-size: 0.76rem;
}

.tracking-reference span {
  color: var(--muted);
}

.tracking-reference strong {
  letter-spacing: 0.04em;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: flex;
  min-height: 105px;
  gap: 15px;
}

.timeline-item::before {
  position: absolute;
  top: 31px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: #dfd7d0;
  content: "";
}

.timeline-item--last {
  min-height: 70px;
}

.timeline-item--last::before {
  display: none;
}

.timeline-item__marker {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #dcd3cc;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.timeline-item.is-complete .timeline-item__marker {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.timeline-item__content {
  display: flex;
  width: 100%;
  padding: 2px 0 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.timeline-item__content h3 {
  margin-bottom: 4px;
  font-size: 0.87rem;
}

.timeline-item__content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.timeline-item__pending {
  padding-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.tracking-disclaimer {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7f3ef;
  color: var(--muted);
  font-size: 0.7rem;
}

.receipt-hero {
  margin: -30px -30px 28px;
  padding: 32px 30px 27px;
  border-bottom: 1px solid #d8e9de;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--green-soft);
  text-align: center;
}

.receipt-hero__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.35rem;
}

.receipt-hero .stage-heading__label {
  color: var(--green);
}

.receipt-hero > p:not(.stage-heading__label) {
  margin-bottom: 15px;
  color: #52715f;
  font-size: 0.82rem;
}

.receipt-reference {
  display: inline-flex;
  padding: 8px 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfe2d6;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.receipt-reference span {
  color: #5e7868;
}

.receipt-reference strong {
  letter-spacing: 0.035em;
}

.receipt-card {
  max-width: 610px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.receipt-card__header {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.receipt-card__header h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}

.receipt-meta {
  display: grid;
  margin: 0 0 20px;
  padding: 15px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.receipt-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.65rem;
}

.receipt-meta dd {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
}

.summary-items--receipt {
  gap: 13px;
}

.receipt-footer {
  margin-top: 20px;
  padding: 11px 12px;
  border-radius: 7px;
  background: #f6f2ee;
  color: var(--muted);
  font-size: 0.66rem;
  text-align: center;
}

.validation-message {
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid #e6c6c3;
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.navigation-controls {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navigation-hint {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .brand__descriptor,
  .brand__divider {
    display: none;
  }

  .simulation-layout {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 18px;
  }

  .stage-card {
    padding: 24px;
  }

  .receipt-hero {
    margin: -24px -24px 26px;
  }

  .product-grid,
  .dispatch-options,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-card__description {
    min-height: 0;
  }

  .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .cart-item__end {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  .mock-banner {
    padding: 9px 14px;
    font-size: 0.75rem;
  }

  .site-header__inner,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    order: -1;
  }

  .brand__name {
    font-size: 1rem;
  }

  .demo-badge {
    display: none;
  }

  .back-link {
    font-size: 0.75rem;
  }

  .page-shell {
    padding: 28px 0 40px;
  }

  .intro {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .demo-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .simulation-layout {
    grid-template-columns: 1fr;
  }

  .journey-card {
    position: static;
    padding: 14px;
  }

  .step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .step-button {
    min-height: 66px;
    padding: 9px;
    gap: 7px;
  }

  .step-button__number {
    width: 25px;
    height: 25px;
  }

  .step-button__text small,
  .step-button__state,
  .safety-note {
    display: none;
  }

  .step-button__text strong {
    font-size: 0.74rem;
  }

  .stage-card {
    min-height: 0;
  }

  .navigation-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .navigation-hint {
    order: -1;
    grid-column: 1 / -1;
  }

  .timeline-item__content {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-item {
    min-height: 145px;
  }

  .timeline-item--last {
    min-height: 95px;
  }

  .receipt-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 440px) {
  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .brand__name {
    font-size: 0.92rem;
  }

  .back-link {
    max-width: 100px;
    text-align: right;
  }

  .demo-actions {
    grid-template-columns: 1fr;
  }

  .stage-card {
    padding: 20px 16px;
  }

  .stage-heading {
    gap: 12px;
  }

  .receipt-hero {
    margin: -20px -16px 22px;
    padding: 26px 18px;
  }

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

  .address-card {
    flex-wrap: wrap;
  }

  .fiction-tag {
    position: absolute;
    top: 12px;
    right: 12px;
  }

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

  .quantity-control,
  .cart-item__end {
    grid-column: auto;
  }

  .cart-item__end {
    justify-content: space-between;
  }

  .totals--compact {
    max-width: none;
  }

  .tracking-reference,
  .receipt-reference {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .receipt-card {
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
