:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f6f7f2;
  --surface: #fffffb;
  --muted: #63666b;
  --soft: #ece9df;
  --line: #d7d4c9;
  --red: #f04438;
  --blue: #1264ff;
  --green: #12835f;
  --yellow: #f6c343;
  --night: #101114;
  --night-2: #17191f;
  --nav-height: 68px;
  --shadow: 0 24px 70px rgba(10, 12, 18, 0.22);
  --font-display: 'Aptos Display', 'Segoe UI Variable Display', 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Aptos', 'Segoe UI Variable Text', 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 28px);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.035) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 28px);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
  background: rgba(255, 255, 251, 0.88);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.25);
}

.site-header::after {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: -1px;
  left: clamp(20px, 5vw, 72px);
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  content: '';
  opacity: 0.72;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(240, 68, 56, 0.26);
}

.nav-links {
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(18, 18, 18, 0.07);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 670px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 92px clamp(22px, 6vw, 84px) 42px;
  background: var(--night);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 120px 120px;
  content: '';
  mask-image: linear-gradient(90deg, black, transparent 72%);
  opacity: 0.46;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.7;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96), rgba(8, 9, 11, 0.7) 43%, rgba(8, 9, 11, 0.18) 78%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.78), rgba(8, 9, 11, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 118px;
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 23px;
  line-height: 1.35;
}

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

.button {
  min-width: 168px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(255, 255, 255, 0.12);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.58);
}

.hero-strip {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(16, 17, 20, 0.74);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-item {
  min-height: 138px;
  padding: 34px clamp(26px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.6;
}

.feature-section,
.faq-section {
  padding: 92px clamp(22px, 6vw, 84px);
}

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

.section-heading h2,
.download-section h2,
.showcase-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

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

.feature {
  min-height: 238px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 245, 0.98)), var(--surface);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.05);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.feature:hover {
  box-shadow: 0 22px 45px rgba(18, 18, 18, 0.1);
  transform: translateY(-4px);
}

.feature:nth-child(1) {
  border-top: 6px solid var(--red);
}

.feature:nth-child(2) {
  border-top: 6px solid var(--blue);
}

.feature:nth-child(3) {
  border-top: 6px solid var(--green);
}

.feature h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.14;
}

.feature p,
.download-section p,
.faq-list p,
.showcase-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  padding: 72px clamp(22px, 6vw, 84px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, var(--night), var(--night-2));
  color: #fff;
}

.showcase-copy {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
}

.showcase-copy h2 {
  font-size: 42px;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.media-row figure {
  margin: 0;
  color: #fff;
}

.media-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-row figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: start;
  padding: 92px clamp(22px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.04) 1px, transparent 1px) 0 0 / 86px 86px,
    var(--surface);
}

.download-actions {
  display: grid;
  gap: 12px;
}

.download-link {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 8px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.download-link:hover {
  box-shadow: 0 18px 35px rgba(18, 18, 18, 0.1);
  transform: translateY(-2px);
}

.download-link:nth-child(2) {
  border-left-color: var(--blue);
}

.download-link:nth-child(3) {
  border-left-color: var(--green);
}

.download-link span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
}

.download-link small {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 950;
}

.faq-list summary::marker {
  color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 84px);
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: hero-drift 18s ease-in-out infinite alternate;
  }

  .hero-content,
  .hero-strip,
  .proof-item {
    animation: rise-in 640ms ease both;
  }

  .hero-strip {
    animation-delay: 120ms;
  }

  .proof-item:nth-child(2) {
    animation-delay: 80ms;
  }

  .proof-item:nth-child(3) {
    animation-delay: 160ms;
  }

  @supports (animation-timeline: view()) {
    .feature,
    .media-row figure,
    .download-link,
    .faq-list details {
      animation: rise-in both;
      animation-range: entry 10% cover 34%;
      animation-timeline: view();
    }
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.045) translate3d(1.4%, -1%, 0);
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 92px;
  }

  .hero-copy {
    font-size: 21px;
  }

  .section-heading h2,
  .download-section h2 {
    font-size: 50px;
  }

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

  .feature {
    min-height: 0;
  }

  .media-row {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-copy {
    position: static;
    grid-column: 1 / -1;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 62px;
  }

  .site-header {
    padding: 0 18px;
  }

  .site-header::after {
    right: 18px;
    left: 18px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    min-height: 580px;
    padding: 72px 18px 30px;
  }

  .hero-image {
    animation: none;
    opacity: 0.52;
    object-position: 60% center;
    transform: scale(1.34);
    transform-origin: 58% 100%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.98), rgba(8, 9, 11, 0.78) 58%, rgba(8, 9, 11, 0.3)),
      linear-gradient(0deg, rgba(8, 9, 11, 0.86), rgba(8, 9, 11, 0.18) 62%);
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-copy {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }

  .hero-strip,
  .proof-band,
  .media-row,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 48px;
  }

  .proof-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .feature-section,
  .faq-section,
  .download-section {
    padding: 70px 18px;
  }

  .section-heading h2,
  .download-section h2,
  .showcase-copy h2 {
    font-size: 38px;
  }

  .media-row {
    padding: 62px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 18px;
  }
}
