/* Shared styling for every demo landing / reveal page.
 * Huntress-branded per the official style guide (Frontify): Blacksite ground,
 * Huntress Teal primary, Raspberry Pi (magenta) accent, Cybercrime Lime used
 * sparingly. Archivo Black titles (all caps), Funnel Sans body, IBM Plex Mono.
 * Legible from the back row; obviously an awareness demo, never a real login.
 * QR codes stay black-on-white for scannability.
 *
 * Brand tokens live in :root — swap these to re-skin every page at once.
 */
@import url("fonts.css");

:root {
  /* Official Huntress palette (Frontify style guide) */
  --bg: #050707;            /* Blacksite — near-black ground (50%) */
  --bg-panel: #0c1111;      /* lifted panel */
  --ink: #dfe5e5;           /* Whitehat — primary text (25%) */
  --muted: #93a2a2;         /* dimmed Whitehat for secondary text */

  --cyan: #00d8e5;          /* Huntress Teal — primary accent (10%) */
  --magenta: #ff009d;       /* Raspberry Pi — accent (<=5%) */
  --lime: #7ee500;          /* Cybercrime Lime — sparing accent (<=5%) */
  --amber: #fed21b;         /* Canary Yellow — caution (tertiary) */
  --firewall: #f2522e;      /* Firewall — reserved */

  /* Semantic aliases used across the demos.
   * Teal-forward: safe/positive reads teal, malicious reads magenta.
   * Lime is reserved for tiny accents only (e.g. the safe check-mark). */
  --accent: var(--cyan);
  --safe:   var(--cyan);    /* "safe" reveals — teal, not green */
  --danger: var(--magenta); /* "malicious" reveals */
  --warn:   var(--amber);

  --border: #1c2222;
  --maxw: 900px;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;   /* Black weight */
  --sans: "Funnel Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1000px 560px at 50% -12%, rgba(0,216,229,0.10), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5vw 6vw;
  text-align: center;
}

/* Official Huntress wordmark (Wide Teal), fixed top-left on every page.
 * Teal-on-dark is an approved logo combo; generous clear space per the guide. */
body::before {
  content: "";
  position: fixed;
  top: 1.6rem;
  left: 1.8rem;
  z-index: 10;
  width: 128px;
  height: 29px;   /* logo is 654x149 (~4.39:1) */
  background: url("huntress-logo-wide-teal.png") left center / contain no-repeat;
}

.wrap { width: 100%; max-width: var(--maxw); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 0.75em;
}

h1 {
  font-family: var(--display);     /* Archivo Black */
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 0.85;               /* style guide: headline line-height 85% */
  margin: 0 0 0.4em;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;       /* Archivo Black, all caps */
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.1rem, 2.8vw, 1.7rem);
  color: var(--muted);
  line-height: 1.35;               /* body copy 120-140% */
  margin: 0 auto 1.4em;
  max-width: 36ch;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);   /* angular Huntress top accent */
  border-radius: 4px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  margin: 1.2rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1.05em;
  border-radius: 3px;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.9vw, 1.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge.safe   { background: rgba(0,216,229,0.12); color: var(--cyan);    border: 1px solid rgba(0,216,229,0.45); }
.badge.danger { background: rgba(255,0,157,0.14); color: var(--magenta); border: 1px solid rgba(255,0,157,0.45); }
.badge.warn   { background: rgba(254,210,27,0.14); color: var(--amber);   border: 1px solid rgba(254,210,27,0.45); }
/* sole sparing use of green: the reassuring check-mark on safe badges */
.badge .tick  { color: var(--lime); }

/* highlight key words in headings/titles */
.hl-t { color: var(--cyan); }
.hl-m { color: var(--magenta); }

.big-domain {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 5vw, 3.2rem);
  font-weight: 700;
  word-break: break-all;
  margin: 0.5em 0;
}

.disclaimer {
  margin: 2.2rem auto 0;   /* auto sides so the 46ch block stays centered */
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.55;
}
.disclaimer strong { color: var(--ink); }

.qr {
  width: min(60vw, 420px);
  height: auto;
  background: #fff;
  padding: 18px;
  border-radius: 6px;
  display: block;
  margin: 1rem auto;
}

button, .btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  border-radius: 2px;
  padding: 0.7em 1.6em;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}
button:hover, .btn:hover { filter: brightness(1.08); }
button:active, .btn:active { transform: translateY(1px); }
button:focus-visible, .btn:focus-visible,
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.foot {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a525f;
}

.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
