:root {
  --navy: #07162A;
  --navy-2: #0E2B47;
  --panel: #10314F;
  --green: #3DD68C;
  --blue: #9CC6EE;
  --text: #FFFFFF;
  --muted: #C8DCF0;
  --focus: #FFD166;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

a { color: var(--blue); }
a:hover { color: var(--text); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--focus);
  color: #000000;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

header.site {
  background: var(--navy-2);
  border-bottom: 3px solid var(--green);
  padding: 1rem;
}

.bar {
  max-width: 62rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
}
.brand img { height: 48px; width: 48px; }

nav.site ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

h1 { font-size: 2rem; line-height: 1.25; margin-top: 0.5rem; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }

.card {
  background: var(--panel);
  border: 1px solid #1E4B73;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem 0;
}

.meta { color: var(--muted); font-size: 0.95rem; }

.button, button, input[type="submit"] {
  display: inline-block;
  background: var(--green);
  color: #06261A;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
}
.button:hover, button:hover { background: #63E4A6; color: #06261A; }

.button.secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.button.secondary:hover { background: #12395C; color: var(--text); }

.danger { background: #FF9B9B; color: #3A0B0B; }
.danger:hover { background: #FFB8B8; color: #3A0B0B; }

label { display: block; font-weight: bold; margin-top: 1rem; }
.hint { font-weight: normal; color: var(--muted); font-size: 0.95rem; }

input[type="text"],
input[type="password"],
input[type="file"],
textarea,
select {
  width: 100%;
  max-width: 34rem;
  padding: 0.7rem;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 8px;
  border: 2px solid #4D7EA8;
  background: #0B2137;
  color: var(--text);
  margin-top: 0.35rem;
}
textarea { min-height: 8rem; }

table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
caption { text-align: left; font-weight: bold; padding-bottom: 0.5rem; }
th, td { border: 1px solid #2A5C86; padding: 0.6rem; text-align: left; }
th { background: #13395B; }

.flash {
  background: #13395B;
  border-left: 6px solid var(--green);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}

.list-plain { list-style: none; padding: 0; }
.list-plain li { margin-bottom: 1.25rem; }

footer.site {
  border-top: 1px solid #1E4B73;
  padding: 2rem 1rem;
  color: var(--muted);
}
footer.site div { max-width: 62rem; margin: 0 auto; }
