:root {
  --bg: #071016;
  --surface: rgba(17, 30, 39, 0.88);
  --surface-strong: rgba(20, 38, 48, 0.95);
  --line: rgba(202, 229, 238, 0.15);

  --text: #f4fbfd;
  --muted: #9aafb8;
  --dim: #718791;

  --cyan: #52e8ff;
  --green: #50f5a8;
  --purple: #a68cff;

  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;

  color: var(--text);

  background:
    radial-gradient(
      700px 500px at 90% -10%,
      rgba(82, 232, 255, 0.10),
      transparent 70%
    ),
    radial-gradient(
      650px 500px at 5% 90%,
      rgba(166, 140, 255, 0.10),
      transparent 70%
    ),
    var(--bg);

  font-family: "Manrope", Arial, sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}


/* ==============================
   COMMON
============================== */

.container {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  z-index: -1;

  width: 20rem;
  height: 20rem;

  border-radius: 50%;

  filter: blur(100px);
  opacity: 0.12;

  pointer-events: none;
}

.glow-one {
  top: 12%;
  right: -9rem;
  background: var(--cyan);
}

.glow-two {
  bottom: -10rem;
  left: -9rem;
  background: var(--purple);
}

.eyebrow {
  margin: 0;

  color: var(--cyan);

  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-height: 50px;
  padding: 12px 19px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-size: 0.88rem;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #021014;

  background:
    linear-gradient(
      105deg,
      var(--green),
      var(--cyan)
    );

  box-shadow:
    0 12px 30px rgba(82, 232, 255, 0.12);
}


/* ==============================
   HEADER
============================== */

.site-header {
  position: relative;
  z-index: 20;

  padding: 18px 0;

  border-bottom: 1px solid rgba(202, 229, 238, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;

  text-decoration: none;
}

.brand-logo {
  display: block;

  width: 132px;
  height: auto;
  max-height: 42px;

  object-fit: contain;

  opacity: 0;
  transform: scale(0.96);

  animation:
    glime-logo-in
    0.65s cubic-bezier(0.22, 1, 0.36, 1)
    0.05s forwards;
}

@keyframes glime-logo-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 44px;
  height: 44px;

  padding: 9px;

  color: var(--text);

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-button span {
  display: block;

  width: 100%;
  height: 2px;

  background: currentColor;

  border-radius: 99px;
}

.main-nav {
  position: absolute;

  top: calc(100% + 8px);
  right: 14px;
  left: 14px;

  display: none;
  flex-direction: column;

  padding: 8px;

  background: rgba(7, 16, 22, 0.98);

  border: 1px solid var(--line);
  border-radius: 14px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  padding: 12px;

  color: var(--muted);

  font-size: 0.84rem;
  font-weight: 700;

  text-decoration: none;

  border-radius: 9px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}


/* ==============================
   HERO
============================== */

.hero {
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero h1 {
  max-width: 850px;

  margin: 16px 0;

  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1.03;

  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero-copy {
  max-width: 720px;

  margin: 0 0 28px;

  color: var(--muted);

  font-size: 1rem;
  line-height: 1.75;
}


/* ==============================
   SECTION HEADINGS
============================== */

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 10px 0;

  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 0;

  color: var(--muted);

  font-size: 0.92rem;
  line-height: 1.7;
}


/* ==============================
   STORY
============================== */

.story-section {
  padding-bottom: 70px;
}

.story-card {
  position: relative;

  padding: 28px 22px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 38, 48, 0.92),
      rgba(17, 30, 39, 0.80)
    );

  border: 1px solid var(--line);
  border-radius: var(--radius);

  overflow: hidden;
}

.story-card::after {
  position: absolute;

  right: -80px;
  bottom: -90px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(82, 232, 255, 0.11),
      transparent 70%
    );

  content: "";
  pointer-events: none;
}

.story-card h2 {
  position: relative;
  z-index: 1;

  max-width: 700px;

  margin: 12px 0 18px;

  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.story-card blockquote {
  position: relative;
  z-index: 1;

  max-width: 800px;

  margin: 0 0 24px;
  padding-left: 18px;

  color: var(--cyan);

  border-left: 2px solid var(--green);

  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;

  letter-spacing: -0.025em;
}

.story-card > p:last-child {
  position: relative;
  z-index: 1;

  max-width: 760px;

  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.75;
}


/* ==============================
   FOUNDER
============================== */

.founder-section {
  padding-bottom: 70px;
}

.founder-grid {
  display: grid;
  gap: 15px;
}

.founder-card,
.learning-card {
  padding: 25px 21px;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.founder-lead {
  margin: 0 0 20px;

  color: var(--text);

  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
}

.founder-card > p:not(.founder-lead) {
  margin: 0 0 15px;

  color: var(--muted);

  font-size: 0.84rem;
  line-height: 1.7;
}

.founder-card > p:last-child {
  margin-bottom: 0;
}

.learning-list {
  display: grid;
  gap: 0;
}

.learning-item {
  display: grid;

  grid-template-columns: 36px 1fr;
  column-gap: 10px;

  padding: 16px 0;

  border-bottom: 1px solid var(--line);
}

.learning-item:first-child {
  padding-top: 0;
}

.learning-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.learning-item span {
  grid-row: span 2;

  color: var(--green);

  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
}

.learning-item strong {
  font-size: 0.86rem;
}

.learning-item p {
  margin: 4px 0 0;

  color: var(--muted);

  font-size: 0.74rem;
  line-height: 1.55;
}


/* ==============================
   PROBLEM
============================== */

.problem-section {
  padding-bottom: 70px;
}

.problem-card {
  padding: 28px 22px;

  background:
    linear-gradient(
      145deg,
      rgba(80, 245, 168, 0.08),
      rgba(82, 232, 255, 0.06),
      rgba(17, 30, 39, 0.85)
    );

  border: 1px solid rgba(82, 232, 255, 0.20);
  border-radius: var(--radius);
}

.problem-card h2 {
  max-width: 850px;

  margin: 12px 0 17px;

  font-size: clamp(1.9rem, 8vw, 3.2rem);
  line-height: 1.06;

  letter-spacing: -0.05em;
}

.problem-card p {
  max-width: 760px;

  margin: 0 0 16px;

  color: var(--muted);

  font-size: 0.88rem;
  line-height: 1.72;
}

.problem-card p:last-child {
  margin-bottom: 0;
}

.problem-card .problem-highlight {
  color: var(--text);

  font-size: 1rem;
  font-weight: 700;
}


/* ==============================
   APPROACH
============================== */

.approach-section {
  padding-bottom: 70px;
}

.approach-grid {
  display: grid;
  gap: 15px;
}

.approach-card {
  padding: 23px 21px;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.approach-card:hover {
  transform: translateY(-3px);

  background: var(--surface-strong);

  border-color: rgba(82, 232, 255, 0.28);
}

.approach-number {
  color: var(--green);

  font-family: "DM Mono", monospace;
  font-size: 0.67rem;
}

.approach-card h3 {
  margin: 15px 0 8px;

  font-size: 1.2rem;

  letter-spacing: -0.03em;
}

.approach-card p {
  margin: 0;

  color: var(--muted);

  font-size: 0.8rem;
  line-height: 1.65;
}


/* ==============================
   MISSION
============================== */

.mission-section {
  padding-bottom: 70px;
}

.mission-card {
  display: grid;
  gap: 28px;

  padding: 27px 22px;

  background:
    linear-gradient(
      105deg,
      rgba(80, 245, 168, 0.09),
      rgba(82, 232, 255, 0.08),
      rgba(166, 140, 255, 0.08)
    );

  border: 1px solid rgba(82, 232, 255, 0.22);
  border-radius: var(--radius);
}

.mission-card h2 {
  max-width: 700px;

  margin: 11px 0 0;

  font-size: clamp(1.8rem, 7vw, 2.8rem);
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.mission-copy p {
  margin: 0 0 12px;

  color: var(--muted);

  font-size: 0.84rem;
  line-height: 1.7;
}

.mission-copy strong {
  display: block;

  margin-bottom: 15px;

  color: var(--text);

  font-size: 0.92rem;
}


/* ==============================
   VISION
============================== */

.vision-section {
  padding-bottom: 70px;
}

.vision-card {
  padding: 27px 22px;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vision-card h2 {
  max-width: 800px;

  margin: 11px 0 17px;

  font-size: clamp(1.8rem, 7vw, 2.8rem);
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.vision-card p:not(.eyebrow) {
  max-width: 760px;

  margin: 0 0 14px;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.7;
}

.vision-card p:last-child {
  margin-bottom: 0;
}


/* ==============================
   CTA
============================== */

.cta-section {
  padding-bottom: 70px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 25px;

  padding: 25px 21px;

  background:
    linear-gradient(
      105deg,
      rgba(80, 245, 168, 0.10),
      rgba(82, 232, 255, 0.08),
      rgba(166, 140, 255, 0.09)
    );

  border: 1px solid rgba(82, 232, 255, 0.23);
  border-radius: var(--radius);
}

.cta-card h2 {
  max-width: 700px;

  margin: 9px 0;

  font-size: clamp(1.7rem, 7vw, 2.5rem);
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.cta-card p:last-child {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: 0.85rem;
  line-height: 1.65;
}


/* ==============================
   FOOTER
============================== */

.site-footer {
  padding: 28px 0 34px;

  border-top: 1px solid rgba(202, 229, 238, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.footer-links a {
  color: var(--muted);

  font-size: 0.75rem;
  font-weight: 700;

  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-inner > p {
  margin: 0;

  color: var(--dim);

  font-size: 0.68rem;
}


/* ==============================
   TABLET
============================== */

@media (min-width: 650px) {

  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .story-card {
    padding: 34px 30px;
  }

  .founder-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .founder-card,
  .learning-card {
    padding: 28px;
  }

  .problem-card {
    padding: 35px 30px;
  }

  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-card {
    padding: 35px 30px;
  }

  .vision-card {
    padding: 35px 30px;
  }

  .cta-card {
    padding: 30px;
  }
}


/* ==============================
   DESKTOP
============================== */

@media (min-width: 900px) {

  .site-header {
    padding: 22px 0;
  }

  .menu-button {
    display: none;
  }

  .main-nav {
    position: static;

    display: flex;
    flex-direction: row;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
  }

  .main-nav a {
    padding: 8px 10px;

    font-size: 0.76rem;
  }

  .brand-logo {
    width: 140px;
    max-height: 44px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .story-card {
    padding: 45px;
  }

  .founder-card,
  .learning-card {
    padding: 32px;
  }

  .problem-card {
    padding: 45px;
  }

  .approach-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mission-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;

    padding: 45px;
  }

  .vision-card {
    padding: 45px;
  }

  .cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 36px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


/* ==============================
   REDUCED MOTION
============================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .brand-logo {
    opacity: 1;
    transform: none;
    animation: none;
  }
}