:root {
  color-scheme: light dark;
  --background: #f4f2ed;
  --surface: #ffffff;
  --text: #202124;
  --muted: #62666d;
  --accent: #315b4a;
  --border: #dedbd3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: min(100% - 32px, 760px);
  margin: 48px auto;
  padding: clamp(28px, 6vw, 64px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgb(25 31 28 / 8%);
}

h1, h2 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
}

h2 {
  margin: 40px 0 10px;
  font-size: 1.35rem;
}

p { margin: 0 0 16px; }
a { color: var(--accent); }

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

.app-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.app-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  font-weight: 650;
  text-decoration: none;
}

.contact {
  margin-top: 40px;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171a18;
    --surface: #202421;
    --text: #f1f3ef;
    --muted: #b4bbb5;
    --accent: #8ac7aa;
    --border: #363c37;
  }
}

@media (max-width: 520px) {
  .container {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}
