/* JobSorted Terms and Privacy pages. */
:root {
  --orange: #F66C12;
  --orange-deep: #DC5A06;
  --orange-text: #A94300;
  --brown: #2A1206;
  --brown-2: #3A1B0C;
  --cream: #FCF0E4;
  --paper: #FFFAF4;
  --white: #FFFFFF;
  --mute: #6D5244;
  --mute-on-dark: #D9C3B3;
  --rule: rgb(42 18 6 / 0.14);
  --fill: rgb(249 194 60 / 0.6);
  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--brown); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding-inline: 20px; }

/* Header and menu: nav.css */

/* Title band */
.band { background: var(--orange); overflow: hidden; }
.band-in { padding-top: 48px; }
.band-text { padding-bottom: 44px; }
.kicker { margin: 0 0 12px; font: 700 14px/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font: 800 clamp(40px, 6vw, 68px)/1 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.updated { margin: 14px 0 0; font-weight: 600; font-size: 15px; }

/* Contents on the left, the document on the right */
.doc-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 48px 96px; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.toc summary { cursor: pointer; font: 800 18px/1.2 var(--display); }
.toc-label { margin: 0 0 8px 10px; font: 800 18px/1.2 var(--display); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; line-height: 1.35; color: var(--mute); }
.toc a b { color: var(--orange-text); font-weight: 700; }
.toc a:hover { background: rgb(42 18 6 / 0.06); color: var(--brown); }

article { min-width: 0; max-width: 72ch; }
.short { margin-bottom: 8px; padding: 26px 28px; border-radius: 18px; background: var(--brown); color: var(--cream); }
.short h2 { margin: 0 0 16px; font: 800 26px/1.1 var(--display); color: var(--white); }
.short ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.short li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.short li::before { content: ''; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.short strong { color: var(--white); }
.short .note { margin: 18px 0 0; font-size: 14px; color: var(--mute-on-dark); }

article section { margin-top: 36px; padding-top: 6px; border-top: 2px solid var(--rule); scroll-margin-top: 90px; }
article h2 { margin: 18px 0 12px; font: 800 28px/1.15 var(--display); text-wrap: balance; }
article h2 .n { color: var(--orange-deep); margin-right: 4px; }
article h3 { margin: 24px 0 6px; font: 700 20px/1.25 var(--display); }
article p { margin: 0 0 14px; }
article ul, article ol { margin: 0 0 16px; padding-left: 24px; display: grid; gap: 8px; }
article li::marker { color: var(--orange-deep); font-weight: 700; }
article section a { color: var(--orange-text); font-weight: 600; }
.inshort { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--paper); }
.inshort b { margin-right: 4px; font-family: var(--display); font-weight: 800; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font: 800 15px/1.3 var(--display); background: rgb(246 108 18 / 0.1); }
tr:last-child td { border-bottom: 0; }
.fill { padding: 0 4px; border-radius: 4px; background: var(--fill); font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

footer { background: var(--brown); color: var(--mute-on-dark); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 28px; }
.foot b { color: var(--cream); font: 800 20px/1 var(--display); }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--cream); }

@media (min-width: 961px) { .toc summary { display: none; } }
@media (max-width: 960px) {
  .doc-in { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .toc { position: static; max-height: none; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
  .toc-label { display: none; }
  .toc ol { margin-top: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band-text { padding-bottom: 32px; }
  .short { padding: 22px 20px; }
  article h2 { font-size: 24px; }
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  table { min-width: 0; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
  td { padding: 5px 0; border: 0; }
  td::before { content: attr(data-label); display: block; font: 800 12px/1.3 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-text); }
}
