:root {
  --bg-dark: #0b0d12;
  --bg-dark-soft: #121522;
  --bg-light: #f7f8fb;
  --surface-light: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.08);
  --surface-dark-strong: rgba(255, 255, 255, 0.12);
  --text-on-dark: #ffffff;
  --text-on-light: #141722;
  --text-muted-dark: #b5b8c5;
  --text-muted-light: #5f6578;
  --border-light: #e4e7f0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --accent: #6f7bff;
  --accent-strong: #9b7cff;
  --accent-soft: rgba(111, 123, 255, 0.16);
  --max-width: 1200px;
  --radius: 18px;
  --radius-large: 30px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(13, 19, 33, 0.12);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.3);
  color-scheme: dark light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-rendering: optimizeLegibility;
}

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

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

p {
  line-height: 1.65;
}

.section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 120px 24px;
}

.section-dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(111, 123, 255, 0.25), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(155, 124, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg-dark), var(--bg-dark-soft));
  color: var(--text-on-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 92px;
}

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

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: block;
  width: 96px;
  height: auto;
  margin-bottom: 42px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

h2 {
  max-width: 860px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 34px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.hero-subtitle {
  max-width: 620px;
  color: var(--text-muted-dark);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section-cta {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 16px 44px rgba(111, 123, 255, 0.34);
}

.button-secondary {
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
}

.founders-line,
.contact-line {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin-top: 22px;
}

.founders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.founders-list p {
  flex-basis: 100%;
  color: var(--text-muted-dark);
  font-size: 14px;
}

.founders-list a,
.founders-list span {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 750;
  padding: 9px 13px;
}

.founders-list a:hover,
.founders-list a:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.72;
}

.orb-one {
  top: 8%;
  right: 10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(111, 123, 255, 0.68), transparent 66%);
}

.orb-two {
  bottom: 0;
  left: 6%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(155, 124, 255, 0.5), transparent 68%);
}

.floating-card {
  position: absolute;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(22px);
}

.floating-card-main {
  top: 72px;
  right: 20px;
  width: min(360px, 88%);
  padding: 30px;
}

.floating-card-small {
  bottom: 90px;
  left: 12px;
  width: 230px;
  padding: 22px;
}

.floating-card-offset {
  right: 56px;
  bottom: 30px;
  left: auto;
}

.floating-card strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-top: 10px;
}

.floating-card p {
  color: var(--text-muted-dark);
  margin-top: 12px;
}

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

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

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

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

.card,
.metric-card,
.pipeline-card,
.ask-card {
  border-radius: var(--radius);
  padding: 26px;
}

.card {
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.card-dark,
.ask-card {
  border-color: var(--border-dark);
  background: var(--surface-dark);
  box-shadow: var(--shadow-dark);
}

.card-label {
  display: inline-flex;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.card p,
.metric-card p,
.pipeline-step p {
  color: var(--text-muted-light);
  margin-top: 12px;
}

.card-dark p,
.ask-card p,
.section-dark .feature-list,
.section-dark .feature-list li {
  color: var(--text-muted-dark);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--text-muted-light);
  font-size: 18px;
  list-style: none;
}

.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-left: 48px;
}

.feature-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(111, 123, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 4px, transparent 5px),
    var(--accent-soft);
  box-shadow: 0 8px 22px rgba(111, 123, 255, 0.18);
  content: "";
  transform: translateY(-50%);
}

.feature-list.compact {
  font-size: 16px;
  gap: 14px;
}

.feature-list.compact li {
  min-height: 30px;
  padding-left: 42px;
}

.feature-list.compact li::before {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 3px, transparent 4px),
    var(--accent-soft);
}

.pipeline-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 15% 0%, var(--accent-soft), transparent 40%),
    var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.pipeline-step {
  border: 1px solid var(--border-light);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
}

.pipeline-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.pipeline-step strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.035em;
}

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

.metric-card {
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  box-shadow: var(--shadow-soft);
}

.metric {
  display: block;
  color: var(--accent);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin-bottom: 22px;
}

.ask-card {
  padding: 34px;
}

.ask-card h3 {
  margin-bottom: 20px;
}

.ask-number {
  display: block;
  color: #ffffff;
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin-bottom: 28px;
}

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

.closing {
  min-height: 60vh;
  text-align: center;
}

.closing .section-inner {
  max-width: 760px;
}

.closing h2 {
  margin-left: auto;
  margin-right: auto;
}

.closing p {
  color: var(--text-muted-dark);
  font-size: 19px;
  margin: 0 auto 28px;
  max-width: 640px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1023px) {
  .section {
    min-height: auto;
    padding: 96px 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .ask-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-visual {
    min-height: 390px;
  }

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

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

@media (max-width: 639px) {
  .section {
    padding: 82px 18px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 12vw, 44px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: grid;
    min-height: auto;
    gap: 12px;
  }

  .floating-card-main,
  .floating-card-small,
  .floating-card-offset {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 20px;
  }

  .floating-card {
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  }

  .floating-card strong {
    font-size: 24px;
  }

  .floating-card p {
    font-size: 16px;
    line-height: 1.45;
  }

  .floating-card .card-label {
    margin-bottom: 10px;
  }

  .hero-visual .orb {
    display: none;
  }

  .card-grid,
  .problem-grid,
  .business-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .metric-card,
  .pipeline-card,
  .ask-card {
    padding: 22px;
  }

  .ask-number {
    font-size: clamp(54px, 18vw, 72px);
  }
}

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