/* CampusCyberShield — ccs.ejnstage.com
   Design tokens lifted from RZ's mockup (CCS LLC WEBSITE MOCKUP V1).
   Plain hand-rolled CSS, no build step — same pattern as the other RZ sites. */

:root {
  --navy-950: #081222;   /* footer / deepest */
  --navy-900: #0a1930;   /* page dark background */
  --navy-850: #0d2038;   /* nav bar */
  --navy-800: #0e2240;   /* dark cards / panels */
  --navy-750: #133054;   /* card borders on dark */
  --cyan-500: #1ec6dd;   /* primary accent / buttons */
  --cyan-300: #4fd5e8;   /* accent text on dark */
  --ink-900: #16283e;    /* headings on light */
  --ink-600: #55677d;    /* body on light */
  --paper: #f2f5f9;      /* light section background */
  --card-shadow: 0 2px 10px rgba(10, 25, 48, .10);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy-900);
  color: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-300); text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────── */
header.site {
  background: var(--navy-850);
  border-bottom: 2px solid var(--cyan-500);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 24px; max-width: 1320px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand .mark {
  width: 40px; height: 40px; border: 2px solid var(--cyan-500);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  background: var(--navy-900);
}
.brand .word { line-height: 1.15; }
.brand .word b { font-size: 19px; font-weight: 700; color: #fff; }
.brand .word b span { color: var(--cyan-500); }
.brand .word small { display: block; font-style: italic; font-size: 11px; color: #c8d4e2; }
nav.menu { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav.menu a { color: #e8eef5; font-size: 14.5px; font-weight: 600; }
nav.menu a:hover, nav.menu a.here { color: var(--cyan-300); }
.btn {
  display: inline-block; background: var(--cyan-500); color: var(--navy-900);
  font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: var(--radius);
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--cyan-300); color: var(--navy-900); }
.btn.ghost {
  background: transparent; color: #fff; border: 1.5px solid #fff;
}
.btn.ghost:hover { border-color: var(--cyan-300); color: var(--cyan-300); background: transparent; }

/* ── Sections ────────────────────────────────────── */
section { padding: 72px 0; }
section.light { background: var(--paper); color: var(--ink-600); }
section.light h1, section.light h2, section.light h3 { color: var(--ink-900); }
.kicker {
  color: var(--cyan-500); font-size: 13px; font-weight: 700;
  letter-spacing: .35em; text-transform: uppercase; margin-bottom: 14px;
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.lede { font-size: 17px; margin-top: 18px; max-width: 62ch; }

/* ── Hero (home) ─────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero .art {
  position: absolute; inset: 0 0 0 55%;
  background-size: cover; background-position: center;
  opacity: .85;
}
.hero .art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10,25,48,.25) 40%);
}
.hero .copy { position: relative; max-width: 58%; z-index: 1; }
.hero ul { margin: 18px 0 8px 22px; }
.hero li { margin: 6px 0; font-size: 17px; }
.hero .ctas { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }

/* stats strip */
.stats { display: flex; gap: 48px; flex-wrap: wrap; padding: 34px 0 10px; }
.stat { display: flex; align-items: baseline; gap: 12px; }
.stat b { font-size: clamp(34px, 4vw, 52px); color: var(--cyan-500); font-weight: 700; }
.stat span { max-width: 22ch; font-size: 13.5px; color: #c8d4e2; }
section.light .stat span { color: var(--ink-600); }

/* ── Cards ───────────────────────────────────────── */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  border-left: 4px solid var(--cyan-500); box-shadow: var(--card-shadow);
  color: var(--ink-600);
}
.card h3 { color: var(--ink-900); margin: 10px 0 8px; }
.card .num {
  display: inline-block; background: #d9f4f9; color: #128296;
  font-weight: 700; padding: 6px 12px; border-radius: 6px; font-size: 15px;
}
.card.dark {
  background: var(--navy-800); border: 1px solid var(--navy-750);
  border-top: 3px solid var(--cyan-500); border-left: 1px solid var(--navy-750);
  color: #c8d4e2;
}
.card.dark h3 { color: #fff; }
.card.dark .num { background: transparent; color: var(--cyan-500); padding: 0; font-size: 17px; }

/* dark stat side-panel (About) */
.sidepanel {
  background: var(--navy-800); border-left: 5px solid var(--cyan-500);
  border-radius: var(--radius); padding: 34px; color: #c8d4e2;
}
.sidepanel h3 { color: #fff; font-size: 22px; }
.sidepanel .em { font-style: italic; font-size: 14px; margin: 6px 0 22px; }
.sidepanel .stat { display: block; margin-top: 22px; }
.sidepanel .stat b { display: block; font-size: 40px; }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 3fr 2fr; }
@media (max-width: 900px) {
  .split, .split.wide-left { grid-template-columns: 1fr; }
  .hero .copy { max-width: 100%; }
  .hero .art { display: none; }
}

/* checklist (who we protect) */
.checks { list-style: none; margin-top: 28px; }
.checks li { display: flex; gap: 16px; margin: 22px 0; }
.checks .tick {
  flex: 0 0 30px; height: 30px; border-radius: 7px; background: var(--cyan-500);
  color: var(--navy-900); font-weight: 700; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.checks b { display: block; color: var(--ink-900); font-size: 17px; }
section:not(.light) .checks b { color: #fff; }

/* feature rows (features page) */
.featrow {
  display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 36px 42px; margin-top: 26px;
}
.featrow:nth-of-type(even) { grid-template-columns: 300px 1fr; }
.featrow:nth-of-type(even) .shot { order: -1; }
.featrow .shot img { max-height: 420px; width: auto; margin: 0 auto; border-radius: 10px; }
.featrow h3 { font-size: 22px; }
.featrow p { margin-top: 10px; }
@media (max-width: 800px) {
  .featrow, .featrow:nth-of-type(even) { grid-template-columns: 1fr; }
  .featrow .shot { order: 0; }
}

/* product tiers table (solutions) */
.tiers { width: 100%; border-collapse: collapse; margin-top: 40px; background: #fff;
  box-shadow: var(--card-shadow); border-radius: var(--radius); overflow: hidden; }
.tiers th {
  background: var(--navy-800); color: #fff; text-align: left; padding: 16px 20px;
  font-size: 15px;
}
.tiers td { padding: 20px; border-top: 1px solid #e3e9f0; vertical-align: top; color: var(--ink-600); }
.tiers td b { color: var(--ink-900); }
.tiers td .tag { display: inline-block; margin-top: 6px; color: #128296; font-weight: 700; font-size: 13.5px; }
.tablewrap { overflow-x: auto; }

/* fundraising figures */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 40px; }
.fig {
  background: var(--navy-800); border-top: 4px solid var(--cyan-500);
  border-radius: var(--radius); padding: 30px 26px; color: #c8d4e2; text-align: center;
}
.fig b { display: block; font-size: clamp(30px, 3vw, 42px); color: #fff; margin-bottom: 10px; }
.fig .sub { color: var(--cyan-300); font-weight: 700; font-size: 14px; margin-bottom: 12px; display: block; }
.fig p { font-size: 13.5px; text-align: left; }

.mathstrip {
  display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center;
  margin-top: 34px; font-size: 15.5px; color: var(--ink-600);
}
.mathstrip b { color: #c02428; }
section:not(.light) .mathstrip { color: #c8d4e2; }

/* newsletter article */
.article { max-width: 860px; margin: 0 auto; }
.article .masthead {
  background: var(--navy-800); border-radius: var(--radius); padding: 18px 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-300);
}
.article blockquote {
  background: var(--navy-800); color: #fff; font-style: italic; font-size: 21px;
  padding: 30px 34px; border-left: 5px solid var(--cyan-500); border-radius: var(--radius);
  margin: 34px 0;
}
.article blockquote footer { font-size: 14px; color: var(--cyan-300); font-style: normal; margin-top: 12px; }

/* contact */
.form {
  background: #fff; border-radius: var(--radius); padding: 38px; box-shadow: var(--card-shadow);
}
.form h3 { color: var(--ink-900); font-size: 24px; margin-bottom: 22px; }
.form label { display: block; margin: 14px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.form input, .form textarea {
  width: 100%; padding: 13px 14px; font-size: 15px; font-family: inherit;
  background: #eef2f7; border: 1px solid #dfe6ee; border-radius: 7px; color: var(--ink-900);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--cyan-500); background: #fff; }
.form .btn { width: 100%; margin-top: 22px; font-size: 16px; }
.form .fine { text-align: center; font-size: 12.5px; color: var(--ink-600); font-style: italic; margin-top: 12px; }
.form .msg { margin-top: 14px; padding: 12px; border-radius: 7px; font-size: 14.5px; display: none; }
.form .msg.ok { display: block; background: #e5f7ee; color: #14683c; }
.form .msg.err { display: block; background: #fdeaea; color: #a02020; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.deflist { margin-top: 30px; }
.deflist .row { display: flex; gap: 26px; margin: 20px 0; }
.deflist .row .k {
  flex: 0 0 110px; color: var(--cyan-500); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; padding-top: 3px;
}

/* ── Footer ──────────────────────────────────────── */
footer.site {
  background: var(--navy-950); border-top: 1px solid var(--navy-750);
  padding: 20px 0; font-size: 13.5px; color: #c8d4e2;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer.site a { font-weight: 700; }
