:root {
  --bg: #f3f0ea;
  --panel: #ebe7df;
  --card: #f7f5f0;
  --text: #121212;
  --muted: #444;
  --shadow-1: rgba(0, 0, 0, 0.10);
  --shadow-2: rgba(255, 255, 255, 0.70);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-shell {
  max-width: 1240px;
  margin: 22px auto;
  padding: 18px 18px 22px;
  background: var(--panel);
  border-radius: 18px;
  box-shadow:
    12px 12px 28px rgba(0,0,0,0.07),
    -10px -10px 22px rgba(255,255,255,0.55);
}

.site-header {
  text-align: center;
  padding: 4px 0 6px;
}

.site-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 34px;
  padding: 16px 16px 10px;
}

.app-card {
  min-height: 180px;
  background: var(--card);
  border-radius: 24px;
  padding: 22px 22px 18px;
  box-shadow:
    14px 14px 28px var(--shadow-1),
    -10px -10px 22px var(--shadow-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8f8f8;
  box-shadow:
    inset 1px 1px 1px rgba(255,255,255,0.7),
    2px 2px 6px rgba(0,0,0,0.05);
}

.app-copy h2 {
  margin: 0 0 8px;
  font-size: 1.95rem;
  line-height: 1.12;
  font-weight: 500;
}

.app-copy p {
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.32;
  color: var(--muted);
  max-width: 420px;
}

.store-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-left: 80px;
}

.store-links a {
  text-decoration: none;
  color: #111;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.store-links a:hover {
  text-decoration: underline;
}

.divider {
  width: 2px;
  height: 18px;
  background: #111;
  display: inline-block;
}

.site-footer {
  text-align: center;
  padding: 8px 0 2px;
  font-size: 1.1rem;
  color: #333;
}

@media (max-width: 980px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    margin: 10px;
    padding: 14px;
    border-radius: 16px;
  }
  .site-header h1 {
    font-size: 1.6rem;
  }
  .app-card {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }
  .app-top {
    gap: 14px;
  }
  .app-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
  .app-copy h2 {
    font-size: 1.32rem;
  }
  .app-copy p {
    font-size: 0.97rem;
  }
  .store-links {
    padding-left: 0;
    margin-top: 16px;
    gap: 7px;
  }
  .store-links a {
    font-size: 0.86rem;
  }
  .divider {
    height: 15px;
  }
  .site-footer {
    font-size: 0.95rem;
  }
}
