/* Corestart Networks — site styles. Palette sampled from the brand images. */
:root {
  --bg: #1f1f1f;
  --bg-raised: #2b2b2b;        /* logo / wallpaper charcoal */
  --bg-card: #303030;
  --line: #3b3b3b;
  --text: #ececec;
  --text-dim: #a9adb3;
  --blue: #23a0f3;             /* antenna / signal blue */
  --blue-soft: #42a5e9;        /* power-ring blue */
  --blue-deep: #226ea2;        /* banner stripe */
  --glow: 0 0 24px rgba(35, 160, 243, .45);
  --radius: 10px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--raised { background: var(--bg-raised); }
.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(31, 31, 31, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 6px rgba(35,160,243,.5)); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .95rem; }
.nav a { color: var(--text-dim); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .75em 1.35em; border-radius: 999px;
  font-weight: 600; border: 1px solid transparent; transition: box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #0b1a26; }
.btn--primary:hover { box-shadow: var(--glow); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 75% 40%, rgba(35,160,243,.12), transparent 55%), var(--bg-raised);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px;
  padding-block: clamp(64px, 10vw, 120px);
}
.hero-logo { justify-self: center; width: min(300px, 70vw); filter: drop-shadow(0 0 22px rgba(35,160,243,.55)); }
.hero h1 span { color: var(--blue); text-shadow: 0 0 24px rgba(35,160,243,.35); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card .more { display: inline-block; margin-top: .4rem; font-weight: 600; font-size: .95rem; }
.card p { color: var(--text-dim); }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(35,160,243,.12); color: var(--blue);
}
.card .icon svg { width: 22px; height: 22px; }
.section-head { margin-bottom: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center; gap: 48px; }

/* ---------- Warden band (uses Banner.png) ---------- */
.band {
  background: url("../img/banner.png") center / cover no-repeat, #292929;
  border-block: 1px solid var(--line);
}
.band .wrap { padding-block: clamp(72px, 11vw, 130px); text-align: center; }
.band .panel {
  display: inline-block; max-width: 640px; padding: 36px clamp(20px, 5vw, 44px);
  background: rgba(31,31,31,.9); border: 1px solid var(--line); border-radius: var(--radius);
}
.band .lead { margin-inline: auto; }
.band .actions { justify-content: center; }
.badge {
  display: inline-block; padding: .25em .75em; border-radius: 999px; margin-bottom: 1rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); border: 1px solid rgba(35,160,243,.45); background: rgba(35,160,243,.08);
}

/* ---------- Platforms / features ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.platforms li {
  padding: .4em .95em; border-radius: 999px; font-size: .9rem;
  background: var(--bg-card); border: 1px solid var(--line);
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: .7em; color: var(--text-dim); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px rgba(35,160,243,.6);
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 22px; left: 28px;
  font-weight: 700; color: var(--blue); letter-spacing: .08em;
}

/* ---------- Leadership ---------- */
.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.4rem;
  color: var(--blue); background: var(--bg-raised);
  border: 2px solid var(--blue); box-shadow: var(--glow);
}
.person .role { color: var(--blue); font-weight: 600; font-size: .92rem; margin-bottom: .6em; }

/* ---------- Contact ---------- */
.contact { max-width: 720px; margin: 0 auto; text-align: center; }
.contact .lead { margin-inline: auto; }
.contact .email { font-size: 1.3rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--text-dim); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand img { height: 26px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 96px); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-logo { grid-row: 1; width: 160px; }
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-block: 12px; gap: 6px; }
  .person { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
