/* anossa.app: one small stylesheet, fonts served from this site (no third parties). */
@font-face { font-family: Fraunces; src: url('/fonts/Fraunces_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Figtree; src: url('/fonts/Figtree_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url('/fonts/Figtree_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #FBF8FD;
  --panel: #F4EEF8;
  --text: #2A1A33;
  --muted: #6B5578;
  --border: #E2D6EA;
  --primary: #4A2C5E;
  --on-primary: #FFF1E6;
  --accent: #B4561E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17101C;
    --panel: #241A2C;
    --text: #F4EEF8;
    --muted: #BBA9C8;
    --border: #3A2B45;
    --primary: #D9C2EC;
    --on-primary: #2A1A33;
    --accent: #FFB07C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.55 Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
main { max-width: 640px; margin: 0 auto; padding: 40px 16px 64px; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: 40px; }
h2 { font-size: 24px; margin-top: 32px; }
p { margin: 0 0 14px; }
a { color: var(--primary); font-weight: 600; }
.muted { color: var(--muted); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; text-decoration: none; color: var(--text); }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.brand span { font-family: Fraunces, Georgia, serif; font-size: 26px; font-weight: 700; }
.panel { background: var(--panel); border-radius: 20px; padding: 20px; margin: 20px 0; }
.code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 30px; letter-spacing: 4px; font-weight: 600;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 12px 16px; text-align: center; margin: 12px 0; word-break: break-all;
}
.button {
  display: block; text-align: center; text-decoration: none;
  background: var(--primary); color: var(--on-primary);
  border-radius: 16px; padding: 16px; font-weight: 600; margin: 12px 0;
}
ul.promises { padding-left: 20px; }
ul.promises li { margin-bottom: 8px; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.form label.choice { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form input:not([type]), .form input[type=email], .form textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form input[type=radio], .form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--primary); }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { font-weight: 600; margin-bottom: 6px; }
.form .button { border: 0; font: inherit; font-weight: 600; cursor: pointer; width: 100%; }
.form .button:disabled { opacity: 0.6; }
.hidden { position: absolute; left: -9999px; }
.problem { color: var(--accent); font-weight: 600; }
.small { font-size: 15px; }
[hidden] { display: none !important; }
h2.first { margin-top: 0; }
