/* login.itsmias.com: the portals' dusk palette, with the fonts served from here. */
/* Minecraft's default font, subset from github.com/tryashtar/minecraft-ttf v1.6. It has 12 pixels per em: sizes in steps of 12px (.75rem, 1.5rem, 2.25rem) stay sharp. */
@font-face { font-family: "Mojangles"; font-weight: 400; font-display: swap; src: url(fonts/mojangles-ext.woff2) format("woff2"); unicode-range: U+0100-02FF, U+0370-052F, U+1D00-1FFF, U+2000-20CF; }
@font-face { font-family: "Mojangles"; font-weight: 400; font-display: swap; src: url(fonts/mojangles-latin.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 700; font-display: swap; src: url(fonts/schibsted-grotesk-v7-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 700; font-display: swap; src: url(fonts/schibsted-grotesk-v7-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; }
:root {
  --bg: #f4f2fa; --card: #ffffff; --field: #f8f6fc; --text: #1c1631; --muted: #665f80; --line: #e3ddf0;
  --accent: #c2410c; --accent-hover: #9a3412; --accent-ink: #ffffff; --link: #b13b0b;
  --ok: #15803d; --err: #c62828;
  --shadow: 0 1px 2px rgb(28 22 49 / .05), 0 10px 30px -18px rgb(28 22 49 / .25);
  --display: "Mojangles", "Schibsted Grotesk", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15112a; --card: #1f1938; --field: #19142f; --text: #f1ecff; --muted: #a69dc8; --line: #322a54;
    --accent: #ff8a3d; --accent-hover: #ffa262; --accent-ink: #1e1206; --link: #ffb07a;
    --ok: #4ade80; --err: #ff7a7a;
    --shadow: 0 1px 2px rgb(0 0 0 / .25), 0 14px 34px -20px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font: 400 15px/1.55 "Schibsted Grotesk", system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0; font-weight: 700; }
h2 { font-size: 1.05rem; font-weight: 650; margin: 2.25rem 0 .75rem; }
.display { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.muted { color: var(--muted); margin: 0; }
.small { font-size: .85rem; }

.topbar { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 24px; min-height: 60px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-name { font-weight: 700; font-size: 1rem; }

main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 36px 16px 72px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
/* ---- privacy ---- */
.prose { padding: 36px 40px; line-height: 1.7; }
.prose h1 { font-family: var(--display); font-weight: 400; font-size: 2.25rem; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.prose h2 { margin: 30px 0 8px; }
.prose p, .prose li { max-width: 72ch; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin-bottom: 4px; }

@media (max-width: 560px) {
  .topbar { padding: 10px 16px; }
  .prose { padding: 24px 18px; }
}
