.basics-main {
  max-width: 800px;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  font-size: 18px;
  line-height: 1.75;
}

.basics-main h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.basics-main h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.basics-main p { margin: 0 0 1.25rem; }
.basics-main a { overflow-wrap: anywhere; }
.basics-main .lead { max-width: none; font-size: 1.15rem; line-height: 1.7; }
.basics-main .answer { border-block: 1px solid var(--line-strong); padding-block: 1.4rem; }
.basics-main .example { background: var(--surface); padding: 1.1rem; border-left: 3px solid var(--brand-end); margin-block: 1.25rem; }
.basics-main .example small { display: block; color: var(--muted); margin-top: 0.5rem; }

.basics-main table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  margin-block: 1.4rem;
  font-size: 15px;
  line-height: 1.6;
}

.basics-main caption { text-align: left; font-weight: 700; margin-bottom: 0.6rem; }
.basics-main th, .basics-main td { text-align: left; vertical-align: top; padding: 12px; border: 1px solid var(--line-strong); overflow-wrap: anywhere; }
.basics-main th { background: var(--surface); }
.basics-main thead th:first-child { width: 25%; }
.basics-main .two-columns thead th:first-child { width: 32%; }
.basics-main li { margin-bottom: 0.75rem; }
.basics-main ul, .basics-main ol { padding-left: 24px; }
.basics-main code { font-size: 0.9em; overflow-wrap: anywhere; }
.basics-main details { border: 1px solid var(--line-strong); padding: 1rem; margin-block: 1.5rem; }
.basics-main summary { cursor: pointer; font-weight: 700; }
.basics-main details[open] summary { margin-bottom: 1rem; }
.basics-main summary:focus-visible { outline: 3px solid var(--brand-end); outline-offset: 5px; }
.basics-main .sources, .basics-related { color: var(--muted); font-size: 15px; border-top: 1px solid var(--line-strong); margin-top: 2.6rem; padding-top: 0.5rem; }
.basics-related h2 { font-size: 1.4rem; margin-top: 1.5rem; }

@media (max-width: 520px) {
  .basics-main { font-size: 17px; }
  .basics-main th, .basics-main td { padding: 8px; font-size: 14px; }
  .basics-main thead th:first-child { width: 26%; }
  .basics-main .two-columns thead th:first-child { width: 32%; }
}
