.pon-intro {
  color-scheme: light;
  --fg: #34251e;
  --muted: #6c5a51;
  --line: #dbbfb0;
  --card: #fffdfa;
  --accent: #a94218;
  --accent-pale: #f9e6da;
  --color-accent: #a94218;
  --color-accent-bg: #f5ddd0;
  --color-tag-text: #873211;
  --color-link: #873211;
  --color-link-hover: #652209;
  --shadow: 0 12px 30px #6c3a2220;
  --pon-canvas: #fff6ef;
  --pon-dot: #e2c8b6;
  --pon-branch: #b98068;
  --pon-button: #a94218;
  --pon-button-hover: #873211;
  --pon-button-ink: #fffdfa;
  --pon-warning-bg: #fff1d6;
  --pon-warning-ink: #623c19;
  background: linear-gradient(180deg, #fff2e8, #fffaf5 850px, #fffdfa);
}

.pon-intro::before,
.pon-intro::after {
  content: none;
}

.pon-intro main,
.pon-intro .site-header,
.pon-intro .site-footer {
  max-width: 1184px;
}

.pon-intro .site-header {
  margin-bottom: 0;
}

.pon-intro .work-page {
  padding: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.pon-intro .work-page :where(p) {
  margin-top: 0;
}

.pon-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  padding: clamp(28px, 5vw, 68px) 0 clamp(40px, 6vw, 80px);
}

.pon-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 4.35vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.pon-intro .pon-subtitle {
  margin-bottom: 15px;
  color: var(--color-link);
  font-size: clamp(1.1rem, 2.15vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.pon-lead {
  max-width: 34em;
}

.pon-hero .work-status {
  margin: 18px 0 14px;
}

.pon-hero .work-pill {
  font-size: .82rem;
}

.pon-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.pon-intro .work-launch {
  width: auto;
  max-width: 100%;
  margin: 0;
}

.pon-intro .work-launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 10px;
  background: var(--pon-button);
  color: var(--pon-button-ink);
}

.pon-intro .work-launch-button:hover {
  background: var(--pon-button-hover);
  color: var(--pon-button-ink);
}

.pon-guide-link {
  padding-block: 8px;
  font-weight: 700;
}

.pon-intro .pon-hero .pon-device-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.pon-preview {
  margin: 0;
}

.pon-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: clamp(9px, 1.4vw, 16px);
  background: var(--pon-canvas);
  box-shadow: var(--shadow);
}

.pon-preview figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

.pon-intro .pon-band {
  margin: 0;
  padding: clamp(28px, 4.6vw, 55px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 14px;
}

.pon-intro .pon-band h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.75vw, 2rem);
  line-height: 1.35;
}

.pon-three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.pon-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pon-step;
}

.pon-steps li,
.pon-features section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.pon-steps li {
  counter-increment: pon-step;
}

.pon-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 118px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(var(--pon-dot) 1px, transparent 1px) 0 0 / 14px 14px, var(--pon-canvas);
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.4;
}

.pon-node,
.pon-demo-button {
  position: relative;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  text-align: center;
}

.pon-node.pon-root {
  border-color: var(--accent);
  box-shadow: 0 2px 0 var(--line);
}

.pon-demo-button {
  border-color: var(--pon-button);
  background: var(--pon-button);
  color: var(--pon-button-ink);
}

.pon-demo-tree {
  flex-wrap: nowrap;
  gap: 18px;
}

.pon-demo-tree .pon-root::after {
  position: absolute;
  inset: 50% -10px auto auto;
  width: 9px;
  border-top: 1px solid var(--pon-branch);
  content: "";
}

.pon-branch-list {
  position: relative;
  display: grid;
  gap: 7px;
}

.pon-branch-list::before {
  position: absolute;
  inset: 25% auto 25% -9px;
  border-left: 1px solid var(--pon-branch);
  content: "";
}

.pon-branch-list .pon-node::before {
  position: absolute;
  inset: 50% auto auto -9px;
  width: 8px;
  border-top: 1px solid var(--pon-branch);
  content: "";
}

.pon-save-badge {
  color: var(--color-link);
}

.pon-step-copy,
.pon-features section {
  padding: clamp(14px, 2vw, 23px);
}

.pon-band h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  line-height: 1.4;
}

.pon-step-copy h3::before {
  display: inline-grid;
  width: 1.6em;
  height: 1.6em;
  place-items: center;
  margin-right: .5em;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--color-link);
  font: 700 .86em/1 var(--font-en);
  content: counter(pon-step);
}

.pon-intro .pon-step-copy p {
  margin-bottom: 0;
}

.pon-features dl {
  margin: 14px 0 0;
}

.pon-features dt {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.pon-features dd {
  margin: 3px 0 12px;
  color: var(--muted);
}

.pon-features dd:last-child {
  margin-bottom: 0;
}

.pon-intro .pon-warning {
  margin-bottom: 23px;
  border-color: var(--accent);
  background: var(--pon-warning-bg);
  color: var(--pon-warning-ink);
}

.pon-storage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}

.pon-storage p:last-child {
  margin-bottom: 0;
}

.pon-band a {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.pon-intro .pon-band .pon-data-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: .9rem;
}

.pon-play-end {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4.6vw, 55px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-pale);
}

.pon-intro .pon-history {
  padding-bottom: 0;
}

@media (prefers-color-scheme: dark) {
  .pon-intro {
    color-scheme: dark;
    --fg: #f7ebe4;
    --muted: #dfc6b9;
    --line: #775649;
    --card: #342823;
    --accent: #eb9a76;
    --accent-pale: #473128;
    --color-accent: #ffd0b6;
    --color-accent-bg: #50372b;
    --color-tag-text: #ffd0b6;
    --color-link: #ffc3a2;
    --color-link-hover: #ffe1cd;
    --shadow: 0 12px 30px #130c085c;
    --pon-canvas: #3c2d26;
    --pon-dot: #694d40;
    --pon-branch: #d1977c;
    --pon-button: #f4ab87;
    --pon-button-hover: #ffc2a2;
    --pon-button-ink: #34251e;
    --pon-warning-bg: #482f23;
    --pon-warning-ink: #ffe3bb;
    background: linear-gradient(180deg, #32231d, #261e1a 850px, #211a17);
  }
}

@media (max-width: 760px) {
  .pon-hero,
  .pon-three-up,
  .pon-storage {
    grid-template-columns: minmax(0, 1fr);
  }

  .pon-hero {
    gap: 18px;
    padding-top: 14px;
  }

  .pon-hero h1 {
    margin-bottom: 11px;
    font-size: clamp(2.05rem, 8vw, 3rem);
  }

  .pon-desktop-break {
    display: none;
  }
}
