:root {
  /* base */
  --bg: #14181f;
  --surface: #1b212b;
  --text: #eef1f6;
  --text-soft: #b3bccb;
  --text-faint: #7d8799;
  --border: #2c3542;

  /* pyramid accents */
  --c-operations: #cf7860;
  --c-software:   #7d97b8;
  --c-signal:     #5fb3b3;   /* primary brand accent */
  --c-intelligence: #9a86c4;

  /* type */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Newsreader', Georgia, serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--c-signal); text-decoration: none; }
a:hover { color: var(--text); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 700px; }
.center { text-align: center; }
.center-text { text-align: center; }
.muted { color: var(--text-soft); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  margin-bottom: 32px;
}
h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.lede {
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--text-soft);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 44px;
}
.body {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--c-signal);
  margin-bottom: 36px;
  letter-spacing: -0.005em;
  font-weight: 500;
}
.body strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-signal);
  margin-bottom: 28px;
}
.eyebrow-muted { color: var(--text-faint); }

.footnote {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 20px;
  letter-spacing: 0.01em;
}

/* ===== LOGO ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--c-signal);
  border-radius: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark-inner {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--c-signal);
  border-radius: 1px;
  display: block;
}
.logo-mark-sm { width: 16px; height: 16px; }
.logo-mark-sm .logo-mark-inner { width: 6px; height: 6px; border-width: 1px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 24, 31, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--c-signal);
  color: #0f1216;
  border-color: var(--c-signal);
}
.btn-primary:hover {
  background: #6ec3c3;
  border-color: #6ec3c3;
  color: #0f1216;
}
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-lg { padding: 18px 36px; font-size: 15px; }

/* ===== HERO ===== */
.hero {
  padding: 180px 0 160px;
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow { margin-bottom: 32px; }
.hero h1 { max-width: 880px; }
.hero-cta { margin-top: 12px; }

/* ===== SECTIONS ===== */
.section {
  padding: 160px 0;
  border-bottom: 1px solid var(--border);
}
.section-alt { background: var(--surface); }
.section-head {
  text-align: center;
  margin: 0 auto 88px;
  max-width: 720px;
}
.section-head .lede,
.section-head .body { margin-left: auto; margin-right: auto; }

/* ===== PYRAMID ===== */
.pyramid-wrap {
  display: flex;
  justify-content: center;
  padding: 48px 0 24px;
}
.pyramid {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.layer {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 24px;
  transition: transform 0.2s ease;
}
.layer:hover { transform: translateX(0) scale(1.01); }
.layer-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.layer-name {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f1216;
  font-weight: 600;
}
.layer-desc {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(15, 18, 22, 0.78);
  margin-top: 2px;
}
.layer-intelligence {
  width: 32%;
  background: var(--c-intelligence);
}
.layer-signal {
  width: 56%;
  background: var(--c-signal);
}
.layer-software {
  width: 80%;
  background: var(--c-software);
}
.layer-operations {
  width: 100%;
  background: var(--c-operations);
}

/* ===== DELIVERABLES ===== */
.deliverables {
  list-style: none;
  margin: 56px 0 56px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.deliverables li:last-child { border-bottom: 1px solid var(--border); }
.deliverables .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-signal);
  padding-top: 4px;
  min-width: 28px;
}
.deliverables h4 {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.deliverables p {
  font-size: 16px;
  color: var(--text-soft);
}

/* ===== OFFER META ===== */
.offer-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 24px;
}
.offer-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.meta-value {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--text);
  font-weight: 600;
}
.meta-sub {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.step:hover { border-color: var(--c-signal); }
.step-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-signal);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--f-display);
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  font-size: 16px;
  color: var(--text-soft);
}

/* ===== CTA SECTION ===== */
.section-cta {
  padding: 180px 0;
  background:
    radial-gradient(ellipse at center top, rgba(95, 179, 179, 0.07), transparent 60%),
    var(--bg);
}
.section-cta h2 { margin-bottom: 20px; }
.section-cta .lede { margin: 0 auto 36px; }

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
}
.footer-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.footer-meta a {
  color: var(--text-faint);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--c-signal); }
.dot { color: var(--border); }

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 100px 0 90px; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 56px; }
  .section-cta { padding: 100px 0; }
  .steps { grid-template-columns: 1fr; }
  .offer-meta { grid-template-columns: 1fr; padding: 28px; gap: 22px; }
  .layer { height: 78px; padding: 0 16px; }
  .layer-desc { font-size: 13px; }
  .layer-intelligence { width: 50%; }
  .layer-signal { width: 70%; }
  .layer-software { width: 88%; }
  .deliverables li { gap: 16px; padding: 24px 0; }
}
