/* FULCRUM homepage — concept A "Midnight Graph" */

:root {
  --bg: #080F26;
  --bg-card: #0C1633;
  --bg-panel-a: #101E42;
  --line: #16244C;
  --line-strong: #1A2A57;
  --line-panel: #24356B;
  --blue: #3D5BD9;
  --blue-soft: #5B79E3;
  --blue-pale: #8FA6E8;
  --text: #E8ECF7;
  --text-sub: #A8B4D6;
  --text-muted: #8B97BD;
  --text-faint: #5D6A94;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', 'Avenir Next', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-pale); text-decoration: none; }
a:hover { color: #C0CEF5; }

h1, h2, h3, p { margin: 0; }

.nav-inner, .hero-inner, .section-inner, .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
}

/* Nav */
.nav { position: relative; z-index: 2; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 26px; height: 26px; }
.wordmark { font-size: 17px; font-weight: 700; letter-spacing: 0.14em; color: #FFFFFF; }
.brand.small .mark { width: 20px; height: 20px; }
.brand.small .wordmark { font-size: 14px; }
.nav-contact { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; padding: 12px 0; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.constellation {
  position: absolute;
  top: -70px;
  right: 0;
  width: min(1280px, 100%);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(88px, 11vw, 140px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 824px;
  margin-left: 0;
}
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.hero h1 {
  font-size: clamp(52px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-sub); max-width: 620px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
}
.btn:hover { background: #4A68E4; color: #FFFFFF; }
.hero-note { font-size: 14px; color: var(--text-faint); }

/* Sections */
.section { border-top: 1px solid var(--line); }
.section-inner { padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px); }
.section-inner.split { display: flex; gap: 80px; }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.split .section-head { width: 380px; flex-shrink: 0; }
.section-head.wide { max-width: 640px; margin-bottom: 56px; gap: 18px; }
.section h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}

/* Cards */
.cards { display: grid; gap: 32px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); flex-grow: 1; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}
.icon { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 600; color: var(--text); }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

.card.panel {
  gap: 16px;
  padding: 40px 36px;
  background: linear-gradient(160deg, var(--bg-panel-a) 0%, var(--bg-card) 100%);
  border: 1px solid var(--line-panel);
  border-radius: 8px;
}
.panel-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-pale);
}
.panel-title { font-size: 24px; font-weight: 700; color: #FFFFFF; }
.card.panel p { font-size: 15px; line-height: 1.65; color: var(--text-sub); }
.card.panel .panel-label { font-size: 13px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-id { display: flex; flex-direction: column; gap: 16px; }
.footer-info { font-size: 13px; line-height: 1.7; color: var(--text-faint); }
.footer-info a { color: var(--text-faint); text-decoration: underline; }
.footer-info a:hover { color: var(--blue-pale); }
.copyright { font-size: 13px; color: var(--text-faint); }

/* Responsive */
@media (max-width: 1024px) {
  .section-inner.split { flex-direction: column; gap: 48px; }
  .split .section-head { width: auto; }
  .cards.three { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .cards.two { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .constellation { opacity: 0.3; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .card.panel { padding: 28px 24px; }
  .footer-inner { flex-direction: column; }
}
