/* Self-hosted fonts (latin + latin-ext subsets, SIL OFL). Browsers only download a face
   when text on the page uses it, so each page fetches just what it needs. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Shared styles for legal/policy pages (privacy, terms, data-delete).
   Tokens mirror styles.css so the wordmark and palette match the main site. */
:root {
  --paper: #fff;
  --ink: #202222;
  --muted: #686b68;
  --line: #e1e3df;
  --accent: #6c5cbd;
  --sans: 'DM Sans', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #dfd8f8; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 92px;
  max-width: 1440px; margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-size: 29px; font-weight: 700; letter-spacing: -1.5px; }
.brand-light { font-weight: 400; }
.brand-period { color: var(--accent); }
nav { display: flex; align-items: center; gap: 35px; }
nav > a { font-size: 12px; color: var(--ink); text-decoration: none; position: relative; }
nav > a::after { content: ''; position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
nav > a:hover::after { transform: scaleX(1); }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 6vw 90px;
}
main h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.08;
  margin-bottom: 10px;
}
main .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}
main h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.5px;
  margin: 36px 0 12px;
}
main p { color: var(--muted); margin-bottom: 16px; }
main ul { color: var(--muted); margin: 0 0 16px 20px; }
main li { margin-bottom: 6px; }
main strong { color: var(--ink); font-weight: 600; }

footer {
  max-width: 1440px; margin: 0 auto;
  padding: 24px 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line);
}
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }

.delete-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-top: 12px;
  background: #fafbf8;
}
.delete-note a.email {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}

/* Language menu on the translated cookies page. */
.lang-switch { position: relative; }
.lang-switch summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: #f7f7f3; }
.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px #2022221f; }
.lang-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-menu a:hover { background: #f7f7f3; }
.lang-menu a[aria-current] { font-weight: 600; }
.lang-menu a[aria-current]::after { content: ''; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--accent); }

/* Scripts the brand font does not cover use system faces; the wordmark stays DM Sans. */
html:is([lang="ru"], [lang="uk"], [lang="vi"]) { --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
html[lang="ja"] { --sans: system-ui, -apple-system, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, 'Noto Sans JP', sans-serif; }
html[lang="ko"] { --sans: system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="zh-Hans"] { --sans: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
html[lang="zh-Hant"] { --sans: system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif; }
.brand { font-family: 'DM Sans', system-ui, sans-serif; }
html:is([lang="ja"], [lang="ko"], [lang^="zh"]) main h1 { letter-spacing: 0; }

@media (max-width: 600px) {
  html { -webkit-text-size-adjust: 100%; }
  header { height: 72px; }
  .brand { font-size: 24px; min-height: 44px; }
  nav { gap: 0; }
  nav > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; }
  nav > a::after { left: 12px; right: 12px; bottom: 8px; }
  .nav-apps { display: none !important; }
  main { padding: 40px 6vw 64px; }
  main h1 { font-size: 34px; }
  main h2 { font-size: 20px; }
  main li { margin-bottom: 10px; }
  footer { font-size: 14px; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .cookie-settings { min-height: 44px; }
  .lang-switch summary { min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; }
  .lang-menu { position: fixed; left: 12px; right: 12px; top: 72px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: calc(100vh - 96px); overflow-y: auto; }
  .lang-menu a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* /cookies/: lets a visitor change their analytics choice. */
.cookie-settings { margin-top: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); cursor: pointer; }
.cookie-settings:hover { background: #3a3d3d; }
.cookie-settings:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
