:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --text: #24211c;
  --muted: #625c52;
  --line: #ddd7ca;
  --surface: #ffffff;
  --accent: #236b5b;
  --accent-strong: #17493e;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
  font-weight: 700;
}

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

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

.hero {
  min-height: 42vh;
  display: grid;
  align-content: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 7vw, 5rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.14rem;
}

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

.section p:last-child {
  margin-bottom: 0;
}

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

.app-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.app-card p {
  margin-bottom: 20px;
}

.footer {
  padding-top: 26px;
}

.footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

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

  .hero {
    min-height: 34vh;
  }
}
