:root {
  color-scheme: light;
  --ink: #172927;
  --muted: #596e6b;
  --paper: #f8f8f0;
  --mint: #c9efdd;
  --green: #17634c;
  --border: #dce5de;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
header,
footer,
main {
  max-width: 1180px;
  margin: auto;
  padding: 28px 36px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  font-size: 0.92rem;
}
.brand {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  color: var(--green);
}
.brandmark {
  margin-left: 10px;
  display: inline-block;
  background: var(--mint);
  border-radius: 50%;
  width: 32px;
  text-align: center;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
}
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 700;
  font-size: 0.76rem;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 18px 0 28px;
  font-weight: 750;
}
h2 {
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h3 {
  line-height: 1.3;
}
.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 650px;
}
.button,
button {
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  display: inline-block;
  padding: 13px 22px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.button.small {
  padding: 8px 16px;
}
.secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border);
}
.danger {
  background: #8e3535;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.panel,
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 20px #182b2605;
}
.terminal {
  background: #172e28;
  color: #dbf6e9;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 14px 18px 0 var(--mint);
}
.terminal pre {
  background: #213c33;
  color: #dbf6e9;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
}
.terminal small {
  color: #a1cdb8;
}
.form-title {
  font-size: 2.4rem;
}
.terminal hr {
  border: 0;
  border-top: 1px solid #385648;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0;
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
}
.section {
  padding: 35px 0;
}
.notice {
  border-left: 4px solid var(--green);
  padding: 16px 22px;
  background: #e3f0e7;
  margin: 24px 0;
}
.notice.warn {
  background: #fcf2d9;
  border-color: #a37c24;
}
.muted,
small {
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: 0.77rem;
  line-height: 1.8;
  padding: 2px 9px;
  border-radius: 6px;
  background: #edf1ea;
  border: 1px solid var(--border);
  white-space: nowrap;
}
label {
  display: block;
  font-weight: 650;
  margin: 18px 0 5px;
}
input,
textarea,
select {
  font: inherit;
  color: var(--ink);
  padding: 11px;
  border: 1px solid #afc5b8;
  border-radius: 7px;
  background: white;
  max-width: 100%;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
}
textarea {
  min-height: 120px;
}
form {
  max-width: 700px;
}
fieldset {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 25px 0;
}
legend {
  font-weight: 700;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
}
td,
th {
  padding: 15px 10px;
  border-bottom: 1px solid var(--border);
}
.table-wrap {
  overflow: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin: 28px 0;
}
.page-head h1,
.prose h1 {
  font-size: 2.7rem;
}
.prose {
  max-width: 800px;
  margin: 35px auto;
}
.prose p {
  margin: 20px 0;
}
pre,
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
pre {
  background: #eaf0e8;
  padding: 20px;
  border-radius: 12px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
dt {
  font-weight: 700;
}
dd {
  margin: 0 0 15px;
  overflow-wrap: anywhere;
}
.segments {
  list-style: none;
  padding: 0;
}
.segments li {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
  white-space: pre-wrap;
}
.segments small {
  display: block;
}
audio {
  width: 100%;
}
:focus-visible {
  outline: 3px solid #b07a26;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 20px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 5;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  margin-top: 65px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
footer p {
  margin: 5px 0;
}
footer small {
  flex-basis: 100%;
}
.narrow {
  max-width: 550px;
  margin: 55px auto;
}
.empty {
  padding: 45px;
  text-align: center;
}
details summary {
  cursor: pointer;
  font-weight: 650;
}
.inline {
  display: inline-block;
  margin: 5px 0;
}
.inline button {
  padding: 6px 12px;
  font-size: 0.85rem;
}
.notice a {
  font-weight: 650;
}
@media (max-width: 760px) {
  header,
  footer,
  main {
    padding: 22px;
  }
  header {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 35px 0;
  }
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
  .terminal {
    box-shadow: 6px 8px 0 var(--mint);
  }
  h1 {
    font-size: 3rem;
  }
  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .panel,
  .card {
    padding: 22px;
  }
}
