.how-page {
  padding-bottom: 2rem;
}
.how-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.how-intro {
  max-width: 760px;
  margin: 3rem auto 2.5rem;
  text-align: center;
}
.how-intro h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0.6rem 0 1.25rem;
}
.how-intro > p:last-child {
  max-width: 570px;
  margin: auto;
  line-height: 1.7;
}
.how-demo-note {
  padding: 1rem 1.4rem;
  border: 1px dashed #9b8474;
  border-radius: 12px;
  background: #fff9ed;
}
.how-comparison {
  padding: 24px 0;
  border-bottom: 1px solid #dcd2c5;
}
.how-age {
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.how-age::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--rule);
}
.how-age--0-3::before {
  background: var(--band-0-3);
}
.how-age--3-6::before {
  background: var(--band-3-6);
}
.how-age--6-9::before {
  background: var(--band-6-9);
}
.how-columns,
.how-shared {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
}
.how-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.how-column-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 12px;
}
.how-choice {
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.how-choice legend {
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}
.how-choice__item {
  position: relative;
  cursor: pointer;
}
.how-choice__item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.how-choice__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #998c7d;
  border-radius: 24px;
  font-size: 0.84rem;
  color: #30291f;
  background: #fffdf8;
}
.how-choice__item input:checked + span {
  background: #294c47;
  color: white;
  border-color: #294c47;
}
.how-choice__item input:focus-visible + span {
  outline: 3px solid #bd512f;
  outline-offset: 3px;
}
.how-frame {
  width: 100%;
  max-width: 432px;
  aspect-ratio: 4 / 5;
  margin-top: auto;
  border-radius: 18px;
  background: #e9e5dc;
  overflow: hidden;
}
.how-frame[data-drawing] {
  background: #f5ead8;
}
.how-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how-frame[data-drawing] img {
  object-fit: contain;
}
.how-empty {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
  color: #665e52;
  font-size: 1.05rem;
  background: radial-gradient(ellipse at 50% 75%, #d6d2c9 0, transparent 55%);
}
.how-empty::before {
  content: '↗';
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #8a8277;
}
.how-empty--drawing::before {
  content: '✦';
  color: #b96743;
}
.how-status {
  font-size: 0.84rem;
  color: #625b52;
  min-height: 1.5em;
  margin: 1rem 0 0;
}
.how-status--error {
  color: #8c2f20;
  font-weight: 700;
}
.how-shared {
  padding: 1.25rem 0 0.5rem;
}
.how-close {
  text-align: center;
  padding: 32px 1rem;
}
.how-close h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 20px;
}
.how-static {
  padding: 24px;
  background: #f5ead8;
  border-radius: 12px;
  margin: 1rem 0;
}
.how-static-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.how-static-pair img {
  display: block;
  width: 100%;
  max-width: 432px;
  height: auto;
}
@media (max-width: 620px) {
  .how-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .how-shared {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .how-close {
    padding: 24px 1rem;
  }
  .how-intro {
    margin-top: 2rem;
  }
  .how-frame {
    max-width: 368px;
  }
  .how-static-pair {
    grid-template-columns: 1fr;
  }
}
