:root {
  color-scheme: dark;
  --background: #070908;
  --surface: #111412;
  --surface-raised: #171a18;
  --border: #292d2a;
  --text: #f3f5f3;
  --muted: #999f9b;
  --green: #22d968;
  --green-hover: #35ed7c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgb(34 217 104 / 18%), transparent 38rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 40px;
}

.hero,
.ios-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(23 26 24 / 96%), rgb(13 16 14 / 96%));
  box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}

.hero {
  padding: 56px;
  text-align: center;
}

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgb(0 0 0 / 45%);
}

.eyebrow {
  margin: 24px 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.intro {
  margin: 0 auto;
  max-width: 520px;
  color: #c4c9c6;
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 36px 0;
}

.actions a {
  min-width: 148px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.primary-button {
  color: #041108;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid #353a37;
  background: #1d211f;
}

.secondary-button:hover {
  border-color: #4b514d;
  background: #242825;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--border);
  text-align: left;
}

.release-meta div {
  padding: 18px;
  background: var(--surface);
}

.release-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.release-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.checksum {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  color: #737a75;
}

.ios-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 28px 32px;
}

.ios-card .eyebrow {
  margin-top: 0;
}

.ios-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.ios-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #34483b;
  border-radius: 999px;
  color: #86e4aa;
  background: #132319;
  font-size: 12px;
  text-decoration: none;
  transition: 160ms ease;
}

.status-badge:hover {
  border-color: var(--green);
  background: #183020;
}

footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 760px);
    padding-top: 24px;
  }

  .hero {
    padding: 36px 20px;
  }

  .actions {
    flex-direction: column;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }

  .ios-card {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-wrap: wrap;
  }
}
