*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg-main);
  color: var(--text-main);
}

main {
  max-width: 720px;
  margin: auto;
  padding: var(--space-3) var(--space-2);
}

header {
  margin-bottom: var(--space-4);
}

section {
  margin-bottom: var(--space-4);
}

h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

p {
  max-width: 65ch;
  margin-bottom: var(--space-2);
}

ul {
  padding-left: 1.2rem;
  margin-bottom: var(--space-2);
}

li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* Platform containers */
.platform-container {
  position: relative;
  padding: var(--space-3);
  padding-bottom: calc(var(--space-3) + 52px);
  background: var(--bg-soft);
  border-radius: var(--radius-soft);
}

.platform-content {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.platform-image {
  flex: 0 0 180px;
  aspect-ratio: 2 / 3;
}

.platform-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.platform-details {
  flex: 1;
}

button {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  min-height: 44px;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-soft);
  border: none;
  background: var(--accent);
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .platform-content {
    flex-direction: column;
  }

  button {
    position: static;
    margin-top: var(--space-2);
  }

  .platform-container {
    padding-bottom: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}