/* Privacy and Terms pages (site/privacy, site/terms). Read mode: one calm column, a contents list, the
   short version up front in a sun-gold block. Same world as the landing page. */
@font-face {
  font-family: "Gabarito";
  src: url("/assets/gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --ink: #14193A;
  --ink-soft: #3B4170;
  --ink-mute: #646888;
  --lilac: #CFC6FA;
  --lilac-deep: #B4A8F5;
  --lilac-ink: #2C2470;
  --cobalt: #1F45E6;
  --cobalt-soft: #DCE3FF;
  --sun: #FFC531;
  --sun-ink: #4D3500;
  --mist: #F5F3FC;
  --line: #E3E0F2;
  --display: "Gabarito", ui-rounded, system-ui, sans-serif;
  --text: -apple-system, "SF Pro Text", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--mist); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; scroll-padding-top: 24px; scrollbar-color: var(--lilac-deep) transparent; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
[data-sun] { display: block; }
[data-sun] svg { overflow: visible; }

/* header: the lilac field */
.head { background: var(--lilac); border-radius: 0 0 34px 34px; padding: calc(18px + env(safe-area-inset-top)) 24px 40px; }
.head-in { max-width: 1120px; margin: 0 auto; display: grid; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; justify-self: start; }
.mark [data-sun] { width: 32px; height: 32px; }
.mark:hover { color: var(--ink); }
.head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 9vw, 80px); line-height: .96; letter-spacing: -0.03em; }
.head .meta { font-size: 15px; font-weight: 600; color: var(--lilac-ink); margin-top: 12px; }
.head .meta a { color: inherit; }

/* the short version */
.short { background: var(--sun); color: var(--sun-ink); border-radius: 26px; padding: 22px 22px 24px; display: grid; gap: 12px; max-width: 760px; }
.short h2 { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -0.01em; color: var(--ink); }
.short ul { padding-left: 20px; display: grid; gap: 8px; font-size: 16.5px; line-height: 1.45; font-weight: 500; }
.short b { color: var(--ink); }

/* body */
.wrap { max-width: 1120px; margin: 0 auto; padding: 44px 24px 80px; display: grid; gap: 40px; }
.toc { display: none; }
article { max-width: 68ch; font-size: 17px; line-height: 1.6; color: var(--ink); }
article section { padding-top: 8px; }
article section + section { margin-top: 40px; }
article h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 14px; }
article h3 { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.2; margin: 24px 0 8px; }
article p + p, article p + ul, article ul + p, article p + table, article table + p, article ul + ul { margin-top: 12px; }
article ul { padding-left: 22px; display: grid; gap: 6px; }
article li::marker { color: var(--ink-mute); }
article strong { font-weight: 700; }
article .note { background: #fff; border-radius: 20px; padding: 16px 18px; font-size: 16px; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; margin-top: 14px; background: #fff; border-radius: 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; }
th { font-weight: 700; font-size: 13px; color: var(--ink-soft); background: #fff; }
tr + tr td, tbody tr:first-child td { border-top: 1px solid var(--line); }
td:first-child { font-weight: 700; white-space: nowrap; }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 22px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

@media (min-width: 960px) {
  .head { padding: 26px 48px 48px; }
  .wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 56px 48px 96px; }
  .toc { display: block; position: sticky; top: 24px; align-self: start; }
  .toc b { display: block; font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
  .toc ol { list-style: none; padding: 0; display: grid; gap: 2px; }
  .toc a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 10px; font-size: 14.5px; line-height: 1.35; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
  .toc a:hover { background: #fff; color: var(--ink); }
  .toc a[aria-current="true"] { background: var(--cobalt-soft); color: var(--cobalt); }
  .foot-in { padding: 24px 48px 32px; }
}
@media print {
  .head { background: none; padding: 0 0 16px; }
  .toc, .foot { display: none; }
  .short { border: 1px solid #999; }
  a { color: inherit; }
}
