:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #63666a;
  --border: #d9d9d6;
  --accent: #0f766e;
  --accent-dark: #115e59;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 1.25;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.18rem;
}

section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: 0;
}

.app-list {
  display: grid;
  gap: 16px;
}

.app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.app-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  color: #ffffff;
  background: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  color: #ffffff;
  background: var(--accent);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .site {
    width: min(100% - 24px, 860px);
    padding: 32px 0;
  }

  .app-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
