:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-muted: #f0eee8;
  --ink: #202124;
  --muted: #666b73;
  --line: #d9d4c8;
  --teal: #146c64;
  --coral: #c8553d;
  --gold: #a36b00;
  --green: #28734a;
  --shadow: 0 18px 50px rgba(32, 33, 36, 0.10);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(20, 108, 100, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(200, 85, 61, 0.06) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
}

button,
a {
  font: inherit;
}

code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-muted);
  font-size: 0.92em;
}

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

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

h2 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 0;
  font-size: 1.6rem;
}

h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

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

.nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface-muted);
  color: var(--ink);
}

.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.content {
  display: grid;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
  min-height: min(620px, 76vh);
  padding: 24px 0;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.app-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.app-card p {
  color: var(--muted);
  line-height: 1.5;
}

.app-card h4 a {
  color: inherit;
  text-decoration: none;
}

.app-card h4 a:hover {
  color: var(--teal);
}

.app-link {
  width: fit-content;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.app-link:hover {
  text-decoration: underline;
}

.pill {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(20, 108, 100, 0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill.warning {
  background: rgba(163, 107, 0, 0.14);
  color: var(--gold);
}

.pill.ready {
  background: rgba(40, 115, 74, 0.14);
  color: var(--green);
}

.meta-list {
  display: grid;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.decision-box {
  align-self: stretch;
  padding: 20px;
  border: 1px solid rgba(20, 108, 100, 0.32);
  border-radius: 8px;
  background: rgba(20, 108, 100, 0.08);
}

.decision-box p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

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

  .sidebar {
    position: static;
    height: auto;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-link {
    text-align: center;
  }

  .content {
    padding: 20px;
  }

  .hero,
  .split,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .content {
    padding: 14px;
  }

  .section {
    padding: 18px;
  }

  .app-grid,
  .nav {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2.25rem;
  }
}
