:root {
  --paper: #f4f4f4;
  --ink: #202020;
  --muted: #2e2e2e;
  --line: #e7e7e7;
  --navy: #101936;
  --accent: #ff4f58;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(380px, 520px);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  padding: 58px 0;
}

.copy {
  padding-top: 18px;
}

.copy h1 {
  font-size: clamp(38px, 3.7vw, 50px);
  line-height: 1.05;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 4.4vw, 52px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 800;
}

p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.46;
}

.copy p + p {
  margin-top: 10px;
}

.intro-block + .intro-block {
  margin-top: 22px;
}

.intro-block h2 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.intro-block h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
}

.intro-block p {
  font-size: 17px;
  line-height: 1.55;
}

.intro-block .lead {
  color: var(--ink);
  font-weight: 700;
}

.feature + .feature {
  margin-top: 14px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.store-badge {
  width: 268px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  color: #fff;
  background: #050505;
  border: 2px solid #343434;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.store-badge strong {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.store-icon {
  width: 48px;
  height: 58px;
  overflow: hidden;
  color: transparent;
  position: relative;
}

.store-icon::before {
  content: "";
  position: absolute;
  inset: 13px 6px 0;
  background: #fff;
  border-radius: 48% 52% 45% 45%;
}

.store-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  width: 18px;
  height: 25px;
  background: #fff;
  border-radius: 18px 2px 18px 2px;
  transform: rotate(34deg);
}

.play-triangle {
  width: 42px;
  height: 48px;
  flex: 0 0 42px;
  background: conic-gradient(from 0.12turn, #35d86f 0 30%, #ffd447 0 48%, #39a8ff 0 73%, #35d86f 0);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone {
  width: 236px;
  height: 480px;
  position: relative;
  z-index: 2;
  padding: 10px;
  background: #050505;
  border: 3px solid #202020;
  border-radius: 38px;
  box-shadow:
    0 0 0 3px #0b0b0b,
    0 2px 0 5px #333,
    0 24px 44px rgba(0, 0, 0, 0.12);
}

.screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
}

.speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 4;
  width: 66px;
  height: 20px;
  border-radius: 999px;
  background: #020202;
  transform: translateX(-50%);
}

.speaker::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f2636;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 520ms ease;
}

.slide.is-active {
  opacity: 1;
}

.app-icon {
  position: absolute;
  right: 50px;
  bottom: 80px;
  z-index: 3;
  width: 138px;
  height: 138px;
  display: block;
  object-fit: cover;
  border-radius: 32px;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.16),
    inset 0 1px 4px rgba(255, 255, 255, 0.95);
}

.shadow {
  position: absolute;
  right: 20px;
  bottom: 54px;
  width: 190px;
  height: 28px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 50%;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d9d9d9;
  color: #616161;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer a,
.policy-back,
.policy-content a {
  color: inherit;
  text-decoration-color: #a9a9a9;
  text-underline-offset: 4px;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.site-footer a:hover,
.policy-back:hover,
.policy-content a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer a:focus-visible,
.policy-back:focus-visible,
.policy-content a:focus-visible {
  outline: 3px solid rgba(255, 79, 88, 0.25);
  outline-offset: 4px;
  border-radius: 2px;
}

.policy-page {
  background: #f7f7f7;
}

.policy-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

.policy-back {
  display: inline-block;
  margin-bottom: 48px;
  color: #585858;
  font-size: 14px;
}

.policy-header {
  padding-bottom: 32px;
  border-bottom: 1px solid #d9d9d9;
}

.policy-header h1 {
  margin-bottom: 14px;
}

.policy-meta {
  color: #6b6b6b;
  font-size: 14px;
}

.policy-content {
  padding-top: 18px;
}

.policy-content section {
  padding: 28px 0;
  border-bottom: 1px solid #dfdfdf;
}

.policy-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.policy-content p,
.policy-content li {
  max-width: none;
  color: #3e3e3e;
  font-size: 16px;
  line-height: 1.7;
}

.policy-content p + p {
  margin-top: 12px;
}

.policy-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.policy-content li + li {
  margin-top: 8px;
}

@media (max-width: 920px) {
  .hero {
    width: min(100% - 32px, 620px);
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 0 54px;
  }

  .copy {
    padding-top: 0;
    text-align: center;
  }

  p {
    margin: 0 auto;
    font-size: 17px;
  }

  .store-row {
    justify-content: center;
    margin-top: 32px;
  }

  .showcase {
    min-height: 520px;
  }

  .site-footer {
    width: min(100% - 32px, 620px);
  }
}

@media (max-width: 560px) {
  .hero {
    width: min(100% - 24px, 390px);
    padding-top: 34px;
  }

  h1 {
    font-size: 39px;
  }

  .store-badge {
    width: 100%;
    max-width: 285px;
  }

  .phone {
    width: 218px;
    height: 444px;
  }

  .app-icon {
    right: 10px;
    bottom: 58px;
    transform: scale(0.82);
  }

  .shadow {
    right: -4px;
    bottom: 42px;
  }

  .site-footer {
    width: calc(100% - 24px);
    padding-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-links {
    gap: 20px;
  }

  .policy-shell {
    width: calc(100% - 32px);
    padding: 34px 0 48px;
  }

  .policy-back {
    margin-bottom: 34px;
  }

  .policy-header h1 {
    font-size: 38px;
  }
}
