:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  padding: 56px 0 40px;
}

.logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.meta span {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.download {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.2);
}

.download:hover {
  background: var(--brand-dark);
}

.size {
  color: var(--muted);
  font-size: 14px;
}

.hero-device {
  justify-self: center;
}

.hero-device img,
figure img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 28px 34px rgba(17, 24, 39, 0.16));
}

.screenshots,
.instructions {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 24px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.instructions {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
}

ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

li + li {
  margin-top: 10px;
}

.note {
  grid-column: 2;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #f0c8c3;
  border-radius: 8px;
  background: #fff7f5;
  color: #7a271a;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  main {
    width: min(100% - 24px, 540px);
  }

  .hero,
  .instructions {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .lead {
    font-size: 17px;
  }

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

  .note {
    grid-column: 1;
  }

  footer {
    flex-direction: column;
  }
}
