:root {
  color-scheme: light;
  --surface: #f7f2ec;
  --raised: #fffaf4;
  --data-bg: #dbe9e8;
  --ink: #1d2529;
  --soft: #5b656a;
  --muted: #7b858a;
  --line: #6f4e372e;
  --accent: #6f4e37;
  --accent-strong: #573b29;
  --data: #287c84;
  --radius: 8px;
  --shadow: 0 24px 70px #6f4e3724;
  --sans: "Aptos", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Aptos Display", "SF Pro Display", Aptos, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.55 var(--sans);
  color: var(--ink);
  background: var(--surface);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: 0.55; cursor: default; }
a { color: var(--data); }
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--accent-strong);
  color: #fffaf4;
  border-bottom: 1px solid #ffffff14;
}
.bar-inner, .wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { width: 38px; height: 38px; display: block; }
.brand strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -0.04em; font-weight: 650; }
.brand small { display: block; margin-top: 1px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fffaf4b8; }
.lang { display: flex; padding: 3px; border: 1px solid #ffffff30; border-radius: 8px; background: #ffffff10; }
.lang button { border: 0; background: transparent; color: #fffaf4d0; border-radius: 6px; padding: 7px 12px; }
.lang button.on { background: #fffaf4; color: var(--accent-strong); }
.site-foot { border-top: 1px solid var(--line); margin-top: 28px; }
.site-foot .wrap { display: grid; gap: 22px; padding: 28px 0 18px; }
@media (min-width: 800px) {
  .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-foot strong { font-family: var(--display); letter-spacing: -0.03em; }
.site-foot p, .site-foot li { color: var(--soft); font-size: 14px; }
.site-foot ul { list-style: none; margin: 8px 0 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { color: var(--data); }
.copy { color: var(--muted); font-size: 12px; padding-bottom: 22px; }
.legal { width: min(760px, calc(100% - 40px)); margin: 28px auto 8px; }
.legal h1 { font-family: var(--display); font-size: 36px; letter-spacing: -0.04em; margin: 0 0 8px; }
.legal h2 { font-size: 18px; margin: 22px 0 8px; }
.legal p { margin: 0 0 10px; }
.note { background: var(--data-bg); border-radius: var(--radius); padding: 12px 14px; color: var(--ink); }
.modal-back {
  position: fixed; inset: 0; z-index: 40;
  background: #32261fcc;
  display: grid; place-items: center;
  padding: 20px;
}
.modal {
  width: min(480px, 100%);
  background: var(--raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.modal h2 { font-family: var(--display); font-size: 26px; letter-spacing: -0.04em; margin: 0; }
.modal label { display: block; font-size: 13px; color: var(--soft); margin: 12px 0 6px; }
.modal input, .modal textarea {
  width: 100%; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); padding: 11px 12px;
}
.modal textarea { min-height: 120px; resize: vertical; }
.modal .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.primary { border: 0; border-radius: var(--radius); background: var(--accent); color: #fffaf4; padding: 11px 16px; }
.primary:hover { background: var(--accent-strong); }
.ghost { border: 1px solid var(--line); background: transparent; border-radius: var(--radius); padding: 10px 14px; }
.status { min-height: 1.3em; color: var(--soft); font-size: 14px; }
.status.error { color: #8a3d12; }
.hidden { display: none; }
.linkish { border: 0; background: none; color: var(--ink); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
