/* Direction A1 "Week Sheet" for text pages (terms, privacy). thanks.html has its own styles.
   Styles growth's plain markup without changing it: header > a, main, section, footer. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #ECECE9;
  --ink: #16181C;
  --rule: #C9CAC6;
  --soft: #4E5157;
  --signal: #E2462C;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

header { border-bottom: 1px solid var(--ink); }
header, main, footer { padding-left: max(16px, calc((100% - 760px) / 2)); padding-right: max(16px, calc((100% - 760px) / 2)); }

header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

header a::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M20 5L36 13L20 21L4 13Z' stroke='%2316181C' stroke-width='1.5' opacity='0.3'/%3E%3Cpath d='M20 12L36 20L20 28L4 20Z' stroke='%2316181C' stroke-width='1.5' opacity='0.6'/%3E%3Cpath d='M20 19L36 27L20 35L4 27Z' fill='%2316181C' stroke='%2316181C' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

main { padding-top: 56px; padding-bottom: 64px; }

h1 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  margin-bottom: 20px;
}

main > p { max-width: 38em; margin-bottom: 16px; }

section { border-top: 1px solid var(--ink); padding: 28px 0 0; margin-top: 28px; }
section > :last-child { margin-bottom: 0; }

h2 {
  font-stretch: 112%;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

section p { margin-bottom: 12px; max-width: 38em; }

ol, ul { margin: 0 0 12px; padding-left: 0; list-style: none; max-width: 38em; }
li { padding: 10px 0 10px 36px; border-bottom: 1px solid var(--rule); position: relative; }
li:last-child { border-bottom: 0; }
ul li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 2px; background: var(--ink); }
ol { counter-reset: item; }
ol li { counter-increment: item; }
ol li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--soft); }

strong { font-weight: 700; }

footer { border-top: 1px solid var(--ink); padding-top: 24px; padding-bottom: 40px; }
footer p { font-family: var(--font-mono); font-size: 12px; color: var(--soft); }
