:root {
  /* Colours taken from https://www.dalalsons.com/ */
  --ink: #212529;
  --title: #00042e;
  --muted: #4e4e4e;
  --line: #e6e6e6;
  --paper: #ffffff;
  --page: #f5f5f5;
  --header: #33661d;
  --accent: #529f31;
  --accent-bright: #6abd46;
  --error: #8a2b2b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 16px/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--header); }
h1, h2, h3 { color: var(--title); font-weight: 600; }
h1 { margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.top, .switch {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
}
.top { background: var(--header); color: #ffffff; }
.top a, .top button { color: #ffffff; }
.eyebrow { margin: 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--header); font-weight: 700; }
.top .eyebrow { color: #ffffff; }
.who { display: flex; gap: 12px; align-items: center; }
.switch { background: #ffffff; border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 72px); }
nav { padding: 16px; background: #ffffff; border-right: 1px solid var(--line); }
nav a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--title); }
nav a:hover { background: #f3f8ef; color: var(--header); }
main { padding: 28px; }
.narrow { max-width: 420px; margin: 8vh auto; background: var(--paper); padding: 28px; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; background: var(--paper); margin: 12px 0 24px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f5f5f5; color: var(--title); }
.stack, .inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; background: var(--paper); padding: 16px; border-radius: 12px; }
.stack { flex-direction: column; align-items: stretch; max-width: 520px; }
label { display: grid; gap: 4px; font-size: 14px; }
input, select, button { font: inherit; padding: 8px 10px; }
button, .stack button { background: var(--accent); color: #ffffff; border: 0; border-radius: 5px; cursor: pointer; }
.top button { background: transparent; border: 1px solid #ffffff; color: #ffffff; }
.notice { background: #eef6e6; color: var(--title); padding: 10px 12px; border-radius: 8px; }
.error { color: var(--error); }
.empty, .hint { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stats article { background: var(--paper); padding: 14px; border-radius: 12px; }
.stats span, .stats small { display: block; color: var(--muted); font-size: 13px; }
.actions, .check { display: flex; gap: 8px; align-items: center; }
.public { max-width: 880px; margin: 0 auto; padding: 28px; }
.public-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.public-nav a { color: #ffffff; text-decoration: none; }
.public-nav a:hover { color: var(--accent-bright); }
.actions form { margin: 0; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  nav { display: flex; gap: 8px; overflow: auto; }
}

.site-header { background: var(--header); color: #fff; }
.site-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.site-nav a { color: #fff; text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: var(--accent-bright); }
.site-nav .nav-pill {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
}
.site-nav .nav-pill:hover { color: #fff; background: #468828; }
.hero {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 48px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--header), #3d7a28 55%, var(--accent));
  color: #fff;
}
.hero .eyebrow, .auth-aside .eyebrow { color: #ffffff; }
.hero h1, .hero p, .auth-aside h1, .auth-aside p { color: #ffffff; }
.hero h1 { font-size: 40px; line-height: 1.15; max-width: 16ch; }
.hero .lead { max-width: 62ch; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--header);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
}
.btn-line { background: transparent; color: #fff; border: 1px solid #fff; }
.feature-grid {
  max-width: 1100px;
  margin: 22px auto 36px;
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
}
.feature strong { display: block; color: var(--title); margin-bottom: 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.auth-body { min-height: 100vh; background: #f5f5f5; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-aside {
  background: linear-gradient(160deg, var(--header), #3f7c2a);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-aside h1, .auth-aside p { color: #fff; }
.auth-aside a { color: #fff; }
.auth-panel { display: grid; place-items: center; padding: 32px 20px; }
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 4, 46, 0.08);
}
.auth-card form { display: grid; gap: 12px; margin-top: 16px; }
.auth-card input, .auth-card select { width: 100%; border: 1px solid var(--line); border-radius: 10px; }
.auth-card button { width: 100%; padding: 12px; }
.join-fields { display: grid; gap: 12px; padding: 12px; border-radius: 12px; background: #f7fbf4; }
@media (max-width: 800px) {
  .hero h1 { font-size: 32px; }
  .feature-grid, .auth-split { grid-template-columns: 1fr; }
  .auth-aside { min-height: 220px; }
  .site-bar { flex-direction: column; align-items: flex-start; }
}
