:root {
  --bg: #f2efe7;
  --paper: rgba(255, 252, 245, 0.82);
  --ink: #1f1a17;
  --muted: #63564d;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #1a6a52;
  --accent-strong: #114737;
  --shadow: 0 24px 60px rgba(29, 24, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(26, 106, 82, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(183, 126, 74, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f3ea 0%, var(--bg) 100%);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.shell {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.hero,
.steps,
.footer-callout {
  animation: rise 600ms ease both;
}

.hero {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 252, 245, 0.95), rgba(255, 247, 235, 0.82));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font: 500 0.85rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 38rem;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 14px;
}

.mac-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #fffaf4;
  box-shadow: 0 18px 36px rgba(17, 71, 55, 0.2);
}

.primary:hover {
  background: var(--accent-strong);
}

.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.microcopy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps,
.footer-callout {
  margin-top: 18px;
}

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

.step,
.footer-callout {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  backdrop-filter: blur(14px);
}

.step h2,
.footer-callout h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.step p,
.footer-callout p:last-child,
.footer-callout h2 {
  color: var(--muted);
}

.step p {
  margin-bottom: 0;
  line-height: 1.55;
}

.step-number {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font: 500 0.95rem/1 "IBM Plex Mono", monospace;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100vw - 20px, 1040px);
    padding: 20px 0 40px;
  }

  .hero,
  .step,
  .footer-callout {
    padding: 24px;
    border-radius: 22px;
  }

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

  .cta-row {
    flex-direction: column;
  }

  .button,
  .mac-downloads {
    width: 100%;
  }

  .mac-downloads {
    flex-direction: column;
  }

  .mac-downloads .button {
    width: 100%;
  }
}
