:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17332b;
  background: #f3f7f4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(122, 183, 158, 0.2), transparent 30rem),
    linear-gradient(180deg, #f8faf8 0%, #eef4f0 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 24px;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #f7fbf8;
  background: #194c3d;
  font-family: Georgia, serif;
  font-size: 25px;
}

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

.brand strong {
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: #60756d;
  font-size: 11px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.research-link {
  color: #285f4d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.research-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.research-link:focus-visible {
  outline: 2px solid #285f4d;
  outline-offset: 5px;
}

.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #49645b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43a675;
  box-shadow: 0 0 0 4px rgba(67, 166, 117, 0.13);
}

.hero {
  max-width: 760px;
  padding: 110px 0 70px;
}

.eyebrow,
.card-label {
  margin: 0 0 18px;
  color: #6d837a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  color: #16372d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: #587067;
  font-size: 17px;
  line-height: 1.65;
}

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

.workspace-card {
  display: flex;
  min-height: 310px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #d6e1da;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 45px rgba(26, 69, 55, 0.05);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.workspace-card:hover,
.workspace-card:focus-visible {
  border-color: #8cb6a6;
  box-shadow: 0 18px 54px rgba(26, 69, 55, 0.12);
  outline: none;
  transform: translateY(-4px);
}

.card-index {
  align-self: flex-end;
  color: #96aaa2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.card-label {
  margin-bottom: 10px;
}

.workspace-card h2 {
  margin: 0;
  color: #173b30;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.workspace-card p:not(.card-label) {
  margin: 14px 0 0;
  color: #63786f;
  font-size: 14px;
  line-height: 1.6;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #285f4d;
  font-size: 13px;
  font-weight: 750;
}

.card-action b {
  font-size: 18px;
  font-weight: 400;
}

.study-card {
  background: #183d33;
  border-color: #183d33;
}

.study-card .card-index,
.study-card .card-label,
.study-card p:not(.card-label) {
  color: #a9c2b8;
}

.study-card h2,
.study-card .card-action {
  color: #f4f8f5;
}

.trajectories-card {
  grid-column: 1 / -1;
  min-height: 235px;
  background: linear-gradient(120deg, #e6f0e9, #f7faf4);
  border-color: #c8dccf;
}

footer {
  padding-top: 54px;
  color: #72867e;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

  .workspace-card {
    min-height: 245px;
  }

  .hero {
    padding: 80px 0 52px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .brand small,
  .status {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: 44px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
