@font-face {
  font-family: "Nekori Sans";
  src: url("/assets/fonts/opensans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nekori Sans";
  src: url("/assets/fonts/opensans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nekori Display";
  src: url("/assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #17171c;
  --surface: #212128;
  --surface-hover: #282831;
  --text: #f2f2f6;
  --muted: #9494a3;
  --line: #2a2a33;
  --line-strong: #3a3a46;
  --accent: #f4b4c8;
  --danger: #f59b9b;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Nekori Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -30vh 0 auto;
  height: 80vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(244, 180, 200, .08), transparent 70%);
  pointer-events: none;
}

.legal {
  position: relative;
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.legal.wide { width: min(100% - 2rem, 68rem); }

.wordmark {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: 2rem;
}

.wordmark::after {
  content: "";
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-left: .45rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: .1em;
}

h1 { font-size: 1.7rem; line-height: 1.2; letter-spacing: -.03em; margin: 1.8rem 0 .7rem; }
h2 { font-size: 1.12rem; margin: 1.8rem 0 .5rem; }
p, li { color: #d6d6df; }
ul { padding-left: 1.2rem; }
li { margin: .3rem 0; }
a { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.meta { color: var(--muted); font-size: .82rem; }

.card {
  margin: 1.2rem 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface);
}

.notice {
  padding: .7rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: .55rem;
  background: var(--surface-hover);
}
.notice.error { border-color: var(--danger); color: var(--danger); }

.row { display: flex; gap: .6rem; align-items: center; }
.stack { display: flex; flex-direction: column; gap: .8rem; }
.inline { display: flex; gap: .4rem; flex-wrap: wrap; }

label { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .84rem; }

input, textarea, button {
  font: inherit;
  color: var(--text);
  background: #0f0f12;
  border: 1px solid var(--line-strong);
  border-radius: .45rem;
  padding: .55rem .7rem;
}

input:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

input[type="search"] { flex: 1; }
textarea { resize: vertical; }

button {
  cursor: pointer;
  background: var(--accent);
  color: #07100c;
  border-color: var(--accent);
  font-weight: 600;
}

button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #18080b;
}

table { width: 100%; border-collapse: collapse; margin-top: .9rem; font-size: .86rem; }
th, td { text-align: left; padding: .5rem .45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
pre { white-space: pre-wrap; word-break: break-word; color: #d6d6df; }
code { font-size: .86em; }

table.details th { width: 12rem; color: var(--muted); }

/* Headings use the same display face as the rest of the site. */
h1, h2, h3, .wordmark { font-family: "Nekori Display", "Nekori Sans", ui-sans-serif, system-ui, sans-serif; }
