/* ------------------------------------------------------------
   Summon — terminal-session blend
   Single narrow column, one typeface (Iosevka), two accent signals
   (teal runnable, gold pro), hairline rules, gold ::selection,
   section header prompts that type themselves on scroll.
   ------------------------------------------------------------ */

:root {
  color-scheme: dark;

  --font: "Iosevka", "Ioskeley Mono", ui-monospace, "JetBrains Mono",
    "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --bg: #0b0b0b;
  --bg-elev: #121212;
  --bg-soft: #1a1a1a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --dim: #808080;
  --line: #2a2a2a;
  --line-soft: #1f1f1f;

  --runnable: #5de4c7;
  --runnable-dim: rgba(93, 228, 199, 0.14);

  --gold: #f2cc8c;
  --gold-dim: rgba(242, 204, 140, 0.2);
  --selection-bg: #d9a441;
  --selection-text: #0b0b0b;

  --measure: 46rem;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --pad-y: clamp(2.5rem, 7vw, 4.5rem);
  --rule: 1px solid var(--line);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "calt" 0, "liga" 0;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.16);
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}
a:hover {
  color: var(--runnable);
  border-bottom-color: var(--runnable);
}
a:focus-visible {
  outline: 1.5px solid var(--runnable);
  outline-offset: 2px;
  border-radius: 2px;
}

/* key pill — matches the extension's .cp-key exactly so the
   landing page reads as the same product. Both .lp-key (single)
   and .lp-keys (a chord group) get this shape; the group is an
   inline-flex of pills, the single is just a pill. */
kbd,
.lp-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--btn-bg, rgba(255, 255, 255, 0.03));
  color: var(--text);
  font-family: inherit;
  font-size: 0.82em;
  font-weight: 500;
  line-height: 1;
  margin: 0 0.1em;
  white-space: nowrap;
}

.lp-key svg {
  display: block;
  width: 0.85em;
  height: 0.85em;
}

.lp-keys {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  margin: 0 0.1em;
  vertical-align: baseline;
}

.lp-keys .lp-key {
  margin: 0;
}

/* hover on pills hints they're meaningful */
a:hover .lp-key,
.lp-key:hover {
  border-color: var(--runnable);
  color: var(--runnable);
}

em {
  color: var(--text);
  font-style: italic;
}

strong {
  color: var(--text);
  font-weight: 500;
}

/* page frame -------------------------------------------------- */

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x) clamp(2.5rem, 6vw, 4rem);
}

/* mast ----------------------------------------------------- */

.mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: clamp(3rem, 10vw, 5rem);
}

.mast__brand {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
}
.mast__brand:hover {
  border-bottom-color: transparent;
  color: var(--text);
}

/* the lightning-bolt mark from the extension — teal as in the product */
.mast__bolt {
  width: 1em;
  height: 1em;
  color: var(--runnable);
  flex-shrink: 0;
}

.mast__sep {
  color: var(--dim);
  user-select: none;
}

/* header pro link — subtle gold pill */
.mast__pro {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.05em 0.5em;
  margin-left: 0.1em;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.mast__pro:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

/* the only persistent motion — one blinking brand cursor */
.cursor {
  display: inline-block;
  margin-left: 0.2ch;
  color: var(--runnable);
  animation: blink 1.1s steps(2, end) infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* headline — the thesis ------------------------------------- */

.headline {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.headline__sub {
  display: inline-block;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.78em;
  margin-top: 0.4em;
  letter-spacing: 0;
}

/* pills inside the headline sub match surrounding text size exactly */
.headline__sub kbd,
.headline__sub .lp-key {
  font-size: 1em;
  vertical-align: baseline;
  margin: 0 0.05em;
}

/* lede ------------------------------------------------------ */

.lede {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.lede-aside {
  margin: -0.8rem 0 2rem;
  font-size: 0.82rem;
  color: var(--dim);
  line-height: 1.55;
  max-width: 36rem;
  font-style: italic;
}

/* CTA row -------------------------------------------------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 2.5rem;
}

#pro .cta {
  margin-top: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:hover {
  color: var(--runnable);
  border-color: var(--runnable);
  background: var(--runnable-dim);
}

.btn--primary {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}
.btn--primary:hover {
  color: var(--bg);
  background: var(--runnable);
  border-color: var(--runnable);
}

.btn--gold {
  color: var(--gold);
  border-color: var(--gold);
}
.btn--gold:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.btn--ghost {
  color: var(--muted);
}
.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

/* hairline rules ------------------------------------------- */

.rule {
  border: 0;
  border-top: var(--rule);
  margin: clamp(2rem, 5vw, 3rem) 0;
}

/* section blocks ------------------------------------------ */

.block {
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
}

.block__h {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--text);
  letter-spacing: 0;
  display: inline-flex;
  align-items: baseline;
  position: relative;
  white-space: pre;
}

/* the `> ` prompt is permanent; JS types the word that follows */
.block__h::before {
  content: "> ";
  color: var(--runnable);
  user-select: none;
  font-weight: 500;
}
.block__h--gold::before {
  color: var(--gold);
}

/* the typed word lives in a span the JS writes char-by-char into */
.block__h .typed {
  color: var(--text);
  font-weight: 500;
}

/* blinking caret-bar visible while typing (added by JS as a sibling) */
.block__h .caret-bar {
  display: none;
}
.block__h.is-typing .caret-bar {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  background: var(--runnable);
  margin-left: 0.1ch;
  vertical-align: -0.15em;
  animation: blink 1.1s steps(2, end) infinite;
}
.block__h--gold.is-typing .caret-bar {
  background: var(--gold);
}

/* once done, a faint rule extends from the heading to the column edge */
.block__h.is-done::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--line) 0%,
    var(--line) 60%,
    transparent 100%
  );
}

.block p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 36rem;
}

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

/* follow-on link inside a block — used for "read the full X" pointers */
.block__more {
  margin-top: 1.25em;
  font-size: 0.85rem;
}
.block__more a {
  color: var(--muted);
}
.block__more a:hover {
  color: var(--runnable);
}

/* new tab page screenshot (hero visual) -------------------- */

.newtab {
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.newtab img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.newtab__caption {
  margin: 0.5rem 0.75rem 0;
  padding-bottom: 0.45rem;
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* definition list (scope rows, pro rows) ------------------ */

.grid {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, max-content) 1fr;
  gap: 0.4rem 1.5rem;
}

.grid__row {
  display: contents;
}

.grid dt {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
}

.grid dt kbd {
  color: var(--text);
}

.grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 300;
  font-size: 0.95rem;
}

/* free vs pro comparison table -------------------------- */

.diff {
  margin: 1.5rem 0 0;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}

.diff th,
.diff td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  vertical-align: top;
  font-weight: 300;
}

.diff thead th {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  padding-top: 0.4rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.diff thead th.diff__pro {
  color: var(--gold);
}

.diff tbody tr {
  border-bottom: 1px solid var(--line-soft);
}

.diff tbody tr:last-child {
  border-bottom: 0;
}

.diff tbody th[scope="row"] {
  color: var(--text);
  font-weight: 400;
  width: 38%;
  white-space: nowrap;
}

.diff tbody td {
  color: var(--muted);
}

.diff tbody td.diff__pro-text {
  color: var(--text);
}

.diff tbody td kbd {
  font-size: 0.92em;
}

/* mobile: stack table rows to per-feature blocks */
@media (max-width: 480px) {
  .diff,
  .diff thead,
  .diff tbody,
  .diff tr,
  .diff th,
  .diff td {
    display: block;
  }

  .diff thead {
    display: none;
  }

  .diff tr {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .diff tr:last-child {
    border-bottom: 0;
  }

  .diff tbody th[scope="row"] {
    width: 100%;
    padding: 0 0 0.35rem;
    font-weight: 500;
    white-space: normal;
  }

  .diff td {
    padding: 0.1rem 0 0 1.5rem;
    position: relative;
  }

  .diff td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--dim);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0;
  }

  .diff td.diff__pro-text {
    color: var(--text);
  }
}

/* pro tag */

.tag {
  display: inline-block;
  font-size: 0.65em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.08em 0.4em;
  border-radius: 2px;
  line-height: 1.4;
  font-weight: 500;
  vertical-align: middle;
}

.tag--pro {
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* fine print */

.fine {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.55;
  max-width: 36rem;
}

/* footer --------------------------------------------------- */

.cta--foot {
  margin: 0 0 2rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75em;
  align-items: baseline;
  font-size: 0.78rem;
  color: var(--muted);
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75em;
  align-items: baseline;
  font-size: 0.78rem;
  color: var(--muted);
  width: 100%;
}

.foot__brand {
  color: var(--text);
}

.foot__prompt {
  color: var(--runnable);
  margin-right: 0.2ch;
}

.foot__copy {
  color: var(--dim);
}

/* footer pro link — more prominent gold pill */
.foot__pro {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.18em 0.7em;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.foot__pro:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

/* faq — stacked Q&A definition list ------------------------ */

.faq {
  margin: 1rem 0 0;
}

.faq dt {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 1.25rem;
  letter-spacing: 0;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 36rem;
}

/* responsive ---------------------------------------------- */

@media (max-width: 480px) {
  .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    justify-content: center;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 0.2rem 0;
  }
  .grid__row {
    display: block;
    margin-bottom: 0.6rem;
  }
  .grid dd {
    display: inline;
  }
  .grid dd::before {
    content: " — ";
    color: var(--dim);
  }
}

/* reduced motion ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .cursor,
  .block__h.is-typing .caret-bar {
    animation: none !important;
  }
  .block__h.is-typing .caret-bar {
    display: none;
  }
}

/* =============================================================
   Kuronaut site — extends Summon tokens
   Shared components for the Kuronaut home page and the Summon
   back-link. Reuses --bg, --text, --muted, --line, --runnable,
   --measure, --rule, --pad-x, --pad-y.
   ============================================================= */

/* back-link used in the Summon masthead when nested under
   Kuronaut. Small, muted, no border until hover. */
.mast__back {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.mast__back:hover {
  color: var(--runnable);
  border-bottom-color: transparent;
}

/* banner header — code.storage style bracketed nav */
.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 0.75em;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: clamp(2.5rem, 8vw, 4rem);
}

.banner__brand {
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2ch;
  letter-spacing: 0;
}
.banner__brand:hover {
  border-bottom-color: transparent;
  color: var(--text);
}

.banner .cursor {
  display: inline-block;
  margin: 0 0.2ch;
  color: var(--runnable);
  animation: blink 1.1s steps(2, end) infinite;
}

.banner__year {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.banner__nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em 0.75em;
}

.banner__nav a {
  color: var(--muted);
  border-bottom: 0;
}

.banner__nav a:hover {
  color: var(--runnable);
  border-bottom-color: transparent;
}

.banner__sep {
  color: var(--dim);
  user-select: none;
}

/* hero thesis — two `>` prompt lines, no JS typing.
   the prompt is the same teal used in Summon's section
   headers, so the two pages share one accent for "live". */
.hero__thesis {
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 36rem;
}

.hero__thesis p {
  margin: 0;
  position: relative;
  padding-left: 1.5em;
}

.hero__thesis p::before {
  content: "> ";
  color: var(--runnable);
  font-weight: 500;
  position: absolute;
  left: 0;
  top: 0;
  user-select: none;
}

.hero__thesis p + p {
  margin-top: 0.35em;
}

/* ls-style directory index — the workshop's signature element.
   keeps to one typeface, hairline rules, a `d` type column the
   audience reads as `ls -l`. paths tint teal on row hover. */
.ls {
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
}

.ls__label {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

.ls__rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}

.ls__rule--end {
  margin-top: 0;
}

.ls__row {
  display: grid;
  grid-template-columns: 1.2em minmax(0, max-content) minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0.4em 1.2em;
  padding: 0.55em 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--line-soft);
  text-decoration: none;
}

a.ls__row {
  cursor: pointer;
}

.ls__row--placeholder {
  cursor: default;
  color: var(--dim);
}

.ls__col--type {
  color: var(--muted);
  user-select: none;
  font-weight: 500;
}

.ls__col--name {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.ls__col--desc {
  color: var(--muted);
  font-weight: 300;
  min-width: 0;
}

.ls__col--year {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ls__col--path {
  color: var(--runnable);
  font-weight: 400;
  white-space: nowrap;
}

a.ls__row:hover {
  color: var(--runnable);
  border-bottom-color: var(--line-soft);
}

a.ls__row:hover .ls__col--name,
a.ls__row:hover .ls__col--path {
  color: var(--runnable);
}

a.ls__row:hover .ls__col--desc,
a.ls__row:hover .ls__col--year {
  color: var(--text);
}

a.ls__row:focus-visible {
  outline: 1.5px solid var(--runnable);
  outline-offset: 2px;
  border-radius: 2px;
}

/* manifesto — short paragraph + `>` thesis lines, same prompt
   treatment as the hero so the two read as one voice. */
.manifesto {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  max-width: 36rem;
}

.manifesto__p {
  margin: 0 0 1.5em;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
}

.manifesto__lines {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.manifesto__line {
  margin: 0;
  position: relative;
  padding-left: 1.5em;
  color: var(--muted);
  font-weight: 300;
}

.manifesto__line::before {
  content: "> ";
  color: var(--runnable);
  font-weight: 500;
  position: absolute;
  left: 0;
  top: 0;
  user-select: none;
}

.manifesto__line + .manifesto__line {
  margin-top: 0.35em;
}

/* deco — the code.storage ~*~ divider, used once. */
.deco {
  margin: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  user-select: none;
}

/* foot additions for the Kuronaut home */
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em 0.6em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.foot__nav a {
  color: var(--muted);
}

.foot__nav a:hover {
  color: var(--runnable);
  border-bottom-color: transparent;
}

.foot__copy {
  margin: 0;
  text-align: center;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* mobile — stack the ls rows so the description, year, and
   path wrap below the name without losing the directory feel. */
@media (max-width: 560px) {
  .ls__row {
    grid-template-columns: 1.2em minmax(0, 1fr);
    gap: 0.2em 0.75em;
  }
  .ls__col--desc,
  .ls__col--year,
  .ls__col--path {
    grid-column: 2;
    font-size: 0.78rem;
  }
  .ls__col--year,
  .ls__col--path {
    display: inline;
  }
  .ls__col--year::after {
    content: " ";
  }
  .ls__col--path::before {
    content: "· ";
    color: var(--dim);
  }
}

/* reduced motion — covers the Kuronaut banner cursor too */
@media (prefers-reduced-motion: reduce) {
  .banner .cursor {
    animation: none !important;
  }
}

/* =============================================================
   doc — long-form document pages (privacy policy, etc.)
   - Slightly narrower measure than --measure (38rem) for reading
   - Static h2 headers (no typing animation; that's the Summon
     page's signature motion)
   - Reuses --bg, --text, --muted, --line, --runnable
   ============================================================= */

.mast__current {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.doc {
  max-width: 38rem;
}

.doc__title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
  letter-spacing: -0.01em;
}

.doc__meta {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.doc__meta strong {
  color: var(--muted);
  font-weight: 500;
}

.doc__lede {
  margin: 0 0 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
}

.doc__section {
  margin: 0 0 2rem;
}

.doc__section-title {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}

.doc__section p,
.doc__section ul,
.doc__section ol {
  margin: 0 0 1em;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
}

.doc__section p:last-child,
.doc__section ul:last-child,
.doc__section ol:last-child {
  margin-bottom: 0;
}

.doc__section ul,
.doc__section ol {
  padding-left: 1.25em;
}

.doc__section li {
  margin: 0 0 0.4em;
}

.doc__section li::marker {
  color: var(--muted);
}

.doc__section strong {
  font-weight: 500;
  color: var(--text);
}

.doc__section code {
  font-family: inherit;
  font-size: 0.85em;
  background: var(--bg-elev);
  padding: 0.1em 0.4em;
  border-radius: 2px;
  color: var(--runnable);
  white-space: nowrap;
}

.doc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1em 0 1.5em;
}

.doc__table th,
.doc__table td {
  text-align: left;
  padding: 0.55em 0.75em;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 400;
  vertical-align: top;
}

.doc__table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.doc__table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.82rem;
}

.doc__table tbody tr:last-child td {
  border-bottom: 0;
}

.doc__note {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .doc__table {
    font-size: 0.78rem;
  }
  .doc__table th,
  .doc__table td {
    padding: 0.5em 0.5em;
  }
  .doc__table td:first-child {
    font-size: 0.78rem;
    white-space: normal;
  }
}