/* Simple layout for /terms and /privacy */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root { --dark: #12101D; --muted: #6F6E83; --line: #E4E3EC; --blue: #305CDE; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--dark); font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.top img { height: 28px; width: auto; display: block; }
.top a.back { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); }
.top a.back:hover { color: var(--dark); }

main { padding: 56px 0 80px; }
h1 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.meta { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.intro { margin: 28px 0 0; color: var(--muted); }

.toc { margin: 36px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #FAFAFC; }
.toc p { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.25; font-weight: 600; }
h2 span { color: var(--muted); font-weight: 500; margin-right: 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 14px; }
dt { color: var(--muted); }
dd { margin: 0; }

/* placeholders to fill in before publishing */
mark { background: #FFF1C9; color: inherit; padding: 0 4px; border-radius: 4px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  main { padding: 40px 0 64px; }
  .toc ol { columns: 1; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 8px; }
}
