@font-face {
  font-family: "Inter";
  src: url("/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --soft: #f5f5f5;
  --line: #ebebeb;
  --text: #1e2022;
  --muted: #5f6366;
  --faint: #8e9295;
  --ink: #000000;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121314; --soft: #1b1c1e; --line: #2a2c2e;
    --text: #ececec; --muted: #a7abae; --faint: #7c8083; --ink: #ffffff;
  }
}
:root[data-theme="dark"] {
  --bg: #121314; --soft: #1b1c1e; --line: #2a2c2e;
  --text: #ececec; --muted: #a7abae; --faint: #7c8083; --ink: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

.label { font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.brand img { width: 48px; height: 48px; }
nav { display: flex; gap: 28px; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: invert(1) grayscale(1) brightness(1.4); }
}

main { padding: 72px 0 96px; }

/* Home */
.hero { text-align: center; }
.hero .label { color: var(--faint); margin: 0 0 18px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 16em; color: var(--ink); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 auto 36px; }

.button {
  display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none;
  padding: 15px 34px; font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
}
.button:hover { opacity: .85; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 88px 0 0; }
.tile { background: var(--soft); padding: 36px 28px 40px; }
.tile .label { color: var(--faint); margin: 0 0 14px; }
.tile h3 { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.tile p { margin: 0; color: var(--muted); }

.notice { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 72px auto 0; padding: 32px 0; text-align: center; color: var(--muted); max-width: 720px; }
.notice .label { color: var(--text); margin: 0 0 10px; }
.notice p { margin: 0; }

/* Legal pages */
article .label { color: var(--faint); margin: 0 0 14px; }
article h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 10px; color: var(--ink); }
article .updated { color: var(--faint); font-size: 14px; margin: 0 0 48px; }
article h2 { font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; margin: 44px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); }
article p, article li { color: var(--muted); }
article strong { color: var(--text); font-weight: 600; }
article ul { padding-left: 18px; margin: 10px 0; }
article li { margin: 6px 0; }

/* Footer */
footer.site { background: var(--soft); }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 36px; padding-bottom: 44px; color: var(--muted); font-size: 14px; }
footer.site .brandmini { margin-right: auto; font-weight: 600; color: var(--ink); }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 560px) {
  .brand { font-size: 21px; }
  .brand img { width: 40px; height: 40px; }
  main { padding-top: 48px; }
  .tiles { margin-top: 56px; }
}
