@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f2f0ea;
  --surface: #faf9f5;
  --control: #ffffff;
  --ink: #171817;
  --muted: #686963;
  --rule: #d4d1c9;
  --rule-strong: #9d9b94;
  --red: #b32622;
  --red-dark: #8e1d1a;
  --red-soft: #f4e6e3;
  --success: #1f6b45;
  --success-soft: #e5efe9;
  --warning: #8a5a12;
  --error: #a12622;
  --error-soft: #f7e9e7;
  --focus: #315a8b;
  --max-width: 1248px;
  --reading-width: 920px;
  --font: "Onest", Arial, sans-serif;
  --motion-duration: 260ms;
  --motion-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --stage-index: 0;
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

body[data-stage="2"] {
  --stage-index: 1;
}

body[data-stage="3"] {
  --stage-index: 2;
}

body[data-stage="4"],
body[data-stage="success"] {
  --stage-index: 3;
}

button,
input,
select {
  font: inherit;
}

button,
label,
select,
input[type="checkbox"],
input[type="radio"] {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 249, 245, 0.92);
}

.header-inner,
.page,
.site-footer {
  width: min(calc(100% - 96px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.wordmark strong {
  color: var(--red);
  font-weight: 800;
}

.header-side,
.header-contact {
  display: flex;
  align-items: center;
}

.header-side {
  gap: 28px;
}

.header-contact {
  gap: 16px;
}

.header-contact span {
  color: var(--muted);
  font-size: 12px;
}

.header-contact a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page {
  padding-block: 62px 96px;
}

.page-intro {
  padding-bottom: 44px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 64px;
  align-items: end;
}

.intro-grid h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.intro-grid p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

body:not([data-stage="1"]) .page-intro {
  padding-bottom: 28px;
}

body:not([data-stage="1"]) .eyebrow {
  display: none;
}

body:not([data-stage="1"]) .intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
}

body:not([data-stage="1"]) .intro-grid h1 {
  font-size: 40px;
  line-height: 1;
}

.progress-nav {
  border-block: 1px solid var(--rule);
}

.progress-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-list::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 25%;
  height: 2px;
  background: var(--red);
  transform: translateX(0);
  transform-origin: left center;
  transition: transform var(--motion-duration) var(--motion-ease);
}

body[data-stage="2"] .progress-list::after {
  transform: translateX(100%);
}

body[data-stage="3"] .progress-list::after {
  transform: translateX(200%);
}

body[data-stage="4"] .progress-list::after,
body[data-stage="success"] .progress-list::after {
  transform: translateX(300%);
}

.progress-list li {
  min-width: 0;
}

.stage-tab {
  position: relative;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color var(--motion-duration) var(--motion-ease);
}

.stage-tab::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -1px;
  left: 24px;
  height: 2px;
  background: transparent;
}

.stage-tab span {
  flex: 0 0 auto;
  color: var(--rule-strong);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.stage-tab strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-tab:disabled {
  cursor: default;
}

.stage-tab.is-active {
  color: var(--ink);
}

.stage-tab.is-active span {
  color: var(--red);
  font-weight: 700;
}

.stage-tab.is-active strong,
.stage-tab.is-complete strong {
  font-weight: 700;
}

.stage-tab.is-active::after {
  background: transparent;
}

.stage-tab.is-complete {
  color: var(--ink);
}

.stage-tab.is-complete span {
  color: var(--muted);
}

.form-workspace {
  max-width: var(--reading-width);
  margin: 0 auto;
}

body[data-stage="1"] .form-workspace {
  max-width: none;
}

.workspace-meta {
  min-height: 66px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}

.workspace-meta p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.workspace-meta p span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.workspace-meta p strong {
  font-size: 13px;
}

.autosave-note {
  color: var(--muted);
  font-size: 12px;
}

[data-persistence-status][data-status="unavailable"] {
  color: var(--error);
}

.stage-panel {
  padding-top: 34px;
  animation: panel-in var(--motion-duration) var(--motion-ease) both;
}

body[data-stage="1"] .stage-panel {
  animation: none;
}

@keyframes panel-in {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

.stage-one-layout {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  grid-template-areas:
    "heading"
    "products"
    "actions";
  align-items: start;
}

.stage-one-layout > .panel-heading {
  grid-area: heading;
  margin-bottom: 24px;
}

.stage-one-layout > .product-fieldset {
  grid-area: products;
}

.stage-one-layout > .stage-actions {
  grid-area: actions;
}

.panel-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.panel-heading-wide {
  max-width: 790px;
}

.panel-heading h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.panel-heading h2:focus {
  outline: none;
}

.panel-heading h2:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}

.panel-heading p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.field-group,
.option-fieldset,
.qa-console {
  margin: 0;
  padding: 0;
  border: 0;
}

.product-list {
  border-top: 1px solid var(--ink);
}

.product-option {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}

.product-option::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--motion-duration) var(--motion-ease);
}

.product-option:hover {
  background: rgba(255, 255, 255, 0.48);
}

.product-option.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
}

.product-option.is-selected::before {
  transform: scaleY(1);
}

.product-option:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.product-option input {
  grid-column: 3;
  grid-row: 1;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--red);
}

.product-number {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  transition: color var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease), font-weight var(--motion-duration) var(--motion-ease);
}

.product-option.is-selected .product-number {
  color: var(--red);
  font-weight: 750;
  transform: translateX(4px);
}

.product-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 3px;
}

.product-copy strong {
  font-size: 17px;
  line-height: 1.3;
  transition: transform var(--motion-duration) var(--motion-ease), font-weight var(--motion-duration) var(--motion-ease);
}

.product-option.is-selected .product-copy strong {
  font-weight: 750;
  transform: translateX(3px);
}

.product-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.form-section {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 44px;
  padding-block: 34px;
  border-top: 1px solid var(--rule);
}

.form-section:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
}

.section-heading > p {
  margin: 2px 0 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.section-heading h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.section-heading span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section-content {
  min-width: 0;
}

.artwork-handoff-panel {
  display: grid;
  gap: 18px;
  padding: 24px 0 22px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.artwork-handoff-copy {
  max-width: 620px;
  display: grid;
  gap: 7px;
}

.artwork-handoff-kicker {
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artwork-handoff-copy strong {
  font-size: 18px;
  line-height: 1.35;
}

.artwork-handoff-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.artwork-handoff-note {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}

.dimension-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  gap: 0;
  align-items: end;
}

.dimension-pair .field:first-child input {
  border-radius: 3px 0 0 3px;
}

.dimension-pair .field:last-child input {
  border-radius: 0 3px 3px 0;
}

.dimension-sign {
  min-height: 50px;
  display: grid;
  place-items: center;
  border-block: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
}

.form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span,
.option-fieldset > label,
.option-fieldset legend {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.field em {
  color: var(--red);
  font-style: normal;
}

.field input,
.field select,
.option-fieldset select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--control);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: border-color var(--motion-duration) var(--motion-ease), box-shadow var(--motion-duration) var(--motion-ease), background-color var(--motion-duration) var(--motion-ease);
}

.field select,
.option-fieldset select {
  font-weight: 550;
}

.field input::placeholder {
  color: #91918c;
}

.field input:hover,
.field select:hover,
.option-fieldset select:hover {
  border-color: var(--ink);
}

.field input:focus,
.field select:focus,
.option-fieldset select:focus {
  border-color: var(--focus);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(49, 90, 139, 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.option-fieldset select[aria-invalid="true"] {
  border-color: var(--error);
}

.field > small:not(.field-error) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.option-stack {
  display: grid;
  gap: 28px;
}

.option-fieldset {
  display: grid;
  gap: 12px;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.winding-field {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.winding-field legend {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.winding-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.winding-option {
  position: relative;
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-rows: 76px auto;
  place-items: center;
  gap: 7px;
  padding: 10px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--control);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms var(--motion-ease), background-color 180ms var(--motion-ease), color 180ms var(--motion-ease);
}

.winding-option:hover {
  border-color: var(--ink);
}

.winding-option.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
}

.winding-option.is-selected::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--red);
  content: '';
}

.winding-option:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.winding-option input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.winding-field:has(input[aria-invalid="true"]) .winding-option {
  border-color: var(--error);
}

.winding-schematic {
  width: 104px;
  max-width: 100%;
  height: 70px;
  display: block;
}

.winding-schematic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.winding-roll-source {
  color: var(--ink);
}

.winding-label {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.winding-label span {
  margin-right: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.roll-parameter-field {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.roll-parameter-field > legend {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.roll-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roll-mode-option {
  position: relative;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--control);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms var(--motion-ease), background-color 180ms var(--motion-ease);
}

.roll-mode-option:first-child {
  border-radius: 3px 0 0 3px;
}

.roll-mode-option:last-child {
  margin-left: -1px;
  border-radius: 0 3px 3px 0;
}

.roll-mode-option:hover {
  z-index: 1;
  border-color: var(--ink);
}

.roll-mode-option:has(input:checked) {
  z-index: 2;
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 0 -3px 0 var(--red);
}

.roll-mode-option:focus-within {
  z-index: 3;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.roll-mode-option input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.roll-mode-options:has(input[aria-invalid="true"]) .roll-mode-option {
  border-color: var(--error);
}

.roll-value-fields {
  margin-top: 14px;
}

.roll-value-fields > .field {
  max-width: calc((100% - 16px) / 2);
}

.unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  font-size: inherit;
  font-weight: inherit;
}

.unit-input input {
  min-width: 0;
  border-radius: 3px 0 0 3px;
}

.unit-input > span {
  min-width: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.option-chip {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--control);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.option-chip span {
  display: none;
}

.option-chip:hover {
  border-color: var(--ink);
}

.option-chip.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-dark);
}

.option-chip:focus-visible,
.button:focus-visible,
.artwork-remove:focus-visible,
.privacy-policy-link:focus-visible,
.stage-tab:focus-visible,
.review-edit:focus-visible,
.header-contact a:focus-visible,
.wordmark:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.privacy-check {
  max-width: 668px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 32px 0 0 252px;
  cursor: pointer;
}

.privacy-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.privacy-check span {
  display: grid;
  gap: 3px;
}

.privacy-check strong {
  font-size: 13px;
}

.privacy-check small {
  color: var(--muted);
  font-size: 12px;
}

.privacy-policy-link {
  min-height: 32px;
  margin: 5px 0 0 286px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.privacy-policy-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

#error-privacy {
  margin: 8px 0 0 286px;
}

.stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.stage-actions-end {
  justify-content: space-between;
}

.action-status {
  color: var(--muted);
  font-size: 12px;
}

.stage-actions-review {
  justify-content: flex-start;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}

.button-primary {
  min-width: 190px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
}

.button-primary::after {
  content: "→";
  margin-left: 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: transform var(--motion-duration) var(--motion-ease);
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: translateX(4px);
}

.product-next:not(.is-ready) {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--muted);
}

.button-primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button-secondary {
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.button:disabled {
  border-color: var(--rule);
  background: var(--rule);
  color: var(--muted);
  cursor: not-allowed;
}

.review-heading {
  margin-bottom: 30px;
}

.production-sheet-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: end;
  padding: 24px 28px 26px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--surface);
}

.production-sheet-head::before,
.production-sheet-head::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--red);
  pointer-events: none;
}

.production-sheet-head::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.production-sheet-head::after {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.production-sheet-head > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.production-sheet-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.production-sheet-head > div {
  display: grid;
  gap: 4px;
  min-width: 132px;
  text-align: right;
}

.production-sheet-head > div span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-sheet-head > div strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.review-groups {
  border-top: 0;
}

.review-group {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 44px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
  animation: review-group-in 240ms var(--motion-ease) both;
  animation-delay: calc(var(--review-index) * 40ms);
}

@keyframes review-group-in {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

.review-group-head {
  align-self: start;
}

.review-group-head h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.review-edit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.review-edit:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.review-group dl {
  display: grid;
  margin: 0;
}

.review-group dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 209, 201, 0.7);
}

.review-group dl > div:last-child {
  border-bottom: 0;
}

.review-group dt,
.review-group dd {
  margin: 0;
  font-size: 13px;
}

.review-group dt {
  color: var(--muted);
}

.review-group dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.qa-console {
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--warning);
  border-radius: 3px;
  background: #f7f1e7;
}

.qa-console legend {
  padding-inline: 8px;
  color: var(--warning);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qa-console > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.qa-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qa-options label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.qa-options input {
  margin: 3px 0 0;
  accent-color: var(--warning);
}

.qa-options span {
  display: grid;
  gap: 2px;
}

.qa-options strong {
  font-size: 13px;
}

.qa-options small {
  color: var(--muted);
  font-size: 12px;
}

.submission-status {
  margin-top: 24px;
}

.quote-disclaimer {
  max-width: 760px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.quote-disclaimer strong {
  color: var(--ink);
  font-weight: 750;
}

.error-banner,
.pending-status {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--error);
  border-radius: 3px;
  background: var(--error-soft);
}

.error-banner {
  display: grid;
  gap: 4px;
}

.error-banner strong,
.error-banner span,
.pending-status {
  font-size: 13px;
}

.pending-status {
  border-color: var(--rule-strong);
  background: var(--surface);
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 0;
  border-block: 1px solid var(--ink);
}

.submit-row p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.submit-row strong {
  font-size: 15px;
}

.submit-row span {
  color: var(--muted);
  font-size: 12px;
}

.button-submit {
  min-width: 224px;
}

.privacy-dialog {
  width: min(600px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
}

.privacy-dialog::backdrop {
  background: rgb(23 24 23 / 64%);
}

.privacy-dialog-card {
  padding: 32px;
}

.privacy-dialog-card h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.privacy-dialog-card p {
  max-width: 62ch;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.privacy-dialog-card .button {
  margin-top: 12px;
}

.success-panel {
  position: relative;
  max-width: 760px;
  padding: 72px 0 24px;
}

.success-panel::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 0;
  width: 96px;
  height: 2px;
  background: var(--success);
  transform-origin: left center;
  animation: success-register 320ms var(--motion-ease) both;
}

@keyframes success-register {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.success-kicker {
  margin: 0 0 18px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-panel h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.success-panel > p:not(.success-kicker) {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.success-panel dl {
  margin: 42px 0 36px;
  border-top: 1px solid var(--ink);
}

.success-panel dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.success-panel dt,
.success-panel dd {
  margin: 0;
  font-size: 13px;
}

.success-panel dt {
  color: var(--muted);
}

.success-panel dd {
  font-weight: 700;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 1300px) {
  .page {
    padding-top: 40px;
  }

  .page-intro {
    padding-bottom: 30px;
  }

  .stage-tab {
    min-height: 70px;
  }

  .stage-panel {
    padding-top: 26px;
  }

  .product-option {
    min-height: 66px;
  }

  .stage-one-layout > .stage-actions {
    margin-top: 28px;
    padding-top: 24px;
  }
}

@media (max-width: 980px) {
  .header-inner,
  .page,
  .site-footer {
    width: min(calc(100% - 64px), var(--max-width));
  }

  .page {
    padding-block: 48px 80px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    gap: 40px;
  }

  .stage-tab {
    min-height: 76px;
    gap: 9px;
    padding-inline: 14px;
  }

  .stage-tab::after {
    right: 14px;
    left: 14px;
  }

  .stage-one-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-section,
  .review-group {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
  }

  .privacy-check {
    margin-left: 212px;
  }

  .privacy-policy-link {
    margin-left: 246px;
  }

  #error-privacy {
    margin-left: 246px;
  }
}

@media (max-width: 820px) {
  .stage-one-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "products"
      "actions";
  }

  .stage-one-layout > .panel-heading {
    margin-bottom: 22px;
  }

  .stage-one-layout > .stage-actions {
    margin-top: 30px;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .page,
  .site-footer {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-contact span {
    display: none;
  }

  .page {
    padding-block: 38px 64px;
  }

  .page-intro {
    padding-bottom: 32px;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-grid h1 {
    font-size: clamp(42px, 8.5vw, 56px);
  }

  .intro-grid p {
    max-width: 560px;
  }

  .stage-tab {
    min-height: 70px;
    display: grid;
    gap: 2px;
    align-content: center;
    padding-inline: 8px;
  }

  .stage-tab::after {
    right: 8px;
    left: 8px;
  }

  .stage-tab span {
    font-size: 12px;
  }

  .stage-tab strong {
    font-size: 12px;
  }

  .workspace-meta {
    min-height: 60px;
  }

  .stage-panel {
    padding-top: 34px;
  }

  .panel-heading {
    margin-bottom: 28px;
  }

  .form-section,
  .review-group {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 28px;
  }

  .production-sheet-head {
    padding-inline: 22px;
  }

  .section-heading {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .form-grid-three {
    grid-template-columns: 1fr;
  }

  .privacy-check,
  .privacy-policy-link,
  #error-privacy {
    margin-left: 0;
  }

  .review-group dl > div {
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 540px) {
  .header-inner,
  .page,
  .site-footer {
    width: calc(100% - 32px);
  }

  .header-side {
    gap: 10px;
  }

  .header-contact {
    display: none;
  }

  .wordmark {
    font-size: 19px;
  }

  .page {
    padding-block: 30px 52px;
  }

  .page-intro {
    padding-bottom: 26px;
  }

  body:not([data-stage="1"]) .page-intro {
    display: none;
  }

  .eyebrow {
    max-width: none;
    font-size: 10px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    white-space: nowrap;
  }

  .intro-grid h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1;
  }

  .intro-grid p {
    font-size: 15px;
  }

  .progress-list {
    gap: 0;
  }

  .stage-tab {
    min-height: 58px;
    padding-inline: 4px;
    text-align: center;
  }

  .stage-tab::after {
    right: 4px;
    left: 4px;
  }

  .stage-tab strong {
    display: none;
  }

  .stage-tab span {
    font-size: 13px;
  }

  .stage-tab.is-active strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .workspace-meta {
    min-height: 56px;
  }

  .workspace-meta p {
    gap: 9px;
  }

  .autosave-note {
    max-width: 86px;
    text-align: right;
  }

  .stage-panel {
    padding-top: 24px;
  }

  .stage-one-layout > .panel-heading {
    margin-bottom: 18px;
  }

  .panel-heading h2 {
    font-size: 32px;
  }

  .panel-heading p {
    margin-top: 12px;
    font-size: 15px;
  }

  .product-option {
    min-height: 100px;
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 14px 8px;
  }

  .product-number {
    font-size: 15px;
  }

  .product-copy strong {
    font-size: 15px;
  }

  .product-copy small {
    font-size: 12px;
  }

  .form-section {
    gap: 18px;
    padding-block: 24px;
  }

  .artwork-handoff-panel {
    gap: 14px;
    padding: 20px 0;
  }

  .artwork-handoff-copy strong {
    font-size: 16px;
  }

  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .winding-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roll-mode-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .roll-mode-option:first-child,
  .roll-mode-option:last-child {
    margin-left: 0;
    border-radius: 3px;
  }

  .roll-value-fields > .field {
    max-width: none;
  }

  .dimension-pair {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  }

  .dimension-sign {
    min-height: 52px;
  }

  .field-wide {
    grid-column: auto;
  }

  .field input,
  .field select,
  .option-fieldset select {
    min-height: 52px;
    font-size: 16px;
  }

  .option-chip {
    min-height: 46px;
  }

  .artwork-meta {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .stage-actions,
  .submit-row {
    align-items: stretch;
  }

  .stage-actions {
    flex-direction: column-reverse;
  }

  .submit-row {
    flex-direction: column;
  }

  .stage-actions {
    margin-top: 32px;
    padding-top: 22px;
  }

  .stage-actions-end {
    align-items: stretch;
  }

  .stage-actions-review {
    align-items: flex-start;
    flex-direction: row;
  }

  .button,
  .button-primary,
  .button-submit {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .stage-actions-review .button {
    width: auto;
  }

  .review-group dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding-block: 11px;
  }

  .production-sheet-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 18px 22px;
  }

  .production-sheet-head > p {
    grid-column: auto;
  }

  .production-sheet-head > div {
    min-width: 0;
    margin-top: 6px;
    text-align: left;
  }

  .qa-options {
    grid-template-columns: 1fr;
  }

  .privacy-dialog-card {
    padding: 24px;
  }

  .submit-row {
    gap: 18px;
  }

  .success-panel {
    padding-top: 48px;
  }

  .success-panel h2 {
    font-size: 44px;
  }

  .success-panel dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-footer {
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
  }
}
