:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5b6570;
  --line: #d9dee5;
  --panel: #ffffff;
  --band: #f4f7fb;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warn: #8a5a00;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  max-width: 1060px;
  padding: 74px 32px 54px;
  margin: 0 auto;
}

.eyebrow,
.label {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 54px;
  line-height: 1.03;
}

h2 {
  font-size: 32px;
  line-height: 1.15;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

button:hover,
.button.primary:hover {
  background: var(--accent-dark);
}

.band {
  background: var(--band);
  border-block: 1px solid var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.status-grid > div {
  padding: 30px 24px;
}

.status-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.status-grid p,
.section-copy p,
footer {
  color: var(--muted);
  line-height: 1.6;
}

.cabinet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 32px;
}

.section-copy {
  align-self: start;
}

.section-copy.wide {
  max-width: 850px;
  margin: 0 auto;
  padding: 54px 32px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.message {
  min-height: 24px;
  color: var(--warn);
}

pre {
  overflow: auto;
  min-height: 240px;
  margin: 12px 0 0;
  padding: 16px;
  background: #101820;
  color: #eef7f4;
  font-size: 13px;
  line-height: 1.5;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  font-size: 14px;
}

@media (max-width: 920px) {
  h1 {
    font-size: 38px;
  }

  .status-grid,
  .cabinet {
    grid-template-columns: 1fr;
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
