.sell-page {
  min-height: 100vh;
  background: var(--paper);
}

.sell-page input,
.sell-page select,
.sell-page textarea {
  caret-color: var(--teal-deep);
  accent-color: var(--blue);
}

.sell-hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-height)));
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}

.sell-hero::after {
  position: absolute;
  right: -10vw;
  bottom: -34vw;
  width: 58vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018), 0 0 0 140px rgba(255, 255, 255, 0.012);
  content: "";
  pointer-events: none;
}

.sell-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.82fr) minmax(250px, 0.7fr);
  grid-template-areas: "copy phone outcomes";
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  min-height: inherit;
  padding-block: clamp(3rem, 5vw, 5rem);
}

.sell-hero__copy {
  grid-area: copy;
}

.sell-hero__copy h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 5vw, 4.75rem);
}

.sell-hero__copy > p {
  max-width: 48ch;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.sell-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sell-hero__actions .button {
  gap: 0.65rem;
}

.sell-hero__actions svg,
.outcome-docket__action svg,
.sell-form-actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sell-hero__copy .sell-hero__boundary {
  max-width: 45ch;
  margin-top: 1rem;
  color: #a9c5d9;
  font-size: 0.9rem;
}

.phone-record {
  position: relative;
  grid-area: phone;
  min-height: 590px;
  margin: 0;
  color: var(--navy);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(10, 41, 66, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 41, 66, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: inset 0 4px 0 var(--teal);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
  overflow: hidden;
}

.phone-record__status {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.35rem 0.55rem;
  color: var(--navy);
  background: rgba(245, 247, 248, 0.92);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.phone-record__drawing {
  position: absolute;
  inset: 2.75rem 0.5rem 2.8rem;
  width: calc(100% - 1rem);
  height: calc(100% - 5.55rem);
  color: var(--navy);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.phone-record__measure {
  opacity: 0.42;
  stroke-width: 1;
}

.phone-record__rear {
  opacity: 0.4;
}

.phone-record__front {
  stroke-width: 2.4;
}

.phone-record__scan {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 12 7;
  animation: record-scan 3.2s var(--ease) infinite alternate;
}

.phone-record__pins {
  color: var(--teal-deep);
  fill: var(--paper);
  stroke-width: 2.4;
}

.phone-record__label {
  position: absolute;
  z-index: 2;
  padding: 0.2rem 0.4rem;
  color: var(--navy);
  background: rgba(245, 247, 248, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-record__label--screen { top: 35%; left: 0.65rem; }
.phone-record__label--body { top: 48%; right: 0.65rem; }
.phone-record__label--power { top: 66%; left: 0.65rem; }
.phone-record__label--network { top: 63%; right: 0.65rem; }

.phone-record figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  padding-top: 0.65rem;
  color: #516675;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.phone-record[data-intent="sell"] .phone-record__scan {
  stroke: var(--teal-deep);
}

.phone-record[data-intent="trade"] .phone-record__scan {
  stroke: var(--blue-bright);
}

.outcome-dockets {
  grid-area: outcomes;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.outcome-docket {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  min-height: 230px;
  padding: 1.25rem;
  color: #fff;
  background: rgba(10, 41, 66, 0.72);
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.outcome-docket > svg {
  width: 48px;
  height: 48px;
  color: #9fd0f2;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.outcome-docket > span:nth-child(2) {
  align-self: start;
}

.outcome-docket strong,
.outcome-docket small {
  display: block;
}

.outcome-docket strong {
  max-width: 10ch;
  color: inherit;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 650;
  line-height: 1;
}

.outcome-docket small {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.4;
}

.outcome-docket__action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.9rem;
  font-weight: 800;
}

.outcome-docket:hover,
.outcome-docket[aria-pressed="true"] {
  color: var(--navy);
  background: var(--paper);
  box-shadow: inset 0 4px 0 var(--teal);
}

.outcome-docket:hover > svg,
.outcome-docket[aria-pressed="true"] > svg {
  color: var(--blue);
}

.outcome-docket:hover small,
.outcome-docket[aria-pressed="true"] small {
  color: #516675;
}

.outcome-docket:hover .outcome-docket__action,
.outcome-docket[aria-pressed="true"] .outcome-docket__action {
  border-color: var(--line);
}

.sell-form-section {
  padding-block: clamp(4.5rem, 6vw, 6rem);
}

.sell-form-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.sell-form-context {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.sell-step-count {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sell-form-context h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
}

.sell-form-context > p {
  max-width: 42ch;
  margin: 1rem 0 0;
  color: #506372;
}

.value-boundary {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--mist);
  border-top: 3px solid var(--blue);
}

.value-boundary strong {
  color: var(--navy);
}

.value-boundary p {
  margin: 0.35rem 0 0;
  color: #4d6272;
  font-size: 0.9rem;
}

.sell-form-context > a {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.sell-form-panel {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--navy);
}

.sell-progress {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 8px;
  height: 6px;
  margin-bottom: 1.2rem;
}

.sell-progress i {
  display: block;
  height: 100%;
  background: #ccd7de;
  border-radius: 99px;
  transition: background-color 200ms ease;
}

.sell-progress i.is-active {
  background: var(--teal);
}

.sell-prototype-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 0.9rem;
  color: var(--navy);
  background: #fff5ef;
  border-top: 3px solid var(--teal);
  font-size: 0.88rem;
}

.sell-error-summary {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  color: #77130d;
  background: #fff2f0;
  border: 1px solid var(--error);
  border-top-width: 4px;
}

.sell-error-summary ul {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
}

.sell-step h2 {
  max-width: 14ch;
  margin: 0;
  font-size: var(--type-step);
}

.sell-step {
  animation: sell-step-in-forward 320ms var(--ease) both;
}

.sell-form-panel[data-direction="back"] .sell-step {
  animation-name: sell-step-in-back;
}

.sell-step > p {
  max-width: 62ch;
  margin: 0.65rem 0 1.5rem;
  color: #506372;
}

.sell-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.sell-choice {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 142px;
  padding: 1rem;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.sell-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sell-choice svg {
  width: 46px;
  height: 46px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sell-choice strong,
.sell-choice small {
  display: block;
}

.sell-choice strong {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.sell-choice small {
  margin-top: 0.35rem;
  color: #566a79;
  font-size: 0.87rem;
  line-height: 1.35;
}

.sell-choice:hover {
  background: var(--mist);
}

.sell-choice:has(input:checked) {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 4px 0 var(--teal);
}

.sell-choice:has(input:checked) svg {
  color: var(--teal);
}

.sell-choice:has(input:checked) small {
  color: rgba(255, 255, 255, 0.7);
}

.sell-choice:has(input:focus-visible) {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  z-index: 1;
}

.sell-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sell-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  color: var(--navy);
  font-weight: 750;
}

.sell-field--wide {
  grid-column: 1 / -1;
}

.sell-field small {
  color: #607381;
  font-weight: 400;
}

.optional {
  color: #607381;
  font-size: 0.88rem;
  font-weight: 400;
}

.sell-field input,
.sell-field select,
.sell-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.82rem 0.95rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid #9eafbc;
  border-radius: 0;
  font-weight: 400;
}

.sell-field textarea {
  min-height: 110px;
  resize: vertical;
}

.sell-field input:hover,
.sell-field select:hover,
.sell-field textarea:hover {
  border-color: var(--blue);
}

.sell-field input:focus,
.sell-field select:focus,
.sell-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 158, 0.16);
  outline: 0;
}

.sell-field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.sell-fieldset.has-error {
  padding: 0.75rem;
  background: #fff2f0;
  outline: 1px solid var(--error);
}

.sell-fieldset {
  min-width: 0;
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}

.sell-fieldset legend {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-weight: 800;
}

.sell-segmented {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.sell-segmented label,
.issue-grid label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.65rem 0.8rem;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.sell-segmented input,
.issue-grid input {
  width: 18px;
  height: 18px;
  margin: 0 0.55rem 0 0;
  flex: 0 0 auto;
}

.sell-segmented label:has(input:checked),
.issue-grid label:has(input:checked) {
  color: #fff;
  background: var(--blue);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.sell-upload {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding: 1rem;
  background: var(--mist);
  border-top: 2px solid var(--blue);
}

.sell-upload input {
  max-width: 100%;
}

.sell-upload small {
  color: #536776;
}

.sell-checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--navy);
  cursor: pointer;
}

.sell-checkbox input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
}

.sell-review {
  display: grid;
  gap: 1rem;
}

.review-block {
  border: 1px solid var(--navy);
}

.review-block__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--navy);
}

.review-block__heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.review-block__heading button {
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  color: #b5d7ee;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.review-block dl {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  margin: 0;
}

.review-block dt,
.review-block dd {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.review-block dt {
  color: #536776;
  font-weight: 700;
}

.review-block dd {
  color: var(--navy);
  font-weight: 750;
}

.review-block dt:last-of-type,
.review-block dd:last-of-type {
  border-bottom: 0;
}

.sell-review-boundary {
  padding: 1rem 1.1rem;
  color: var(--navy);
  background: var(--mist);
  border-top: 3px solid var(--blue);
}

.sell-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.sell-form-actions .button {
  gap: 0.65rem;
}

.sell-form-actions .button:disabled {
  color: #596b78;
  background: #d7e0e5;
  cursor: wait;
  transform: none;
}

.sell-form-actions [data-back] {
  margin-right: auto;
}

.sell-step h2:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 5px;
}

.sell-error-summary button {
  padding: 0;
  color: #77130d;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sell-draft-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color var(--motion-fast) ease, transform var(--motion-base) var(--ease);
}

.sell-draft-note.is-saved {
  color: var(--success);
  transform: translateY(-2px);
}

.sell-draft-note p {
  margin: 0;
}

.sell-draft-note button {
  min-height: 44px;
  min-width: 44px;
  flex: 0 0 auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sell-field-error {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  color: var(--error);
  font-size: 0.84rem;
  font-weight: 750;
}

.sell-contact-fallbacks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.sell-contact-fallbacks a {
  color: var(--blue);
  font-weight: 800;
}

.sell-confirmation {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--navy);
  border-top: 4px solid var(--success);
}

.sell-confirmation.is-error {
  border-top-color: var(--error);
}

.sell-confirmation svg {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--success);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sell-confirmation svg.is-error {
  color: var(--error);
}

.sell-confirmation h2 {
  max-width: 13ch;
  margin: 0;
  font-size: var(--type-step);
}

.sell-confirmation p {
  max-width: 58ch;
}

.confirmation-reference {
  display: inline-flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  padding: 0.55rem 0.75rem;
  color: #fff;
  background: var(--navy);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sell-process {
  padding-block: clamp(4rem, 6vw, 5.5rem);
  background: #fff;
}

.sell-process__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2rem;
}

.sell-process__heading h2 {
  max-width: 12ch;
  margin: 0;
}

.sell-process__heading p {
  margin: 0;
  color: #526675;
}

.process-ledgers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.process-ledger {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--paper);
}

.process-ledger--trade {
  background: var(--mist);
}

.process-ledger h3 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.process-ledger ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-ledger li {
  display: grid;
  grid-template-columns: minmax(90px, 0.38fr) 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process-ledger li span {
  color: var(--navy);
  font-weight: 800;
}

.process-ledger li span::before {
  margin-right: 0.5rem;
  color: var(--teal-deep);
  content: counter(process) ".";
  font-variant-numeric: tabular-nums;
}

.process-ledger li small {
  color: #526675;
  font-size: 0.9rem;
}

.sell-workshop {
  padding-block: clamp(4rem, 6vw, 5.5rem);
  color: #fff;
  background: var(--navy);
}

.sell-workshop__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.sell-workshop__copy h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
}

.sell-workshop__copy p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.sell-workshop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sell-workshop__image {
  position: relative;
  margin: 0;
  padding-bottom: 2.3rem;
}

.sell-workshop__image img {
  width: 100%;
  height: clamp(300px, 36vw, 470px);
  object-fit: cover;
  object-position: center 58%;
  filter: none;
}

.sell-workshop__image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  min-width: min(330px, 86%);
  padding: 1rem 1.2rem;
  color: var(--navy);
  background: var(--paper);
  box-shadow: inset 0 4px 0 var(--teal);
}

.sell-workshop__image figcaption strong {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.sell-workshop__image figcaption span {
  margin-top: 0.25rem;
  color: #516675;
  font-size: 0.9rem;
}

@keyframes record-scan {
  from { transform: translateY(-96px); }
  to { transform: translateY(100px); }
}

@keyframes sell-step-in-forward {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes sell-step-in-back {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .sell-hero {
    min-height: auto;
  }

  .sell-hero__grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    grid-template-areas:
      "copy outcomes"
      "phone phone";
    align-items: stretch;
  }

  .phone-record {
    min-height: 520px;
  }

  .phone-record__drawing {
    inset-inline: 24%;
    width: 52%;
  }

  .outcome-docket {
    min-height: 210px;
  }
}

@media (max-width: 900px) {
  .sell-form-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sell-form-context {
    position: static;
  }

  .sell-form-context h2 {
    max-width: 14ch;
  }
}

@media (max-width: 760px) {
  .sell-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "outcomes"
      "phone";
    gap: 1.25rem;
    padding-block: 3rem 3.5rem;
  }

  .sell-hero__copy h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 12vw, 3.75rem);
  }

  .sell-hero__copy > p {
    font-size: 1rem;
  }

  .sell-hero__actions {
    display: grid;
  }

  .sell-hero__actions .button {
    width: 100%;
  }

  .outcome-docket {
    min-height: 170px;
  }

  .phone-record {
    min-height: 480px;
  }

  .phone-record__drawing {
    inset-inline: 8%;
    width: 84%;
  }

  .sell-form-section,
  .sell-process,
  .sell-workshop {
    padding-block: 3.5rem;
  }

  .sell-form-panel {
    margin-inline: -4px;
    padding: 1.15rem;
  }

  .sell-prototype-note {
    display: grid;
    gap: 0.15rem;
  }

  .sell-process__heading,
  .sell-workshop__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sell-process__heading h2,
  .sell-workshop__copy h2 {
    max-width: 11ch;
  }

  .process-ledgers {
    grid-template-columns: 1fr;
  }

  .sell-workshop__actions {
    display: grid;
  }

  .sell-workshop__actions .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .sell-draft-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .sell-choice-grid,
  .sell-field-grid {
    grid-template-columns: 1fr;
  }

  .sell-choice {
    min-height: 118px;
  }

  .sell-field--wide {
    grid-column: auto;
  }

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

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

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

  .sell-form-actions .button {
    width: 100%;
  }

  .sell-form-actions [data-back] {
    margin-right: 0;
  }

  .review-block dl {
    grid-template-columns: 1fr;
  }

  .review-block dt {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .review-block dd {
    padding-top: 0.15rem;
  }

  .confirmation-actions {
    display: grid;
  }
}

@media (max-width: 420px) {
  .outcome-docket {
    grid-template-columns: 40px 1fr;
    min-height: 146px;
    padding: 1rem;
  }

  .outcome-docket > svg {
    width: 40px;
    height: 40px;
  }

  .outcome-docket strong {
    font-size: 1.5rem;
  }

  .phone-record {
    min-height: 390px;
  }

  .phone-record__label {
    font-size: 0.68rem;
  }

  .phone-record figcaption {
    font-size: 0.76rem;
  }

  .sell-segmented,
  .issue-grid {
    grid-template-columns: 1fr;
  }

  .process-ledger li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-block: 0.58rem;
  }

  .sell-workshop__image img {
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-record__scan {
    animation: none;
    transform: none;
  }
}

/* Soft Technical Editorial sell journey */
.sell-page {
  background:
    radial-gradient(circle at 88% 12%, rgba(76, 164, 216, 0.14), transparent 26rem),
    linear-gradient(180deg, #edf5f9, #f8fafb 48rem, #f1f7fa);
}

.sell-page .button {
  border-radius: 999px;
}

.sell-hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 78% 24%, rgba(30, 118, 174, 0.34), transparent 30rem),
    radial-gradient(circle at 26% 86%, rgba(19, 88, 134, 0.2), transparent 26rem),
    linear-gradient(135deg, #051c2e 0%, #082c48 58%, #0a3859 100%);
}

.sell-hero::after {
  right: -11rem;
  bottom: -17rem;
  width: 38rem;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.014), 0 0 0 160px rgba(255, 255, 255, 0.009);
}

.sell-hero__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  grid-template-areas:
    "copy phone"
    "outcomes phone";
  grid-template-rows: auto auto;
  align-content: center;
  align-items: stretch;
  gap: 1.25rem clamp(2.75rem, 5vw, 5rem);
  min-height: inherit;
  padding-block: calc(var(--header-height) + 2.25rem) 3.5rem;
}

.sell-hero__copy {
  align-self: end;
}

.sell-hero__copy h1 {
  max-width: 12ch;
  font-size: clamp(3.9rem, 5.4vw, 4.85rem);
  line-height: 0.92;
}

.sell-hero__copy > p {
  max-width: 50ch;
  color: rgba(229, 242, 249, 0.78);
  line-height: 1.65;
}

.sell-hero__actions .button {
  min-height: 56px;
}

.sell-hero__copy .sell-hero__boundary {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(207, 229, 241, 0.66);
}

.sell-hero__copy .sell-hero__boundary::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(11, 170, 171, 0.13);
  content: "";
}

.phone-record {
  align-self: center;
  min-height: 580px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  background-color: #f3f8fb;
  background-image:
    radial-gradient(circle at 52% 42%, rgba(101, 185, 229, 0.14), transparent 18rem),
    linear-gradient(rgba(10, 41, 66, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 41, 66, 0.045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  box-shadow: 0 32px 80px rgba(1, 18, 31, 0.28);
  clip-path: none;
}

.phone-record::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(10, 41, 66, 0.09);
  border-radius: 22px;
  content: "";
  pointer-events: none;
}

.phone-record__status {
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.45rem 0.75rem;
  border-color: rgba(10, 41, 66, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.phone-record__drawing {
  inset: 3.25rem 1rem 3.4rem;
  width: calc(100% - 2rem);
  height: calc(100% - 6.65rem);
}

.phone-record__label {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(10, 41, 66, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.phone-record figcaption {
  right: 1.5rem;
  bottom: 1rem;
  left: 1.5rem;
  border-top-color: rgba(10, 41, 66, 0.12);
}

.outcome-dockets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  border: 0;
  background: transparent;
}

.outcome-docket {
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  min-height: 168px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(12, 57, 88, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 220ms var(--ease), box-shadow 200ms ease;
}

.outcome-docket > svg {
  width: 40px;
  height: 40px;
}

.outcome-docket strong {
  max-width: none;
  font-size: 1.55rem;
}

.outcome-docket small {
  font-size: 0.84rem;
}

.outcome-docket__action {
  padding-top: 0.65rem;
  font-size: 0.84rem;
}

.outcome-docket:hover,
.outcome-docket[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(1, 18, 31, 0.18);
  transform: translateY(-3px);
}

.sell-form-section {
  padding-block: clamp(5.5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 90% 15%, rgba(75, 164, 216, 0.12), transparent 26rem),
    linear-gradient(180deg, #f5f9fb, #edf5f9);
}

.sell-form-layout {
  grid-template-columns: minmax(250px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.sell-form-context {
  top: calc(var(--header-height) + 2.5rem);
}

.sell-step-count {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #e1eff6;
  letter-spacing: 0.055em;
}

.sell-form-context h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 4.4vw, 4.25rem);
}

.sell-form-context > p {
  line-height: 1.65;
}

.value-boundary {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(10, 41, 66, 0.09);
  border-radius: 18px;
  background: rgba(225, 239, 247, 0.78);
}

.sell-contact-fallbacks a {
  text-underline-offset: 0.3em;
}

.sell-form-panel {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid rgba(10, 41, 66, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 64px rgba(29, 77, 105, 0.1);
  backdrop-filter: blur(12px);
}

.sell-progress {
  height: 7px;
  gap: 6px;
  margin-bottom: 1.35rem;
}

.sell-prototype-note {
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(11, 170, 171, 0.2);
  border-radius: 16px;
  background: #fff5ee;
}

.sell-error-summary {
  border-width: 1px;
  border-radius: 16px;
}

.sell-step h2 {
  max-width: 15ch;
}

.sell-choice-grid {
  gap: 0.8rem;
  border: 0;
  background: transparent;
}

.sell-choice {
  min-height: 132px;
  border: 1px solid rgba(10, 41, 66, 0.11);
  border-radius: 18px;
  background: #f8fbfc;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 220ms var(--ease), box-shadow 180ms ease;
}

.sell-choice:hover {
  border-color: rgba(10, 41, 66, 0.25);
  background: #f0f7fa;
  transform: translateY(-2px);
}

.sell-choice:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, #082b46, #0b4169);
  box-shadow: 0 14px 34px rgba(6, 35, 56, 0.14);
}

.sell-field input,
.sell-field select,
.sell-field textarea {
  border-color: rgba(10, 41, 66, 0.25);
  border-radius: 12px;
  background: rgba(248, 251, 252, 0.82);
}

.sell-segmented,
.issue-grid {
  gap: 0.55rem;
  border: 0;
  background: transparent;
}

.sell-segmented label,
.issue-grid label {
  min-height: 54px;
  border: 1px solid rgba(10, 41, 66, 0.13);
  border-radius: 12px;
  background: #f7fafc;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.sell-segmented label:hover,
.issue-grid label:hover {
  border-color: rgba(10, 41, 66, 0.3);
  transform: translateY(-1px);
}

.sell-segmented label:has(input:checked),
.issue-grid label:has(input:checked) {
  border-color: var(--blue);
  border-radius: 12px;
  background: var(--blue);
}

.sell-upload {
  border: 1px solid rgba(10, 41, 66, 0.1);
  border-radius: 16px;
  background: #edf6fa;
}

.review-block {
  overflow: hidden;
  border-color: rgba(10, 41, 66, 0.11);
  border-radius: 16px;
}

.review-block__heading {
  background: linear-gradient(135deg, #082b46, #0b4169);
}

.sell-review-boundary {
  border: 1px solid rgba(10, 41, 66, 0.1);
  border-radius: 16px;
  background: #e8f3f8;
}

.sell-form-actions {
  padding-top: 1.4rem;
  border-top-color: rgba(10, 41, 66, 0.1);
}

.sell-confirmation {
  border: 1px solid rgba(20, 112, 60, 0.18);
  border-radius: 20px;
  background: #eaf5ef;
}

.confirmation-reference {
  border-radius: 999px;
}

.sell-process {
  padding-block: clamp(5.5rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 14% 85%, rgba(76, 164, 216, 0.1), transparent 25rem),
    #f9fbfc;
}

.sell-process__heading {
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 2.5rem;
}

.sell-process__heading h2 {
  max-width: 11ch;
}

.process-ledgers {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.process-ledger {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(10, 41, 66, 0.1);
  border-radius: 24px;
  background: #f2f7fa;
}

.process-ledger--trade {
  background: #e8f3f8;
}

.process-ledger li {
  border-top-color: rgba(10, 41, 66, 0.12);
}

.process-ledger li span::before {
  color: var(--teal);
}

.sell-workshop {
  padding-block: clamp(5rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 77% 28%, rgba(26, 111, 167, 0.34), transparent 28rem),
    linear-gradient(135deg, #061d30, #082f4d);
}

.sell-workshop__grid {
  gap: clamp(3rem, 7vw, 7rem);
}

.sell-workshop__copy h2 {
  max-width: 11ch;
}

.sell-workshop__copy p {
  max-width: 48ch;
  color: rgba(228, 240, 247, 0.74);
  line-height: 1.65;
}

.sell-workshop__image {
  padding-bottom: 1.6rem;
}

.sell-workshop__image img {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(1, 18, 31, 0.25);
}

.sell-workshop__image figcaption {
  right: 1.25rem;
  bottom: 0;
  min-width: min(310px, 86%);
  border: 1px solid rgba(10, 41, 66, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(1, 18, 31, 0.18);
}

@media (max-width: 980px) {
  .sell-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "outcomes"
      "phone";
    gap: 1.5rem;
  }

  .sell-hero__copy {
    align-self: auto;
  }

  .sell-hero__copy h1 {
    max-width: 11ch;
  }

  .phone-record {
    min-height: 560px;
  }

  .phone-record__drawing {
    inset-inline: 22%;
    width: 56%;
  }
}

@media (max-width: 900px) {
  .sell-form-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sell-form-context {
    position: static;
  }

  .sell-form-context h2 {
    max-width: 13ch;
  }
}

@media (max-width: 760px) {
  .sell-hero {
    min-height: auto;
  }

  .sell-hero__grid {
    gap: 1.15rem;
    padding-block: calc(var(--header-height) + 3rem) 3.75rem;
  }

  .sell-hero__copy h1 {
    max-width: 9.5ch;
    font-size: clamp(3.4rem, 15vw, 4.4rem);
  }

  .sell-hero__actions {
    grid-template-columns: 1fr;
  }

  .outcome-dockets {
    grid-template-columns: 1fr;
  }

  .outcome-docket {
    min-height: 150px;
  }

  .phone-record {
    min-height: 470px;
    border-radius: 24px;
  }

  .phone-record__drawing {
    inset-inline: 7%;
    width: 86%;
  }

  .sell-form-section,
  .sell-process,
  .sell-workshop {
    padding-block: 4.5rem;
  }

  .sell-form-panel {
    margin-inline: 0;
    border-radius: 22px;
  }

  .sell-process__heading,
  .sell-workshop__grid {
    gap: 2rem;
  }

  .process-ledgers {
    grid-template-columns: 1fr;
  }

  .sell-workshop__image img {
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .sell-choice-grid,
  .sell-field-grid {
    grid-template-columns: 1fr;
  }

  .sell-choice {
    min-height: 112px;
  }

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

  .review-block dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .sell-hero__grid {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .outcome-docket {
    grid-template-columns: 38px 1fr;
    min-height: 144px;
  }

  .phone-record {
    min-height: 400px;
  }

  .sell-segmented,
  .issue-grid {
    grid-template-columns: 1fr;
  }

  .process-ledger li {
    grid-template-columns: 1fr;
  }
}
