:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #0d0d12;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --border: rgba(180, 130, 255, 0.16);
  --border-strong: rgba(180, 130, 255, 0.28);
  --text: #f5f1ff;
  --muted: rgba(245, 241, 255, 0.66);
  --soft: rgba(245, 241, 255, 0.48);
  --accent: #a855f7;
  --accent-2: #7c3aed;
  --max: 1080px;
  --nav-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(124, 58, 237, 0.18), transparent 34rem),
    linear-gradient(180deg, #08080c 0%, var(--bg) 38%, #040405 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.12;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--nav-height);
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(180, 130, 255, 0.11);
  background: rgba(5, 5, 6, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.32));
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 34px);
}

.navbar nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar nav a:hover {
  color: white;
}

main {
  padding-top: var(--nav-height);
}

.hero,
.section,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 96px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  width: min(420px, 75vw);
  height: 220px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  filter: blur(70px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #c9a3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 1px solid rgba(168, 85, 247, 0.42);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.22);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  padding: 46px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 20px;
}

.section-header h2,
.small-card h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.founder-card,
.content-panel,
.small-card,
.value-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 12, 17, 0.86);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.founder-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.founder-card:hover,
.value-card:hover,
.small-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.founder-photo {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 18px;
  background: rgba(168, 85, 247, 0.07);
}

.founder-photo img {
  width: 52px;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.26));
}

.founder-info h3 {
  margin-bottom: 6px;
  color: white;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.2;
}

.founder-role {
  margin-bottom: 16px;
  color: #c9a3ff;
  font-size: 13px;
  font-weight: 800;
}

.founder-info p:last-child,
.readable-copy p,
.small-card p,
.value-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.founder-info p:last-child,
.small-card p,
.value-card p {
  margin-bottom: 0;
}

.content-panel {
  padding: 28px;
}

.readable-copy {
  max-width: 790px;
}

.readable-copy p {
  margin-bottom: 16px;
}

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

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

.small-card {
  padding: 24px;
}

.small-card h2 {
  margin-bottom: 14px;
}

.values-section {
  padding-bottom: 56px;
}

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

.value-card {
  min-height: 168px;
  padding: 22px;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 15%, rgba(168, 85, 247, 0.18), transparent 62%),
    rgba(168, 85, 247, 0.08);
  box-shadow:
    0 0 22px rgba(168, 85, 247, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #d8c0ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card:hover .value-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(201, 163, 255, 0.52);
  background:
    radial-gradient(circle at 50% 15%, rgba(168, 85, 247, 0.26), transparent 66%),
    rgba(168, 85, 247, 0.11);
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.value-card h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(180, 130, 255, 0.12);
}

.footer img {
  width: 28px;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  animation: reveal 0.62s ease forwards;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 92px;
  }

  .navbar {
    min-height: var(--nav-height);
    padding: 12px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .navbar nav a {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero,
  .section,
  .footer {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 58px 0 42px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .section {
    padding: 34px 0;
  }

  .founder-card,
  .mission-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .founder-card,
  .content-panel,
  .small-card,
  .value-card {
    padding: 20px;
  }

  .founder-card {
    gap: 16px;
  }

  .founder-photo {
    width: 74px;
    height: 74px;
  }

  .founder-photo img {
    width: 44px;
  }

  .value-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 30px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .navbar nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
