:root {
  color: #152521;
  background: #eef3ef;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #eef3ef;
}

.staging-backed-test-banner {
  position: relative;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: #30205f;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button,
input {
  font: inherit;
}

a {
  color: #185c55;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #0e403b;
}

:focus-visible {
  outline: 3px solid #e7a92f;
  outline-offset: 3px;
}

.app-frame {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #102f2b;
  font-weight: 700;
  transform: translateY(-160%);
}

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

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem);
}

.site-header {
  border-bottom: 1px solid rgba(24, 92, 85, 0.12);
  background: rgba(248, 251, 249, 0.92);
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #102f2b;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-mark small {
  display: block;
  margin-top: 0.05rem;
  color: #52706b;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mark-box {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.6rem 0.2rem 0.6rem 0.2rem;
  background: #185c55;
  color: #ffffff;
  font-size: 1.15rem;
}

.home-main,
.centered-main,
.result-main {
  position: relative;
  display: grid;
  padding: clamp(2.5rem, 8vh, 6rem) 1.25rem;
  place-items: center;
}

.home-main::before,
.home-main::after,
.centered-main::before,
.result-main::before {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  content: "";
  filter: blur(1px);
  pointer-events: none;
}

.home-main::before,
.centered-main::before,
.result-main::before {
  top: -11rem;
  right: -10rem;
  width: 29rem;
  height: 29rem;
  background: radial-gradient(circle, rgba(56, 133, 113, 0.15), rgba(56, 133, 113, 0));
}

.home-main::after {
  bottom: -15rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(224, 170, 72, 0.13), rgba(224, 170, 72, 0));
}

.lookup-card,
.state-card,
.result-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  border: 1px solid rgba(24, 92, 85, 0.13);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1.5rem 4rem rgba(29, 61, 53, 0.1);
}

.lookup-card {
  padding: clamp(1.5rem, 5vw, 3.75rem);
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: #b66f12;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0.9rem;
  color: #102f2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 7vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.intro-copy {
  max-width: 38rem;
  margin-bottom: 2.1rem;
  color: #52706b;
  font-size: 1.04rem;
  line-height: 1.65;
}

.lookup-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #1d3f39;
  font-size: 0.94rem;
  font-weight: 750;
}

.field-hint {
  margin-bottom: 0.65rem;
  color: #6b817d;
  font-size: 0.84rem;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.input-row input {
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid #aebfba;
  border-radius: 0.7rem;
  background: #fbfdfc;
  color: #152521;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.input-row input::placeholder {
  color: #7d908c;
  letter-spacing: 0;
  text-transform: none;
}

.input-row input[aria-invalid="true"] {
  border-color: #a33b36;
}

.input-row button {
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 0.7rem;
  background: #185c55;
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
}

.input-row button:hover:not(:disabled) {
  background: #104a44;
}

.input-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.loading-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  color: #3d5a55;
  font-size: 0.9rem;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 2px solid #c8d8d3;
  border-top-color: #185c55;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-large {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  border-width: 3px;
}

.initial-route-loading {
  display: grid;
  min-width: 320px;
  min-height: 100vh;
  padding: 1.5rem;
  place-items: center;
  background: #ffffff;
  color: #68736f;
}

.initial-route-loading-status {
  min-height: 2rem;
}

.initial-route-loading-visual {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.notice {
  display: grid;
  gap: 0.2rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.91rem;
  line-height: 1.45;
}

.notice-error {
  border: 1px solid #e3b9b4;
  background: #fff6f5;
  color: #7b2823;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e4ece8;
  color: #607772;
  font-size: 0.82rem;
  line-height: 1.5;
}

.privacy-note p {
  margin-bottom: 0;
}

.privacy-mark {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e4f0eb;
  color: #185c55;
  font-weight: 900;
}

.state-card {
  max-width: 36rem;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.state-card h1 {
  font-size: clamp(1.9rem, 6vw, 2.8rem);
}

.state-card p {
  margin: 0 auto 1.5rem;
  color: #5b736e;
  line-height: 1.6;
}

.state-symbol {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: #fff0ee;
  color: #9a342e;
  font-size: 1.55rem;
  font-weight: 900;
}

.secondary-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid #bad0c9;
  border-radius: 0.6rem;
  color: #185c55;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.result-main {
  align-items: start;
}

.result-shell {
  width: min(100%, 58rem);
  padding: clamp(1.25rem, 4vw, 2.6rem);
}

.result-brand-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: #3e5a55;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-accent {
  display: inline-block;
  width: 1.8rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--tenant-accent, #185c55);
}

.status-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 1rem;
  background: #edf6f2;
}

.status-cancelled,
.status-returned,
.status-exception {
  background: #fff3ee;
}

.status-unknown {
  background: #f2f3f1;
}

.status-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: #185c55;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
}

.status-cancelled .status-icon,
.status-returned .status-icon,
.status-exception .status-icon {
  background: #984038;
}

.status-unknown .status-icon {
  background: #596762;
}

.status-label {
  margin-bottom: 0.3rem;
  color: #185c55;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-cancelled .status-label,
.status-returned .status-label,
.status-exception .status-label {
  color: #8a302a;
}

.status-panel h1 {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.55rem);
  line-height: 1.12;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 1.3rem 0;
  border: 1px solid #dce7e2;
  border-radius: 0.85rem;
  overflow: hidden;
}

.summary-item {
  display: grid;
  gap: 0.35rem;
  min-height: 6rem;
  padding: 1.1rem 1.25rem;
  align-content: center;
  background: #fbfdfc;
  color: #263f3a;
  font-size: 0.92rem;
  font-weight: 650;
}

.summary-item + .summary-item {
  border-left: 1px solid #dce7e2;
}

.summary-kicker {
  color: #68807a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.milestones {
  padding: 1.25rem 0 0;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #dfe9e5;
}

.section-heading-row h2 {
  margin-bottom: 0;
  color: #183a34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.section-heading-row span {
  color: #71847f;
  font-size: 0.74rem;
}

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

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.85rem;
  padding: 1.15rem 0;
}

.timeline li:not(:last-child) {
  border-bottom: 1px solid #e7eeeb;
}

.timeline-dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.25rem;
  border: 2px solid #91aaa3;
  border-radius: 50%;
  background: #ffffff;
}

.timeline-dot-current {
  border-color: #185c55;
  background: #185c55;
  box-shadow: 0 0 0 4px #e2efea;
}

.timeline li > div {
  display: grid;
  gap: 0.3rem;
}

.milestone-label {
  color: #253f39;
  font-weight: 750;
}

.timeline time {
  color: #70827e;
  font-size: 0.82rem;
}

.empty-milestones {
  padding: 1.3rem 0;
  color: #657b76;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dfe9e5;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(24, 92, 85, 0.1);
  background: #e6eeea;
  color: #5e736e;
  font-size: 0.76rem;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    padding: 1rem;
  }

  .home-main,
  .centered-main,
  .result-main {
    padding: 1.5rem 0.85rem 2rem;
  }

  .lookup-card,
  .state-card,
  .result-shell {
    border-radius: 1rem;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .input-row button {
    width: 100%;
  }

  .status-panel {
    grid-template-columns: 1fr;
  }

  .status-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

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

  .summary-item + .summary-item {
    border-top: 1px solid #dce7e2;
    border-left: 0;
  }

  .result-actions,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Authenticated inline Manage Order workspace (fixture-reviewed 2026-09-21). */
.inline-manage-order {
  min-width: 0;
  padding: clamp(1.45rem, 3vw, 2.35rem);
  border: 1px solid #d8dcd9;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 1rem 2.8rem rgba(24, 30, 28, 0.07);
  color: #252b29;
}

.inline-manage-order-header {
  margin-bottom: 1rem;
}

.inline-manage-order-header-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem 1.25rem;
}

.inline-manage-order-header h2 {
  margin: 0 0 0.55rem;
  color: #171b1a;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -0.025em;
}

.inline-manage-order-header p {
  margin: 0.35rem 0 0;
}

.verified-session-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: #dcf8e6;
  color: #126238;
  font-size: 0.82rem;
  font-weight: 750;
}

.inline-manage-back-to-tracking {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-self: end;
  margin: -0.3rem 0 0;
  color: var(--brand-accent);
  font-weight: 700;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.inline-manage-back-to-tracking[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.65;
}

.inline-manage-order .synthetic-actions {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.inline-manage-order .synthetic-actions-intro {
  display: none;
}

.inline-manage-order .synthetic-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.inline-manage-order .synthetic-action-option {
  display: grid;
  min-width: 0;
  grid-template-columns: 2.9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid #e2e3e5;
  border-radius: 0.85rem;
  background: #ffffff;
}

.action-card-icon {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border-radius: 0.7rem;
  background: #f3f4f8;
  color: #1c2638;
  font-size: 1.15rem;
  font-weight: 800;
}

.action-card-copy {
  min-width: 0;
}

.inline-manage-order .action-card-copy h4,
.inline-manage-order .action-card-copy p {
  margin: 0;
}

.inline-manage-order .action-card-copy h4 {
  color: #171b1a;
  font-size: 0.95rem;
}

.inline-manage-order .action-card-copy p {
  margin-top: 0.3rem;
  color: #656b69;
  font-size: 0.8rem;
  line-height: 1.35;
}

.inline-manage-order .synthetic-action-option > button,
.inline-manage-order .additional-action-option > button,
.inline-manage-order .action-form-primary,
.inline-manage-order .synthetic-action-result > button,
.inline-manage-order .post-action-refresh-recovery > button {
  min-height: 2.55rem;
  padding: 0.65rem 1.05rem;
  border: 0;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #4324d5, #6537ec);
  color: #ffffff;
  font-weight: 780;
}

.inline-manage-order button:focus-visible,
.inline-manage-order input:focus-visible,
.inline-manage-order textarea:focus-visible,
.inline-manage-back-to-tracking:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-accent) 48%, #ffffff);
  outline-offset: 3px;
}

.additional-actions {
  min-width: 0;
}

.request-return-action {
  min-width: 0;
}

.additional-actions--idle,
.request-return-action--idle {
  display: contents;
}

.manage-order-action-grid > .additional-actions:not(.additional-actions--idle),
.manage-order-action-grid > .request-return-action:not(.request-return-action--idle) {
  grid-column: 1 / -1;
}

.inline-manage-order .additional-action-form,
.inline-manage-order .additional-action-review,
.inline-manage-order .synthetic-action-form,
.inline-manage-order .synthetic-action-confirm,
.inline-manage-order .synthetic-action-result {
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid #e0e2e4;
  border-radius: 0.9rem;
  background: #fafafa;
}

.address-fields,
.gift-message-fields,
.engraving-items fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gift-message-fields label:last-of-type,
.address-fields label:nth-child(3),
.address-fields label:nth-child(4) {
  grid-column: 1 / -1;
}

.inline-manage-order label {
  display: grid;
  gap: 0.35rem;
  color: #2e3432;
  font-size: 0.82rem;
  font-weight: 720;
}

.inline-manage-order input,
.inline-manage-order textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfd3d1;
  border-radius: 0.6rem;
  background: #ffffff;
  color: #171b1a;
  font: inherit;
}

.inline-manage-order textarea {
  min-height: 7rem;
  resize: vertical;
}

.cut-and-ship-items,
.engraving-items,
.request-return-items {
  display: grid;
  gap: 0.9rem;
}

.cut-and-ship-items fieldset,
.engraving-items fieldset,
.request-return-items fieldset {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #dfe1e0;
  border-radius: 0.75rem;
}

.synthetic-action-form fieldset .request-return-item-select {
  display: flex;
  grid-template-columns: none;
  align-items: center;
}

.inline-manage-order .request-return-item-select input[type="checkbox"] {
  width: 1.2rem;
  min-height: 1.2rem;
  margin: 0;
}

.inline-manage-order .request-return-items input[type="number"] {
  max-width: 9rem;
}

.request-return-image-preview,
.request-return-review dd {
  min-width: 0;
}

.request-return-image-previews,
.request-return-review-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.9rem;
}

.request-return-image-preview {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #dfe1e0;
  border-radius: 0.75rem;
  background: #ffffff;
}

.request-return-image-preview figcaption {
  color: #535956;
  font-size: 0.8rem;
  font-weight: 700;
}

.request-return-image-preview img,
.request-return-review-images img {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: contain;
  border: 1px solid #dfe1e0;
  border-radius: 0.65rem;
  background: #ffffff;
}

.request-return-review ul {
  margin: 0;
  padding-left: 1.15rem;
}

.cut-and-ship-items dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.cut-and-ship-items dl > div {
  padding: 0.45rem;
  border-radius: 0.4rem;
  background: #f1f2f3;
}

.cut-and-ship-items dt,
.cut-and-ship-items dd {
  margin: 0;
  font-size: 0.78rem;
}

.cut-and-ship-items dd {
  margin-top: 0.2rem;
  color: #171b1a;
  font-weight: 760;
}

.inline-manage-order address {
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: #f1f2f3;
  font-style: normal;
  line-height: 1.55;
}

.inline-manage-sign-out {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 55%, #ffffff);
  border-radius: 0.65rem;
  background: #ffffff;
  color: var(--brand-accent);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.inline-manage-sign-out:hover:not(:disabled) {
  border-color: var(--brand-accent);
  background: color-mix(in srgb, var(--brand-accent) 7%, #ffffff);
}

.inline-manage-sign-out:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-accent) 35%, transparent);
  outline-offset: 2px;
}

.inline-manage-sign-out:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 780px) {
  .inline-manage-order .synthetic-action-list,
  .address-fields,
  .gift-message-fields,
  .engraving-items fieldset {
    grid-template-columns: 1fr;
  }

  .gift-message-fields label:last-of-type,
  .address-fields label:nth-child(3),
  .address-fields label:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .inline-manage-order {
    padding: 1.05rem;
    border-radius: 1rem;
  }

  .inline-manage-order-header-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .inline-manage-back-to-tracking {
    justify-self: start;
    margin-top: 0;
    text-align: left;
  }

  .inline-manage-order .synthetic-action-option {
    grid-template-columns: 2.65rem minmax(0, 1fr);
  }

  .inline-manage-order .synthetic-action-option > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cut-and-ship-items dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Phase 3E.4 TrackMySpirits landing and recovery experience. */
.landing-page {
  position: relative;
  min-height: 100dvh;
  grid-template-rows: auto 1fr;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 69% 38%, rgba(98, 70, 231, 0.1), transparent 31rem),
    radial-gradient(circle at 8% 84%, rgba(133, 110, 246, 0.08), transparent 26rem),
    #ffffff;
  color: #17133d;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-page::after {
  position: absolute;
  z-index: 0;
  right: -10%;
  bottom: 0;
  left: -10%;
  height: 2.25rem;
  border-top: 1.45rem solid rgba(115, 84, 246, 0.28);
  border-radius: 50% 50% 0 0;
  background: rgba(137, 112, 249, 0.13);
  content: "";
  pointer-events: none;
}

.landing-header {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 5.75rem;
  align-items: center;
  padding: 0.9rem clamp(1.5rem, 3.6vw, 4.5rem);
  border-bottom: 1px solid #efedf9;
  background: rgba(255, 255, 255, 0.96);
}

.landing-header-inner {
  display: grid;
  width: min(100%, 108rem);
  min-width: 0;
  min-height: 3.95rem;
  margin: 0 auto;
  align-items: center;
  column-gap: clamp(2.25rem, 4vw, 4.75rem);
  grid-template-columns: minmax(0, 1fr) auto clamp(4rem, 7vw, 7rem);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #121038;
  font-size: clamp(1.45rem, 2.25vw, 2.05rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.landing-brand:hover {
  color: #121038;
}

.landing-brand > span > span {
  color: #5a36dc;
}

.landing-brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.landing-navigation {
  display: flex;
  min-width: 16rem;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(2.25rem, 4vw, 4.75rem);
}

.landing-navigation a {
  position: relative;
  padding: 1.1rem 0;
  color: #211d43;
  font-size: 1.03rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.landing-navigation a:hover {
  color: #5634d1;
}

.landing-navigation a[aria-current="page"] {
  color: #5634d1;
}

.landing-navigation a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #6540e3;
  content: "";
}

.landing-header-shield {
  width: 1.8rem;
  height: 1.8rem;
  justify-self: start;
  color: #6540e3;
}

.landing-main {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  align-items: center;
  padding: clamp(3rem, 7vh, 5rem) clamp(1.5rem, 4vw, 4.75rem) 7rem;
}

.landing-hero {
  display: grid;
  width: min(100%, 108rem);
  min-width: 0;
  margin: 0 auto;
  align-items: center;
  gap: clamp(2rem, 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1.03fr) minmax(31rem, 0.97fr);
}

.landing-copy-column {
  min-width: 0;
}

.landing-heading-block {
  padding-left: 0.35rem;
}

.landing-heading-block h1 {
  max-width: 47rem;
  margin-bottom: 1.45rem;
  color: #111036;
  font-family: inherit;
  font-size: clamp(3.1rem, 4.7vw, 4.65rem);
  font-weight: 850;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.landing-heading-block h1 span {
  color: #5634d1;
}

.landing-heading-block p {
  max-width: 38rem;
  margin-bottom: 2.1rem;
  color: #5c5a70;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.6;
}

.landing-lookup-card {
  width: min(100%, 41.75rem);
  padding: clamp(1.6rem, 2.7vw, 2.5rem);
  border: 1px solid rgba(84, 57, 190, 0.06);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1.35rem 3.75rem rgba(54, 42, 113, 0.13);
}

.landing-lookup-form {
  display: grid;
  gap: 1.15rem;
}

.landing-input-wrap {
  display: grid;
  min-width: 0;
  min-height: 4.35rem;
  align-items: stretch;
  border: 1px solid #d4d1e7;
  border-radius: 0.85rem;
  background: #ffffff;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.landing-input-wrap:focus-within {
  border-color: #6540e3;
  box-shadow: 0 0 0 3px rgba(101, 64, 227, 0.14);
}

.landing-field-icon {
  width: 100%;
  height: 100%;
  padding: 1.3rem 1.45rem;
  background: #faf9ff;
  color: #5e3cda;
}

.landing-input-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0.9rem 1.2rem;
  background: transparent;
  color: #181536;
  font-size: 1.06rem;
}

.landing-input-wrap input::placeholder {
  color: #6b687d;
  opacity: 1;
}

.landing-input-wrap input[aria-invalid="true"] {
  color: #6a2630;
}

#tracking-code {
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.landing-lookup-form button {
  display: inline-flex;
  min-height: 4.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.25rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(100deg, #3521b0, #6230df);
  box-shadow: 0 0.6rem 1.25rem rgba(74, 43, 189, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 720;
  transition: filter 150ms ease, transform 150ms ease;
}

.landing-lookup-form button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.landing-lookup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.landing-button-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.landing-loading-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  color: #59566e;
  font-size: 0.85rem;
}

.landing-loading-note .spinner {
  border-color: #ddd8f5;
  border-top-color: #5634d1;
}

.landing-error {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #f0c9ce;
  border-radius: 0.65rem;
  background: #fff7f8;
  color: #752c36;
  font-size: 0.84rem;
  line-height: 1.45;
}

.landing-field-error {
  margin: -0.55rem 0 0;
  color: #752c36;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.landing-support-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.35rem 0 0;
  color: #646176;
  font-size: 0.92rem;
}

.landing-support-copy a {
  color: #5b35d7;
  font-weight: 700;
  text-decoration: none;
}

.landing-support-copy a:hover {
  text-decoration: underline;
}

.landing-help-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: #6540e3;
}

.landing-benefits {
  display: grid;
  width: min(100%, 46rem);
  gap: 0.9rem;
  margin-top: 3.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-benefit {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.landing-benefit + .landing-benefit {
  padding-left: 0.8rem;
  border-left: 1px solid #ddd9ec;
}

.landing-benefit-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  background: #eeebff;
  color: #3322a5;
}

.landing-benefit-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.landing-benefit > span:last-child {
  display: grid;
  gap: 0.25rem;
}

.landing-benefit strong {
  color: #191637;
  font-size: 0.82rem;
  line-height: 1.3;
}

.landing-benefit small {
  color: #656276;
  font-size: 0.73rem;
  line-height: 1.45;
}

.landing-illustration-wrap {
  display: grid;
  min-width: 0;
  place-items: center;
}

.landing-illustration-wrap img {
  display: block;
  width: min(112%, 47rem);
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-0.75rem);
}

@media (min-width: 981px) and (max-height: 920px) {
  .landing-header {
    min-height: 4.5rem;
    padding-block: 0.45rem;
  }

  .landing-header-inner {
    min-height: 3.55rem;
  }

  .landing-brand {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
  }

  .landing-brand-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .landing-navigation a {
    padding-block: 0.75rem;
  }

  .landing-main {
    padding: clamp(0.8rem, 2.2vh, 1.25rem) clamp(1.5rem, 4vw, 4.75rem) clamp(1rem, 2.5vh, 1.4rem);
  }

  .landing-hero {
    gap: clamp(1.75rem, 2.6vw, 3rem);
  }

  .landing-heading-block h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2.65rem, 4vw, 3.6rem);
    line-height: 1.02;
  }

  .landing-heading-block p {
    margin-bottom: 1.1rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .landing-lookup-card {
    padding: clamp(1.15rem, 2.4vh, 1.4rem);
    border-radius: 1.2rem;
  }

  .landing-lookup-form {
    gap: 0.75rem;
  }

  .landing-input-wrap {
    min-height: 3.35rem;
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .landing-field-icon {
    padding: 1rem 1.15rem;
  }

  .landing-lookup-form button {
    min-height: 3.35rem;
    margin-top: 0;
  }

  .landing-support-copy {
    margin-top: 0.8rem;
  }

  .landing-benefits {
    margin-top: clamp(1rem, 2.4vh, 1.35rem);
  }

  .landing-illustration-wrap img {
    width: min(112%, calc(100dvh - 9rem), 42rem);
  }
}

@media (max-width: 980px) {
  .landing-main {
    align-items: start;
  }

  .landing-hero {
    width: min(100%, 46rem);
    grid-template-columns: 1fr;
  }

  .landing-copy-column {
    display: contents;
  }

  .landing-heading-block,
  .landing-lookup-card,
  .landing-benefits,
  .landing-illustration-wrap {
    width: 100%;
  }

  .landing-heading-block {
    grid-row: 1;
  }

  .landing-lookup-card {
    grid-row: 2;
  }

  .landing-illustration-wrap {
    grid-row: 3;
  }

  .landing-illustration-wrap img {
    width: min(100%, 31rem);
    max-width: 100%;
    transform: none;
  }

  .landing-benefits {
    grid-row: 4;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .landing-header {
    min-height: 7rem;
    padding: 0.65rem 1rem 0.45rem;
  }

  .landing-header-inner {
    min-height: 5.9rem;
    gap: 0.15rem 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .landing-brand {
    min-width: 0;
    gap: 0.5rem;
    font-size: 1.12rem;
  }

  .landing-brand-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .landing-navigation {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 1.75rem;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .landing-navigation a {
    min-height: 2.75rem;
    padding: 0.75rem 0;
    font-size: 0.82rem;
  }

  .landing-header-shield {
    width: 1.55rem;
    height: 1.55rem;
    grid-column: 2;
    grid-row: 1;
  }

  .landing-main {
    padding: 2.25rem 1rem 6.5rem;
  }

  .landing-hero {
    gap: 1.65rem;
  }

  .landing-heading-block {
    padding-left: 0;
    text-align: center;
  }

  .landing-heading-block h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .landing-heading-block p {
    margin-inline: auto;
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .landing-lookup-card {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .landing-input-wrap {
    min-height: 3.7rem;
    grid-template-columns: 3.65rem minmax(0, 1fr);
  }

  .landing-field-icon {
    padding: 1rem;
  }

  .landing-lookup-form button {
    min-height: 3.65rem;
  }

  .landing-illustration-wrap img {
    width: min(100%, 20rem);
  }

  .landing-benefits {
    gap: 1rem;
    margin-top: 0.25rem;
    grid-template-columns: 1fr;
  }

  .landing-benefit + .landing-benefit {
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid #ddd9ec;
    border-left: 0;
  }

  .landing-benefit strong {
    font-size: 0.9rem;
  }

  .landing-benefit small {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-input-wrap,
  .landing-lookup-form button {
    transition: none;
  }

  .landing-lookup-form button:hover:not(:disabled) {
    transform: none;
  }
}

/* Phase 1 branded public result */

.branded-result-page {
  --brand-navbar-bg: #f8fbf9;
  --brand-navbar-text: #102f2b;
  --brand-accent: #185c55;
  --brand-secondary: #d7a847;
  --brand-footer-bg: #e6eeea;
  --brand-footer-text: #263f3a;
  --warning-text: #4b3513;
  background: #ffffff;
  color: #1f2926;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: clip;
}

.branded-result-page a {
  color: inherit;
}

.brand-header {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 6.75rem;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 1.35rem clamp(1.5rem, 6vw, 7.5rem);
  border-top: 4px solid var(--brand-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-navbar-text) 12%, transparent);
  background: var(--brand-navbar-bg);
  color: var(--brand-navbar-text);
}

.header-home-link,
.support-action {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.header-home-link {
  padding: 0.55rem 0.75rem;
}

.support-action {
  justify-self: end;
  padding: 0.55rem 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-navbar-text) 25%, transparent);
}

.header-home-link:hover,
.support-action:hover {
  background: color-mix(in srgb, var(--brand-navbar-text) 8%, transparent);
}

.support-action-icon {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 55% 55% 55% 18%;
  font-size: 0;
}

.header-action-spacer {
  width: 9rem;
  justify-self: end;
}

.brand-wordmark {
  display: inline-flex;
  min-width: 12rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  color: var(--brand-navbar-text);
  text-decoration: none;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: min(18rem, 30vw);
  height: 3.2rem;
  object-fit: contain;
}

.brand-wordmark-text {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-wordmark-symbol {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50% 50% 45% 20%;
  background: var(--brand-accent);
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.branded-result-main {
  width: 100%;
  padding: 0 clamp(1.25rem, 5vw, 6rem) clamp(3rem, 7vw, 6rem);
}

.brand-warning {
  display: flex;
  width: min(100%, 109rem);
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid #ead8ad;
  border-radius: 0.8rem;
  background: #fff8e6;
  color: var(--warning-text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.brand-warning > span {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
}

.brand-warning p {
  margin: 0;
}

.tracking-overview {
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.4rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.result-status-label,
.card-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand-accent);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tracking-overview h1 {
  max-width: 65rem;
  margin: 0 auto 1.35rem;
  color: #101513;
  font-family: inherit;
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.tracking-overview h1:focus,
.state-card h1:focus {
  outline: none;
}

.estimate-summary {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  color: #2e3835;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.estimate-summary strong {
  color: #111715;
  font-weight: 820;
}

.estimate-summary small {
  color: #68736f;
  font-size: 0.78rem;
}

.progress-indicator {
  display: grid;
  width: min(100%, 66rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(2.8rem, 6vw, 4.5rem) auto 0;
  padding: 0;
  list-style: none;
}

.progress-stage {
  position: relative;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  color: #5f6865;
  font-size: 0.86rem;
  font-weight: 760;
}

.progress-stage:not(:last-child)::before,
.progress-stage:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 1.55rem;
  left: 50%;
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  content: "";
}

.progress-stage:not(:last-child)::before {
  background: #ecefed;
}

.progress-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 0.32rem solid #f4f5f4;
  border-radius: 50%;
  background: #e9ecea;
  color: #727976;
  font-size: 1rem;
  font-weight: 850;
}

.progress-icon-svg {
  display: block;
  width: 48%;
  height: auto;
  flex: none;
}

.progress-stage-complete,
.progress-stage-current {
  color: #18201d;
}

.progress-stage-complete .progress-icon,
.progress-stage-current .progress-icon {
  background: var(--brand-accent);
  color: #ffffff;
}

.progress-stage-current .progress-icon {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--brand-accent) 15%, #ffffff);
}

.tracking-detail-grid {
  display: grid;
  width: min(100%, 109rem);
  grid-template-columns: minmax(0, 1.72fr) minmax(22rem, 0.92fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin: 0 auto;
  align-items: stretch;
}

.timeline-card,
.protected-details-card {
  position: relative;
  min-height: 31rem;
  border: 2px solid #e1e4e2;
  border-radius: clamp(1.5rem, 3vw, 2.4rem);
  background: #ffffff;
  box-shadow: 0 1.2rem 3.5rem rgba(28, 39, 35, 0.055);
}

.timeline-card {
  padding: clamp(1.6rem, 3vw, 3rem) clamp(1.35rem, 4vw, 3.8rem);
}

.card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #eaedeb;
}

.card-heading-row h2,
.protected-details-card h2 {
  margin: 0;
  color: #18201d;
  font-family: inherit;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.card-heading-row h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.latest-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f1f4f2;
  color: #68736f;
  font-size: 0.7rem;
  font-weight: 750;
}

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

.result-timeline li {
  position: relative;
  display: grid;
  min-height: 6.4rem;
  grid-template-columns: 1.2rem 1fr;
  gap: 1.1rem;
  padding: 1.45rem 0;
}

.result-timeline li:not(:last-child)::after {
  position: absolute;
  top: 2.5rem;
  bottom: -1.05rem;
  left: 0.48rem;
  width: 0.22rem;
  border-radius: 999px;
  background: #d9dcd9;
  content: "";
}

.result-timeline-dot {
  position: relative;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  border: 0.22rem solid #858b88;
  border-radius: 50%;
  background: #ffffff;
}

.result-timeline li > div {
  display: grid;
  gap: 0.5rem;
}

.result-timeline .milestone-label {
  color: #353f3b;
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  font-weight: 680;
}

.result-timeline time {
  color: #737c78;
  font-size: 0.84rem;
}

.empty-timeline {
  padding: 2rem 0;
  color: #69736f;
}

.protected-details-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 4vw, 3.8rem);
  overflow: hidden;
}

.protected-details-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.4rem;
  background: var(--brand-secondary);
  content: "";
}

.protected-icon {
  position: relative;
  display: grid;
  width: 3.5rem;
  height: 3.2rem;
  margin-bottom: 2rem;
  place-items: center;
  border: 2px solid var(--brand-accent);
  border-radius: 0.7rem;
  color: transparent;
}

.protected-icon::before {
  position: absolute;
  top: -1.05rem;
  width: 1.8rem;
  height: 1.6rem;
  border: 0.28rem solid var(--brand-accent);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  content: "";
}

.protected-icon::after {
  width: 0.5rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--brand-accent);
  content: "";
}

.protected-details-card h2 {
  max-width: 25rem;
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.15;
}

.protected-details-card > p:not(.card-eyebrow) {
  color: #626d69;
  line-height: 1.65;
}

.protected-divider {
  width: 100%;
  height: 1px;
  margin: auto 0 1.4rem;
  background: #e5e8e6;
}

.protected-note {
  margin-bottom: 1.4rem;
  font-size: 0.84rem;
}

.protected-support-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--brand-accent);
  border-radius: 999px;
  color: var(--brand-accent) !important;
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
}

.result-bottom-action {
  width: min(100%, 109rem);
  margin: 1.7rem auto 0;
}

.result-bottom-action a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-accent);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-footer {
  display: grid;
  grid-template-columns: minmax(15rem, 1.6fr) repeat(3, minmax(8rem, auto));
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 7.5rem);
  background: var(--brand-footer-bg);
  color: var(--brand-footer-text);
}

.footer-brand-block {
  display: grid;
  gap: 0.55rem;
  color: color-mix(in srgb, var(--brand-footer-text) 82%, transparent);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-brand-name {
  color: var(--brand-footer-text);
  font-size: 1rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  width: fit-content;
  color: var(--brand-footer-text);
  font-size: 0.82rem;
  text-decoration-color: color-mix(in srgb, var(--brand-footer-text) 38%, transparent);
}

.social-links {
  display: flex;
  max-width: 14rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-links a {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--brand-footer-text) 35%, transparent);
  border-radius: 50%;
  color: var(--brand-footer-text);
  font-size: 0.68rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover,
.social-links a:hover {
  opacity: 0.78;
}

@media (max-width: 900px) {
  .brand-header {
    min-height: 5.8rem;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
  }

  .brand-logo-image {
    max-width: 11rem;
    height: 2.7rem;
  }

  .header-home-link,
  .support-action {
    font-size: 0.76rem;
  }

  .tracking-detail-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .protected-details-card {
    min-height: auto;
  }

  .protected-divider {
    margin-top: 1.5rem;
  }

  .brand-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand-header {
    min-height: 5.2rem;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    border-top-width: 3px;
  }

  .header-home-link {
    width: 2.75rem;
    padding: 0.55rem;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    text-indent: -999px;
  }

  .header-home-link span {
    font-size: 1rem;
    text-indent: 0;
  }

  .support-action {
    padding: 0.5rem 0.7rem;
  }

  .support-action-icon {
    display: none;
  }

  .brand-wordmark {
    min-width: 0;
  }

  .brand-logo-image {
    max-width: 8.8rem;
    height: 2.35rem;
  }

  .brand-wordmark-text {
    gap: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .brand-wordmark-symbol {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.75rem;
  }

  .branded-result-main {
    padding: 0 0.85rem 3rem;
  }

  .brand-warning {
    margin-top: 0.85rem;
    font-size: 0.8rem;
  }

  .tracking-overview {
    padding: 2.8rem 0 2.7rem;
  }

  .tracking-overview h1 {
    font-size: clamp(2rem, 10vw, 2.4rem);
  }

  .estimate-summary {
    font-size: 1rem;
  }

  .progress-indicator {
    margin-top: 2.7rem;
  }

  .progress-stage {
    gap: 0.5rem;
    font-size: 0.67rem;
  }

  .progress-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-width: 0.24rem;
  }

  .progress-stage:not(:last-child)::before,
  .progress-stage:not(:last-child)::after {
    top: 1.22rem;
    height: 0.2rem;
  }

  .timeline-card,
  .protected-details-card {
    border-width: 1px;
    border-radius: 1.35rem;
  }

  .timeline-card {
    padding: 1.5rem 1.2rem;
  }

  .card-heading-row {
    align-items: flex-start;
  }

  .latest-badge {
    display: none;
  }

  .result-timeline li {
    min-height: 5.8rem;
  }

  .protected-details-card {
    padding: 2.4rem 1.45rem 1.8rem;
  }

  .brand-footer {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding: 2.5rem 1.25rem;
  }

  .footer-brand-block {
    grid-column: auto;
  }
}

/* Corrected Phase 1 reference composition and local synthetic detail preview */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.branded-result-page {
  --support-bubble: #185c55;
  min-height: 100vh;
  background: #ffffff;
  color: #626262;
}

.brand-header {
  min-height: 4.4rem;
  padding: 0.65rem clamp(1.5rem, 3vw, 3rem);
  border: 0;
}

.related-navigation-progress {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand-accent) 16%, #ffffff);
}

.related-navigation-progress::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: var(--brand-accent);
  content: "";
  animation: related-navigation-progress 1.15s ease-in-out infinite;
  transform: translateX(-110%);
}

@keyframes related-navigation-progress {
  to { transform: translateX(310%); }
}

.header-home-link,
.support-action {
  min-height: 2.5rem;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.support-action {
  padding-inline: 0.3rem;
}

.header-nav-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: inherit;
}

.header-home-link,
.support-action {
  white-space: nowrap;
}

.header-home-link:hover,
.support-action:hover {
  background: transparent;
  text-decoration: underline;
}

.brand-logo-image {
  max-width: min(16rem, 28vw);
  height: 3.15rem;
}

.branded-result-main {
  padding: 0 clamp(0.85rem, 3vw, 3rem) 1rem;
}

.tracking-overview {
  width: min(100%, var(--result-content-max-width, 60rem));
  padding: 1rem 0 0.5rem;
}

.tracking-overview h1 {
  max-width: 58rem;
  margin-bottom: 0.7rem;
  color: #050505;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.estimate-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  justify-content: center;
  color: #0d0d0d;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.carrier-tracking-link strong {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.legacy-status-summary {
  max-width: 56rem;
}

.legacy-status-summary a {
  color: inherit;
  font-weight: 700;
}

.carrier-tracking-link {
  color: inherit;
}

.progress-indicator {
  width: min(100%, 35rem);
  margin-top: 0.5rem;
}

.progress-stage {
  gap: 0.45rem;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 760;
}

.progress-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-width: 0.2rem;
  font-size: 0.78rem;
}

.progress-stage:not(:last-child)::before,
.progress-stage:not(:last-child)::after {
  top: 1.06rem;
  height: 0.28rem;
}

.brand-warning {
  width: min(100%, var(--result-warning-max-width, 43rem));
  margin: 0 auto var(--result-warning-bottom-gap, 0.75rem);
  padding: 0.45rem 0.8rem;
  border: 2px solid #efafb3;
  border-radius: 0.55rem;
  background: #f9d4d7;
  font-size: 0.77rem;
}

.brand-warning > span {
  width: auto;
  height: auto;
  border: 0;
  font-size: 1rem;
}

.tracking-detail-grid {
  width: min(100%, var(--result-content-max-width, 60rem));
  grid-template-columns: var(--result-detail-columns, minmax(0, 1.72fr) minmax(19rem, 1fr));
  gap: 1.4rem;
}

.timeline-card,
.protected-details-card,
.order-details-card {
  position: relative;
  min-height: 29rem;
  border: 1.5px solid #c9c9c9;
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: none;
}

.timeline-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem) 1.5rem;
}

.result-timeline {
  padding: 0;
}

.result-timeline li {
  min-height: 0;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 0 20px;
  padding: 0 0 40px;
}

.result-timeline li.result-timeline-entry-continues::after {
  position: absolute;
  top: 6px;
  bottom: -6px;
  left: 3.5px;
  width: 5px;
  background: #6f6b76;
  content: "";
}

.result-timeline li.result-timeline-entry-terminal {
  padding-bottom: 0;
}

.result-timeline-dot {
  width: 12px;
  height: 12px;
  border: 2px solid #6f6b76;
  border-radius: 50%;
  background: #6f6b76;
}

.result-timeline-dot-terminal {
  background: #ffffff;
}

.result-timeline li > div {
  display: block;
}

.result-timeline .milestone-label {
  color: #656565;
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.3;
}

.timeline-location {
  color: inherit;
}

.result-timeline time {
  display: block;
  margin-top: 7px;
  color: #6f6b76;
  font-size: 0.74rem;
}

.timeline-pagination {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.75rem;
}

.timeline-pagination button {
  width: 2rem;
  height: 2rem;
  border: 1px solid #c7c7c7;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}

.timeline-pagination button[aria-current="page"] {
  background: #f0f0f0;
  font-weight: 800;
}

.order-details-card {
  padding: 2.1rem 2rem 1.6rem;
  color: #626262;
}

.order-items {
  display: grid;
}

.order-item {
  display: grid;
  min-height: 4.3rem;
  grid-template-columns: 2.9rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.6rem 0;
  border-bottom: 1px solid #dedede;
}

.product-image-wrap {
  position: relative;
}

.product-image-wrap img {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid #d1d1d1;
  border-radius: 0.4rem;
  object-fit: cover;
}

.product-image-placeholder {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid #d1d1d1;
  border-radius: 0.4rem;
  background: #f4f5f9;
}

.quantity-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: #53535d;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  font-size: 0.73rem;
  line-height: 1.3;
}

.product-copy strong {
  overflow-wrap: anywhere;
  font-weight: 550;
}

.gift-message {
  color: #656565;
  font-style: italic;
}

.product-price {
  font-size: 0.76rem;
  white-space: nowrap;
}

.billing-summary {
  padding-top: 1.1rem;
}

.billing-summary dl {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.billing-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.73rem;
}

.billing-summary dt,
.billing-summary dd {
  margin: 0;
}

.billing-total {
  align-items: baseline;
  padding-top: 0.2rem;
}

.billing-summary .billing-total dd {
  font-size: 1.15rem;
  font-weight: 800;
}

.related-shipments {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #d2d2d2;
}

.related-shipments h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
}

.related-shipments p {
  margin: 0;
  font-size: 0.72rem;
}

.related-shipments a {
  color: #4567d8;
  font-weight: 800;
}

.result-bottom-action {
  width: min(100%, 60rem);
  margin-top: 1rem;
}

.brand-footer {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-links a {
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.social-links {
  max-width: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 0.45rem;
}

.social-links a {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 1.4rem;
  place-items: center;
  border: 0;
  border-radius: 0.1rem;
  background: transparent;
  color: var(--brand-footer-text);
}

.social-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-links a:focus-visible {
  outline-color: currentColor;
}

.support-bubble {
  position: fixed;
  z-index: 20;
  right: 1.25rem;
  bottom: 4.3rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--support-bubble);
  color: #ffffff !important;
  box-shadow: 0 0.5rem 1.6rem rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.support-bubble-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  color: inherit;
}

@media (max-width: 900px) {
  .tracking-detail-grid {
    width: min(100%, 42rem);
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .protected-details-card,
  .order-details-card {
    min-height: auto;
  }

  .brand-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .brand-header {
    min-height: 4.3rem;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }

  .header-home-link {
    width: max-content;
    padding-inline: 0.2rem;
    overflow: visible;
    text-indent: 0;
  }

  .header-home-link,
  .support-action {
    gap: 0.35rem;
    font-size: 0.64rem;
  }

  .header-nav-icon {
    width: 0.75rem;
    height: 0.75rem;
  }

  .support-action {
    padding-inline: 0.2rem;
  }

  .brand-logo-image {
    width: 100%;
    max-width: 7rem;
  }

  .tracking-overview {
    padding: 1.5rem 0 2rem;
  }

  .tracking-overview h1 {
    font-size: 1.65rem;
    overflow-wrap: anywhere;
  }

  .estimate-summary {
    display: grid;
    font-size: 0.9rem;
  }

  .progress-indicator {
    margin-top: 1.8rem;
  }

  .progress-stage {
    font-size: 0.62rem;
  }

  .progress-icon {
    width: 2rem;
    height: 2rem;
  }

  .progress-stage:not(:last-child)::before,
  .progress-stage:not(:last-child)::after {
    top: 0.9rem;
  }

  .brand-warning {
    margin-bottom: 1.4rem;
  }

  .timeline-card,
  .order-details-card {
    border-radius: 1.4rem;
  }

  .order-details-card {
    padding: 1.5rem 1.25rem;
  }

  .brand-footer {
    gap: 1rem;
    padding: 1rem;
  }

.support-bubble {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-navigation-progress::after {
    width: 100%;
    animation: none;
    opacity: 0.55;
    transform: none;
  }
}

/* Phase 3G.1 local/test-only synthetic email verification. */
.synthetic-auth-card {
  min-width: 0;
}

.synthetic-auth-form {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.synthetic-auth-form label {
  color: #303735;
  font-size: 0.78rem;
  font-weight: 750;
}

.synthetic-auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #8b918f;
  border-radius: 0.55rem;
  background: #ffffff;
  color: #111715;
}

.synthetic-otp-control {
  position: relative;
  width: min(100%, 25rem);
}

.synthetic-otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.synthetic-otp-digit {
  display: grid;
  min-width: 0;
  min-height: 3.4rem;
  place-items: center;
  border: 1px solid #aebfba;
  border-radius: 0.7rem;
  background: #ffffff;
  color: #152521;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1;
}

.synthetic-otp-control:focus-within .synthetic-otp-digit {
  border-color: #6540e3;
}

.synthetic-otp-control:focus-within .synthetic-otp-digit--active {
  box-shadow: 0 0 0 3px rgba(101, 64, 227, 0.16);
}

.synthetic-otp-control[data-invalid="true"] .synthetic-otp-digit {
  border-color: #a33b36;
}

.synthetic-otp-control[data-disabled="true"] {
  opacity: 0.68;
}

.synthetic-auth-form .synthetic-otp-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  caret-color: transparent;
  color: transparent;
  cursor: text;
  opacity: 0;
}

.synthetic-auth-form .synthetic-otp-input:focus {
  outline: 0;
}

.synthetic-auth-form input:disabled,
.synthetic-auth-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.synthetic-auth-form button {
  width: fit-content;
  min-height: 2.75rem;
  margin-top: 0.25rem;
  padding: 0.6rem 0.95rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--brand-accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
}

.synthetic-auth-form button.secondary {
  border: 1px solid #6f6b76;
  background: #ffffff;
  color: #303735;
}

.synthetic-auth-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.synthetic-auth-resend-prompt {
  margin: 0.45rem 0 0;
  color: #555c5a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.synthetic-auth-form--otp {
  justify-items: center;
  text-align: center;
}

.synthetic-auth-expiry,
.synthetic-auth-resend-confirmation {
  margin: 0.45rem 0 0;
  text-align: center;
}

.synthetic-auth-resend-confirmation {
  color: #245d3e;
  font-size: 0.82rem;
  font-weight: 750;
}

.inline-loading-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.inline-loading-spinner {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  overflow: visible;
  transform-origin: center;
  animation: spin 0.75s linear infinite;
}

.inline-loading-spinner circle {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 29 11;
  stroke-linecap: round;
  stroke-width: 2.25;
}

@media (prefers-reduced-motion: reduce) {
  .inline-loading-spinner {
    animation: none;
  }
}

.synthetic-auth-error {
  margin-top: 1rem;
  font-size: 0.78rem;
}

.synthetic-auth-error {
  color: #8b1e25 !important;
  font-weight: 700;
}

.synthetic-auth-form--otp + .synthetic-auth-error,
.manage-order-step--authentication > .synthetic-auth-error {
  justify-self: center;
  text-align: center;
}

.synthetic-auth-error:focus,
.synthetic-auth-card h2:focus,
.authenticated-details-card h2:focus {
  outline: 3px solid #e7a92f;
  outline-offset: 3px;
}

.authenticated-details-card h2 {
  margin: 0 0 0.75rem;
  color: #18201d;
  font-size: 1.35rem;
}

.authenticated-details-card h3 {
  margin: 1rem 0 0.55rem;
  color: #303735;
  font-size: 0.84rem;
}

.authenticated-details-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.authenticated-details-card li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #dedede;
  font-size: 0.75rem;
}

.authenticated-details-card time {
  color: #6f6b76;
  font-size: 0.7rem;
}

.authenticated-total {
  margin-top: 1rem;
}

/* Phase 3G.2A loopback-only owner-payload order-management entry point. */
.owner-order-management {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #dedede;
}

.owner-order-management > h3 {
  margin: 0;
  color: #303735;
  font-size: 1rem;
}

.owner-order-management > h3:focus {
  outline: 3px solid #e7a92f;
  outline-offset: 3px;
}

.owner-manage-order-button {
  width: 100%;
  min-height: 3.75rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(100deg, #3521b0, #6230df);
  box-shadow: 0 0.6rem 1.25rem rgba(74, 43, 189, 0.2);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 720;
}

.owner-manage-order-button:hover:not(:disabled) {
  filter: brightness(1.08);
}

.owner-manage-order-button:focus-visible {
  outline: 3px solid #6540e3;
  outline-offset: 3px;
}

.owner-manage-order-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.manage-order-modal {
  width: min(40rem, calc(100% - 2rem));
  max-width: 40rem;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(84, 57, 190, 0.08);
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: 0 1.75rem 5rem rgba(31, 25, 68, 0.18), 0 0.25rem 1rem rgba(31, 25, 68, 0.06);
  color: #181536;
  overflow: hidden;
}

.manage-order-modal::backdrop {
  background: rgba(24, 21, 54, 0.38);
  backdrop-filter: blur(1.5px);
}

.manage-order-modal-shell {
  display: grid;
  max-height: calc(100dvh - 2rem);
  grid-template-rows: auto minmax(0, 1fr);
}

.manage-order-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4.75rem 1.5rem;
  border-bottom: 1px solid #efedf9;
  background: #ffffff;
  text-align: center;
}

.manage-order-modal-title {
  display: grid;
  min-width: 0;
  max-width: 27rem;
  gap: 0.55rem;
}

.manage-order-modal-title p {
  margin: 0;
  color: #5c5a70;
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.5;
}

.manage-order-modal-title h2,
.manage-order-modal-body h3 {
  margin: 0;
  color: #111036;
}

.manage-order-modal-title h2 {
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.manage-order-modal-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

.manage-order-auth-heading {
  justify-self: center;
}

.manage-order-auth-icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: #f3f2f8;
}

.manage-order-email-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  color: #6540e3;
}

.manage-order-modal-body h3:focus {
  outline: 0;
}

.manage-order-modal .synthetic-auth-error:focus {
  border-radius: 0.35rem;
  outline: 3px solid rgba(101, 64, 227, 0.45);
  outline-offset: 4px;
}

.manage-order-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid #d4d1e7;
  border-radius: 50%;
  background: #ffffff;
  color: #4f4b68;
  cursor: pointer;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

.manage-order-modal-close:hover {
  border-color: #a7a1c5;
  background: #f7f6fc;
  color: #29254d;
}

.manage-order-modal-close:focus-visible {
  outline: 3px solid rgba(101, 64, 227, 0.45);
  outline-offset: 2px;
}

.manage-order-modal-body {
  min-width: 0;
  min-height: 0;
  padding: 2rem 2.25rem 2.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 1rem 4rem;
  scrollbar-gutter: stable;
}

.manage-order-step {
  display: grid;
  min-width: 0;
  gap: 1.15rem;
}

.manage-order-step-copy {
  max-width: 31rem;
  margin: 0;
  justify-self: center;
  color: #5c5a70;
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}

.manage-order-email-hint {
  overflow-wrap: anywhere;
}

.manage-order-masked-email {
  margin-top: -0.65rem;
}

.manage-order-status-panel {
  display: grid;
  min-height: 8rem;
  place-items: center;
}

.manage-order-status-panel p {
  margin: 0;
  color: #5c5a70;
  font-size: 0.9rem;
  font-weight: 700;
}

.manage-order-unavailable {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid #e6c7ca;
  border-radius: 0.85rem;
  background: #fff8f8;
}

.manage-order-unavailable .secondary {
  width: fit-content;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbc7dd;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #302a56;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.owner-sign-out-button {
  width: fit-content;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbc7dd;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #302a56;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.owner-sign-out-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.manage-order-modal .synthetic-auth-form {
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.manage-order-modal .synthetic-auth-form > .synthetic-auth-field-error {
  justify-self: center;
  margin: 0;
  text-align: center;
}

.manage-order-modal .synthetic-auth-form--otp .synthetic-otp-control {
  justify-self: center;
}

.manage-order-modal .synthetic-auth-form label,
.manage-order-modal .synthetic-action-form label,
.manage-order-modal .synthetic-action-form legend {
  color: #211d43;
  font-size: 0.88rem;
  font-weight: 800;
}

.manage-order-modal .synthetic-auth-form input:not(.synthetic-otp-input),
.manage-order-modal .synthetic-action-form textarea {
  min-height: 3.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d4d1e7;
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(54, 42, 113, 0.04);
  color: #181536;
  font: inherit;
  font-size: 1rem;
}

.manage-order-modal .synthetic-auth-form input:not(.synthetic-otp-input):focus-visible,
.manage-order-modal .synthetic-action-form textarea:focus-visible,
.manage-order-modal .synthetic-action-form input:focus-visible {
  border-color: #6540e3;
  box-shadow: 0 0 0 3px rgba(101, 64, 227, 0.14);
  outline: 0;
  outline-offset: 2px;
}

.manage-order-modal .synthetic-auth-form > button[type="submit"] {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 0.3rem;
}

.manage-order-modal .synthetic-auth-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.manage-order-modal .synthetic-auth-secondary-actions button {
  width: 100%;
  margin-top: 0;
}

.manage-order-modal .synthetic-auth-form button,
.manage-order-modal .synthetic-actions button,
.manage-order-modal .owner-sign-out-button,
.manage-order-modal .manage-order-unavailable button {
  min-height: 3.25rem;
  padding: 0.8rem 1.1rem;
  border-radius: 0.85rem;
  box-shadow: 0 0.45rem 1rem rgba(74, 43, 189, 0.15);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.manage-order-modal .synthetic-auth-form > button[type="submit"],
.manage-order-modal .synthetic-actions button:not(.secondary):not(.destructive) {
  border: 0;
  background: linear-gradient(100deg, #3521b0, #6230df);
  color: #ffffff;
}

.manage-order-modal .synthetic-auth-form button.secondary,
.manage-order-modal .synthetic-actions button.secondary {
  border: 1px solid #d8d5e7;
  background: #f8f7fc;
  box-shadow: none;
  color: #423b6d;
}

.manage-order-modal .synthetic-auth-form button.secondary:hover:not(:disabled),
.manage-order-modal .synthetic-actions button.secondary:hover:not(:disabled) {
  border-color: #bbb5d5;
  background: #f1effa;
}

.synthetic-auth-form button.synthetic-auth-resend,
.manage-order-modal .synthetic-auth-form button.synthetic-auth-resend {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #4c2bc2;
  font: inherit;
  font-weight: 750;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.synthetic-auth-form button.synthetic-auth-resend:hover:not(:disabled),
.manage-order-modal .synthetic-auth-form button.synthetic-auth-resend:hover:not(:disabled) {
  background: transparent;
  color: #32188f;
}

.manage-order-modal .synthetic-actions button.destructive {
  background: #a9202d;
  box-shadow: 0 0.45rem 1rem rgba(159, 29, 40, 0.16);
  color: #ffffff;
}

.manage-order-modal .synthetic-auth-form button:focus-visible,
.manage-order-modal .synthetic-actions button:focus-visible,
.manage-order-modal .owner-sign-out-button:focus-visible,
.manage-order-modal .manage-order-unavailable button:focus-visible {
  outline: 3px solid rgba(101, 64, 227, 0.45);
  outline-offset: 2px;
}

.manage-order-modal .synthetic-actions {
  gap: 1.15rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.manage-order-modal .synthetic-actions-intro {
  color: #5c5a70;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.manage-order-modal .synthetic-action-list {
  gap: 1rem;
}

.manage-order-modal .synthetic-action-option {
  gap: 0.7rem;
  padding: 1.15rem;
  border-color: #e1dfeb;
  border-radius: 1rem;
  background: #fbfaff;
  box-shadow: none;
}

.manage-order-modal .synthetic-action-option h4 {
  color: #181536;
  font-size: 1rem;
  line-height: 1.35;
}

.manage-order-modal .synthetic-action-option p {
  color: #5c5a70;
  font-size: 0.86rem;
  line-height: 1.55;
}

.manage-order-modal .synthetic-action-option button {
  width: 100%;
  margin-top: 0.25rem;
}

.manage-order-modal .synthetic-action-form,
.manage-order-modal .synthetic-action-confirm {
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid #e1dfeb;
  border-radius: 1rem;
  background: #fbfaff;
}

.manage-order-modal .synthetic-action-confirm--cancel {
  border-color: #ecc8cc;
  border-left: 4px solid #9f1d28;
  background: #fffafa;
}

.manage-order-modal .synthetic-action-form h4,
.manage-order-modal .synthetic-action-confirm h4 {
  color: #181536;
  font-size: 1.08rem;
  line-height: 1.35;
}

.manage-order-modal .synthetic-action-confirm--cancel h4 {
  color: #7a1b1b;
}

.manage-order-modal .synthetic-action-form p,
.manage-order-modal .synthetic-action-confirm p,
.manage-order-modal .synthetic-action-result p {
  color: #5c5a70;
  font-size: 0.87rem;
  line-height: 1.55;
}

.manage-order-modal .synthetic-action-warning {
  padding: 0.75rem 0.85rem;
  border-left-width: 4px;
  border-radius: 0 0.55rem 0.55rem 0;
}

.manage-order-modal .synthetic-action-review-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid #e1dfeb;
  border-radius: 0.85rem;
  background: #ffffff;
}

.manage-order-modal .synthetic-action-review-list > div {
  grid-template-columns: minmax(7.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
}

.manage-order-modal .synthetic-action-review-list > div:last-child {
  border-bottom: 0;
}

.manage-order-modal .synthetic-action-review-list dt,
.manage-order-modal .synthetic-action-review-list dd {
  color: #363052;
  font-size: 0.84rem;
  line-height: 1.5;
}

.manage-order-modal .synthetic-action-result {
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
}

.manage-order-modal .synthetic-action-result--cancel.synthetic-action-result--completed {
  border-color: #9f1d28;
  background: #fff4f5;
  color: #7a1b1b;
}

.manage-order-modal .owner-sign-out-button {
  width: 100%;
  margin-top: 0.25rem;
  background: #ffffff;
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .manage-order-modal button,
  .manage-order-modal input,
  .manage-order-modal textarea {
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  }
}

/* Phase 3G.2 local/test-only authenticated synthetic shipment actions. */
.synthetic-actions {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dedede;
}

.synthetic-actions h3,
.synthetic-actions h4 {
  margin: 0;
}

.synthetic-actions h3:focus,
.synthetic-actions h4:focus,
.synthetic-action-error:focus {
  outline: 3px solid #e7a92f;
  outline-offset: 3px;
}

.manage-order-modal .synthetic-actions h3:focus,
.manage-order-modal .synthetic-actions h4:focus {
  outline: 0;
}

.synthetic-order-state:focus {
  outline: 3px solid #111111;
  outline-offset: 3px;
}

.synthetic-actions-intro,
.synthetic-action-option p,
.synthetic-action-form p,
.synthetic-action-confirm p,
.synthetic-action-result p {
  margin: 0;
  color: #303735;
  font-size: 0.78rem;
}

.synthetic-action-list,
.synthetic-action-form,
.synthetic-action-confirm,
.synthetic-action-result {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
}

.synthetic-action-option {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid #dedede;
  border-radius: 0.6rem;
  background: #fafafa;
}

.synthetic-actions button {
  width: fit-content;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--brand-accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.synthetic-actions button.secondary {
  border: 1px solid #6f6b76;
  background: #ffffff;
  color: #303735;
}

.synthetic-actions button.destructive {
  background: #9f1d28;
  color: #ffffff;
}

.synthetic-actions button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.synthetic-action-form label,
.synthetic-action-form legend {
  color: #303735;
  font-size: 0.78rem;
  font-weight: 750;
}

.synthetic-action-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 7rem;
  resize: vertical;
  padding: 0.65rem 0.75rem;
  border: 1px solid #8b918f;
  border-radius: 0.55rem;
  background: #ffffff;
  color: #111715;
  font: inherit;
}

.synthetic-action-form fieldset {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid #dedede;
  border-radius: 0.55rem;
}

.synthetic-action-form fieldset label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  font-weight: 500;
}

.synthetic-action-warning {
  padding: 0.65rem 0.75rem;
  border-left: 3px solid #6f6b76;
  background: #f4f5f9;
}

.synthetic-order-state {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.synthetic-order-state--active {
  border-color: #2e7d32;
  background: #e8f5ec;
  color: #14532d;
}

.synthetic-order-state--on-hold {
  border-color: #9a6700;
  background: #fff4d6;
  color: #713f12;
}

.synthetic-order-state--canceled {
  border-color: #b91c1c;
  background: #fdecec;
  color: #7f1d1d;
}

@media (forced-colors: active) {
  .synthetic-order-state {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
    forced-color-adjust: auto;
  }
}

.synthetic-no-actions {
  margin: 0;
  color: #303735;
  font-size: 0.78rem;
}

.synthetic-order-load-error {
  margin: 0;
  color: #8b1e25;
  font-size: 0.78rem;
  font-weight: 700;
}

.synthetic-action-review-list {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 0.65rem;
  margin: 0;
}

.synthetic-action-review-list > div {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 0.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #dedede;
}

.synthetic-action-review-list dt,
.synthetic-action-review-list dd {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: #303735;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.synthetic-action-review-list dt {
  font-weight: 750;
}

.synthetic-review-reason {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.synthetic-action-result {
  padding: 0.9rem;
  border: 2px solid;
  border-radius: 0.65rem;
}

.synthetic-action-result-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}

.synthetic-action-result-icon {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
}

.synthetic-action-result--completed {
  border-color: #16794b;
  background: #e7f6ec;
  color: #0f5132;
}

.synthetic-action-result--pending {
  border-color: #9a6700;
  background: #fff4d6;
  color: #5f4100;
}

.synthetic-action-result--rejected,
.synthetic-action-result--failed {
  border-color: #b42318;
  background: #fdebec;
  color: #7a1b1b;
}

.synthetic-action-result h4,
.synthetic-action-result p {
  color: inherit;
}

.post-action-refresh-recovery {
  display: grid;
  min-width: 0;
  gap: 0.65rem;
}

.additional-action-submitting,
.request-return-submitting {
  display: grid;
  gap: 0.75rem;
}

.additional-action-submitting > p,
.request-return-submitting > p {
  margin: 0;
}

.post-action-refresh-recovery p {
  margin: 0;
  overflow-wrap: anywhere;
}

.synthetic-action-error {
  color: #8b1e25 !important;
  font-weight: 700;
}

.field-validation-error {
  margin: 0;
  color: #8b1e25;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.inline-manage-order input[aria-invalid="true"],
.manage-order-modal input[aria-invalid="true"] {
  border-color: #b42318;
}

.synthetic-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.inline-manage-order .action-form-primary,
.inline-manage-order .action-form-secondary,
.manage-order-modal .synthetic-actions button.action-form-primary,
.manage-order-modal .synthetic-actions button.action-form-secondary {
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.2;
}

.inline-manage-order .action-form-primary:not(.destructive),
.manage-order-modal .synthetic-actions button.action-form-primary:not(.destructive) {
  border: 0;
  background: linear-gradient(135deg, #4324d5, #6537ec);
  color: #ffffff;
}

.inline-manage-order .action-form-primary:hover:not(:disabled),
.manage-order-modal .synthetic-actions button.action-form-primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

.inline-manage-order .action-form-secondary.secondary,
.manage-order-modal .synthetic-actions button.action-form-secondary.secondary {
  border: 1px solid #b9b4cc;
  background: #ffffff;
  color: #423b6d;
}

.inline-manage-order .action-form-secondary.secondary:hover:not(:disabled),
.manage-order-modal .synthetic-actions button.action-form-secondary.secondary:hover:not(:disabled) {
  border-color: #8c83ad;
  background: #f5f3fb;
}

.inline-manage-order .action-form-primary:disabled,
.inline-manage-order .action-form-secondary:disabled,
.manage-order-modal .synthetic-actions button.action-form-primary:disabled,
.manage-order-modal .synthetic-actions button.action-form-secondary:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 640px) {
  .synthetic-auth-form button,
  .synthetic-actions button,
  .owner-sign-out-button {
    width: 100%;
  }

  .synthetic-auth-secondary-actions,
  .synthetic-action-buttons {
    display: grid;
  }

  .manage-order-modal {
    width: calc(100% - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    margin-block: 0.375rem;
    border-radius: 1rem;
  }

  .manage-order-modal-shell {
    max-height: calc(100dvh - 0.75rem);
  }

  .manage-order-modal-header {
    padding: 1.4rem 3.75rem 1.15rem;
  }

  .manage-order-modal-body {
    padding: 1.25rem;
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
    scroll-padding-block: 0.75rem 5rem;
  }

  .manage-order-modal-title h2 {
    font-size: 1.5rem;
  }

  .manage-order-modal-title p {
    font-size: 0.82rem;
  }

  .manage-order-modal-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .manage-order-modal .synthetic-otp-boxes {
    gap: 0.4rem;
  }

  .manage-order-modal .synthetic-otp-digit {
    min-height: 3.2rem;
    border-radius: 0.65rem;
    font-size: 1.2rem;
  }

  .manage-order-modal .synthetic-auth-secondary-actions,
  .manage-order-modal .synthetic-action-review-list > div {
    grid-template-columns: 1fr;
  }

  .manage-order-modal .synthetic-action-review-list > div {
    gap: 0.2rem;
  }
}

@media (max-height: 600px) {
  .manage-order-modal {
    max-height: calc(100dvh - 0.5rem);
    margin-block: 0.25rem;
  }

  .manage-order-modal-shell {
    max-height: calc(100dvh - 0.5rem);
  }

  .manage-order-modal-header {
    padding-block: 1rem 0.8rem;
  }

  .manage-order-modal-body {
    padding-top: 0.85rem;
    padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 0.85rem));
  }
}

/* Reference-aligned first-party pages. Static decorative art; no motion controls. */
.landing-page {
  background: radial-gradient(ellipse at 80% 48%, #eae1fb 0, transparent 54%), #faf8ff;
}
.landing-page::after { display: none; }
.landing-header {
  min-height: 60px;
  padding: 6px 4.3%;
  background: transparent;
  border-bottom: 0;
}
.landing-header-inner {
  width: min(100%, 1346px);
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.landing-brand { font-size: 24px; gap: 10px; }
.landing-brand-icon { width: 40px; height: 40px; }
.landing-header-inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; }
.landing-brand-tagline { padding-left: 15px; border-left: 1px solid #d8d0ef; color: #75669c; font-size: 7px; letter-spacing: .23em; text-transform: uppercase; }
.landing-header-shield { display: none; }
.landing-navigation { min-width: 0; gap: 42px; }
.landing-navigation a { padding: 12px 0; font-size: 14px; color: #101037; }
.landing-navigation a[aria-current="page"] { color: #101037; }
.landing-navigation a[aria-current="page"]::after { display: none; }
.landing-main { display: block; padding: 0; }
.landing-hero {
  width: min(100%, 1440px);
  min-height: clamp(545px, 49.86vw, 718px);
  padding: 24px 0 34px 4.3%;
  grid-template-columns: 43% 57%;
  align-items: start;
  gap: 0;
  position: relative;
}
.landing-copy-column { display: block; position: relative; z-index: 2; }
.landing-heading-block { padding: 0; }
.landing-eyebrow {
  margin: 4px 0 10px;
  color: #7954e9;
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.landing-heading-block h1, .support-contact-column h1, .support-form-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #0d0b35;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -.055em;
}
.landing-heading-block h1 {
  width: 118%;
  max-width: none;
  margin: 0 0 8px;
  font-size: clamp(44px, 5.13vw, 73px);
  line-height: .99;
}
.landing-heading-block h1 span { color: inherit; font-style: normal; white-space: nowrap; }
.landing-heading-block p {
  width: 115%;
  max-width: none;
  margin: 0 0 24px;
  color: #14103b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.landing-lookup-card {
  width: 100%;
  padding: 18px 22px 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 11px;
  box-shadow: 0 14px 40px #7050d011;
}
.landing-lookup-form { gap: 16px; }
.landing-field { display: grid; gap: 6px; color: #17133d; font-size: 12px; font-weight: 700; }
.landing-input-wrap { min-height: 37px; border-color: #dcd6ef; border-radius: 5px; grid-template-columns: 1fr; }
.landing-input-wrap input { min-height: 35px; padding: 8px 17px; font-size: 12px; font-weight: 400; }
.landing-input-wrap input::placeholder { text-transform: none; letter-spacing: normal; }
.landing-input-wrap input::placeholder { color: #80799e; }
.landing-lookup-form button {
  min-height: 43px; margin-top: 2px; padding: 10px 16px; border-radius: 6px;
  background: linear-gradient(100deg, #6c47d3, #6c49d5); font-size: 14px;
}
.landing-button-icon { width: 20px; height: 20px; }
.landing-support-copy { margin: 19px 0 0; padding-top: 17px; border-top: 1px solid #ded9ea; font-size: 11px; }
.landing-support-copy a { margin-left: 9px; }
.landing-support-copy a span { display: inline-block; margin-left: 7px; font-size: 18px; text-decoration: none; }
.landing-illustration-wrap {
  position: relative; width: 100%; min-height: 0; height: 100%; align-self: stretch;
  display: block; isolation: isolate; grid-row: auto;
}
.landing-illustration-scene {
  /* The asset and every journey coordinate share the uncropped 1254px square. */
  position: absolute; height: calc(100% + 92px); aspect-ratio: 1; right: 0; top: -58px;
  container-type: inline-size;
}
.landing-spirits-art {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100% !important; max-width: none !important; height: 100% !important;
  transform: none !important; filter: none;
}
.landing-example-journey {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
  --journey-icon-size: clamp(20px, 5.263158cqw, 40px);
}
.landing-example-route {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.landing-example-route path { fill: none; stroke: #8855f5; stroke-width: 4.3; stroke-dasharray: 10.8 10.8; }
.landing-example-label {
  position: absolute; z-index: 3; left: 63.795853%; top: 6.45933%; transform: translateX(-50%); white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: #d9caff;
  color: #613fcb; font-size: 10px; font-weight: 600;
}
.landing-art-caption { position: absolute; z-index: 2; top: 42%; right: 12px; margin: 0; color: #74619f; font-size: 8px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.landing-art-caption::after { display: block; width: 17px; margin-top: 7px; border-top: 1px solid #a691cc; content: ""; }
.landing-milestones { position: absolute; z-index: 3; inset: 0; }
.landing-milestones > span { position: absolute; display: grid; justify-items: center; gap: 5px; font-size: clamp(8px,1.515152cqw,12px); font-weight: 700; color: #151038; transform: translate(-50%,calc(var(--journey-icon-size) / -2)); white-space: nowrap; }
.landing-milestones > span:nth-child(1) { left: 49.441786%; top: 12.121212%; }
.landing-milestones > span:nth-child(2) { left: 72.727273%; top: 14.912281%; }
.landing-milestones > span:nth-child(3) { left: 90.909091%; top: 13.23764%; }
.landing-milestones b { font-weight: inherit; }
.landing-milestones i { display: grid; width: var(--journey-icon-size); height: var(--journey-icon-size); place-items: center; border-radius: 50%; color: white; background: #7750dd; }
.landing-milestones svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.landing-support-strip {
  position: relative; z-index: 3; display: grid; width: 100%; min-height: 126px; margin: 0;
  padding: 19px 1.8%; background: #fff; grid-template-columns: repeat(3,minmax(0,1fr));
}
.landing-support-strip a {
  display: grid; min-width: 0; min-height: 74px; align-items: center; gap: 24px;
  padding: 8px 28px; color: #16133c; grid-template-columns: 50px minmax(0,1fr) 20px; text-decoration: none;
}
.landing-support-strip a + a { border-left: 1px solid #e8e3f2; }
.landing-support-strip a:hover { background: #faf8ff; }
.landing-support-strip a > svg {
  box-sizing: content-box; width: 24px; height: 24px; padding: 13px; border-radius: 50%; background: #f2effd;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.landing-support-strip a > span { display: grid; gap: 5px; }
.landing-support-strip strong { font-size: 12px; }
.landing-support-strip small { color: #66627d; font-size: 11px; line-height: 1.4; }
.landing-support-strip b { color: #7544e8; font-size: 23px; font-weight: 400; }
.support-main { padding: 26px 2.5% 20px 4.8%; }
.support-layout { display: grid; width: min(100%, 1346px); margin: 0 auto; align-items: start; gap: 26px; grid-template-columns: minmax(0,.61fr) minmax(0,1fr); }
.support-contact-column { min-width: 0; padding-top: 10px; }
.support-eyebrow { margin: 0 0 12px; color: #6a3edf; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.support-contact-column h1 { margin: 0 0 12px; font-size: clamp(48px, 5.65vw, 76px); line-height: .92; }
.support-intro { margin: 0 0 19px; color: #4c4969; font-size: 16px; line-height: 1.5; }
.support-contact-list { display: grid; gap: 15px; color: #15113b; font-style: normal; }
.support-contact-row { display: grid; min-width: 0; align-items: center; gap: 20px; grid-template-columns: 42px minmax(0,1fr); }
.support-contact-row > span:last-child { display: grid; min-width: 0; gap: 5px; }
.support-contact-row strong { color: #474075; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.support-contact-row a, .support-contact-row span span { color: #17123c; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.support-contact-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #f0eafb; color: #6635db; }
.support-contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.support-artwork { position: relative; width: calc(100% + 79px); margin: -22px 0 0 -52px; }
.support-artwork img { display: block; width: 100%; height: auto; }
.support-form-card { min-width: 0; padding: 24px 30px 16px; border: 1px solid #e9dbff; border-radius: 10px; background: #ffffffd9; }
.support-form-card h2 { margin: 0 0 4px; font-size: 40px; line-height: 1.1; }
.support-form-card > p { margin: 0 0 20px; color: #555070; font-size: 14px; line-height: 1.4; }
.support-form-card form { display: grid; gap: 20px; }
.support-fields { display: grid; gap: 20px; min-width: 0; padding: 0; margin: 0; border: 0; }
.support-honeypot { display: none; }
.support-field-pair { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.support-form-card label, .support-upload-field { display: grid; min-width: 0; gap: 7px; color: #141035; font-size: 12px; font-weight: 500; }
.support-form-card input, .support-form-card textarea {
  width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid #d9d7e5; border-radius: 5px;
  background: #fff; color: #171238; font: inherit; font-weight: 400;
}
.support-form-card input { min-height: 38px; }
.support-form-card textarea { min-height: 94px; resize: vertical; }
.support-form-card input::placeholder, .support-form-card textarea::placeholder { color: #817e94; opacity: 1; }
.support-form-card input:focus, .support-form-card textarea:focus { outline: 2px solid #8257dc; outline-offset: 2px; }
.support-file-picker { min-height: 76px; align-content: center; justify-content: center; align-items: center; padding: 10px; border: 1px dashed #c0c7e5; border-radius: 8px; background: transparent; cursor: pointer; text-align: center; grid-template-columns: 24px auto; }
.support-file-picker:hover, .support-file-picker:has(+ input:focus-visible) { outline: 2px solid #8257dc; outline-offset: 2px; }
.support-file-picker svg { width: 23px; height: 23px; fill: none; stroke: #26234e; stroke-width: 1.6; }
.support-file-picker > span { display: grid; gap: 4px; }
.support-file-picker strong { font-weight: 400; color: #4d476b; }
.support-selected-files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.support-selected-files li { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; background: #f5f2fc; }
.support-selected-files li span { overflow-wrap: anywhere; }
.support-selected-files button { border: 0; padding: 8px; color: #5936c4; background: transparent; font: inherit; cursor: pointer; }
.support-submit { min-height: 40px; border: 0; border-radius: 6px; background: linear-gradient(100deg,#794dd7,#7850d3); color: #fff; font: inherit; font-size: 13px; }
.support-submit:disabled { cursor: not-allowed; opacity: .65; }
@media (max-width: 800px) {
  .landing-header { padding: 10px 20px; }
  .landing-header-inner { grid-template-columns: 1fr; gap: 8px; }
  .landing-brand-tagline, .landing-art-caption { display: none; }
  .landing-brand { font-size: 22px; }
  .landing-navigation { justify-content: flex-start; gap: 30px; }
  .landing-navigation a { padding: 8px 0; }
  .landing-hero { width: min(100%,560px); padding: 24px 20px 0; grid-template-columns: 1fr; gap: 24px; }
  .landing-heading-block h1 { width: 100%; font-size: clamp(34px,7.8vw,48px); line-height: 1.05; }
  .landing-heading-block h1 span { white-space: normal; }
  .landing-heading-block p { width: 100%; font-size: 21px; }
  .landing-lookup-card { padding: 20px; }
  .landing-input-wrap, .landing-lookup-form button { min-height: 44px; }
  .landing-illustration-wrap { height: auto; aspect-ratio: 1 / 1.09; grid-row: 3; }
  .landing-illustration-scene { position: relative; top: 0; right: 0; width: 100%; height: auto; }
  .landing-heading-block { text-align: left; }
  .landing-example-label { top: 1%; padding: 4px 9px; font-size: 9px; }
  .landing-milestones > span { gap: 3px; }
  .landing-support-strip { grid-template-columns: 1fr; padding: 12px 20px; }
  .landing-support-strip a { padding: 18px 8px; }
  .landing-support-strip a + a { border-left: 0; border-top: 1px solid #e8e3f2; }
  .support-main { padding: 24px 20px; }
  .support-layout { max-width: 560px; grid-template-columns: 1fr; gap: 24px; }
  .support-contact-column h1 { font-size: 58px; }
  .support-artwork { width: calc(100% + 40px); margin-left: -20px; }
  .support-form-card { padding: 22px; }
  .support-form-card h2 { font-size: 34px; }
  .support-field-pair { grid-template-columns: 1fr; }
  .support-form-card input { min-height: 44px; }
}

/* Keep the established single-column tablet composition through its original
   980px breakpoint; a legacy row-3 rule must not collapse the scene at 801–980px. */
@media (min-width: 801px) and (max-width: 980px) {
  .landing-hero { width: min(100%,560px); padding: 24px 20px 0; grid-template-columns: 1fr; gap: 24px; }
  .landing-heading-block h1, .landing-heading-block p { width: 100%; }
  .landing-heading-block h1 span { white-space: normal; }
  .landing-illustration-wrap { height: auto; aspect-ratio: 1 / 1.09; }
  .landing-illustration-scene { position: relative; top: 0; right: 0; width: 100%; height: auto; }
}

/* Production V2 shipment-progress presentation. The API-derived segment fills
   and accessible current-state semantics remain owned by the React component. */
.progress-indicator {
  display: flex;
  width: 100%;
  max-width: 860px;
  height: 60px;
  justify-content: space-between;
  margin: 28px auto;
  padding: 0;
  list-style: none;
}

.progress-stage {
  position: relative;
  display: flex;
  width: 25%;
  flex: 0 0 25%;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: flex-start;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.progress-stage > span:last-child {
  margin: 0;
  line-height: 16px;
}

.progress-stage:not(:last-child)::before,
.progress-stage:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  content: "";
}

.progress-stage:not(:last-child)::before {
  background: #f4f5f9;
}

.progress-stage:not(:last-child)::after {
  background: transparent;
  transform: none;
}

.progress-stage.progress-segment-10:not(:last-child)::after {
  background: linear-gradient(to right, #6f6b76 0 50%, transparent 50% 100%);
}

.progress-stage.progress-segment-01:not(:last-child)::after {
  background: linear-gradient(to right, transparent 0 50%, #6f6b76 50% 100%);
}

.progress-stage.progress-segment-11:not(:last-child)::after {
  background: #6f6b76;
}

.progress-icon,
.progress-stage-complete .progress-icon,
.progress-stage-current .progress-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f5f9;
  box-shadow: none;
  color: #6f6b76;
}

.progress-icon-svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}

.progress-stage-complete,
.progress-stage-current {
  color: #000000;
}
/* Customer-safe last-resort recovery for an unexpected React render failure. */
.application-error-boundary {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.application-error-boundary h1,
.application-error-boundary p {
  margin: 0;
}

.application-error-boundary button {
  cursor: pointer;
  font: inherit;
  padding: 0.75rem 1.25rem;
}

/* Temporary main-domain monitoring verification surface. */
.sentry-staging-verification {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.sentry-staging-verification h1,
.sentry-staging-verification p {
  margin: 0;
}

.sentry-staging-verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sentry-staging-verification button {
  cursor: pointer;
  font: inherit;
  padding: 0.75rem 1.25rem;
}

.sentry-staging-verification button:disabled {
  cursor: default;
}

.sentry-staging-verification-status {
  min-height: 1.5em;
}
