:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #6b7280;
  --accent: #0f57ff;
  --accent-dark: #0b3fb3;
  --accent-soft: rgba(15, 87, 255, 0.08);
  --border: #e5e7eb;
  --panel: #f8fafc;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding: 32px 24px 48px;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shell {
  max-width: 960px;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}