.hero-preview-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin-top: 1.05rem;
}
.hero-preview-links :is(a,button) {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f0e8ca;
  font: 500 1rem/1.4 var(--sans);
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.hero-preview-links :is(a,button):hover { color: white; }
.feature-demo {
  --film-paper: #f8f4e8;
  --film-sage: #e4ece2;
  width: 100%;
  max-width: 40rem;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #d1d6c6;
  border-radius: .8rem;
  background: var(--film-paper);
  color: #19392e;
  box-shadow: 0 .65rem 2rem #071e2340;
}
.feature-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  background: linear-gradient(90deg,var(--film-paper) 50%,var(--film-sage) 50%);
  padding: clamp(.85rem,1.5vw,1.2rem) 0;
}
.feature-copy { padding-inline: clamp(.9rem,2.3vw,2.2rem); }
.feature-copy h2,.feature-end h2 { margin: 0; color: #214b39; font: 650 clamp(1.5rem,2.8vw,2.65rem)/1.25 'Noto Serif CJK SC',var(--serif); text-wrap: balance; }
.feature-copy p { margin-top: .65rem; color: #40624f; font: 500 clamp(1rem,1.35vw,1.16rem)/1.65 var(--sans); text-wrap: balance; }
.feature-phone {
  box-sizing: content-box;
  position: relative;
  justify-self: center;
  width: clamp(7.5rem,11vw,10rem);
  aspect-ratio: 6 / 13;
  overflow: hidden;
  isolation: isolate;
  border: 3px solid #25352d;
  border-radius: .55rem;
  background: #faf8f1;
  box-shadow: 0 0 0 1px #829082, .2rem .35rem .85rem #29392a30;
}
.feature-phone img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.feature-phone .feature-previous { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.feature-touch {
  position: absolute;
  z-index: 3;
  width: 12%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 2px solid #007a60;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fffdf2;
  background: #a5e0c260;
  opacity: 0;
  pointer-events: none;
}
.feature-end {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(1rem,2.5vw,2rem);
  padding: 1rem;
  background: var(--film-paper);
}
.feature-end ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem .5rem; width: 100%; padding: 0; margin: 0; list-style: none; }
.feature-end li { flex: 0 0 28%; display: grid; justify-items: center; gap: .35rem; color: #284738; font-size: 1rem; line-height: 1.35; text-align: center; }
.feature-end img { width: clamp(2.4rem,4vw,3.65rem); height: auto; border-radius: .45rem; }
.feature-controls { display: flex; align-items: stretch; border-top: 1px solid #c9d1bf; background: #f8f7ef; }
.feature-chapters { display: flex; flex: 1; min-width: 0; }
.feature-controls button { min-height: 2.8rem; padding: .3rem .25rem; border: 0; background: transparent; color: #53675a; font: 550 1rem/1.35 var(--sans); cursor: pointer; }
.feature-chapters button { position: relative; flex: 1 1 auto; white-space: nowrap; }
.feature-chapters button[aria-pressed="true"] { color: #164e35; }
.feature-chapters button[aria-pressed="true"]::after { content: ''; position: absolute; inset: auto 15% 0; height: 3px; background: #37694f; }
.feature-controls button:hover { background: #e9eee2; }
.feature-controls button:focus-visible { outline: 2px solid #29654a; outline-offset: -3px; }
.feature-controls .feature-motion { flex: none; display: grid; place-items: center; width: 2.85rem; border-left: 1px solid #c9d1bf; }
.feature-motion svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
#hero-sample-dialog { width: min(31rem,calc(100% - 2rem)); }
#hero-sample-dialog .stack { width: min(95%,25rem); margin: 1.25rem auto; }
@media (min-width: 701px) {
  .hero .wrap { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; }
}
@media (max-width: 700px) {
  .hero .wrap { padding-block: 1.25rem 1.65rem; gap: 1rem; }
  .hero h1 { font-size: clamp(1.8rem,7.2vw,2.35rem); }
  .hero h1 br { display: none; }
  .hero-lede { margin-top: .55rem; }
  .hero-actions { margin-top: .8rem; }
  .hero-preview-links { margin-top: .35rem; }
  .feature-demo { align-self: center; max-width: 24rem; }
  .feature-stage { grid-template-columns: 1fr; gap: .9rem; padding: 1rem 0 1.1rem; background: linear-gradient(var(--film-paper),var(--film-sage)); }
  .feature-copy { min-height: 4rem; align-content: center; padding-inline: .6rem; text-align: center; }
  .feature-copy h2 { font-size: clamp(1.35rem,5.8vw,1.65rem); }
  .feature-copy p { margin: .2rem 0 0; font-size: 1rem; }
  .feature-phone { width: clamp(8.5rem,min(46vw,20svh),11rem); }
  .feature-end ul { row-gap: 1.5rem; }
  .feature-end li { flex-basis: 29%; }
}
@media (max-width: 370px) {
  .feature-controls button { font-size: .94rem; }
  .feature-controls .feature-motion { width: 2.5rem; }
}
