:root {
  --charcoal: #1a1614;
  --charcoal-soft: #221c18;
  --card: #2e2620;
  --border: #4a3525;
  --ink: #fff4e8;
  --mute: #c4b0a0;
  --saffron: #ff7a00;
  --gold: #ffc107;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--charcoal);
  color: var(--ink);
  font-family: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
}
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #1a1614 0%, #221c18 55%, #2a1f18 100%);
}
.site-header, .site-footer {
  width: 100%;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  color: var(--mute);
  font-size: 14px;
}
.brand {
  display: flex;
  align-items: center;
  height: 48px;
  width: max-content;
  overflow: visible;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 20px;
}
.brand img,
.brand svg,
.nav img,
.nav svg,
.tabs img,
.tabs svg,
.wizard img,
.wizard svg,
.wizard-tabs img,
.wizard-tabs svg {
  display: block;
  object-fit: contain;
  object-position: left center;
  width: auto;
  height: 100%;
  max-width: none;
}
.nav,
.tabs,
.wizard,
.wizard-tabs {
  display: flex;
  align-items: center;
  height: 40px;
  overflow: visible;
}
.wrap {
  width: min(720px, calc(100% - 32px));
  margin: 28px auto;
  flex: 1;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 36px;
}
h1 {
  margin: 0 0 8px;
  color: var(--saffron);
  font-size: 28px;
}
.meta {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.card p, .card li {
  color: var(--mute);
  line-height: 1.55;
  font-size: 16px;
}
.card h2 {
  color: var(--gold);
  font-size: 18px;
  margin-top: 22px;
}
.nav a {
  color: var(--gold);
  margin-right: 14px;
}
input, textarea, button, select {
  font: inherit;
}
label { display: block; margin: 12px 0 6px; color: var(--gold); }
input[type="text"], input[type="password"], textarea {
  width: 100%;
  background: #221c18;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
textarea { min-height: 110px; }
button, .btn {
  background: var(--saffron);
  color: #1a1614;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.item {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.err { color: #ff8a70; }
.ok { color: #6bcb8a; }
