:root {
  color-scheme: light;
  --brand-black: #050505;
  --brand-charcoal: #242424;
  --brand-blue: #0367bf;
  --brand-blue-dark: #025494;
  --brand-blue-light: #55b6ff;
  --brand-steel: #aeb8bd;
  --navy-950: #050505;
  --navy-900: #102d45;
  --navy-800: #0b4f7f;
  --navy-700: #0367bf;
  --gold-500: #55b6ff;
  --gold-600: #0367bf;
  --gold-100: #eaf4fc;
  --cream-100: #f4f5f6;
  --cream-200: #e5e8ea;
  --white: #ffffff;
  --ink: #25282a;
  --muted: #626a70;
  --muted-light: #69747b;
  --line: #dfe3e6;
  --line-strong: #c8ced2;
  --success: #1b6b52;
  --success-soft: #e7f4ef;
  --warning: #8a6113;
  --warning-soft: #fbf3df;
  --danger: #a33636;
  --danger-soft: #fff0f0;
  --focus: #0367bf;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12), 0 3px 12px rgba(0, 0, 0, 0.08);
  --radius-xl: 14px;
  --radius-lg: 11px;
  --radius-md: 8px;
  --radius-sm: 5px;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eceff1 0, #f7f8f9 360px, #f4f5f6 100%);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
select {
  cursor: pointer;
}

button:disabled,
select:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.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;
}

.site-header {
  background: var(--brand-black);
  border-bottom: 3px solid var(--brand-blue);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(210px, 23vw, 260px);
  height: auto;
}

.secure-label {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.secure-dot {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(3, 103, 191, 0.22);
  border-radius: 50%;
}

.secure-dot::before {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 6px;
  height: 7px;
  border: 2px solid var(--brand-blue-light);
  border-radius: 2px;
  content: "";
}

.secure-dot::after {
  position: absolute;
  top: 3px;
  left: 9px;
  width: 4px;
  height: 5px;
  border: 2px solid var(--brand-blue-light);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  content: "";
}

.page-main {
  padding: 48px 20px 42px;
}

.portal-shell {
  display: grid;
  width: min(1180px, 100%);
  min-height: 680px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.48fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.intro-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 56px 44px 40px;
  flex-direction: column;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(150deg, rgba(3, 103, 191, 0.34), transparent 42%),
    var(--brand-black);
}

.intro-panel::before,
.intro-panel::after {
  position: absolute;
  border: 1px solid rgba(85, 182, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.intro-panel::before {
  right: -165px;
  bottom: -120px;
  width: 370px;
  height: 370px;
}

.intro-panel::after {
  right: -100px;
  bottom: -58px;
  width: 240px;
  height: 240px;
}

.eyebrow,
.step-kicker {
  margin: 0 0 13px;
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.workspace .step-kicker {
  color: var(--gold-600);
}

.intro-panel h1 {
  max-width: 360px;
  margin: 0;
  color: var(--white);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.intro-copy {
  max-width: 390px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.assurance-list {
  display: grid;
  margin: 47px 0 34px;
  padding: 0;
  gap: 27px;
  list-style: none;
}

.assurance-list li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.assurance-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--gold-100);
  background: rgba(3, 103, 191, 0.22);
  border: 1px solid rgba(85, 182, 255, 0.52);
  border-radius: 50%;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.assurance-list strong {
  display: block;
  margin: 1px 0 3px;
  color: var(--white);
  font-size: 14px;
}

.assurance-list li > span:last-child {
  color: rgba(255, 255, 255, 0.61);
  font-size: 12px;
  line-height: 1.5;
}

.privacy-note {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: auto;
  padding: 17px 18px;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.privacy-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.55;
}

.privacy-note strong {
  color: rgba(255, 255, 255, 0.88);
}

.privacy-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 19px;
  margin-top: 3px;
  border: 1.8px solid var(--gold-500);
  border-radius: 6px 6px 9px 9px;
}

.privacy-icon::before {
  position: absolute;
  top: -7px;
  left: 4px;
  width: 8px;
  height: 9px;
  border: 1.8px solid var(--gold-500);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

.workspace {
  padding: 35px clamp(28px, 5vw, 70px) 48px;
  background: var(--white);
}

.progress-nav {
  padding: 2px 0 34px;
  border-bottom: 1px solid var(--line);
}

.progress-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: max-content minmax(18px, 1fr) max-content minmax(18px, 1fr) max-content;
  align-items: start;
  gap: 11px;
  list-style: none;
}

.progress-step {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.progress-number {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 11px;
}

.progress-step.is-current {
  color: var(--navy-900);
}

.progress-step.is-current .progress-number {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(3, 103, 191, 0.1);
}

.progress-step.is-complete {
  color: var(--success);
}

.progress-step.is-complete .progress-number {
  color: var(--white);
  background: var(--success);
  border-color: var(--success);
  font-size: 0;
}

.progress-step.is-complete .progress-number::after {
  content: "✓";
  font-size: 12px;
}

.progress-line {
  height: 1px;
  margin-top: 13px;
  background: var(--line);
}

.progress-line.is-complete {
  background: var(--success);
}

.stage-panel {
  padding-top: 42px;
}

.stage-panel:focus {
  outline: none;
}

.stage-heading {
  margin-bottom: 30px;
}

.stage-heading h2,
.success-panel h2,
.boot-panel h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.stage-heading > p:last-child,
.stage-heading > div > p:last-child,
.success-copy,
.boot-panel p {
  max-width: 610px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.stage-heading-centered {
  text-align: center;
}

.stage-heading-centered > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.field-group {
  margin-bottom: 23px;
}

.field-group label,
.label-row label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 750;
}

.label-row label span {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

input,
textarea {
  padding: 11px 14px;
}

select {
  padding: 10px 35px 10px 12px;
}

textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}

input:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
  border-color: #9eacb1;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(3, 103, 191, 0.28);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(3, 103, 191, 0.13);
  outline: none;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 54, 54, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: #6b777d;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-left: 42px;
}

.input-symbol {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  color: var(--gold-600);
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-hint,
.form-privacy,
.selection-summary,
.download-status {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.field-hint {
  line-height: 1.45;
}

.form-privacy {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.mini-lock {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 9px;
  flex: 0 0 auto;
  border: 1.3px solid var(--success);
  border-radius: 2px;
}

.mini-lock::before {
  position: absolute;
  top: -5px;
  left: 2px;
  width: 4px;
  height: 5px;
  border: 1.3px solid var(--success);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  content: "";
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(3, 103, 191, 0.22);
}

.button-primary:hover:not(:disabled) {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  box-shadow: 0 8px 20px rgba(3, 103, 191, 0.28);
}

.button-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--line-strong);
}

.button-secondary:hover:not(:disabled) {
  background: #f7f9f9;
  border-color: #9fadb2;
}

.button:disabled {
  color: #929da2;
  background: #e9edef;
  border-color: #e0e5e7;
  box-shadow: none;
}

.button-wide {
  width: 100%;
}

.button-row {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.button-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.button-secondary .button-spinner {
  border-color: rgba(16, 42, 54, 0.22);
  border-top-color: currentColor;
}

.button.is-loading .button-spinner {
  display: block;
}

.button.is-loading .button-label,
.button.is-loading > .download-icon {
  opacity: 0.8;
}

.form-error,
.status-banner,
.sync-notice,
.noscript-message {
  padding: 12px 14px;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid rgba(163, 54, 54, 0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
}

.form-error {
  margin: 0 0 18px;
}

.status-banner {
  display: flex;
  margin-top: 24px;
  align-items: flex-start;
  gap: 10px;
}

.status-banner p {
  margin: 0;
}

.status-banner.is-info {
  color: var(--navy-700);
  background: #edf5f7;
  border-color: #cde1e7;
}

.status-banner.is-success {
  color: var(--success);
  background: var(--success-soft);
  border-color: #c9e5da;
}

.status-icon {
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
}

.boot-panel {
  display: flex;
  min-height: 420px;
  padding-top: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.boot-panel h2 {
  margin-top: 24px;
  font-size: 29px;
}

.large-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.verification-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 2px auto 20px;
  place-items: center;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid #bfdcf1;
  border-radius: 50%;
  font-size: 22px;
}

.verify-form {
  max-width: 460px;
  margin: 0 auto;
}

.code-input {
  height: 58px;
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 0.34em;
}

.verified-badge {
  display: inline-flex;
  margin-top: 2px;
  padding: 7px 10px;
  align-items: center;
  gap: 6px;
  color: var(--success);
  background: var(--success-soft);
  border: 1px solid #cae4da;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.order-summary {
  display: grid;
  margin: 0;
  padding: 21px 23px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #f7f9f9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.order-summary div {
  min-width: 0;
}

.order-summary dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-summary dd {
  margin: 0;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-status {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px;
  overflow: hidden;
  color: var(--success);
  background: var(--success-soft);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap;
}

.section-divider {
  height: 1px;
  margin: 30px 0 25px;
  background: var(--line);
}

.content-heading {
  display: flex;
  margin-bottom: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.content-heading h3,
.packing-instructions h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 14px;
}

.item-count {
  color: var(--muted);
  font-size: 11px;
}

.order-items,
.return-items {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  min-width: 0;
  padding: 13px 15px;
  grid-template-columns: 45px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.product-thumbnail {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--navy-700);
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 7px;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

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

.product-copy strong,
.return-title {
  display: block;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-copy > span:not(.return-title),
.return-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.return-title {
  display: -webkit-box;
  font-size: 13px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-total {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.eligibility-notice {
  display: flex;
  margin-top: 17px;
  padding: 12px 14px;
  align-items: flex-start;
  gap: 11px;
  color: var(--warning);
  background: var(--warning-soft);
  border: 1px solid #ecdba9;
  border-radius: var(--radius-sm);
}

.eligibility-notice p {
  margin: 0;
  font-size: 11px;
}

.calendar-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 15px;
  margin-top: 1px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.calendar-icon::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  border-top: 1.5px solid currentColor;
  content: "";
}

.item-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.return-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.return-card.is-selected {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(3, 103, 191, 0.12);
}

.return-card-main {
  display: grid;
  min-width: 0;
  padding: 15px;
  grid-template-columns: 22px 43px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
}

.return-checkbox {
  width: 19px;
  min-height: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand-blue);
}

.return-checkbox:focus-visible {
  outline: 3px solid rgba(3, 103, 191, 0.28);
  outline-offset: 3px;
}

.return-unit-total {
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.return-controls {
  display: grid;
  padding: 14px 15px 16px 92px;
  grid-template-columns: minmax(100px, 0.45fr) minmax(180px, 1fr);
  gap: 14px;
  background: #fafbfb;
  border-top: 1px solid var(--line);
}

.return-control label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.return-control input,
.return-control select {
  min-height: 42px;
  font-size: 12px;
}

.return-card:not(.is-selected) .return-controls {
  display: none;
}

.note-field {
  margin-top: 28px;
}

.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.character-count {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.selection-summary {
  text-align: right;
}

.success-panel {
  padding-top: 35px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 57px;
  height: 57px;
  margin: 0 auto 17px;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border: 6px solid var(--success-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c5e0d6;
  font-size: 20px;
  font-weight: 800;
}

.success-panel .step-kicker {
  margin-bottom: 8px;
  color: var(--success);
}

.success-copy {
  margin-right: auto;
  margin-left: auto;
}

.rma-number-card {
  display: grid;
  max-width: 430px;
  margin: 25px auto;
  padding: 18px;
  gap: 2px;
  background: var(--gold-100);
  border: 1px solid #bfdcf1;
  border-radius: var(--radius-md);
}

.rma-number-card span {
  color: var(--warning);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rma-number-card strong {
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rma-number-card small {
  color: var(--muted);
  font-size: 10px;
}

.packing-instructions {
  margin: 0 0 20px;
  padding: 20px 22px;
  text-align: left;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.packing-instructions h3 {
  margin-bottom: 15px;
}

.packing-instructions ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.packing-instructions li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 11px;
}

.packing-instructions li > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.packing-instructions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.packing-instructions strong {
  display: block;
  color: var(--navy-900);
  font-size: 12px;
}

.sync-notice {
  margin: 0 0 17px;
  color: var(--warning);
  background: var(--warning-soft);
  border-color: #ecdba9;
  text-align: left;
}

.download-status {
  margin-top: 10px;
  text-align: center;
}

.text-button {
  min-height: 44px;
  margin: 14px auto 0;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:hover:not(:disabled) {
  color: var(--navy-900);
}

.noscript-message {
  margin-top: 30px;
}

.site-footer {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 24px max(20px, calc((100% - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
  background: var(--brand-black);
  border-top: 3px solid var(--brand-blue);
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brand-blue-light);
  font-weight: 700;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--white);
}

.privacy-main {
  padding: 54px 20px 40px;
}

.privacy-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 68px);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.privacy-card .step-kicker {
  color: var(--gold-600);
}

.privacy-heading h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy-900);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.privacy-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.template-banner {
  margin: 31px 0 6px;
  padding: 17px 19px;
  color: var(--warning);
  background: var(--warning-soft);
  border: 1px solid #e5ce8e;
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.6;
}

.template-banner strong {
  display: block;
  color: var(--navy-900);
  font-size: 13px;
}

.privacy-section {
  padding: 31px 0 28px;
  border-bottom: 1px solid var(--line);
}

.privacy-section h2 {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
}

.privacy-section h3 {
  margin: 0 0 7px;
  color: var(--navy-900);
  font-size: 13px;
}

.privacy-section p,
.privacy-section li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.privacy-section p {
  margin: 0 0 12px;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section ul {
  display: grid;
  margin: 0 0 12px;
  padding-left: 20px;
  gap: 8px;
}

.privacy-section li::marker {
  color: var(--gold-600);
}

.privacy-section strong {
  color: var(--navy-900);
}

.privacy-section code {
  padding: 2px 5px;
  color: var(--navy-900);
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

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

.privacy-actions {
  display: flex;
  padding-top: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

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

@media (max-width: 900px) {
  .page-main {
    padding-top: 34px;
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    min-height: auto;
    padding: 38px 40px;
  }

  .intro-panel h1 {
    max-width: 600px;
    font-size: 37px;
  }

  .intro-copy {
    max-width: 680px;
  }

  .assurance-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0 0;
    gap: 18px;
  }

  .assurance-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .privacy-note {
    display: none;
  }

  .workspace {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 82px;
  }

  .brand-logo {
    width: min(210px, 65vw);
  }

  .secure-label {
    font-size: 0;
  }

  .secure-dot {
    width: 24px;
    height: 24px;
  }

  .secure-dot::before {
    top: 7px;
    left: 8px;
  }

  .secure-dot::after {
    top: 4px;
    left: 10px;
  }

  .page-main {
    padding: 18px 12px 30px;
  }

  .portal-shell {
    border-radius: 11px;
  }

  .intro-panel {
    padding: 30px 25px;
  }

  .intro-panel h1 {
    font-size: 32px;
  }

  .intro-copy {
    margin-top: 14px;
    font-size: 14px;
  }

  .assurance-list {
    display: none;
  }

  .workspace {
    padding: 26px 21px 36px;
  }

  .progress-nav {
    padding-bottom: 27px;
  }

  .progress-list {
    gap: 7px;
  }

  .progress-label {
    max-width: 72px;
    text-align: center;
  }

  .stage-panel {
    padding-top: 31px;
  }

  .stage-heading {
    margin-bottom: 24px;
  }

  .stage-heading-row {
    display: block;
  }

  .verified-badge {
    margin-top: 13px;
  }

  .order-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .product-thumbnail {
    width: 40px;
    height: 40px;
  }

  .product-total {
    grid-column: 2;
  }

  .return-card-main {
    grid-template-columns: 20px 39px minmax(0, 1fr);
    gap: 10px;
  }

  .return-card-main .product-thumbnail {
    width: 39px;
    height: 39px;
  }

  .return-unit-total {
    grid-column: 3;
  }

  .return-controls {
    padding-left: 15px;
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .return-control input,
  .return-control select {
    font-size: 16px;
  }

  .selection-summary {
    text-align: center;
  }

  .rma-number-card strong {
    font-size: 24px;
  }

  .site-footer {
    width: 100%;
    padding: 24px 18px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .privacy-main {
    padding: 18px 12px 30px;
  }

  .privacy-card {
    padding: 29px 22px 34px;
    border-radius: 11px;
  }

  .privacy-heading h1 {
    font-size: 33px;
  }

  .privacy-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .privacy-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

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

@media (forced-colors: active) {
  .button,
  input,
  select,
  textarea,
  .return-card,
  .order-item {
    border: 1px solid CanvasText;
  }

  .progress-step.is-current .progress-number,
  .success-mark,
  .packing-instructions li > span {
    forced-color-adjust: none;
  }
}
