.stock-features,
.stock-use {
  --stock-blue: #336091;
  --stock-ink: #162f46;
  --stock-slate: #435d70;
  --stock-line: #cbd7e1;
  padding-block: clamp(5rem, 8vw, 8rem);
  color: var(--stock-ink);
  scroll-margin-top: 5rem;
}

.stock-features { background: #fff; }
.stock-use { background: #eef3f8; }
.stock-features h2, .stock-use h2 { margin-top: 0.5rem; margin-bottom: 0; }

.stock-features-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2.75rem, 6vw, 6rem);
}

.stock-features-intro {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  line-height: 2;
  color: var(--stock-slate);
}

.stock-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
  margin-top: clamp(2.25rem, 4.3vw, 4rem);
}

.stock-feature-item {
  min-width: 0;
  border-top: 1px solid var(--stock-line);
  padding-top: 1.5rem;
}

.stock-feature-art {
  display: block;
  width: 7rem;
  height: 4.5rem;
  margin: 0 0 1.1rem -1.1rem;
}
.stock-art-fill { fill: #dfebf6; }
.stock-art-line { stroke: var(--stock-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stock-art-paper { fill: #fff; }

.stock-feature-item h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.015em;
}
.stock-feature-item p {
  margin: 0.75rem 0 0;
  max-width: 33em;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--stock-slate);
}

.stock-use-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  position: relative;
  min-width: 0;
  padding: 0;
  margin: clamp(2rem, 3.5vw, 3.5rem) 0 0;
  border: 0;
}

/* The legend and radios remain available to keyboards and screen readers. */
.stock-use-sr,
.stock-use-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.stock-use-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--stock-line);
}
.stock-use-steps li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--stock-line);
}

.stock-use-step {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  position: relative;
  padding: 1.05rem 0.8rem 1.05rem 0.68rem;
  color: var(--stock-ink);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.stock-use-step:hover { background-color: #e4edf5; }
.stock-use-no {
  color: var(--stock-blue);
  font: 600 0.875rem/1.8 Arial, sans-serif;
  letter-spacing: 0.045em;
  font-variant-numeric: tabular-nums;
}
.stock-use-step-copy { display: grid; gap: 0.35rem; }
.stock-use-step-copy strong { font-size: clamp(1rem, 1.5vw, 1.23rem); line-height: 1.55; }
.stock-use-step-copy > span { color: var(--stock-slate); font-size: 1rem; line-height: 1.7; }

.stock-use-demo {
  min-width: 0;
  align-self: center;
  margin: 0;
}
.stock-use-stage {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(2.5rem, 5vw, 4.75rem) clamp(0.9rem, 2.5vw, 2.55rem);
  background-color: #dde8f2;
  border-radius: 1.25rem;
}
.stock-use-device {
  position: relative;
  width: 100%;
  max-width: 35rem;
  aspect-ratio: 4 / 3;
  min-height: 15rem;
  display: flex;
  padding: clamp(0.42rem, 0.85vw, 0.7rem);
  background: #202c36;
  border: 2px solid #5e6c77;
  border-radius: clamp(1rem, 1.65vw, 1.6rem);
  box-sizing: border-box;
  box-shadow: 0 2px 0 1px #82919c, 0 1.2rem 1.8rem -0.95rem #29466066;
}
.stock-use-screen {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: clamp(0.5rem, 1vw, 0.94rem);
  container-type: inline-size;
}
.stock-use-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  padding: 0.45rem 5%;
  background: #284e76;
  color: #fff;
}
.stock-use-appname {
  font: 650 clamp(0.98rem, 4.3cqw, 1.45rem)/1.1 Arial, sans-serif;
  letter-spacing: -0.03em;
}
.stock-use-shop { font-size: clamp(0.75rem, 2.5cqw, 0.88rem); font-weight: 600; }
.stock-use-panel { display: none; margin: 0; padding: 4.1% 6.8% 5%; }
.stock-use-panel h3 {
  margin: 0 0 0.48em;
  font-size: clamp(0.95rem, 5.2cqw, 1.58rem);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.stock-use-panel svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.stock-ui-context, .stock-ui-reviewed, .stock-ui-vendor, .stock-ui-supplier {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--stock-slate);
  font-size: clamp(0.75rem, 2.85cqw, 0.94rem);
  line-height: 1.45;
}
.stock-ui-context { margin: 0 0 3%; }
.stock-ui-context span,
.stock-ui-reviewed {
  width: fit-content;
  padding: 0.19em 0.7em;
  border-radius: 0.25rem;
  background: #eaf0f6;
  color: #355a7e;
}
.stock-ui-vendor {
  padding-bottom: 3%;
  color: var(--stock-blue);
}
.stock-ui-vendor > span { margin-left: auto; }
.stock-ui-reviewed { color: #255b4b; background: #e4f0eb; }
.stock-ui-supplier { padding-block: 2.5% 1.4%; }
.stock-ui-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(0.75rem, 3.1cqw, 1.03rem);
  line-height: 1.35;
  color: var(--stock-ink);
  font-variant-numeric: tabular-nums;
}
.stock-ui-table th, .stock-ui-table td { border: 0; text-align: left; padding: 0.49em 0.65em; }
.stock-ui-table th:not(:first-child), .stock-ui-table td { text-align: right; }
.stock-ui-table thead { background: #edf2f6; }
.stock-ui-table thead th { font-size: 0.92em; font-weight: 600; color: #4e6376; }
.stock-ui-table tbody tr { border-bottom: 1px solid #e0e7ee; }
.stock-ui-table tbody th { font-weight: 500; }
.stock-ui-input tbody td span { display: inline-block; padding: 0.08em 0.45em; border: 1px solid #bccbda; border-radius: 0.25rem; }
.stock-ui-proposed tbody td:last-child { font-weight: 700; color: var(--stock-blue); }
.stock-use-demo figcaption {
  margin-top: 0.8rem;
  padding: 0;
  color: #4a6278;
  font-size: 0.8rem;
  line-height: 1.65;
  text-align: center;
}
.stock-use-mobile-desc { display: none; }
.stock-use-mobile-desc span { display: none; }

.stock-use-choice-1:checked ~ .stock-use-steps .stock-use-step-1,
.stock-use-choice-2:checked ~ .stock-use-steps .stock-use-step-2,
.stock-use-choice-3:checked ~ .stock-use-steps .stock-use-step-3,
.stock-use-choice-4:checked ~ .stock-use-steps .stock-use-step-4 {
  border-left-color: var(--stock-blue);
  background-color: #e0eaf4;
}
.stock-use-choice-1:checked ~ .stock-use-demo #stock-use-view-1,
.stock-use-choice-1:checked ~ .stock-use-demo .stock-use-mobile-desc span:nth-child(1),
.stock-use-choice-2:checked ~ .stock-use-demo #stock-use-view-2,
.stock-use-choice-2:checked ~ .stock-use-demo .stock-use-mobile-desc span:nth-child(2),
.stock-use-choice-3:checked ~ .stock-use-demo #stock-use-view-3,
.stock-use-choice-3:checked ~ .stock-use-demo .stock-use-mobile-desc span:nth-child(3),
.stock-use-choice-4:checked ~ .stock-use-demo #stock-use-view-4,
.stock-use-choice-4:checked ~ .stock-use-demo .stock-use-mobile-desc span:nth-child(4) { display: block; }
.stock-use-choice-1:focus-visible ~ .stock-use-steps .stock-use-step-1,
.stock-use-choice-2:focus-visible ~ .stock-use-steps .stock-use-step-2,
.stock-use-choice-3:focus-visible ~ .stock-use-steps .stock-use-step-3,
.stock-use-choice-4:focus-visible ~ .stock-use-steps .stock-use-step-4 {
  outline: 3px solid #336091;
  outline-offset: -3px;
}

@media (max-width: 850px) {
  .stock-features-header { grid-template-columns: 1fr; gap: 1.25rem; }
  .stock-features-intro { max-width: 44em; }
  .stock-use-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.25rem; }
  .stock-use-step { grid-template-columns: 1.65rem 1fr; padding-inline: 0.45rem; }
}

@media (max-width: 690px) {
  .stock-features, .stock-use { padding-block: 4.4rem; }
  .stock-feature-list { grid-template-columns: 1fr; gap: 1.4rem; }
  .stock-feature-item {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 0.45rem 0.85rem;
    padding-top: 1.2rem;
  }
  .stock-feature-art { grid-row: 1 / 3; width: 4.6rem; height: auto; margin: 0.15rem 0 0 -0.6rem; }
  .stock-feature-item p { margin: 0; }
  .stock-use-layout { display: block; }
  .stock-use-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    border: 0;
  }
  .stock-use-steps li { border: 0; }
  .stock-use-step {
    grid-template-columns: 1fr;
    gap: 0.18rem;
    height: 100%;
    align-content: start;
    padding: 0.6rem 0.65rem 0.65rem;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #c6d4e0;
    border-left-width: 3px;
    border-radius: 0.3rem;
  }
  .stock-use-step-copy strong { font-size: 0.94rem; line-height: 1.45; }
  .stock-use-step-copy > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .stock-use-no { line-height: 1.3; }
  .stock-use-mobile-desc {
    display: block;
    min-height: 3.2em;
    margin: 0.85rem 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--stock-slate);
  }
  .stock-use-stage { padding: clamp(1.4rem, 5.4vw, 2.2rem) clamp(0.65rem, 3vw, 1.3rem); border-radius: 0.75rem; }
  .stock-use-demo figcaption { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .stock-use-step { transition: none; }
}

@media print {
  .stock-use-layout { display: block; }
  .stock-use-steps { display: block; }
  .stock-use-step-copy > span { position: static; width: auto; height: auto; clip-path: none; }
  .stock-use-mobile-desc { display: none; }
  .stock-use-demo { margin-top: 1.2rem; }
}

@media (max-width: 400px) {
  .stock-use-device { min-width: 0; min-height: 0; aspect-ratio: auto; }
  .stock-use-screen { min-height: 13.5rem; }
}
