:root {
  color: #1c241f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef4ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-header {
  align-items: center;
  background: rgba(238, 244, 239, 0.96);
  border-bottom: 1px solid #c7d6ca;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: #17351f;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #246f43;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.main-nav a,
.auth-button,
button {
  border: 1px solid #9eb8a6;
  color: #193321;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.main-nav a {
  background: transparent;
}

.main-nav a.active,
.auth-button,
button {
  background: #246f43;
  color: #fff;
}

.hero {
  background:
    linear-gradient(90deg, rgba(14, 38, 22, 0.86), rgba(14, 38, 22, 0.32)),
    url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: 620px;
  padding: 32px clamp(20px, 5vw, 72px);
}

.banner {
  background: #17351f;
  display: inline-block;
  font-weight: 800;
  margin: 0 0 140px;
  padding: 10px 14px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: #bde0c6;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  margin: 0 0 20px;
}

h2 {
  margin: 0 0 10px;
}

p {
  line-height: 1.55;
}

.content-band,
.section-grid {
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px clamp(20px, 4vw, 44px);
}

.section-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-grid article,
.event-card,
.empty-state,
.score-list article,
.owner-panel,
.workflow-grid article,
.card-grid article {
  background: #fff;
  border: 1px solid #ccdbd0;
  border-radius: 8px;
  padding: 20px;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 1fr;
}

dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

dt {
  color: #4c6554;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

table {
  background: #fff;
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #c9d8cd;
  padding: 10px;
  text-align: left;
}

th {
  background: #dce9df;
}

.oglebay {
  border-top: 10px solid #50855f;
}

.bluffton {
  border-top: 10px solid #c96f54;
}

.score-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  margin: 24px 0;
}

.score-form label,
.stack-form label,
.owner-toolbar label {
  color: #36543f;
  display: grid;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 6px;
}

input,
select {
  border: 1px solid #9eb8a6;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.score-list {
  display: grid;
  gap: 12px;
}

.score-list article {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto auto;
}

.stack-form {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.card-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
}

.owner-toolbar {
  align-items: end;
  background: #dfece3;
  border: 1px solid #c0d2c5;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr auto;
  margin: 22px 0;
  padding: 16px;
}

.owner-panel {
  margin: 20px 0;
}

.panel-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.compact-list div:not(.empty-state) {
  align-items: center;
  background: #eef4ef;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.meta {
  color: #58705f;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .site-header,
  .event-card,
  .section-grid,
  .card-grid,
  .workflow-grid,
  .owner-toolbar,
  .score-form,
  .score-list article {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: start;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .banner {
    margin-bottom: 80px;
  }
}
