/* Shared styles for /privacy, /terms and /support. Tokens match index.html. */
:root {
  --oat: #f6f2ea;
  --crust: #fffdf8;
  --husk: #e4ddd0;
  --ink: #1e2a22;
  --ink-soft: #4a5048;
  --stone: #5e635a;
  --forest: #1f5c3f;
  --forest-deep: #163f2c;
  --forest-tint: #ddeae1;
  --carbs: #e8a93a;
  --warn-tint: #f7e3bc;
  --warn-ink: #4a3510;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --r-card: 24px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: var(--forest);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--forest-deep);
}
:focus-visible {
  outline: 3px solid var(--carbs);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--oat);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.back:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}
h1 {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 24px 0 8px;
}
h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 44px 0 10px;
  scroll-margin-top: 16px;
}
h3 {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 26px 0 6px;
  scroll-margin-top: 16px;
}
p,
ul,
ol {
  margin: 0 0 14px;
  text-wrap: pretty;
}
ul,
ol {
  padding-left: 1.3em;
}
li {
  margin: 0 0 6px;
}
strong {
  font-weight: 700;
}
.meta {
  color: var(--stone);
  font-size: 15px;
  margin: 0 0 20px;
}
.lede {
  font-size: 19px;
  color: var(--ink-soft);
}
.summary {
  background: var(--crust);
  border: 1px solid var(--husk);
  border-radius: var(--r-card);
  padding: 20px 24px 8px;
  margin: 24px 0 8px;
}
.summary h2 {
  margin-top: 0;
  font-size: 20px;
}
.note {
  background: var(--warn-tint);
  color: var(--warn-ink);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 16px;
  margin: 18px 0;
}
.note a {
  color: var(--warn-ink);
}
.toc {
  border-top: 1px solid var(--husk);
  border-bottom: 1px solid var(--husk);
  padding: 16px 0 6px;
  margin: 28px 0 8px;
}
.toc p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.toc ol {
  columns: 2 18em;
  column-gap: 32px;
  font-size: 16px;
}
.toc li {
  break-inside: avoid;
}
.path {
  font-weight: 600;
  white-space: nowrap;
}
.contact-card {
  background: var(--forest-tint);
  border-radius: var(--r-card);
  padding: 22px 24px 10px;
  margin: 24px 0;
}
.contact-card h2 {
  margin-top: 0;
}
.contact-card .email {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 4.6vw, 24px);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

/* processor table: a table on wide screens, stacked cards on phones */
.table-wrap {
  margin: 12px 0 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--husk);
}
th {
  font-weight: 700;
  color: var(--ink);
  background: var(--crust);
}
td:first-child {
  font-weight: 700;
}
@media (max-width: 640px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  tr {
    background: var(--crust);
    border: 1px solid var(--husk);
    border-radius: 16px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }
  td {
    border: 0;
    padding: 6px 0;
  }
  td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--stone);
  }
}

/* footer, same look as index.html */
footer {
  border-top: 1px solid var(--husk);
  padding: 28px 0 40px;
  font-size: 15px;
  color: var(--stone);
}
.foot-row {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
}
.foot-row p {
  margin: 0;
}
.foot-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.foot-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}
.foot-row a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-row a[aria-current='page'] {
  color: var(--ink);
}
