:root {
  --bg: #050505;
  --surface: #0f0f0f;
  --surface-strong: #141414;
  --surface-soft: #1b1b1b;
  --text: #f2f2f2;
  --text-muted: #adadad;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #0a0a0a 0%, #040404 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
}

.site-header,
.section,
.site-footer,
.legal-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 20%,
    rgba(255, 255, 255, 0.18) 80%,
    transparent 100%
  );
}

.brand {
  width: clamp(205px, 20vw, 320px);
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a,
.footer-links a,
.brand-back {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.brand-back:hover,
.brand-back:focus-visible {
  color: var(--text);
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 28px;
  padding-top: 56px;
  min-height: calc(100vh - 96px);
  align-items: center;
}

.hero-copy,
.hero-panel,
.venture-card,
.contact-card,
.section-content,
.legal-article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.section-content h2,
.section-heading h2,
.contact-card h2,
.legal-hero h1,
.legal-article h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.hero-text,
.section-content p,
.venture-card p,
.contact-card p,
.legal-hero p,
.legal-article p,
.legal-article li {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible,
.venture-card a:hover,
.venture-card a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: #fafafa;
  color: #111111;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 560px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #090909;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -8% -20% 28%;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(72px);
}

.hero-panel-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.hero-panel-eyebrow {
  margin-bottom: 0;
}

.hero-panel-brandmark {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
}

.hero-system-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
}

.hero-system-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.system-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.system-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-system-card h3,
.hero-system-card p {
  margin: 0;
}

.hero-system-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-system-card p {
  margin-top: 7px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.hero-panel-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  align-self: end;
}

.hero-panel-copy p,
.hero-panel-copy strong {
  margin: 0;
}

.hero-panel-copy p {
  color: var(--text-muted);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.hero-panel-copy strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.section-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.section-label {
  padding-top: 16px;
  color: var(--text-muted);
}

.section-label p,
.section-label span {
  margin: 0;
}

.section-label p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
}

.section-label span {
  display: block;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.section-content {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
}

.section-content h2,
.section-heading h2,
.contact-card h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.section-content p {
  max-width: 68ch;
  margin: 22px 0 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin-top: 8px;
}

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

.venture-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.venture-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.venture-logo-wrap-light {
  background: #ffffff;
}

.venture-logo-wrap-dark {
  background: #050505;
}

.venture-logo {
  width: auto;
  max-width: 100%;
  height: auto;
}

.venture-logo-mediproof {
  max-height: 56px;
}

.venture-logo-eventproof {
  max-height: 58px;
}

.venture-logo-sherpa {
  max-height: 72px;
}

.venture-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.venture-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.venture-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.venture-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.venture-card p {
  margin: 0;
  flex: 1;
}

.venture-card a,
.contact-link {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.venture-card a:hover,
.venture-card a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.contact {
  padding-bottom: 92px;
}

.contact-card {
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0b0b0b;
}

.contact-card h2 {
  max-width: 14ch;
  margin-top: 10px;
}

.contact-card p {
  max-width: 56ch;
  margin: 22px 0 0;
}

.contact-link {
  margin-top: 28px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 0 32px;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-brand,
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  text-transform: none;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.footer-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: var(--line-strong);
}

.legal-page .site-header {
  position: relative;
}

.brand-back {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.brand-back:hover,
.brand-back:focus-visible {
  border-color: var(--line-strong);
}

.legal-shell {
  padding: 72px 0 96px;
}

.legal-hero {
  max-width: 860px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-hero p {
  max-width: 60ch;
  margin: 20px 0 0;
}

.legal-stack {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.legal-article {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.legal-article h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.legal-article p,
.legal-article ul {
  margin: 16px 0 0;
}

.legal-article ul {
  padding-left: 20px;
}

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

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

@media (max-width: 1080px) {
  .hero,
  .section-grid,
  .venture-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .section-label {
    padding-top: 0;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .site-nav,
  .footer-brand,
  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .section,
  .legal-shell {
    padding: 54px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy,
  .hero-panel,
  .section-content,
  .venture-card,
  .contact-card,
  .legal-article {
    padding: 24px;
    border-radius: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel-brandmark {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .hero-system-grid {
    grid-template-columns: 1fr;
  }

  .hero-system-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
