:root {
  color-scheme: dark;
  --white: #ffffff;
  --red: #d71724;
  --deep-red: #92000d;
  --green: #65e09a;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100svh;
  margin: 0;
  background: var(--deep-red);
  color: var(--white);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--white);
  color: var(--deep-red);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.nav-row {
  display: flex;
  min-height: 76px;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(35, 0, 4, 0.16);
  font-size: 22px;
  font-weight: 820;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 77% 48%,
      rgba(215, 23, 36, 0.94) 0,
      rgba(215, 23, 36, 0.42) 24%,
      transparent 47%
    ),
    linear-gradient(120deg, #4a0006 0%, var(--deep-red) 56%, #6d0009 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(48, 0, 6, 0.78) 0,
      rgba(48, 0, 6, 0.34) 48%,
      rgba(20, 0, 3, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 0, 3, 0.16) 0,
      transparent 54%,
      rgba(20, 0, 3, 0.24) 100%
    );
  content: "";
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 8%;
  z-index: 0;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 78px rgba(255, 255, 255, 0.035),
    0 0 0 156px rgba(255, 255, 255, 0.018);
  transform: translateY(-45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  padding-top: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-copy {
  width: min(62%, 650px);
  padding-block: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 570px;
  margin: 28px 0 0;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.3;
}

.hero-lead strong {
  font-weight: 760;
}

sub {
  position: relative;
  bottom: -0.12em;
  font-size: 0.58em;
  line-height: 0;
}

.app-link {
  display: inline-flex;
  min-height: 52px;
  margin-top: 34px;
  padding: 12px 20px;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(35, 0, 4, 0.25);
  color: var(--deep-red);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.app-link:hover {
  box-shadow: 0 22px 48px rgba(35, 0, 4, 0.34);
  transform: translateY(-2px);
}

.app-link span {
  font-size: 21px;
  line-height: 1;
}

.company-mark {
  display: grid;
  width: min(30vw, 330px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 25%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.07)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 32px 80px rgba(35, 0, 4, 0.32);
  backdrop-filter: blur(14px);
  transform: rotate(7deg);
}

.company-mark span {
  font-size: clamp(120px, 17vw, 220px);
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 16px 35px rgba(35, 0, 4, 0.22);
  transform: rotate(-7deg);
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero-inner {
    min-height: 100svh;
    padding-top: 76px;
  }

  .hero-copy {
    width: 100%;
    padding-block: 64px;
  }

  .company-mark {
    display: none;
  }

  .hero-glow {
    right: -55%;
    width: 420px;
    height: 420px;
  }

  .app-link {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-link {
    transition: none;
  }
}
