/* ZeroTrustAV — static site styles. No frameworks. */
:root {
  --bg: #0b0f14;
  --bg-alt: #111821;
  --panel: #151e29;
  --border: #233142;
  --text: #e6edf3;
  --muted: #9fb0c2;
  --accent: #f6821f;      /* warm orange for CTAs */
  --accent-ink: #1a0f04;
  --signal: #3ddc97;      /* "link up" green */
  --link: #7cc4ff;
  --radius: 10px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
}
a { color: var(--link); }
a:hover { text-decoration: none; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-alt); border: 1px solid var(--border); padding: .05em .35em; border-radius: 4px; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: rgba(11,15,20,.92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #ffb469); display: grid; place-items: center; color: var(--accent-ink); font: 800 12px/1 var(--mono); }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .08s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff9a45; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 1.2px; color: var(--signal); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Hero */
.hero { padding: 88px 0 72px; background:
  radial-gradient(800px 400px at 85% -10%, rgba(246,130,31,.14), transparent 60%),
  radial-gradient(600px 300px at 0% 110%, rgba(61,220,151,.08), transparent 60%),
  var(--bg); }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; padding: 0; list-style: none; }
.rules li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-size: .93rem; color: var(--muted); }
.rules li strong { display: block; color: var(--text); font-family: var(--mono); font-size: .8rem; margin-bottom: 4px; color: var(--accent); }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card ul { margin: 0; padding-left: 1.2em; }
.card li { margin-bottom: .4em; }

/* Kit list */
.kit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.kit-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.kit-num { font: 700 .95rem/1 var(--mono); color: var(--accent); border: 1px solid var(--border); border-radius: 6px; padding: 8px 0; text-align: center; background: var(--bg-alt); }
.kit-list h3 { margin: 0 0 4px; font-size: 1rem; }
.kit-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.price-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--accent); background: rgba(246,130,31,.07); }
.price { font-size: 2rem; font-weight: 800; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }

/* Trust notes */
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notes li { padding-left: 22px; position: relative; color: var(--muted); }
.notes li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Self-check page */
.doc h2 { margin-top: 1.6em; }
.doc h3 { margin-top: 1.8em; color: var(--signal); font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: q; }
.q { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.q-text { margin: 0; }
.q-num { font-family: var(--mono); color: var(--accent); font-weight: 700; margin-right: 6px; }
.yn { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; white-space: nowrap; }
.yn label { cursor: pointer; padding: 6px 12px; font-size: .88rem; color: var(--muted); }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn label + label { border-left: 1px solid var(--border); }
.yn input:checked + span { color: var(--text); }
.yn label:has(input:checked) { background: var(--bg-alt); }
.yn label.yes:has(input:checked) { background: rgba(61,220,151,.18); color: var(--signal); }
.yn label.no:has(input:checked) { background: rgba(255,99,99,.15); color: #ff8a8a; }
.yn input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.score-bar { position: sticky; bottom: 0; margin-top: 20px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.score-bar strong { font-family: var(--mono); font-size: 1.2rem; color: var(--accent); }

table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
tr.active td { background: rgba(246,130,31,.10); }
td:first-child { white-space: nowrap; font-weight: 700; font-family: var(--mono); }

.disclaimer { font-size: .88rem; color: var(--muted); font-style: italic; border-left: 3px solid var(--border); padding-left: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .rules { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .q { grid-template-columns: 1fr; }
  .kit-list li { grid-template-columns: 44px 1fr; }
  .btn { width: 100%; text-align: center; }
  .nav .btn { width: auto; }
  td:first-child { white-space: normal; }
}

/* Print (self-check prints cleanly) */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .score-bar, .cta-row, .nav { display: none !important; }
  .q, table, .card, .price-box { background: #fff; border-color: #999; }
  a { color: #000; }
  .doc h3 { color: #000; }
}

.print-only { display: none; }
@media print { .print-only { display: inline; } .yn { display: none !important; } }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); }
fieldset.yn { padding: 0; margin: 0; min-width: 0; }
