/* ============================================================
   STOCKPORT DESIGN SYSTEM — style.css
   Version: 2.0 — Calm Institutional Intelligence (Dark)
   Shared across all pages. Page-specific styles stay inline.
   ============================================================ */

/* ── TOKENS ── */
:root {
  /* Backgrounds */
  --bg:             #081120;
  --bg-soft:        #10192c;
  --panel:          rgba(255,255,255,0.04);
  --panel-strong:   #121f36;

  /* Borders */
  --border:         rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.14);

  /* Text */
  --text:           #f5f7fb;
  --text-soft:      #9aa8c7;

  /* Semantic colors */
  --green:          #2ac783;
  --green-soft:     rgba(42,199,131,0.12);
  --amber:          #d4a949;
  --amber-soft:     rgba(212,169,73,0.12);
  --red:            #d35b6a;
  --red-soft:       rgba(211,91,106,0.12);
  --blue:           #5da9ff;

  /* Geometry */
  --radius:         28px;
  --radius-sm:      16px;
  --radius-xs:      10px;
  --shadow:         0 20px 60px rgba(0,0,0,0.4);
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #122240 0%, #081120 55%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── LAYOUT ── */
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: 120px 0;
  position: relative;
}

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8,17,32,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2ac783, #1ba76a);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(42,199,131,0.25);
  font-size: 15px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(42,199,131,0.38);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 30px;
}

/* ── LABEL — monospace section tag ── */
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-soft);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

/* ── EYEBROW PILL ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-top: 10px;
  color: var(--text);
}

/* ── BASE CARD ── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

/* ── STATUS PILLS ── */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.status-pill.green { background: var(--green-soft); color: var(--green); }
.status-pill.amber { background: var(--amber-soft); color: var(--amber); }
.status-pill.red   { background: var(--red-soft);   color: var(--red); }

/* ── FOOTER ── */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 230px;
  opacity: 0.7;
}

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-soft);
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-soft);
  opacity: 0.35;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-soft);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .nav-links .hide-mobile { display: none; }
}
