/* Named distinctly from "ABC Diatype" (the paid, non-Edu cut some machines have
   installed as a system font) so font matching can't ever substitute it in
   place of these Edu files. */
@font-face {
  font-family: 'ABCDiatypeEduWeb';
  src: url('/assets/fonts/ABCDiatypeEdu-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'ABCDiatypeEduWeb';
  src: url('/assets/fonts/ABCDiatypeEdu-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'ABCDiatypeEduWeb';
  src: url('/assets/fonts/ABCDiatypeEdu-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --background: #1A1820;
  --background-tint: #2A1F3D;
  --text-primary: rgba(255, 255, 255, 0.93);
  --text-secondary: rgba(255, 255, 255, 0.60);
  --text-tertiary: rgba(255, 255, 255, 0.35);
  --accent-lightest: #A899E8;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: radial-gradient(120% 100% at 50% 0%, var(--background-tint) 0%, var(--background) 55%);
  color: var(--text-primary);
  font-family: 'ABCDiatypeEduWeb', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

/* ---- Landing ---- */

.landing {
  justify-content: center;
  text-align: center;
  gap: 28px;
}

.logo {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.wordmark {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(168, 153, 232, 0.16);
  color: var(--accent-lightest);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.banner .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lightest);
}

.tagline {
  max-width: 340px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
}

.footer {
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer a {
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover {
  color: var(--text-secondary);
}

/* ---- Legal ---- */

.legal {
  align-items: stretch;
  padding: 0 0 64px;
}

.legal-header {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-header img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.legal-header .name {
  font-size: 15px;
  font-weight: 700;
}

.legal-body {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}

.legal-body h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.legal-body .updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.legal-body a.back {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
