/* Veroworks — single stylesheet for the whole reference.
   No imports, no external requests, no third-party code. */

:root {
  --paper:        #faf6ef;
  --paper-tint:   #f3ecdf;
  --paper-deep:   #eadfc9;
  --ink:          #241d17;
  --ink-soft:     #4c4038;
  --rule:         #d9cbb2;
  --rule-dark:    #b8a688;
  --terracotta:   #8f3a24;
  --terracotta-d: #6d2b18;
  --moss:         #2f5647;
  --radius:       2px;
  --serif:        Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:         system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.66;
  overflow-wrap: break-word;
}

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 50;
  font-family: var(--sans);
  font-size: .9rem;
}
.skip:focus { left: 0; }

/* ---------- headings and text ---------- */

h1, h2, h3, h4 {
  font-family: var(--sans);
  line-height: 1.22;
  color: var(--ink);
  margin: 2.4rem 0 .7rem;
  font-weight: 700;
}
h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  margin-top: 0;
  letter-spacing: -.015em;
}
h2 {
  font-size: clamp(1.28rem, 1.1rem + .8vw, 1.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
h3 { font-size: 1.12rem; margin-top: 1.9rem; }
h4 { font-size: 1rem; margin-top: 1.5rem; }

p, li { max-width: 40rem; }
p { margin: 0 0 1.05rem; }

a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--terracotta-d); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

ul, ol { padding-left: 1.3rem; margin: 0 0 1.05rem; }
li { margin-bottom: .45rem; }

strong { font-weight: 700; }

.lede { font-size: 1.12rem; color: var(--ink-soft); }
.kicker {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 .5rem;
  font-weight: 700;
}

/* ---------- header ---------- */

.site-head {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.head-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: .7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.brand:hover { color: var(--terracotta); }
.brand-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background: var(--terracotta);
  color: var(--paper);
  font-size: .72rem;
  line-height: 26px;
  text-align: center;
  letter-spacing: .02em;
  border-radius: var(--radius);
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  font-family: var(--sans);
  font-size: .85rem;
  background: var(--paper-tint);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  padding: .45rem .8rem;
  color: var(--ink);
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .95rem;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; max-width: none; }
.site-nav a {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .3rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- layout ---------- */

main { display: block; }

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.2rem 1.1rem 3rem;
}
.wrap-narrow { max-width: 47rem; }

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 2.6rem;
  align-items: start;
}

.rail { font-family: var(--sans); font-size: .88rem; position: sticky; top: 4.6rem; }
.rail h2, .rail h3 {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 0;
  padding: 0;
  margin: 0 0 .6rem;
  color: var(--ink-soft);
}
.rail ul { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.rail li { margin-bottom: .42rem; max-width: none; }
.rail a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--rule); }
.rail a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.crumbs {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.crumbs a { color: var(--ink-soft); }

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

.disclosure {
  border: 2px solid var(--terracotta);
  background: #fdf3ea;
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  margin: 2rem 0;
}
.disclosure h2, .disclosure h3 {
  border: 0;
  padding: 0;
  margin: 0 0 .5rem;
  font-size: 1rem;
  color: var(--terracotta-d);
}
.disclosure p:last-child { margin-bottom: 0; }

.paid-note {
  font-family: var(--sans);
  font-size: .86rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--terracotta);
  padding: .1rem 0 .1rem .7rem;
  margin: .7rem 0 1.4rem;
  max-width: 34rem;
}

.panel {
  background: var(--paper-tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  margin: 1.8rem 0;
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { border: 0; padding-top: 0; }

.panel-method { background: #eef2ee; border-color: #c4d1c8; }
.panel-watch  { background: #f7ede6; border-color: #e0c3b1; }

.example {
  border-left: 4px solid var(--moss);
  background: var(--paper-tint);
  padding: 1.1rem 1.25rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.example > :first-child { margin-top: 0; }
.example > :last-child { margin-bottom: 0; }
.example h3 { border: 0; margin-top: 0; }

.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  padding: .72rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--terracotta-d);
}
.cta:hover { background: var(--terracotta-d); color: #fff; }

/* definition lists */

.terms { margin: 1.5rem 0; }
.terms dt {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .98rem;
  margin-top: 1.25rem;
  scroll-margin-top: 5rem;
}
.terms dd { margin: .3rem 0 0; max-width: 40rem; }
.terms dd p { margin-bottom: .6rem; }

/* glossary strip */

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: .1rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  font-family: var(--sans);
  font-size: .9rem;
}
.strip li { margin: 0; border-bottom: 1px solid var(--rule); padding: .48rem 0; max-width: none; }

/* cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.cards li {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  background: var(--paper);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin: 0;
  max-width: none;
}
.cards h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.cards p { margin: 0; font-size: .95rem; color: var(--ink-soft); max-width: none; }

/* tables */

.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-family: var(--sans);
  font-size: .9rem;
}
caption {
  text-align: left;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink-soft);
  padding-bottom: .6rem;
}
th, td {
  border: 1px solid var(--rule);
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
}
thead th { background: var(--paper-deep); }
tbody th { background: var(--paper-tint); font-weight: 700; }

/* accordion */

.faq { margin: 1.6rem 0; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  padding: .95rem 2rem .95rem 0;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: .85rem;
  font-size: 1.25rem;
  color: var(--terracotta);
}
.faq-q[aria-expanded="true"]::after { content: "\2212"; }
.faq-a { padding: 0 0 .9rem; }
.faq-a[hidden] { display: none; }

/* checklist */

.checklist { list-style: none; padding: 0; }
.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .6rem;
}
.checklist li::before {
  content: "\2610";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 1.05rem;
  line-height: 1.5;
}

.sources { font-size: .95rem; }

hr.sep { border: 0; border-top: 1px solid var(--rule); margin: 2.4rem 0; }

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

.site-foot {
  border-top: 2px solid var(--ink);
  background: var(--paper-tint);
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
}
.foot-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.1rem 2.6rem;
}
.foot-inner p { max-width: 46rem; margin: 0 0 .75rem; }
.publisher { line-height: 1.55; }
.publisher .pub-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  display: block;
  margin-bottom: .15rem;
}
.publisher span { display: block; }
.foot-links { margin: 1.1rem 0; }
.foot-links a { color: var(--ink-soft); }
.trademark, .reviewed { font-size: .84rem; }
.reviewed { margin-bottom: 0; }

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

@media (max-width: 860px) {
  .columns { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .rail {
    position: static;
    border: 1px solid var(--rule);
    background: var(--paper-tint);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
  }
  .rail ul:last-child { margin-bottom: 0; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .head-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .site-nav { flex-basis: 100%; }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: .6rem; }
  .site-nav li { border-top: 1px solid var(--rule); }
  .site-nav a { display: block; padding: .6rem 0; border-bottom: 0; }
  table { min-width: 28rem; }
}

@media print {
  .site-head, .rail { display: none; }
}
