@font-face {
  font-family: "Azo Sans";
  src: url("AzoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azo Sans";
  src: url("AzoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("DMSans-Latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --brand: #8f3cf3;
  --brand-hover: #792bd9;
  --link: #c9a6ff;
  --surface: #131313;
  --line: #343039;
  --text: #ffffff;
  --muted: #bdb8c5;
}
html { background: #080808; scroll-behavior: smooth; }
body.kriol-public {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 700px 380px at 50% 0, #241137 0%, #080808 85%);
  color: var(--text);
  font: 400 16px/1.65 "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  scrollbar-color: #51465e #080808;
}
::selection { color: #fff; background: #69309f; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #51465e; border: 2px solid #080808; border-radius: 8px; }
.brand-shell { width: min(100% - 40px, 680px); margin: 0 auto; padding: 44px 0 28px; }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 4px 32px; }
.brand-logo { display: inline-flex; padding: 8px 0; }
.brand-logo img { display: block; width: 160px; height: auto; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; color: var(--muted); }
.kriol-public .brand-panel {
  width: 100%; max-width: none; margin: 0;
  padding: 48px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: none;
}
.kriol-public h1, .kriol-public h2, .kriol-public h3 {
  font-family: "Azo Sans", Arial, sans-serif;
  color: var(--text); letter-spacing: -0.03em; font-weight: 400;
  text-wrap: balance;
}
.kriol-public h1 { margin: 0 0 20px; font-size: clamp(36px, 5vw, 48px); line-height: 1.12; }
.kriol-public h2 { margin: 0 0 24px; font-size: 32px; line-height: 1.2; }
.kriol-public h3 { margin: 28px 0 14px; font-size: 21px; line-height: 1.35; }
.heading-secondary { color: var(--muted); }
.kriol-public .intro { margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 60ch; }
.kriol-public p { color: var(--muted); }
.kriol-public a { color: var(--link); text-decoration-color: currentColor; text-underline-offset: 4px; }
.kriol-public a:hover { color: #fff; }
.kriol-public :focus-visible { outline: 3px solid #d7baff; outline-offset: 5px; }
.kriol-public main:focus { outline: none; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px 20px; background: #131313; z-index: 10; }
.skip-link:focus { top: 10px; }
.kriol-public label, .kriol-public legend { color: #eeeaf4; font-size: 15px; font-weight: 500; }
.field { margin: 0 0 22px; }
.field > label, .manage-form label:not([for]) { display: block; margin: 0 0 8px; }
.kriol-public input[type="text"], .kriol-public input[type="email"], .kriol-public input[type="password"], .kriol-public select {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid #69616f; border-radius: 8px; box-shadow: none;
  background: #080808; color: #fff; font: inherit; caret-color: #c9a6ff;
}
.kriol-public input::placeholder { color: #a59eaf; opacity: 1; }
.kriol-public input:focus::placeholder { color: #a59eaf; }
.kriol-public input:focus { border-color: #c9a6ff; }
.kriol-public input[type="checkbox"], .kriol-public input[type="radio"] {
  width: 20px; height: 20px; margin: 3px 8px 0 0; vertical-align: top; accent-color: var(--brand); cursor: pointer;
}
.kriol-public input[type="checkbox"] + label, .kriol-public input[type="radio"] + label { display: inline-block; max-width: calc(100% - 36px); min-height: 28px; }
.kriol-public input:disabled, .kriol-public button:disabled { opacity: 0.55; cursor: not-allowed; }
.list-selection { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.list-selection legend { padding: 0; margin-bottom: 8px; }
.kriol-public .lists { margin: 0; }
.kriol-public .lists li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kriol-public .lists .description { margin: 6px 0 0 33px; color: var(--muted); line-height: 1.6; }
.confirmation-lists { margin: 0 0 32px; padding: 0; list-style: none; }
.confirmation-lists li { border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 18px; }
.kriol-public .button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 52px; min-width: 150px; max-width: 100%; padding: 13px 26px;
  border: 1px solid transparent; border-radius: 999px;
  color: #fff; background: var(--brand); font: 600 16px/1.5 "DM Sans", Arial, sans-serif;
  text-decoration: none; cursor: pointer; transition: background-color 160ms ease-out;
}
.kriol-public .button:hover { background: var(--brand-hover); color: #fff; }
.kriol-public .button:active { background: #6620bb; }
.kriol-public .button.button-outline { color: #e1caff; border-color: #8965ad; background: transparent; }
.kriol-public .button.button-outline:hover { background: #261b31; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 32px; }
.page-actions > a:not(.button) { font-size: 14px; }
.brand-footer { padding: 24px 4px 0; font-size: 13px; color: var(--muted); }
.brand-footer > div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-footer p { margin: 14px 0 0; font-size: 12px; }
.kriol-public .brand-footer a { color: var(--muted); }
.kriol-public .brand-footer a:hover { color: #fff; }
.status-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #291540; color: #d1afff; margin-bottom: 28px; }
.status-mark svg { width: 32px; height: 32px; }
.message-copy { white-space: pre-line; }
.data-form { padding-top: 32px; border-top: 1px solid var(--line); }
.data-form .row { color: var(--muted); }
.kriol-public .error { color: #ffb8ac; }
.kriol-public .archive .date { color: var(--muted); }
.archive li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.kriol-public .home-options { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.home-options a { margin: 0; }
@media (max-width: 600px) {
  .brand-shell { width: calc(100% - 32px); padding-top: 24px; }
  .brand-header { gap: 12px; padding-bottom: 24px; }
  .brand-logo img { width: 136px; }
  .back-link { font-size: 12px; }
  .kriol-public .brand-panel { padding: 28px 24px; }
  .kriol-public h2 { font-size: 28px; }
  .kriol-public .intro { font-size: 16px; }
  .page-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .page-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kriol-public .button { transition: none; }
}
