:root {
  color-scheme: dark;
  --red: #e31319;
  --black: #090909;
  --panel: #121212;
  --line: #292929;
  --muted: #aaa;
  --white: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header,
footer,
.section,
.hero {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  gap: 30px;
  color: #c9c9c9;
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible,
.showcase-copy a:hover {
  color: var(--red);
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--red);
}

.intro {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.play-link {
  display: inline-block;
}

.play-link img {
  width: 190px;
}

.hero-visual {
  min-height: 580px;
  position: relative;
  display: grid;
  place-items: center;
}

.red-disc {
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
}

.phone {
  position: relative;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 28px;
  background: #050505;
}

.phone img {
  width: 100%;
  border-radius: 21px;
}

.phone-main {
  width: 272px;
  transform: rotate(3deg);
  box-shadow: 18px 24px 50px rgba(0, 0, 0, 0.4);
}

.app-icon {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 94px;
  border: 5px solid var(--black);
  border-radius: 24px;
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 50px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.features {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 260px;
  padding: 35px;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
}

.feature-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 65px 0 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.feature-grid p,
.showcase-copy > p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.showcase-copy > p {
  max-width: 460px;
  font-size: 17px;
}

.showcase-copy a {
  display: inline-block;
  margin-top: 15px;
  font-weight: 750;
}

.showcase-copy a span {
  margin-left: 8px;
  color: var(--red);
}

.screenshots {
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 50px;
  background: var(--red);
}

.screenshots .phone {
  width: min(230px, 45%);
}

.phone-lower {
  margin-top: 70px;
}

.privacy {
  padding: 55px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.privacy > img {
  width: 72px;
}

.privacy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.privacy a {
  padding: 13px 18px;
  border: 1px solid #444;
  font-size: 14px;
  font-weight: 750;
}

.privacy a:hover {
  border-color: var(--red);
}

footer {
  min-height: 120px;
  margin-top: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #888;
  font-size: 13px;
}

footer p {
  margin: 0;
}

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

  .hero {
    padding-top: 80px;
    gap: 10px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

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

  .feature-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .showcase {
    gap: 30px;
  }

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

  .privacy a {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  footer,
  .section,
  .hero {
    width: min(100% - 28px, 1160px);
  }

  nav a:not(:last-child) {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .red-disc {
    width: 320px;
  }

  .phone-main {
    width: 235px;
  }

  .app-icon {
    right: 0;
  }

  .section {
    padding-block: 75px;
  }

  .screenshots {
    min-height: 500px;
    gap: 12px;
    padding: 26px 14px;
  }

  .privacy {
    padding: 28px;
  }

  .privacy > img {
    width: 52px;
  }

  footer {
    margin-top: 75px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

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