:root {
  --navy: #0b1f33;
  --teal: #1f8a70;
  --sand: #f6f1e7;
  --ink: #1c1917;
  --card: #ffffff;
  --line: #e4ddd0;
  --danger: #9b2335;
  --muted: #5c564e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
}
a { color: var(--navy); }
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus { left: 1rem; top: 1rem; background: white; padding: 0.5rem; }
header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: white;
}
header.site a { color: white; text-decoration: none; }
header.site nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 92px; width: auto; display: block; }
header.site form { display: flex; gap: 0.5rem; align-items: center; margin: 0; }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
h1, h2, h3 { font-family: Palatino, Georgia, serif; line-height: 1.2; }
.hero { padding: 1rem 0 2rem; }
.kicker { letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.grid, .cards { display: grid; gap: 1rem; }
.grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
article, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.narrow { max-width: 28rem; }
label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 600; margin: 0.75rem 0; }
input, select, textarea, button {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}
button, .button {
  background: var(--teal);
  color: white;
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}
.button.secondary, button.secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
header.site .button { background: var(--teal); }
.actions, .row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-start; }
form.stack { display: flex; flex-direction: column; align-items: stretch; flex: 1 1 22rem; max-width: 32rem; }
form.stack input, form.stack textarea, form.stack select { width: 100%; }
form.row { margin-top: 1rem; align-items: center; }
form.search { align-items: flex-end; margin: 0.5rem 0 1rem; }
form.search label { flex: 1 1 18rem; margin: 0; }
.logo-preview { width: 96px; height: 96px; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 8px; }
.hint { font-weight: 400; color: var(--muted); }
.flash { background: #e5f6f1; border: 1px solid var(--teal); padding: 0.75rem 1rem; border-radius: 8px; }
.error { background: #fde8eb; border: 1px solid var(--danger); padding: 0.75rem 1rem; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge { display: inline-block; background: var(--navy); color: white; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.85rem; }
.muted { color: var(--muted); }
@media (max-width: 720px) {
  header.site { align-items: flex-start; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: 0; }
  tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
}
