/* Thirty support site. Static, no third-party requests (the privacy page
   promises no tracking, so the page itself loads nothing from elsewhere). */

:root {
  --paper: #faf7f3;
  --ink: #111110;
  --ink-soft: #55534f;
  --rule: rgba(17, 17, 16, 0.14);
  --accent: #a64a33;
  --numeral: "Didot", "Bodoni 72", "Bodoni MT", "Noto Serif Display", serif;
  --text: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151514;
    --ink: #eee9e1;
    --ink-soft: #b3aea6;
    --rule: rgba(238, 233, 225, 0.16);
    --accent: #e0896f;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

@media (min-width: 640px) {
  .wrap { padding: 2rem 2rem 5rem; }
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  margin-bottom: 2.5rem;
}

.mark {
  font-family: var(--numeral);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--ink);
  text-decoration: none;
}

.lang {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .mark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

h2 {
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 650;
  margin: 2.5rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.lead { font-size: 1.1875rem; }

.faq dt {
  font-weight: 650;
  margin-top: 1.75rem;
}
.faq dd { margin: 0.35rem 0 0; }

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Home page only */
.hero-numeral {
  font-family: var(--numeral);
  font-size: clamp(8rem, 38vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 1rem 0 1.5rem -0.04em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2rem;
  font-weight: 550;
}
