:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111111;
  --panel-soft: #181818;
  --text: #f7f3ee;
  --muted: #b9b4ad;
  --line: rgba(255, 255, 255, .13);
  --red: #f0141f;
  --red-dark: #a70c14;
  --white: #ffffff;
  --shadow: rgba(240, 20, 31, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 50% -10%, rgba(240, 20, 31, .16), transparent 38%),
    linear-gradient(180deg, #050505, #0b0b0b 54%, #050505);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #050505c7;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 24px var(--shadow);
}

.nav-links,
.actions,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
  font-size: .94rem;
  font-weight: 720;
  text-decoration: none;
}

.nav-links a:hover {
  border-color: var(--line);
  background: #ffffff0d;
}

.button {
  border-color: #f0141f94;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 36px #f0141f38;
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff0a;
  box-shadow: none;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

main {
  min-height: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 166px);
  padding: clamp(28px, 3.6vw, 48px) 0;
  background:
    radial-gradient(circle at 34% 14%, rgba(240, 20, 31, .24), transparent 28%),
    radial-gradient(circle at 58% 56%, rgba(240, 20, 31, .12), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, .018), transparent 42%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 83%, rgba(240, 20, 31, .18), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 28%, rgba(255, 255, 255, .02));
  opacity: .86;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(430px, .86fr);
  align-items: center;
  gap: clamp(44px, 5vw, 76px);
}

.hero-copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 11px;
  border: 1px solid rgba(240, 20, 31, .46);
  border-radius: 6px;
  color: #ffb5b9;
  font-size: .76rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .01em;
  background: rgba(0, 0, 0, .38);
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: .9;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.hero-kicker {
  margin: 14px 0 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.02;
  font-weight: 900;
}

.hero h1 {
  max-width: 100%;
  margin-top: 20px;
  font-size: clamp(4rem, 6.25vw, 6.4rem);
  line-height: .82;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(255, 255, 255, .08);
}

.lead {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(.96rem, 1.25vw, 1.08rem);
  line-height: 1.5;
}

.actions {
  margin-top: 24px;
  gap: 16px;
}

.hero-divider {
  width: 100%;
  max-width: 700px;
  height: 1px;
  margin: 22px 0 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04), transparent);
}

.ecosystem-callout {
  max-width: 600px;
  margin: 0;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--red);
  color: #d9d4ce;
  font-size: clamp(.96rem, 1.2vw, 1.04rem);
  line-height: 1.5;
}

.ecosystem-callout strong {
  color: var(--red);
  font-weight: 900;
}

.hero-button {
  min-width: 210px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 1.03rem;
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-button span {
  display: inline-block;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.hero-button.primary:hover {
  box-shadow: 0 18px 48px rgba(240, 20, 31, .48);
  transform: translateY(-1px);
}

.hero-button.primary:hover span,
.hero-button.secondary:hover span,
.ecosystem-card:hover .card-arrow {
  transform: translateX(4px);
}

.hero-button.secondary:hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1);
}

.ecosystem-cards {
  display: grid;
  gap: 12px;
}

.ecosystem-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 28px);
  min-height: 122px;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 17% 52%, rgba(240, 20, 31, .12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 20, 31, .54);
  background:
    radial-gradient(circle at 17% 52%, rgba(240, 20, 31, .18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
}

.card-icon {
  display: grid;
  place-items: center;
  width: clamp(62px, 5.5vw, 76px);
  height: clamp(62px, 5.5vw, 76px);
  border: 1px solid rgba(240, 20, 31, .62);
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 50% 45%, rgba(240, 20, 31, .2), rgba(20, 20, 20, .82) 62%);
  box-shadow: 0 0 34px rgba(240, 20, 31, .2), inset 0 0 26px rgba(240, 20, 31, .09);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.ecosystem-card:hover .card-icon {
  border-color: rgba(240, 20, 31, .88);
  box-shadow: 0 0 52px rgba(240, 20, 31, .34), inset 0 0 30px rgba(240, 20, 31, .14);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.card-content {
  display: grid;
  gap: 8px;
}

.card-label {
  color: #ff2b34;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.card-content strong {
  color: var(--white);
  font-size: clamp(1.8rem, 2.45vw, 2.25rem);
  line-height: .98;
}

.card-content span:last-child {
  max-width: 280px;
  color: #c8c2bb;
  font-size: clamp(.88rem, 1.1vw, 1rem);
  line-height: 1.4;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 20, 31, .62);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
  background: rgba(255, 255, 255, .02);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ecosystem-card:hover .card-arrow {
  border-color: rgba(240, 20, 31, .9);
  background: rgba(240, 20, 31, .14);
  box-shadow: 0 0 22px rgba(240, 20, 31, .2);
}

.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.about-heading,
.copy {
  max-width: 780px;
}

.copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.copy strong {
  color: var(--text);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.principle {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff09;
}

.principle h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  font-size: .94rem;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 8vw, 6.4rem);
  }

  .hero-kicker {
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  }

  .ecosystem-card {
    min-height: 142px;
  }
}

@media (min-width: 821px) and (max-height: 760px) {
  .hero {
    padding: 24px 0 28px;
  }

  .hero-grid {
    align-items: start;
    gap: 44px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(3.85rem, 5.9vw, 5.65rem);
  }

  .hero-kicker {
    margin-top: 12px;
    font-size: clamp(1.75rem, 2.9vw, 2.25rem);
  }

  .lead {
    margin-top: 12px;
    font-size: .94rem;
    line-height: 1.45;
  }

  .hero-divider {
    margin: 18px 0 17px;
  }

  .ecosystem-callout {
    font-size: .92rem;
    line-height: 1.46;
  }

  .actions {
    margin-top: 20px;
  }

  .hero-button {
    min-height: 48px;
  }

  .ecosystem-cards {
    gap: 10px;
  }

  .ecosystem-card {
    min-height: 116px;
    padding: 16px 20px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }

  .card-content strong {
    font-size: 1.75rem;
  }

  .card-content span:last-child {
    font-size: .86rem;
  }

  .card-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 820px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    padding: 0 12px;
  }

  .hero {
    min-height: 0;
    padding: 44px 0 60px;
  }

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

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .hero-kicker {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .lead,
  .ecosystem-callout {
    font-size: 1rem;
  }

  .hero-divider {
    margin: 28px 0 24px;
  }

  .actions,
  .hero-button {
    width: 100%;
  }

  .hero-button {
    justify-content: space-between;
    min-width: 0;
  }

  .ecosystem-card {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 18px;
    gap: 14px;
  }

  .card-icon {
    width: 66px;
    height: 66px;
  }

  .card-icon svg {
    width: 30px;
    height: 30px;
  }

  .card-content strong {
    font-size: 1.9rem;
  }

  .card-content span:last-child {
    font-size: .92rem;
  }

  .card-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }

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