:root {
  --bg: #ffffff;
  --text: #1d1b20;
  --muted: rgba(60, 60, 67, 0.62);
  --muted-strong: rgba(60, 60, 67, 0.8);
  --purple: #6155f5;
  --purple-deep: #4e3fdb;
  --purple-soft: rgba(97, 85, 245, 0.1);
  --border: rgba(97, 85, 245, 0.12);
  --shadow: 0 22px 56px rgba(65, 46, 103, 0.12);
  --shadow-strong: 0 30px 80px rgba(65, 46, 103, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: #fff;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: max(180vh, 1400px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #f8f7ff 0%,
    #f0effe 15%,
    #e8e4fd 35%,
    #ddd8fc 50%,
    #e8e4fd 65%,
    #f0effe 82%,
    #f8f7ff 92%,
    #fff 100%
  );
}

a {
  color: inherit;
}

.marketing-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.marketing-hero {
  min-height: 100vh;
  padding: 56px 0 160px;
  position: relative;
  overflow: hidden;
  background: transparent;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.marketing-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(102, 74, 185, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(97, 85, 245, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.marketing-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(78vh - 216px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

.marketing-brand {
  width: 280px;
  height: auto;
  margin-bottom: 2.5rem;
}

.marketing-eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}

.marketing-title {
  margin: 0;
  max-width: 760px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.marketing-subtitle {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
}

.marketing-hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.marketing-download-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(97, 85, 245, 0.16);
  box-shadow: 0 18px 36px rgba(65, 46, 103, 0.1);
  color: var(--purple-deep);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.marketing-download-button:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 85, 245, 0.26);
  box-shadow: 0 22px 44px rgba(65, 46, 103, 0.14);
}

.marketing-download-icon {
  display: inline-block;
  color: var(--purple);
  font-size: 1rem;
  line-height: 1;
}

.marketing-main {
  position: relative;
  margin-top: -132px;
  padding-bottom: 80px;
  z-index: 1;
}

.marketing-stage,
.form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 247, 255, 0.98) 100%);
  border: 1px solid rgba(229, 226, 241, 0.9);
  box-shadow: var(--shadow-strong);
}

.marketing-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.86fr);
  gap: 0;
  border-radius: 36px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 12px;
}

.marketing-stage-video,
.marketing-stage-jumps {
  padding: 30px 30px 28px;
}

.marketing-stage-jumps {
  border-left: 1px solid rgba(229, 226, 241, 0.9);
  background: linear-gradient(
    135deg,
    rgba(246, 242, 255, 0.98) 0%,
    rgba(242, 237, 255, 0.96) 48%,
    rgba(237, 231, 255, 0.94) 100%
  );
}

.video-card-header h2,
.panel-card-head h2,
.form-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.video-card-header p,
.panel-card-head p,
.form-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.video-frame {
  position: relative;
  margin-top: 22px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 40px rgba(20, 14, 34, 0.24);
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at center, rgba(97, 85, 245, 0.24), transparent 35%),
    linear-gradient(180deg, rgba(23, 17, 29, 0.82) 0%, rgba(10, 8, 15, 0.94) 100%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-frame-placeholder strong {
  font-size: 1rem;
  color: #fff;
}

.video-frame-placeholder.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.video-meta-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.video-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(97, 85, 245, 0.1);
  color: var(--purple-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.video-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #9a8fff 0%, var(--purple) 100%);
  box-shadow: 0 0 0 6px rgba(97, 85, 245, 0.08);
}

.chapter-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.chapter-button {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  padding: 18px 18px 18px 20px;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.chapter-button:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 85, 245, 0.22);
  box-shadow: 0 12px 28px rgba(97, 85, 245, 0.1);
}

.chapter-button.is-active {
  background: linear-gradient(180deg, rgba(97, 85, 245, 0.12) 0%, rgba(97, 85, 245, 0.05) 100%);
  border-color: rgba(97, 85, 245, 0.24);
  box-shadow: 0 16px 34px rgba(97, 85, 245, 0.12);
}

.chapter-index {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(97, 85, 245, 0.16) 0%, rgba(97, 85, 245, 0.08) 100%);
  color: var(--purple-deep);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chapter-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text);
}

.chapter-description {
  margin: 6px 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

.chapter-time {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 4px;
}

#business-team,
#tech-team,
#advisory-board,
#contact {
  scroll-margin-top: 24px;
}

.team-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.team-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(229, 226, 241, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 247, 255, 0.98) 100%);
  box-shadow: var(--shadow);
}

.team-panel--wide {
  grid-column: 1 / -1;
}

.team-panel-head h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.team-panel-kicker {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

.team-panel-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.team-panel-grid {
  display: grid;
  gap: 14px;
}

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

.team-panel-grid .team-member-card {
  padding: 16px;
  border-radius: 22px;
  grid-template-columns: 98px 1fr;
  box-shadow: none;
}

.team-panel-grid .team-member-photo {
  width: 98px;
  height: 128px;
  border-radius: 20px;
}

.team-panel-grid .team-member-copy h3 {
  font-size: 1.05rem;
}

.team-panel-grid .team-member-role {
  margin-bottom: 8px;
}

.team-panel-grid .team-member-copy ul {
  font-size: 0.95rem;
}

.team-panel-grid .team-member-copy li + li {
  margin-top: 4px;
}

.team-member-sublist {
  margin: 6px 0 0 18px;
  padding-left: 18px;
  list-style-type: circle;
}

.team-member-sublist li {
  margin-top: 0;
}

.team-member-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(229, 226, 241, 0.9);
  background: rgba(255, 255, 255, 0.94);
}

.team-member-photo {
  width: 124px;
  height: 156px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  background: #ece8fb;
}

.team-member-photo-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, #877af8 100%);
}

.team-member-copy h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.team-member-role {
  margin: 6px 0 10px;
  color: var(--purple-deep);
  font-weight: 700;
}

.team-member-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.team-member-copy li + li {
  margin-top: 6px;
}

.advisory-disclaimer {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-card {
  margin-top: 28px;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
}

.marketing-form {
  margin-top: 20px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(97, 85, 245, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(97, 85, 245, 0.32);
  box-shadow: 0 0 0 4px rgba(97, 85, 245, 0.08);
  transform: translateY(-1px);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(31, 22, 35, 0.36);
}

.marketing-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--purple) 0%, #877af8 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(97, 85, 245, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.marketing-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(97, 85, 245, 0.3);
}

.marketing-submit:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.marketing-response {
  margin-top: 14px;
  min-height: 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.marketing-response.is-success {
  color: #256b33;
}

.marketing-response.is-error {
  color: #a43131;
}

.marketing-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 8px 0;
  color: rgba(31, 22, 35, 0.44);
  font-size: 0.88rem;
}

.marketing-footer a {
  text-decoration: none;
  color: inherit;
}

.marketing-footer a:hover {
  color: var(--purple);
}

.chapter-button:focus-visible,
.marketing-submit:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid rgba(97, 85, 245, 0.18);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .marketing-hero {
    min-height: auto;
    padding-bottom: 136px;
  }

  .marketing-stage {
    grid-template-columns: 1fr;
  }

  .marketing-stage-jumps {
    border-left: 0;
    border-top: 1px solid rgba(229, 226, 241, 0.9);
  }

  .team-panels,
  .team-panel-grid {
    grid-template-columns: 1fr;
  }

  .team-panel-grid--advisory {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .marketing-shell {
    width: min(100% - 20px, 680px);
  }

  .marketing-hero {
    padding: 28px 0 124px;
  }

  .marketing-brand {
    width: 220px;
    margin-bottom: 2rem;
  }

  .marketing-title {
    font-size: 2.7rem;
  }

  .marketing-subtitle {
    font-size: 1rem;
  }

  .marketing-main {
    margin-top: -96px;
    padding-bottom: 56px;
  }

  .marketing-main::before {
    top: -112px;
    right: -10px;
    width: clamp(26px, 12vw, 56px);
    height: 220px;
  }

  .marketing-stage,
  .form-card {
    border-radius: 28px;
  }

  .marketing-stage-video,
  .marketing-stage-jumps,
  .form-card {
    padding: 22px 18px;
  }

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

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

  .chapter-time {
    grid-column: 2;
    margin-top: 2px;
  }

  .team-panel {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .team-panel-grid .team-member-card {
    grid-template-columns: 1fr;
  }

  .team-panel-grid .team-member-photo {
    width: 92px;
    height: 118px;
  }

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

  .team-member-photo {
    width: 96px;
    height: 124px;
    border-radius: 20px;
  }

  .marketing-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
