* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f0e7;
  --panel: rgba(255, 250, 243, 0.82);
  --panel-strong: #fff7ee;
  --text: #14213d;
  --muted: #5f6b87;
  --accent: #e38b1a;
  --accent-soft: rgba(227, 139, 26, 0.14);
  --line: rgba(227, 139, 26, 0.18);
  --shadow: 0 24px 60px rgba(32, 31, 28, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 219, 170, 0.45), transparent 30%),
    radial-gradient(circle at top right, rgba(220, 235, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 100%);
  min-height: 100vh;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.orb-one {
  width: 220px;
  height: 220px;
  left: -60px;
  top: 140px;
  background: rgba(244, 170, 68, 0.18);
}

.orb-two {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 40px;
  background: rgba(120, 161, 255, 0.16);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f3a5f, #e38b1a);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand p,
.brand span {
  margin: 0;
}

.brand p {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.eyebrow.small {
  margin-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  max-width: 10ch;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
}

.lede,
.text-card p,
.section-heading p,
.pillar p,
.route-panel p,
.timeline p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.lede {
  max-width: 62ch;
  margin: 18px 0 22px;
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, #1f3a5f, #2e5d94);
  color: white;
  box-shadow: 0 16px 30px rgba(31, 58, 95, 0.24);
}

.secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  border: 1px solid rgba(20, 33, 61, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats li,
.signal-card,
.pillar,
.route-panel,
.timeline > div {
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.stats li {
  padding: 18px;
}

.stats strong,
.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.stats span,
.signal-card p,
.route-steps span,
.pillar p,
.timeline p {
  color: var(--muted);
}

.signal-panel {
  display: grid;
  gap: 16px;
}

.signal-card {
  padding: 20px;
}

.signal-card.featured {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 241, 224, 0.84));
}

.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.text-card {
  padding: 24px;
}

.text-card.accent {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.95), rgba(255, 244, 227, 0.9));
}

.platform-section,
.journey-section,
.intake-section,
.control-section,
.engine-section,
.impact-section,
.cockpit-section,
.roadmap {
  margin-top: 18px;
  padding: 28px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 42ch;
  margin: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pillar {
  padding: 20px;
  min-height: 170px;
}

.pillar p {
  margin-top: 10px;
}

.journey-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 16px;
}

.intake-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.control-grid {
  display: grid;
  grid-template-columns: 0.56fr 1.44fr;
  gap: 16px;
}

.engine-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.network-map {
  position: relative;
  min-height: 420px;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(227, 139, 26, 0.16), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(31, 58, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.92), rgba(255, 247, 236, 0.88));
  border: 1px solid rgba(20, 33, 61, 0.06);
  overflow: hidden;
}

.network-map::before {
  content: '';
  position: absolute;
  inset: 50% 18% 16% 18%;
  border-radius: 50%;
  border: 1px dashed rgba(31, 58, 95, 0.12);
  pointer-events: none;
  z-index: 0;
}

.network-map::after {
  content: '';
  position: absolute;
  inset: 22% 16%;
  border-radius: 50%;
  border: 1px dashed rgba(227, 139, 26, 0.1);
  pointer-events: none;
  z-index: 0;
}

.node {
  position: absolute;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(31, 58, 95, 0.08);
}

.node.active {
  background: linear-gradient(135deg, #1f3a5f, #2e5d94);
  color: white;
}

.node[data-node='student'] { left: 38%; top: 50%; transform: translate(-50%, -50%); }
.node[data-node='peer'] { left: 18%; top: 26%; }
.node[data-node='triage'] { right: 14%; top: 24%; }
.node[data-node='counselor'] { right: 10%; bottom: 18%; }
.node[data-node='campus'] { left: 18%; bottom: 18%; }
.node[data-node='followup'] { left: 50%; bottom: 8%; transform: translateX(-50%); }

.engine-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(255, 244, 230, 0.92));
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.engine-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.engine-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engine-score {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  font-weight: 800;
  white-space: nowrap;
}

.engine-flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.engine-flow div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.engine-flow strong,
.engine-flow span {
  display: block;
}

.engine-flow strong {
  margin-bottom: 8px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.impact-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(255, 246, 234, 0.92));
  border: 1px solid rgba(20, 33, 61, 0.06);
  box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.impact-card.accent {
  background: linear-gradient(180deg, rgba(31, 58, 95, 0.98), rgba(46, 93, 148, 0.92));
  color: white;
}

.impact-card.accent p,
.impact-card.accent .metric-label {
  color: rgba(255, 255, 255, 0.82);
}

.metric-label,
.pulse-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pulse-story {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(227, 139, 26, 0.12), rgba(31, 58, 95, 0.08));
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.pulse-story h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.pulse-story p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 16px;
}

.campus-rail {
  display: grid;
  gap: 12px;
}

.campus-btn {
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 16px 18px;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.campus-btn.active {
  background: linear-gradient(135deg, #1f3a5f, #2e5d94);
  color: white;
  box-shadow: 0 16px 30px rgba(31, 58, 95, 0.2);
}

.cockpit-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(255, 245, 231, 0.92));
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.cockpit-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.cockpit-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campus-status {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  font-weight: 800;
}

.mini-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mini-chart {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.mini-chart span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mini-chart strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  overflow: hidden;
}

.bar-fill {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e38b1a, #2e5d94);
}

.bar-fill.alt {
  width: 56%;
  background: linear-gradient(90deg, #2f6f6d, #78a1ff);
}

.bar-fill.accent {
  width: 91%;
  background: linear-gradient(90deg, #1f3a5f, #e38b1a);
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.signal-list article {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.signal-list strong,
.signal-list span {
  display: block;
}

.signal-list strong {
  margin-bottom: 6px;
}

.role-rail {
  display: grid;
  gap: 12px;
}

.role-btn {
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  padding: 16px 18px;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.role-btn.active {
  background: linear-gradient(135deg, #1f3a5f, #2e5d94);
  color: white;
  box-shadow: 0 16px 30px rgba(31, 58, 95, 0.2);
}

.control-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(255, 245, 231, 0.92));
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.control-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.control-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  font-weight: 800;
}

.trust-meter {
  height: 12px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  overflow: hidden;
  margin: 18px 0 18px;
}

.trust-meter-fill {
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e38b1a, #2e5d94);
  transition: width 0.24s ease;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.role-cards article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.role-cards strong,
.role-cards span {
  display: block;
}

.role-cards strong {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.intake-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.intake-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.intake-form select {
  appearance: none;
  border: 1px solid rgba(20, 33, 61, 0.1);
  background: rgba(255, 250, 243, 0.96);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.intake-result {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 58, 95, 0.98), rgba(46, 93, 148, 0.9));
  color: white;
  display: grid;
  align-content: start;
  gap: 12px;
}

.intake-result p {
  color: rgba(255, 255, 255, 0.82);
}

.result-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-cards {
  display: grid;
  gap: 12px;
}

.result-cards div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.result-cards strong,
.result-cards span {
  display: block;
}

.result-cards strong {
  margin-bottom: 6px;
}

.selector-panel {
  display: grid;
  gap: 12px;
}

.choice {
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.choice.active {
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.96), rgba(46, 93, 148, 0.92));
  color: white;
  box-shadow: 0 12px 26px rgba(31, 58, 95, 0.2);
}

.route-panel {
  padding: 24px;
}

.route-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8d4f00;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.route-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.route-steps div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline > div {
  padding: 20px;
}

.timeline span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin: 10px 0;
  font-size: 1.15rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-grid,
  .journey-grid,
  .intake-grid,
  .control-grid,
  .engine-grid,
  .impact-grid,
  .cockpit-grid,
  .pillar-grid,
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 18px, 1120px);
    padding-top: 12px;
  }

  .hero,
  .platform-section,
  .journey-section,
  .intake-section,
  .roadmap,
  .text-card {
    padding: 18px;
    border-radius: 22px;
  }

  nav {
    gap: 12px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .control-topline,
  .role-cards {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .network-map {
    min-height: 360px;
  }

  .pulse-story {
    grid-template-columns: 1fr;
  }

  .mini-charts {
    grid-template-columns: 1fr;
  }

  .node[data-node='student'] { left: 50%; top: 46%; }
  .node[data-node='peer'] { left: 18%; top: 18%; }
  .node[data-node='triage'] { right: 12%; top: 18%; }
  .node[data-node='counselor'] { right: 10%; bottom: 12%; }
  .node[data-node='campus'] { left: 14%; bottom: 12%; }
  .node[data-node='followup'] { left: 50%; bottom: 6%; }
}
