:root {
  --ink: #070708;
  --ink-2: #111114;
  --ink-3: #1a1b20;
  --line: #2a2b32;
  --muted: #9a9aa3;
  --paper: #f4efe6;
  --paper-2: #ece6da;
  --white: #f7f5f2;
  --red: #e10613;
  --red-d: #b50510;
  --ok: #1f9d5a;
  --warn: #d97706;
  --bad: #e10613;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --radius: 16px;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(7,7,8,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #1c1c22;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; }
.mark {
  width: 34px; height: 34px; border: 1.5px solid #fff; border-radius: 4px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.brand b { color: var(--red); font-weight: 800; }
.nav-links { display: flex; gap: 22px; align-items: center; color: #cfcfd4; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red-d); transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid #3a3a42; color: var(--white); }
.btn.ok { background: var(--ok); }
.btn.warn { background: var(--warn); color: #111; }
.btn.sm { padding: 8px 14px; font-size: 13px; }

/* LANDING */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 72px 0 80px;
}
.eyebrow { color: var(--red); font-size: 12px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 92px);
  line-height: .88; margin: 12px 0 18px; font-weight: 700; letter-spacing: .01em;
}
.hero h1 span { color: var(--red); display: block; }
.lede { color: #c9c9cf; font-size: 19px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin: 28px 0 18px; flex-wrap: wrap; }
.tiny { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.binder {
  background: linear-gradient(180deg, #2a2b31, #16171c);
  border: 1px solid #3a3b44; border-radius: 22px; padding: 28px 26px 22px;
  box-shadow: var(--shadow); position: relative;
}
.binder::before {
  content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 8px;
  background: linear-gradient(#444, #222); border-radius: 8px;
}
.kc-seal {
  width: 72px; height: 72px; margin: 8px auto 10px; border: 3px solid var(--red); border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; letter-spacing: .08em;
}
.binder h2 {
  font-family: var(--display); text-align: center; font-size: 54px; line-height: .86; margin: 0;
}
.binder h2 span { color: var(--red); display: block; }
.binder p.sub { text-align: center; color: #bdbdc4; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pills { display: flex; justify-content: space-between; gap: 8px; margin: 22px 8px 16px 18px; }
.pill { text-align: center; color: #cfcfd4; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.dot {
  width: 34px; height: 34px; margin: 0 auto 6px; border: 1.5px solid var(--red); border-radius: 50%;
  display: grid; place-items: center; color: var(--red); font-size: 14px;
}
.cover-card {
  background: var(--paper); color: #2a2a2a; border-radius: 10px; padding: 16px 18px; margin-left: 18px;
  border: 1px solid #d7d0c4;
}
.cover-card label { display: block; font-size: 10px; letter-spacing: .14em; color: #6d675d; margin: 8px 0 2px; text-transform: uppercase; }
.cover-card input {
  width: 100%; border: 0; border-bottom: 1px solid #c9c2b5; background: transparent;
  padding: 4px 0; color: #1b1b1b; outline: none;
}

.section { padding: 72px 0; }
.section.paper { background: var(--paper); color: #161616; }
.section h2 {
  font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: .95; margin: 8px 0 12px;
}
.std-grid, .feat-grid, .price-grid {
  display: grid; gap: 16px; margin-top: 28px;
}
.std-grid { grid-template-columns: repeat(3, 1fr); }
.feat-grid { grid-template-columns: repeat(3, 1fr); }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.section.paper .card { background: #fff; border-color: #ddd6c8; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.section.paper .card p { color: #5c574e; }

.temp-band {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding: 28px 0 8px;
}
.temp-band .big {
  font-family: var(--display); font-size: 88px; line-height: .8; color: var(--red);
}
.kicker { letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-size: 12px; }

.price { font-family: var(--display); font-size: 48px; margin: 8px 0; }
.price span { font-size: 16px; color: var(--muted); font-family: var(--font); }
.card ul { margin: 12px 0 20px; padding-left: 18px; color: #cfcfd4; }
.section.paper .card ul { color: #444; }
.popular { outline: 2px solid var(--red); position: relative; }
.badge {
  position: absolute; top: -10px; right: 16px; background: var(--red); color: #fff;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.foot {
  border-top: 1px solid #222; padding: 28px 0 40px; color: var(--muted); font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* APP SHELL */
.app-body { background: #0c0c10; }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
  background: #0a0a0d; border-right: 1px solid #22232a; padding: 18px 14px;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.side nav a, .side nav button.navbtn {
  display: flex; width: 100%; text-align: left; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px; color: #c8c8ce; background: transparent; border: 0; cursor: pointer;
  font-size: 14px;
}
.side nav a.active, .side nav button.navbtn.active, .side nav a:hover, .side nav button.navbtn:hover {
  background: #1b1c24; color: #fff;
}
.main { padding: 22px 24px 80px; }
.topbar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat .n { font-family: var(--display); font-size: 32px; line-height: 1; }
.stat .l { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.panel {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px;
}
.panel h2, .panel h3 { margin: 0 0 12px; font-family: var(--display); letter-spacing: .04em; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 140px; flex: 1; }
.field label, .chk label { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea {
  background: #0f1014; color: var(--white); border: 1px solid #33343c; border-radius: 10px;
  padding: 10px 12px; outline: none;
}
textarea { min-height: 80px; resize: vertical; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--red); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; border-bottom: 1px solid #2a2b32; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
tr.out td { background: rgba(225,6,19,.12); }
.status { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.status.ok { background: #163d28; color: #7dffb2; }
.status.bad { background: #3d1216; color: #ff8d96; }
.status.warn { background: #3d2c12; color: #ffd27a; }
.status.pending { background: #2a2a32; color: #bbb; }

.chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #24252c; }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.hidden { display: none !important; }
.note { color: var(--muted); font-size: 13px; }
.progress {
  height: 8px; background: #23242b; border-radius: 99px; overflow: hidden; margin: 8px 0 16px;
}
.progress > span { display: block; height: 100%; background: var(--red); width: 0%; }

.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod {
  background: #14151b; border: 1px solid #2a2b32; border-radius: 14px; padding: 16px; cursor: pointer;
}
.mod:hover { border-color: var(--red); }
.mod .pct { font-family: var(--display); font-size: 28px; }

.print-only { display: none; }

@media print {
  .nav, .side, .no-print, .btn { display: none !important; }
  .app-shell { display: block; }
  .main { padding: 0; }
  body, .panel { background: #fff; color: #111; }
  .print-only { display: block; }
  input, textarea, select { border: 1px solid #bbb; color: #111; background: #fff; }
}

@media (max-width: 980px) {
  .hero, .std-grid, .feat-grid, .price-grid, .stat-row, .mod-grid { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; display: flex; flex-wrap: wrap; gap: 6px; }
  .side nav { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
  .side nav a, .side nav button.navbtn { width: auto; }
  .hero { padding-top: 36px; }
  .nav-links a { display: none; }
}
