:root {
  --bg: #0b0f10;
  --bg-card: #151b1d;
  --border: #2a3336;
  --text: #e8edee;
  --muted: #93a1a5;
  --accent: #76b900;
  --accent-2: #9fe23a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.wrap.narrow { max-width: 720px; }

h1, h2, h3, h4 { line-height: 1.2; }
h2 { border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin-top: 0; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 15, 16, 0.95);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 0.75rem;
}
.brand { color: var(--accent-2); font-weight: 700; font-size: 1.15rem; }
.site-header nav a { color: var(--text); margin-left: 1.1rem; font-size: 0.92rem; }
.site-header nav a:first-child { margin-left: 0; }

.hero { text-align: center; padding-top: 3rem; }
.hero h1 { font-size: 2.1rem; margin-bottom: 0.75rem; color: var(--accent-2); }
.tagline { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

.explainer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.5rem;
}
.formula-list { padding-left: 1.2rem; }
.formula-list li { margin-bottom: 0.4rem; }

.muted { color: var(--muted); font-size: 0.92rem; }

.card-grid, .build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.card, .build-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}
.card h3, .build-card h3 { color: var(--accent-2); margin-bottom: 0.15rem; }
.category, .audience { color: var(--muted); font-size: 0.85rem; margin-top: 0; margin-bottom: 1rem; }

.spec-list { margin: 0; }
.spec { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px dashed var(--border); }
.spec:last-child { border-bottom: none; }
.spec dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.spec dd { margin: 0.15rem 0 0 0; }
.spec dd.big { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.spec dd.note { font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }
.spec dd.power-convert { font-size: 0.85rem; color: var(--accent-2); margin-top: 0.35rem; }

.explanation { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }

.table-scroll { overflow-x: auto; margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
td .note { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0 0 0; }
td.big { font-weight: 700; font-size: 1.05rem; }

.quote-form {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.quote-form h4 { margin: 0 0 0.6rem 0; color: var(--accent-2); }
.quote-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.quote-form input, .quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.5rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.quote-form button {
  background: var(--accent);
  color: #0b0f10;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
.quote-form button:hover { background: var(--accent-2); }

.general-request {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.definition {
  font-size: 1.1rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
}

.confirmation .request-number {
  font-size: 1.5rem;
  color: var(--accent-2);
  font-weight: 700;
}
.details { margin: 1.5rem 0; }
.details th { width: 160px; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.site-footer .wrap { padding: 1.5rem 1.5rem; }
.site-footer p { margin: 0.3rem 0; }
