:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #65717d;
  --line: #ded8ce;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warm: #b45309;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.13), transparent 36rem),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  align-content: center;
  gap: 28px;
}

.hero {
  max-width: 760px;
  padding: 36px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.85;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}

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

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

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

.apps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.apps p:not(.section-label) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.footer {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
}

.footer a {
  font-weight: 700;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 34px 18px 22px;
    align-content: start;
  }

  .hero {
    padding-top: 26px;
  }

  .button {
    width: 100%;
  }

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