:root {
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --text: #ffffff;
  --muted: #a0a0a0;
  --border: #2a2a2a;
  --teal: #7c50c2;
  --teal-bright: #9b6fd3;
  --coral: #b8a1ff;
  --coral-bright: #d2c3ff;
  --error: #ef4444;
  --success: #22c55e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  opacity: 0;
  animation: page-in 0.45s ease-out forwards;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(124, 80, 194, 0.35);
}

.container {
  width: 100%;
  padding-inline: clamp(16px, 4vw, 64px);
  margin: 0 auto;
}

.container--narrow {
  max-width: 1080px;
}

.grid-founder {
  gap: clamp(32px, 6vw, 80px);
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-2);
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
.heading-xl {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h2,
.heading-l {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.14;
  font-weight: 750;
  letter-spacing: 0;
}

h3,
.heading-m {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 650;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.muted {
  color: var(--muted);
}

.text-teal {
  color: var(--teal);
}

.text-coral {
  color: var(--coral);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-bright) 42%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 64px;
  border-bottom: 1px solid transparent;
  background: rgba(15, 15, 15, 0.56);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(15, 15, 15, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  color: var(--text);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
}

.logo img {
  width: clamp(92px, 10vw, 118px);
  height: auto;
}

.logo:hover {
  color: var(--teal);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link,
.dropdown-trigger {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  background: transparent;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active,
.dropdown:hover .dropdown-trigger,
.dropdown-trigger.active {
  color: var(--text);
}

.nav-link.active,
.dropdown-trigger.active {
  color: var(--teal);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: rgba(124, 80, 194, 0.12);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(124, 80, 194, 0.18);
}

.btn-primary:hover {
  background: var(--teal-bright);
  box-shadow: 0 16px 36px rgba(124, 80, 194, 0.28);
}

.btn-secondary {
  border-color: var(--teal);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-2);
  border-color: var(--teal);
}

.btn-coral {
  background: var(--coral);
  color: #160b07;
}

.btn-coral:hover {
  background: var(--coral-bright);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 0 86px;
  background:
    radial-gradient(circle at 16% 20%, rgba(124, 80, 194, 0.22), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(234, 139, 96, 0.16), transparent 32%),
    linear-gradient(135deg, #0f0f0f, #141414 56%, #0f0f0f);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(160, 160, 160, 0.17) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.24;
}

.orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.orb--teal {
  top: 16%;
  left: 8%;
  background: var(--teal);
}

.orb--coral {
  right: 6%;
  bottom: 12%;
  background: var(--coral);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero-copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-content .lede {
  margin-left: auto;
  margin-right: auto;
}

.duo-card {
  width: min(620px, 100%);
  margin: 24px auto 32px;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid rgba(124, 80, 194, 0.14);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  text-align: left;
}

.duo-card-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.duo-label {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.avatar-row {
  display: flex;
  margin: 0;
}

.avatar-row img {
  width: clamp(42px, 6vw, 50px);
  height: clamp(42px, 6vw, 50px);
  border: 2px solid var(--bg);
  border-radius: 999px;
  object-fit: cover;
  filter: grayscale(0.3);
}

.avatar-row img + img {
  margin-left: -12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 48px;
}

.scroll-indicator {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator span {
  color: var(--teal);
  font-size: 26px;
  animation: bounce 1.25s ease-in-out infinite;
}

.page-hero {
  padding: 144px 0 72px;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 18px 46px rgba(124, 80, 194, 0.14);
}

.problem-card .symbol {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #ff8a8a;
  font-weight: 900;
}

.quote {
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--bg-2);
  padding: 32px;
  color: var(--text);
  font-size: 18px;
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 16px;
  color: var(--teal);
  font-size: 14px;
  font-style: normal;
}

.founder-card {
  display: grid;
  gap: 24px;
  align-content: start;
}

.founder-photo {
  overflow: hidden;
  width: min(300px, 100%);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.founder-card:hover .founder-photo img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.founder-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.founder-socials img {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.founder-socials img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 32px auto;
  max-width: 860px;
}

.flow-box {
  min-height: 80px;
  display: grid;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 18px;
  font-weight: 800;
  text-align: center;
}

.flow-box.final {
  border-color: var(--teal);
  background: var(--teal);
  color: #071311;
}

.flow-mark {
  color: var(--coral);
  font-size: 28px;
  font-weight: 900;
}

.phase-stack {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.phase-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px;
}

.phase-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--teal);
  color: #071311;
  font-size: 24px;
  font-weight: 900;
}

.phase-subtitle {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.phase-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.phase-meta--single {
  grid-template-columns: minmax(0, 280px);
}

.meta-box,
.outcome {
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.meta-value {
  color: var(--text);
  font-weight: 800;
}

.form-shell {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  color: var(--text);
  padding: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(124, 80, 194, 0.14);
}

.field .error {
  min-height: 18px;
  color: #ff9b9b;
  font-size: 12px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--error);
}

.form-message {
  display: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
}

.form-message.show {
  display: block;
}

.form-message.success {
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
  color: #b9f6ca;
}

.form-message.error {
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.12);
  color: #ffc4c4;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: start;
}

.info-card {
  display: grid;
  gap: 12px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(124, 80, 194, 0.16);
  color: var(--teal);
}

.icon-box.coral {
  background: rgba(234, 139, 96, 0.16);
  color: var(--coral);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.email-link:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: clamp(34px, 4vw, 40px);
  height: clamp(34px, 4vw, 40px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.social-row img {
  width: 18px;
  height: 18px;
}

.social-row a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1,
.stagger-2,
.stagger-3,
.stagger-4 {
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

@keyframes page-in {
  to { opacity: 1; }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 900px) {
  .desktop-nav,
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    z-index: 90;
    display: grid;
    gap: 4px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 15, 15, 0.98);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  body.nav-open .mobile-menu {
    transform: translateY(0);
  }

  .mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 750;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    color: var(--teal);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-mark {
    transform: rotate(90deg);
  }

  .phase-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 118px 0 52px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 112px;
  }

  .button-row,
  .footer-bottom {
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
  }

  .card,
  .phase-card,
  .quote,
  .duo-card {
    padding: 22px;
  }

  .duo-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .phase-meta {
    grid-template-columns: 1fr;
  }
}
