/* Cipher Cyber and IP Law: near-black, neon cyan and lime. Chakra Petch for headings, IBM Plex Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #05090B;
  --surface: #0D1519;
  --soft: #121C21;
  --ink: #E4F1F4;
  --muted: #8DA4AB;
  --line: #1B2A30;
  --line-strong: #2C4249;
  --brand: #22D3EE;
  --brand-hover: #67E3F5;
  --brand-ink: #02171C;
  --brand-text: #4FDCF1;
  --eyebrow: #A3E635;
  --lime: #A3E635;
  --badge-bg: #A3E635;
  --badge-ink: #10200A;
  --out-bg: #0D1519;
  --out-ink: #E4F1F4;
  --out-accent: #4FDCF1;
  --out-btn: #22D3EE;
  --out-btn-ink: #02171C;
  --input-bg: #0A1013;
  --menu-bg: #05090B;
  --danger: #FF8E8E;
  --head: "Chakra Petch", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --btn-radius: 4px;
  --wrap: 1180px;
  --gap: 20px;
}
body { background-image: linear-gradient(rgba(34, 211, 238, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, .035) 1px, transparent 1px); background-size: 36px 36px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.btn { font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.btn-primary { box-shadow: 0 0 22px -4px rgba(34, 211, 238, .6); }
.btn-ghost { color: var(--ink); }
.eyebrow { font-family: var(--head); letter-spacing: .1em; text-transform: none; font-size: .9rem; }
.ic { color: var(--brand); }
.field > label, .field legend { color: var(--ink); }

/* header: terminal */
.topbar { background: #0A1216; color: #A5BDC4; font-size: .84rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { width: 15px; height: 15px; color: var(--lime); }
.topbar a { color: var(--brand); font-weight: 600; text-decoration: none; font-family: var(--head); }
@media (max-width: 700px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; } }
.header { background: rgba(5, 9, 11, .94); border-bottom: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.header > .wrap { min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.3rem var(--head); letter-spacing: .2em; color: var(--brand); }
.logo small { font-size: .74rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav a { font-family: var(--head); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: #B7CDD3; }
.nav a:hover { color: var(--brand); background: transparent; }
.nav a[aria-current="page"] { color: var(--brand); background: transparent; box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.nav-toggle { color: var(--ink); border-color: var(--line-strong); }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 88px); background: radial-gradient(700px 360px at 85% 10%, rgba(34, 211, 238, .16), transparent 60%); border-bottom: 1px solid var(--line-strong); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); margin: 14px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.terminal { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #060C0F; box-shadow: 0 0 60px -20px rgba(34, 211, 238, .5); min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0D1519; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 .8rem var(--head); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F56; }
.term-bar i:nth-child(2) { background: #FFBD2E; } .term-bar i:nth-child(3) { background: #27C93F; }
.term-bar span { margin-left: 8px; }
.terminal pre { margin: 0; padding: 20px; overflow-x: auto; font: 500 .86rem/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #CDE5EA; }
.terminal .c1 { color: var(--lime); } .terminal .c2 { color: #FF8E8E; font-weight: 700; } .terminal .c3 { color: var(--brand); } .terminal .c4 { color: #FFD166; }
.steps-band { background: var(--soft); border-block: 1px solid var(--line); }

/* pages */
.c-card { border-radius: 10px; border-color: var(--line-strong); background: var(--surface); }
.c-card:hover { border-color: var(--brand); box-shadow: 0 0 30px -14px rgba(34, 211, 238, .6); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.page-head { background: linear-gradient(180deg, #0A1216, transparent); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); }
.numbers-band { background: var(--soft); border-block: 1px solid var(--line); }
.quotes-band { background: var(--soft); }
.tool-out { border: 1px solid var(--brand); box-shadow: 0 0 50px -24px rgba(34, 211, 238, .6); }
.out-text { font-size: clamp(1.8rem, 4vw, 2.5rem); text-transform: uppercase; letter-spacing: .02em; }
.tl li::before { background: var(--brand); color: var(--brand-ink); border-radius: 4px; }
.out-warn { background: rgba(163, 230, 53, .12); border: 1px solid rgba(163, 230, 53, .4); color: #DFF7B0; font-weight: 500; font-size: .86rem; }
.pick:has(input:checked) { box-shadow: 0 0 0 2px var(--brand) inset, 0 0 20px -8px var(--brand); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: linear-gradient(120deg, #06303A, #05090B); border-block: 1px solid var(--line-strong); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.cta-band p { margin-top: 6px; color: #9FC0C8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: #030607; color: #86A0A7; --footer-line: #162226; border-top: 1px solid var(--line-strong); }
.footer .logo b { color: var(--brand); }
.footer h2 { color: var(--lime); font-family: var(--head); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--brand); }
