:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.58);
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, #171717 0%, var(--bg) 42%);
  color: var(--text);
  font-family:
    "SF Pro Rounded",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #111;
}

.button.secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button.disabled,
.button[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.meta {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.panel-grid,
.steps,
.ios-card,
.install-notes {
  margin-top: 56px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.panel,
.ios-card,
.steps,
.install-notes {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.panel h2,
.steps h2,
.ios-card h2,
.install-notes h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.panel p,
.ios-card p,
.steps li,
.install-notes li {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.steps ol,
.install-notes ul {
  margin: 0;
  padding-left: 1.2rem;
}

.steps li + li,
.install-notes li + li {
  margin-top: 10px;
}

.ios-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .page {
    padding-top: 48px;
  }

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