:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --panel: #ffffff;
  --ink: #1c2420;
  --muted: #627069;
  --line: #d8ded7;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --shadow: 0 14px 32px rgba(28, 36, 32, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.research-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #fbfcfa;
}

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

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

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.research-shell {
  display: grid;
  gap: 22px;
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto;
}

.status-panel {
  padding: clamp(22px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.status-panel h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.08;
}

.status-panel p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.research-grid article,
.research-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.research-card {
  color: inherit;
  text-decoration: none;
}

.research-card.available {
  border-color: rgba(15, 118, 110, 0.42);
}

.research-card.available:hover,
.research-card.available:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  outline: none;
}

.research-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.research-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.research-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

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

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