:root {
  --bg: #F6EDE2;
  --card: #fff;
  --text-dark: #111111;
  --text-muted: #8A7051;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-y: auto;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  min-height: 100vh;
  padding: 52px 58px 0;
}

.left-column {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
}

.logo {
  width: 100%;
  height: auto;
  max-width: 500px;
}

.left-footer {
  max-width: 620px;
  padding-bottom: 58px;
}

.tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-link {
  display: inline-block;
  margin-top: 48px;
  color: #000;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 48px 0;
}

.app-card {
  background: var(--card);
  border-radius: 56px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0px 6px 0px #8A705111;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 280ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  box-shadow: 0px 12px 12px #8A705144;
}

.app-icon {
  width: 160px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-content h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-content p {
  margin: 12px 0 20px;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.store-button {
  width: 132px;
  height: auto;
  display: block;
  transform-origin: center;
  transition: transform 280ms ease;
}

.app-card:hover .store-button,
.app-card:focus-visible .store-button {
  transform: scale(1.1) rotate(-6deg);
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 24px;
  }

  .left-column {
    position: static;
    top: auto;
    height: auto;
    gap: 24px;
  }

  .logo {
    width: 64%;
    max-width: 160px;
    margin-bottom: 18px;
  }

  .left-footer {
    padding-bottom: 0;
  }

  .tagline {
    font-size: 32px;
    max-width: 500px;
  }

  .contact-link {
    margin-top: 24px;
    font-size: 24px;
    font-weight: 700;
  }

  .app-card {
    min-height: auto;
    border-radius: 30px;
    padding: 18px;
    gap: 20px;
    align-items: flex-start;
  }

  .app-icon {
    width: 64px;
    height: 64px;
  }

  .app-content h2 {
    font-size: 23px;
  }

  .app-content p {
    margin: 8px 0 16px;
    font-size: 14px;
  }

  .store-button {
    width: 100px;
  }
}
