
:root {
  --bg: #070707;
  --bg-soft: #111111;
  --panel: #0f0f10;
  --panel-2: #171719;
  --line: rgba(220, 164, 43, 0.28);
  --line-strong: rgba(220, 164, 43, 0.5);
  --gold: #dca42b;
  --gold-strong: #f0b63a;
  --gold-soft: rgba(220, 164, 43, 0.12);
  --text: #f6f1e7;
  --muted: #c5bcab;
  --green: #5ccc8d;
  --red: #ff8d8d;
  --shadow: 0 18px 48px rgba(0,0,0,.35);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(220,164,43,.12), transparent 18%),
    radial-gradient(circle at top right, rgba(220,164,43,.08), transparent 20%),
    linear-gradient(180deg, #050505 0%, #090909 45%, #070707 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 22px;
  background: rgba(6,6,6,.86);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
}
.brand { display: flex; flex-direction: column; gap: 3px; }
.brand small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }
.brand strong { color: var(--gold-strong); font-size: 1.45rem; letter-spacing: .08em; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; }
.nav a { color: #e8dec9; font-size: .95rem; }
.nav a:hover { color: var(--gold-strong); }
.hero { padding: 52px 0 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: stretch; }
.panel, .box, .card, .hero-copy, .hero-side, .module-link {
  background: linear-gradient(180deg, rgba(18,18,18,.96), rgba(10,10,10,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-copy, .hero-side, .panel, .card, .box, .module-link { border-radius: var(--radius); }
.hero-copy { padding: 34px; }
.hero-copy h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.03; }
.eyebrow { margin: 0 0 10px; color: var(--gold-strong); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; }
.lead, .muted { color: var(--muted); line-height: 1.68; }
.hero-actions, .section-actions, .tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-side { padding: 24px; display: grid; gap: 14px; }
.stat { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.stat strong { display: block; color: var(--gold-strong); font-size: 1.5rem; margin-bottom: 2px; }
.section { padding: 26px 0 38px; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .module-link { padding: 24px; }
.card h3, .module-link h3, .box h3, .panel h3 { margin: 0 0 12px; font-size: 1.24rem; }
.card p, .module-link p, .box p { line-height: 1.62; color: #e4dac7; }
.card ul { margin: 16px 0 22px; padding-left: 18px; color: #ddd2bf; line-height: 1.58; }
.module-link { display: flex; flex-direction: column; gap: 14px; }
.module-link:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.badge { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold-strong); }
.btn {
  border: none; border-radius: 14px; padding: 14px 18px; cursor: pointer; font-weight: 800; display: inline-flex;
  align-items: center; justify-content: center; transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--gold-strong), #d79517); color: #171717; }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: #dbcdb3; border: 1px dashed rgba(220,164,43,.38); }
.btn-danger { background: rgba(255,141,141,.08); color: #ffd6d6; border: 1px solid rgba(255,141,141,.22); }
.btn-block { width: 100%; }
.panel { padding: 24px; }
.box { padding: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-2-compact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.field-grid { display: grid; gap: 16px; }
.field-grid.two-col { grid-template-columns: repeat(2, 1fr); }
label { display: flex; flex-direction: column; gap: 8px; color: #efe8d9; font-weight: 650; }
input[type="text"], input[type="date"], input[type="search"], textarea, select {
  width: 100%; border-radius: 14px; border: 1px solid rgba(220,164,43,.24);
  background: rgba(255,255,255,.03); color: var(--text); padding: 14px 15px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.58; }
textarea.tall { min-height: 160px; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(240,182,58,.18); border-color: rgba(240,182,58,.72);
}
::placeholder { color: #938a77; }
.info-strip {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px;
}
.pill {
  padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  color: #e6dcc9; font-size: .92rem;
}
.score-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.score-card {
  padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.score-card small { display: block; color: #d3c7b3; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.score-card strong { font-size: 1.6rem; color: var(--gold-strong); }
.status-good { color: var(--green); }
.status-mid { color: var(--gold-strong); }
.status-low { color: var(--red); }
ol.flow { margin: 0; padding-left: 22px; }
ol.flow li { margin-bottom: 10px; color: #e8deca; line-height: 1.55; }
ol.flow li strong { color: var(--gold-strong); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.check-group h4 { margin: 0 0 12px; font-size: 1rem; color: var(--gold-strong); }
.check-list { display: grid; gap: 12px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
}
.check-item input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-strong); }
.check-item span { line-height: 1.55; color: #f1eadc; }
.progress-bar {
  width: 100%; height: 12px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 8px;
}
.progress-bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); width: 0%; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); color: #ebdfc9; cursor: pointer; font-weight: 800;
}
.filter-btn.active, .filter-btn:hover { background: linear-gradient(180deg, var(--gold-strong), #d79517); color: #171717; border-color: transparent; }
.question-list { display: grid; gap: 14px; }
.question-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.question-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.question-actions { display: flex; gap: 8px; align-items: center; }
.question-card p { margin: 10px 0 0; color: #ebe1cf; line-height: 1.6; }
.question-tag { padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--gold-soft); color: var(--gold-strong); text-transform: uppercase; letter-spacing: .08em; }
.inline-note { font-size: .92rem; color: #c7bda9; }
textarea.output { min-height: 180px; }
.footer { text-align: center; padding: 30px 16px 48px; color: #b6ad9d; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: #d7cdb8; font-size: .92rem; }
.breadcrumb a:hover { color: var(--gold-strong); }
.module-header { padding: 40px 0 16px; display: grid; gap: 18px; }
.module-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note-box { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); color: #e0d5c3; line-height: 1.55; }
.empty { color: #9e9584; font-style: italic; }
@media (max-width: 1024px) {
  .hero, .grid-3, .grid-2, .grid-2-compact, .field-grid.two-col, .check-grid, .score-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .container { width: min(100% - 18px, 1180px); }
  .hero { padding-top: 26px; }
  .hero-copy, .hero-side, .panel, .box, .card, .module-link { border-radius: 18px; }
  .btn { width: 100%; }
}
@media print {
  .topbar, .toolbar, .footer, .back-home { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .box, .card, .hero-copy, .hero-side, .module-link { background: #fff !important; color: #000; box-shadow: none; border: 1px solid #cfcfcf; }
  input, textarea, select { background: #fff; color: #000; border: 1px solid #999; }
  .muted, .lead, .inline-note, .note-box, .question-card p { color: #333 !important; }
}
