:root {
  --bg: #f7f7f5;
  --text: #171717;
  --muted: #6f6f6f;
  --panel: #ffffff;
  --border: #e4e4df;
  --accent: #111827;
  --soft: #f0f0ed;
  --warning: #fff8e6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.version { color: var(--muted); margin-left: 8px; font-size: 13px; }
nav { display: flex; gap: 16px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
.container { max-width: 1120px; margin: 0 auto; padding: 36px 24px 72px; }
.hero {
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #f0f0ed);
  margin-bottom: 24px;
}
h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -0.06em; margin: 0 0 18px; }
h2 { margin-top: 0; letter-spacing: -0.03em; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.lead.small { font-size: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.button, button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
button[disabled] { background: #d4d4d0; color: #777; cursor: not-allowed; }
.button.secondary { background: var(--soft); color: var(--text); }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 24px; }
.card, .panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.04);
}
.card span { display: block; color: var(--muted); font-size: 13px; }
.card strong { display: block; font-size: 34px; letter-spacing: -0.05em; margin-top: 8px; }
.panel { margin-bottom: 24px; }
.warning { background: var(--warning); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 12px 8px; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.badge { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 5px 10px; font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.form { max-width: 760px; }
label { display: grid; gap: 8px; font-weight: 700; margin-bottom: 18px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-actions, .button-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.details { display: grid; grid-template-columns: 180px 1fr; gap: 12px 20px; }
dt { color: var(--muted); font-weight: 700; }
dd { margin: 0; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps li { padding-left: 4px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-right: 8px;
}
@media (max-width: 720px) {
  .topbar, .section-header { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero { padding: 28px; }
  .two-col, .details { grid-template-columns: 1fr; }
}
