:root {
  color-scheme: light;
  --ink: #20312d;
  --muted: #62716c;
  --line: #dce5e1;
  --paper: #f7faf8;
  --surface: #ffffff;
  --green: #276858;
  --green-dark: #1c5144;
  --green-soft: #e7f1ec;
  --coral: #c76754;
  --yellow: #e4b74f;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
.topbar, main, .footer { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 8px; background: var(--green); color: white; font-size: 17px;
}
.repo-link, .footer a { color: var(--muted); font-size: 14px; }
.repo-link:hover, .footer a:hover, .file-link:hover { color: var(--green); }
.install-section { max-width: 690px; padding: 70px 0 0; }
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 9px; color: var(--green);
  font-size: 13px; font-weight: 700;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #48a47e; box-shadow: 0 0 0 4px var(--green-soft); }
h1 { margin: 20px 0 15px; font-size: 54px; line-height: 1.18; font-weight: 700; }
h1 span { color: var(--green); }
.intro { max-width: 610px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.prompt-label-row { display: flex; align-items: baseline; justify-content: space-between; margin: 36px 0 10px; }
.prompt-label-row label { font-size: 14px; font-weight: 700; }
.prompt-hint { color: #86918d; font-size: 12px; }
.prompt-box { border: 1px solid #cfdcd6; border-radius: 8px; background: var(--surface); overflow: hidden; }
.prompt-box textarea {
  display: block; width: 100%; min-height: 112px; padding: 17px 18px;
  resize: vertical; border: 0; outline: 0; color: #40514b; background: transparent;
  font-size: 14px; line-height: 1.75;
}
.prompt-actions {
  min-height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px 9px 18px; border-top: 1px solid #edf1ef;
}
.file-link { color: var(--muted); font-size: 13px; }
.copy-button {
  min-width: 150px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 0; border-radius: 6px; background: var(--green); color: #fff;
  cursor: pointer; font-size: 14px; font-weight: 600; transition: background .15s ease, transform .15s ease;
}
.copy-button:hover { background: var(--green-dark); }
.copy-button:active { transform: translateY(1px); }
.copy-button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.copy-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy-status { min-height: 24px; margin: 5px 0 0; color: var(--green); font-size: 13px; }
.next-step { display: flex; align-items: flex-start; gap: 15px; margin-top: 22px; padding: 17px 0; border-top: 1px solid var(--line); }
.next-number { color: var(--coral); font-size: 12px; font-weight: 700; }
.next-step p { flex: 1; margin: -3px 0 0; color: var(--muted); font-size: 14px; }
.next-step strong { color: var(--ink); }
.next-arrow { color: var(--green); font-size: 20px; line-height: 1; }
.learning-visual { margin: 30px 0 0; }
.learning-visual img { display: block; width: 100%; max-height: 440px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.learning-visual figcaption { margin-top: 8px; color: #7b8983; font-size: 12px; }
.how-section { padding: 68px 0 75px; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 { margin: 8px 0 0; font-size: 25px; line-height: 1.4; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; gap: 13px; padding-top: 17px; border-top: 1px solid var(--line); }
.step-index { flex: 0 0 25px; color: var(--green); font-size: 13px; font-weight: 700; }
.steps-list h3 { margin: -3px 0 5px; font-size: 15px; }
.steps-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer { display: flex; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line); color: #7b8983; font-size: 12px; }

@media (max-width: 680px) {
  .topbar, main, .footer { width: min(100% - 36px, 540px); }
  .topbar { height: 64px; }
  .brand { font-size: 17px; }
  .repo-link { font-size: 13px; }
  .install-section { padding-top: 47px; }
  h1 { margin-top: 17px; font-size: 40px; }
  .intro { font-size: 15px; }
  .prompt-label-row { margin-top: 27px; }
  .prompt-box textarea { min-height: 152px; font-size: 13px; }
  .prompt-actions { padding-left: 12px; }
  .copy-button { min-width: 126px; }
  .next-step { gap: 10px; }
  .learning-visual { margin-top: 20px; }
  .learning-visual img { min-height: 205px; }
  .how-section { padding: 53px 0 55px; }
  .section-heading h2 { font-size: 22px; }
  .steps-list { grid-template-columns: 1fr; gap: 15px; }
  .steps-list li { padding-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
