@font-face {
    font-family: Oxanium;
    src:
    local('Oxanium'),
    local('Oxanium Regular'), 
    url(/Oxanium-Regular.ttf) format('woff2');
}

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg:              #16090d;
  --panel:           rgba(40, 18, 23, 0.88);
  --panel-border:    rgba(97, 52, 63, 0.85);

  --cyan:            #37dbed;
  --cyan-dim:        rgba(0, 149, 179, 0.37);
  --cyan-mid:        rgba(0, 212, 255, 0.50);
  --cyan-bright:     rgba(0, 212, 255, 1.00);

  --text:            #a4e2ff;
  --text-dim:        rgba(100, 180, 210, 0.60);
  --text-input:      #c8eeff;
  --text-on-cyan:    #001820;
  --placeholder:     rgba(90, 150, 170, 0.60);
  --selection-bg:    rgba(0, 180, 216, 0.40);

  --border-input:    rgba(55, 219, 237, 0.55);
  --border-focus:    rgba(55, 219, 237, 1.00);
  --border-disabled: rgba(128, 128, 128, 0.70);

  --shadow:          rgba(0, 0, 0, 0.50);

  /* Asymmetric corner pairs — top-left+bottom-right or top-right+bottom-left */
  --r-tl-br: 8px 0 8px 0;
  --r-tr-bl: 0 8px 0 8px;
  --r-tl-br-sm: 4px 0 4px 0;
  --r-tr-bl-sm: 0 4px 0 4px;
}

/* ── Reset / Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 45% at 15% 85%, rgba(0, 55, 75,  0.28) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 85% 15%, rgba(75,  10, 20, 0.22) 0%, transparent 60%);
  min-height: 100%;
}

body {
  font-family: 'Oxanium', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  margin: 0;
  padding: 0;
}

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oxanium', sans-serif;
  font-weight: 200;
  color: var(--cyan);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 1.2em 0 0.4em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 400; color: var(--text); }
h5, h6 { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.15em; text-transform: uppercase; }

p {
  margin: 0 0 0.9em;
  color: var(--text);
}

a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(55, 219, 237, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
a:hover {
  color: #fff;
  border-bottom-color: rgba(55, 219, 237, 0.85);
}

strong, b {
  font-weight: 600;
  color: var(--cyan);
}

em, i {
  font-style: normal;
  font-weight: 200;
  color: rgba(164, 226, 255, 0.80);
}

small {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-dim);
}

code, kbd, samp, pre {
  font-family: 'Oxanium', monospace;
  font-size: 0.88rem;
  background: rgba(4, 12, 20, 0.55);
  color: var(--cyan);
  border-radius: var(--r-tr-bl-sm);
  border: 1px solid rgba(55, 219, 237, 0.25);
}

code, kbd, samp {
  padding: 1px 6px;
  display: inline-block;
}

pre {
  padding: 14px 16px;
  overflow-x: auto;
  border-left: 2px solid var(--cyan);
  border-radius: 0 8px 0 8px;
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  text-align: left;
}

blockquote {
  margin: 1em 0;
  padding: 10px 16px 10px 18px;
  background: var(--panel);
  border-left: 2px solid var(--cyan);
  border-radius: 0 8px 0 0;
  color: rgba(164, 226, 255, 0.85);
  font-weight: 200;
}

hr {
  border: none;
  border-top: 1px solid rgba(55, 219, 237, 0.25);
  margin: 1.5em 0;
}

mark {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 2px;
  padding: 0 4px;
}

abbr[title] {
  text-decoration: underline dotted rgba(55, 219, 237, 0.50);
  cursor: help;
}

ul, ol {
  padding-left: 1.4em;
  margin: 0 0 0.9em;
  color: var(--text);
}
li { margin-bottom: 0.3em; }

ul li::marker { color: var(--cyan); }
ol li::marker { color: var(--text-dim); font-weight: 600; }

section, article, aside, nav,
details {
  background: var(--panel);
  border: 1.5px solid var(--panel-border);
  border-radius: var(--r-tl-br);
  padding: 16px 20px;
  margin-bottom: 16px;
}

details > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
  padding: 4px 0;
  user-select: none;
}
details > summary::before {
  content: '▸ ';
  font-size: 0.75em;
  color: var(--text-dim);
  transition: transform 0.2s;
}
details[open] > summary::before {
  content: '▾ ';
}
details > summary::-webkit-details-marker { display: none; }

input{
  border: var(--r-tl-br) solid rgba(0, 0, 0, 0);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: 'Oxanium', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--cyan-dim);
  border: 1.5px solid var(--cyan);
  border-radius: var(--r-tl-br);
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: inline-block;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background: var(--cyan-mid);
  color: var(--cyan);
  border-color: var(--cyan);
}
button:active,
input[type="button"]:active,
input[type="submit"]:active {
  background: var(--cyan-bright);
  color: var(--text-on-cyan);
}
input[type="submit"] {
  background: var(--cyan-bright);
  color: var(--text-on-cyan);
  font-weight: 600;
}
input[type="submit"]:hover {
  background: rgba(0, 220, 255, 0.85);
  color: var(--text-on-cyan);
}
input[type="reset"] {
  background: rgba(60, 10, 12, 0.55);
  border-color: rgba(150, 42, 50, 0.85);
  color: rgba(255, 110, 110, 1);
}
input[type="reset"]:hover {
  background: rgba(100, 20, 25, 0.65);
  color: rgba(255, 150, 150, 1);
}
button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled {
  background: rgba(58, 58, 58, 0.37);
  border-color: rgba(128, 128, 128, 0.85);
  color: rgba(100, 100, 100, 1);
  cursor: not-allowed;
  pointer-events: none;
}
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible {
  outline: none;
  background: var(--cyan-dim);
  border-color: rgba(220, 240, 245, 1);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="color"],
textarea,
select {
  font-family: 'Oxanium', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-input);
  background: rgba(4, 12, 20, 0.38);
  border: 0;
  border-bottom: 1.5px solid var(--border-input);
  border-radius: var(--r-tr-bl);
  padding: 7px 10px;
  outline: none;
  width: 100%;
  transition: border 0.15s, background 0.15s;
  caret-color: var(--cyan);
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="url"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover,
textarea:hover,
select:hover {
  border-color: rgba(55, 219, 237, 0.80);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus {
  border: 1.5px solid var(--border-focus);
  background: rgba(0, 40, 55, 0.52);
  border-radius: var(--r-tr-bl);
}

input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}

input[readonly],
textarea[readonly] {
  opacity: 0.55;
  cursor: default;
  border-bottom-style: dashed;
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.40;
  cursor: not-allowed;
  border-bottom-color: var(--border-disabled);
}

::selection {
  background: var(--selection-bg);
  color: var(--cyan);
}

textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2337dbed' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}
select option {
  background: #170a0e;
  color: var(--text);
}
select[multiple] {
  background-image: none;
  padding-right: 10px;
  height: auto;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(13, 13, 16, 0.85);
  border: 1px solid rgba(55, 219, 237, 0.20);
  border-radius: var(--r-tl-br-sm);
  outline: none;
  padding: 0;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 8px 0 8px 0;
  background: var(--cyan);
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.15s;
}
input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 8px 0 8px 0;
  background: var(--cyan);
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
input[type="range"]:hover::-webkit-slider-thumb {
  background: rgba(55, 219, 237, 0.80);
}
input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
input[type="range"]::-moz-range-track { background: transparent; }

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: rgba(4, 12, 20, 0.38);
  border: 1.5px solid var(--border-input);
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
  margin: 0 6px 0 0;
}
input[type="checkbox"] {
  border-radius: var(--r-tr-bl-sm);
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: rgba(0, 150, 180, 0.70);
  border-color: var(--cyan);
}
input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 11px;
  border: 2px solid var(--cyan);
  border-top: none;
  border-left: none;
  transform: rotate(40deg);
}
input[type="radio"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 1.5px solid var(--cyan);
  outline-offset: 2px;
}

input[type="file"] {
  font-family: 'Oxanium', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: transparent;
  border: 1.5px dashed rgba(55, 219, 237, 0.35);
  border-radius: var(--r-tl-br);
  padding: 8px 12px;
  width: 100%;
  cursor: pointer;
}
input[type="file"]:hover {
  border-color: rgba(55, 219, 237, 0.70);
  color: var(--text);
}
input[type="file"]::file-selector-button {
  font-family: 'Oxanium', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  border-radius: var(--r-tl-br-sm);
  padding: 4px 12px;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
input[type="file"]::file-selector-button:hover {
  background: var(--cyan-mid);
}

progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: rgba(13, 13, 16, 0.85);
  border: 1px solid rgba(55, 219, 237, 0.30);
  border-radius: 4px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: rgba(13, 13, 16, 0.85);
  border-radius: 4px;
}
progress::-webkit-progress-value {
  background: var(--cyan);
  border-radius: 4px;
  opacity: 0.90;
}
progress::-moz-progress-bar {
  background: var(--cyan);
  border-radius: 4px;
  opacity: 0.90;
}

meter {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border: 1px solid rgba(55, 219, 237, 0.30);
  border-radius: 4px;
  background: rgba(13, 13, 16, 0.85);
}
meter::-webkit-meter-bar { background: rgba(13, 13, 16, 0.85); border-radius: 4px; }
meter::-webkit-meter-optimum-value  { background: var(--cyan); border-radius: 4px; opacity: 0.90; }
meter::-webkit-meter-suboptimum-value { background: rgba(190, 117, 23, 0.80); border-radius: 4px; }
meter::-webkit-meter-even-less-good-value { background: rgba(200, 50, 60, 0.70); border-radius: 4px; }
meter::-moz-meter-bar { background: var(--cyan); border-radius: 4px; opacity: 0.90; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
thead {
  background: rgba(0, 100, 120, 0.35);
  border-bottom: 1.5px solid rgba(55, 219, 237, 0.45);
}
thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 14px;
  text-align: left;
}
tbody tr {
  border-bottom: 1px solid rgba(55, 219, 237, 0.10);
  transition: background 0.12s;
}
tbody tr:hover {
  background: rgba(0, 100, 120, 0.30);
}
tbody tr:last-child { border-bottom: none; }
tbody td {
  padding: 8px 14px;
  color: var(--text);
}
tfoot {
  border-top: 1.5px solid rgba(55, 219, 237, 0.30);
}
tfoot td {
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
caption {
  caption-side: bottom;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding-top: 8px;
}

fieldset {
  border: 1.5px solid var(--panel-border);
  border-radius: var(--r-tl-br);
  padding: 16px 20px;
  margin-bottom: 16px;
  background: var(--panel);
}
legend {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0 8px;
}

label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 5px;
}

dialog {
  background: rgba(40, 18, 23, 0.97);
  border: 1.5px solid var(--panel-border);
  border-radius: var(--r-tr-bl);
  color: var(--text);
  font-family: 'Oxanium', sans-serif;
  padding: 24px 28px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.65);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

[title] { cursor: help; }

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 1em 0;
  padding: 12px;
  background: var(--panel);
  border: 1.5px solid var(--panel-border);
  border-radius: var(--r-tl-br);
}
figcaption {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 8px;
}

::-webkit-scrollbar       { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(40, 18, 23, 0.85); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 150, 180, 0.65);
  border-radius: var(--r-tl-br-sm);
}
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

:focus-visible {
  outline: 1.5px solid var(--cyan);
  outline-offset: 2px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
  padding: .5rem;
  width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    text-align: left;
}

fieldset{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
}

blockquote{
    width: 100%;
}


nav {
  position: sticky;
  width: 100%;
  display: flex;
  gap: 1rem;
}