:root {
  color-scheme: light;
  --ink: #15251f;
  --muted: #60706a;
  --line: #dce5e1;
  --surface: #ffffff;
  --soft: #f3f7f5;
  --accent: #167a57;
  --accent-dark: #0f5e43;
  --warning: #fff4d6;
  --warning-ink: #6d4b00;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--soft);
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--accent);
}

.version,
.counter,
.status {
  color: var(--muted);
  font-size: 13px;
}

main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(21, 37, 31, 0.07);
}

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  color: var(--warning-ink);
  background: var(--warning);
  font-size: 14px;
  text-align: center;
}

.notice-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d79b00;
}

.hero {
  max-width: 900px;
  padding: 88px 64px 72px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.catalog {
  padding: 56px 64px 64px;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: 32px;
  letter-spacing: -0.025em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card-number {
  margin-bottom: 38px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.status {
  margin-top: auto;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
}

.empty-state {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px dashed #b8c9c1;
  border-radius: 18px;
}

.empty-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #e1f2eb;
  font-size: 24px;
}

.empty-state h3 { margin-bottom: 5px; font-size: 16px; }
.empty-state p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px 42px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  .topbar, main, footer { width: min(100% - 24px, 1180px); }
  .version { display: none; }
  .hero { padding: 58px 28px 50px; }
  .catalog { padding: 42px 28px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 210px; }
  .card-number { margin-bottom: 24px; }
  footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 480px) {
  h1 { font-size: 38px; }
  .hero-text { font-size: 17px; }
  .notice { align-items: flex-start; text-align: left; }
}
