:root {
  --ink: #17211d;
  --muted: #5f6f66;
  --surface: #ffffff;
  --surface-soft: #f6f8ed;
  --line: #dfe8d6;
  --vine: #102820;
  --leaf: #68a83f;
  --leaf-dark: #2f6733;
  --shoot: #00bd6b;
  --furmint: #f1c85a;
  --honey: #c58c28;
  --must: #e7efb3;
  --copper: #9a6725;
  --neutral: #586d61;
  --shadow: 0 20px 50px rgba(16, 40, 32, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, #fafbf2 0%, #eef7e7 56%, #fff7da 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.public-body {
  min-height: 100vh;
  background: linear-gradient(145deg, #fbfcf4 0%, #eef8e9 52%, #fff6d8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
}

.public-brand {
  display: inline-grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.public-brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(16, 40, 32, 0.1);
  border-radius: 8px;
  background: var(--leaf);
  box-shadow: 0 12px 24px rgba(16, 40, 32, 0.16);
  object-fit: cover;
}

.public-brand strong,
.public-brand span {
  display: block;
}

.public-brand strong {
  font-size: 20px;
}

.public-brand span span {
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 700;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.public-nav a,
.legal-download {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 40, 32, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--vine);
  font-size: 14px;
  font-weight: 800;
}

.public-nav a:hover,
.legal-download:hover {
  border-color: rgba(104, 168, 63, 0.55);
  background: rgba(255, 255, 255, 0.95);
}

.coming-soon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: center;
  max-width: 1120px;
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  padding: 36px 24px 62px;
  overflow: hidden;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: auto 24px 36px 52%;
  height: 48%;
  border-bottom: 1px solid rgba(104, 168, 63, 0.2);
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, rgba(231, 239, 179, 0), rgba(231, 239, 179, 0.52));
  pointer-events: none;
}

.coming-soon__content,
.coming-soon__mark {
  position: relative;
  z-index: 1;
}

.coming-soon h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--vine);
  font-size: 58px;
}

.coming-soon__tagline {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 140, 40, 0.24);
  border-radius: 8px;
  color: var(--honey);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.coming-soon__lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
}

.coming-soon__mark {
  display: grid;
  place-items: center;
  min-width: 0;
}

.coming-soon__mark img {
  width: min(280px, 100%);
  height: auto;
  border: 1px solid rgba(16, 40, 32, 0.1);
  border-radius: 8px;
  background: var(--leaf);
  box-shadow: 0 28px 48px rgba(16, 40, 32, 0.16);
  object-fit: cover;
}

.public-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.public-action {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(16, 40, 32, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.public-action strong {
  color: var(--vine);
  font-size: 18px;
}

.public-action span {
  color: var(--muted);
}

.public-action:hover {
  border-color: rgba(104, 168, 63, 0.58);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.legal-header {
  margin-bottom: 28px;
}

.legal-header h1 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: 42px;
}

.legal-header p {
  color: var(--muted);
}

.legal-page section {
  padding: 22px 0;
  border-top: 1px solid rgba(16, 40, 32, 0.13);
}

.legal-page h2 {
  color: var(--vine);
}

.legal-page p,
.legal-page li {
  color: #2e3a35;
}

.legal-page a {
  color: var(--leaf-dark);
  font-weight: 800;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  color: #f7f4df;
  background:
    linear-gradient(180deg, rgba(16, 40, 32, 0.99), rgba(33, 85, 43, 0.97) 72%, rgba(83, 109, 47, 0.96)),
    var(--vine);
}

.brand {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--leaf);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 20px;
}

.brand span {
  color: #dfe9b8;
  font-size: 13px;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #eae5d2;
}

.nav a:hover,
.nav a.active {
  background: rgba(241, 200, 90, 0.16);
  color: #fff9de;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(241, 200, 90, 0.45);
  border-radius: 50%;
  color: var(--furmint);
  font-size: 12px;
  font-weight: 700;
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.1;
}

h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 18px;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
}

.card,
.panel {
  border: 1px solid rgba(16, 40, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.card {
  min-height: 136px;
  padding: 18px;
}

.metric-value {
  margin: 4px 0;
  font-size: 32px;
  font-weight: 800;
}

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel {
  overflow: hidden;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-header p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.name-cell {
  display: grid;
  gap: 2px;
}

.name-cell strong {
  font-weight: 800;
}

.name-cell span {
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-active {
  background: rgba(104, 168, 63, 0.14);
  color: var(--leaf-dark);
}

.status-warning {
  background: rgba(241, 200, 90, 0.2);
  color: #7e5a14;
}

.status-danger {
  background: rgba(154, 103, 37, 0.14);
  color: var(--copper);
}

.status-neutral {
  background: rgba(88, 109, 97, 0.12);
  color: var(--neutral);
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--furmint);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.leaf-strip {
  min-height: 88px;
  border: 1px solid rgba(104, 168, 63, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(16, 40, 32, 0.94), rgba(47, 103, 51, 0.9)),
    var(--vine);
  color: #f7f4df;
  padding: 18px 20px;
}

.leaf-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--furmint);
}

.muted {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .metrics,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coming-soon {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .coming-soon__mark {
    justify-content: start;
  }

  .coming-soon__mark img {
    width: 220px;
  }
}

@media (max-width: 820px) {
  .public-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav {
    justify-content: flex-start;
  }

  .coming-soon h1 {
    font-size: 42px;
  }

  .coming-soon::before {
    inset: auto 20px 40px 20px;
    height: 32%;
  }

  .public-actions {
    grid-template-columns: 1fr;
  }

  .legal-header h1 {
    font-size: 34px;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .brand {
    margin-bottom: 18px;
  }

  .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .main {
    padding: 20px;
  }

  .metrics,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  h1 {
    font-size: 30px;
  }
}
