:root {
  --bg: #f4f7f4;
  --surface: #fcfdf9;
  --text: #1e2428;
  --muted: #687176;
  --line: #dfd8cb;
  --accent: #193d36;
  --accent-soft: #dfeae5;
  --warm: #b86d3c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(49, 92, 80, 0.1), transparent 46%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.system-shell {
  display: flex;
  width: min(920px, calc(100% - 40px));
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 48px 0;
}

.back-link {
  width: fit-content;
  color: var(--accent);
  font-weight: 800;
}

.system-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(28px, 7vw, 72px);
  box-shadow: 0 24px 70px rgba(50, 47, 40, 0.13);
}

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

h1 {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: clamp(42px, 8vw, 80px);
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.system-actions {
  display: flex;
  margin-top: 28px;
}

.system-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface);
  padding: 0 20px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .system-shell {
    width: min(calc(100% - 32px), 420px);
  }

  h1 {
    font-size: 38px;
  }

  p {
    font-size: 16px;
  }
}
