:root {
  --background: #09090d;
  --background-deep: #050507;

  --surface: rgba(255, 255, 255, 0.055);
  --surface-raised: rgba(255, 255, 255, 0.085);
  --surface-soft: rgba(255, 255, 255, 0.035);

  --accent: #8a7cff;
  --accent-bright: #a89cff;
  --accent-deep: #5f47ff;

  --text: rgba(255, 255, 255, 0.94);
  --text-soft: rgba(255, 255, 255, 0.66);
  --text-muted: rgba(255, 255, 255, 0.4);

  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --active-border: rgba(138, 124, 255, 0.42);

  --shadow: rgba(138, 124, 255, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(138, 124, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 18% 6%, rgba(95, 71, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #0e0e14 0%, var(--background) 42rem, #07070a 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 28rem),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.38));
}

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

::selection {
  background: rgba(138, 124, 255, 0.35);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(7, 7, 10, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  width: 98px;
  overflow: hidden;
  transition:
    transform 500ms var(--ease-out),
    opacity 500ms var(--ease-out);
}

.brand:hover {
  transform: translateY(-1px) scale(1.025);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  gap: 6px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 720;
}

nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  transition:
    color 280ms var(--ease-out),
    background 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

nav a::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 76px 0 104px;
}

.hero-copy {
  max-width: 650px;
  animation: floatIn 900ms var(--ease-out) both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 920;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.7;
}

.hero-logo {
  display: block;
  width: min(100%, 470px);
  height: auto;
  margin: 0 0 28px;
  filter:
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 28px rgba(138, 124, 255, 0.12));
  transform-origin: left center;
  animation: logoReveal 900ms var(--ease-out) 90ms both;
}

.hero-text {
  max-width: 560px;
  font-size: clamp(18px, 2vw, 23px);
  animation: floatIn 900ms var(--ease-out) 160ms both;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: floatIn 900ms var(--ease-out) 240ms both;
}

.button,
.improve-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 420ms var(--ease-out),
    border-color 420ms var(--ease-out),
    background 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out);
}

.button::before,
.improve-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 38%,
    transparent 72%
  );
  opacity: 0;
  transform: translateX(-60%);
  transition:
    opacity 420ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.button:hover,
.improve-button:hover {
  transform: translateY(-3px);
  border-color: var(--active-border);
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 34px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.button:hover::before,
.improve-button:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.button:active,
.improve-button:active {
  transform: translateY(-1px) scale(0.985);
}

.button.primary {
  border-color: rgba(138, 124, 255, 0.48);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, #7766ff, #5b3fe8);
  box-shadow:
    0 18px 42px rgba(95, 71, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.secondary {
  color: var(--text-soft);
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
  animation: phoneEnter 1000ms var(--ease-out) 160ms both;
}

.phone-wrap::before {
  position: absolute;
  top: 7%;
  width: 390px;
  height: 560px;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(138, 124, 255, 0.18), transparent 64%);
  filter: blur(22px);
  content: "";
  opacity: 0.86;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 35px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 14%),
    #050507;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.5),
    0 0 52px rgba(138, 124, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: rotateX(3deg) rotateY(-7deg);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 700ms var(--ease-smooth),
    box-shadow 700ms var(--ease-smooth);
}

.phone:hover {
  box-shadow:
    0 48px 105px rgba(0, 0, 0, 0.56),
    0 0 72px rgba(138, 124, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.phone-status {
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
}

.phone-status span:first-child {
  width: 80px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.app-screen {
  position: relative;
  min-height: 620px;
  padding: 28px 22px;
  overflow: hidden;
  border-radius: 27px;
  background:
    radial-gradient(circle at 70% 10%, rgba(138, 124, 255, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24%),
    var(--background);
}

.app-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(138, 124, 255, 0.09), transparent 18rem);
  opacity: 0.7;
}

.app-screen > * {
  position: relative;
}

.small-muted {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.2;
}

.app-screen h2 {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1;
}

.divider {
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(138, 124, 255, 0.34), transparent);
}

.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-button,
.feature,
.score-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 14px 36px rgba(0, 0, 0, 0.16);
}

.app-button {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  transition:
    transform 420ms var(--ease-out),
    background 420ms var(--ease-out),
    border-color 420ms var(--ease-out);
}

.app-button:hover {
  transform: translateY(-3px);
  border-color: var(--active-border);
  background:
    linear-gradient(180deg, rgba(138, 124, 255, 0.11), rgba(255, 255, 255, 0.035)),
    var(--surface-raised);
}

.app-button strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.app-button small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
}

.icon,
.feature-icon {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 22px;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 12px rgba(138, 124, 255, 0.28));
}

.icon::before,
.icon::after,
.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.route::before,
.map::before {
  inset: 2px 8px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
  border-radius: 999px;
}

.badge::before,
.compass::before {
  inset: 2px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.check::before,
.list::before {
  left: 2px;
  top: 5px;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(-45deg);
}

.spark::before {
  inset: 4px;
  border: 3px solid currentColor;
  transform: rotate(45deg);
}

.skill-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(138, 124, 255, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(138, 124, 255, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.075);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.skill-head,
.score-row,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-head span,
.score-row strong {
  color: var(--text-muted);
  font-weight: 860;
}

.radar {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 18px auto 0;
  background:
    conic-gradient(
      from 18deg,
      rgba(138, 124, 255, 0.68),
      rgba(138, 124, 255, 0.22),
      rgba(168, 156, 255, 0.64)
    ),
    repeating-radial-gradient(
      circle,
      transparent 0 27px,
      rgba(255, 255, 255, 0.14) 28px 29px
    );
  clip-path: polygon(50% 7%, 92% 36%, 76% 88%, 24% 88%, 8% 36%);
  opacity: 0.92;
  animation: radarPulse 4.2s ease-in-out infinite;
}

.radar span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.52);
  transform: translate(-50%, -50%);
}

.section {
  padding: 104px 0;
  border-top: 1px solid rgba(138, 124, 255, 0.14);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  transition:
    transform 520ms var(--ease-out),
    border-color 520ms var(--ease-out),
    background 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out);
}

.feature::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 20% 0%, rgba(138, 124, 255, 0.18), transparent 44%);
  opacity: 0;
  transition: opacity 520ms var(--ease-out);
}

.feature > * {
  position: relative;
}

.feature:hover {
  transform: translateY(-7px);
  border-color: var(--active-border);
  background:
    linear-gradient(180deg, rgba(138, 124, 255, 0.095), rgba(255, 255, 255, 0.035)),
    var(--surface-raised);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 46px rgba(138, 124, 255, 0.08);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 850ms var(--ease-out),
    transform 850ms var(--ease-out),
    filter 850ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--text);
  font-weight: 850;
  transition:
    color 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

.text-link::after {
  content: "->";
  color: var(--accent-bright);
  transition: transform 280ms var(--ease-out);
}

.text-link:hover {
  color: white;
  transform: translateY(-1px);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.founder-link {
  color: var(--text);
  font-weight: 860;
  text-decoration: underline;
  text-decoration-color: rgba(138, 124, 255, 0.5);
  text-underline-offset: 0.18em;
  transition:
    color 280ms var(--ease-out),
    text-decoration-color 280ms var(--ease-out);
}

.founder-link:hover {
  color: var(--accent-bright);
  text-decoration-color: rgba(168, 156, 255, 0.9);
}

.score-panel {
  padding: 30px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.score-row {
  margin-bottom: 9px;
  font-weight: 850;
}

.bar {
  height: 6px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 18px rgba(138, 124, 255, 0.28);
  transform-origin: left;
}

.reveal.is-visible .bar span {
  animation: barGrow 1100ms var(--ease-out) both;
}

.improve-button {
  width: 100%;
  min-height: 58px;
  margin-top: 2px;
}

.pathway-panel {
  position: relative;
  display: grid;
  gap: 16px;
  animation: phoneEnter 1000ms var(--ease-out) 160ms both;
}

.pathway-panel::before {
  position: absolute;
  inset: -80px -40px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 30%, rgba(138, 124, 255, 0.22), transparent 38%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08), transparent 28%);
  filter: blur(12px);
  opacity: 0.9;
}

.orbital-card,
.founder-card,
.program-list article,
.contact-card-grid article {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026)),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 56px rgba(0, 0, 0, 0.2);
}

.orbital-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  overflow: hidden;
  border-radius: 32px;
}

.orbital-card::before,
.orbital-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(138, 124, 255, 0.18);
  border-radius: 999px;
}

.orbital-card::before {
  right: -80px;
  top: -92px;
  width: 260px;
  height: 260px;
}

.orbital-card::after {
  right: 42px;
  bottom: 40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(138, 124, 255, 0.16), transparent 68%);
}

.orbital-card > * {
  position: relative;
}

.orbital-card h2 {
  max-width: 360px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 60px);
}

.star-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border: 1px solid rgba(138, 124, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.2), transparent 36%),
    rgba(138, 124, 255, 0.12);
}

.star-mark::before {
  width: 28px;
  height: 28px;
  content: "";
  background: url("assets/Star.png") center / contain no-repeat;
  filter: drop-shadow(0 0 16px rgba(138, 124, 255, 0.55));
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-strip div {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(138, 124, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.metric-strip span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 820;
}

.mission-section .section-head {
  max-width: 900px;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 42px;
  padding: clamp(28px, 5vw, 54px);
  border-color: rgba(138, 124, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(138, 124, 255, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026)),
    var(--surface);
}

.founder-card h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5.2vw, 62px);
}

.founder-copy {
  align-self: end;
}

.founder-copy p:last-child {
  margin-bottom: 0;
}

.program-list {
  display: grid;
  gap: 14px;
}

.program-list article {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 24px;
  border-radius: 22px;
  transition:
    transform 420ms var(--ease-out),
    border-color 420ms var(--ease-out),
    background 420ms var(--ease-out);
}

.program-list article:hover {
  transform: translateY(-4px);
  border-color: var(--active-border);
  background:
    linear-gradient(180deg, rgba(138, 124, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--surface-raised);
}

.program-list strong {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.program-list span {
  color: var(--text-soft);
  line-height: 1.55;
}

.app-section .section-head {
  max-width: 820px;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.app-showcase .phone-wrap {
  justify-content: flex-start;
}

.app-showcase .phone {
  transform: rotateX(3deg) rotateY(7deg);
}

.app-showcase .app-screen {
  min-height: 500px;
}

.app-showcase .score-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.contact-card-grid article {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 22px;
  border-radius: 20px;
}

.contact-card-grid strong {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 920;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card-grid a {
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
  transition: color 280ms var(--ease-out);
}

.contact-card-grid a:hover {
  color: var(--accent-bright);
}

footer {
  min-height: 90px;
  border-top: 1px solid rgba(138, 124, 255, 0.14);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 760;
}

footer a {
  transition:
    color 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

footer a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 28px rgba(138, 124, 255, 0.12));
  }
}

@keyframes phoneEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.965);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes radarPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.035);
    filter: brightness(1.12);
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .hero,
  .split,
  .feature-grid,
  .mission-grid,
  .founder-card,
  .app-showcase,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 40px;
    padding-top: 34px;
  }

  .phone {
    transform: none;
  }

  .app-showcase .phone-wrap {
    justify-content: center;
  }

  .app-showcase .phone {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .site-header {
    align-items: center;
    gap: 14px;
    padding-inline: 14px;
  }

  .brand {
    width: 86px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
    font-size: 13px;
  }

  nav a {
    padding: 9px 8px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 56px;
  }

  .phone {
    width: 100%;
  }

  .app-screen {
    min-height: 560px;
    padding: 24px 18px;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }

  .app-button {
    min-height: 88px;
  }

  .section {
    padding: 76px 0;
  }

  .orbital-card {
    min-height: auto;
    padding: 26px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .founder-card {
    gap: 22px;
  }

  .program-list article,
  .contact-card-grid article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 460px;
  height: 460px;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(138, 124, 255, 0.16), transparent 62%);
  filter: blur(22px);
  opacity: 0.8;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 400ms var(--ease-out);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 18px rgba(138, 124, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header::before {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(640px, 80vw);
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 124, 255, 0.5),
    transparent
  );
  transform: translateX(-50%);
  opacity: 0.55;
}

.hero-title {
  max-width: 640px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
  animation: floatIn 900ms var(--ease-out) 120ms both;
}

.hero-copy::before {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(138, 124, 255, 0.26);
  border-radius: 999px;
  background: rgba(138, 124, 255, 0.08);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  content: "Nonprofit career pathways initiative";
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: floatIn 900ms var(--ease-out) both;
}

.hero-copy .eyebrow {
  display: none;
}

.phone::after {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 28px;
  content: "";
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.12),
      transparent 22%,
      transparent 72%,
      rgba(255, 255, 255, 0.04)
    );
  opacity: 0.55;
}

.app-button:nth-child(1) {
  transition-delay: 40ms;
}

.app-button:nth-child(2) {
  transition-delay: 80ms;
}

.app-button:nth-child(3) {
  transition-delay: 120ms;
}

.app-button:nth-child(4) {
  transition-delay: 160ms;
}

.feature-grid:hover .feature:not(:hover) {
  opacity: 0.72;
  transform: scale(0.985);
}

.score-panel {
  position: relative;
  overflow: hidden;
}

.score-panel::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(138, 124, 255, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}

.score-panel:hover::before {
  opacity: 1;
}

.score-panel > * {
  position: relative;
}

.button.primary {
  animation: softPulse 4.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow:
      0 18px 42px rgba(95, 71, 255, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  50% {
    box-shadow:
      0 22px 56px rgba(95, 71, 255, 0.34),
      0 0 34px rgba(138, 124, 255, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 900px) {
  .cursor-glow {
    display: none;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 68px);
  }

  .hero-copy::before {
    margin-bottom: 14px;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 98px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.contact {
  max-width: 940px;
  padding-bottom: 112px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact .button.secondary {
  min-width: 260px;
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    width: 86px;
  }

  nav {
    gap: 2px;
    font-size: 12px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .contact .button.secondary {
    min-width: 0;
  }
}

