:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #14161a;
  --text-muted: #5b616e;
  --accent: #2255ff;
  --border: #e6e8ec;
  --max-width: 860px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114;
    --bg-alt: #17181c;
    --text: #f2f3f5;
    --text-muted: #a3a8b3;
    --accent: #5b86ff;
    --border: #2a2c32;
  }
}

* { box-sizing: border-box; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.logo span { color: var(--accent); }

nav a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 0.95rem;
}
nav a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: 2.75rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.app-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.app-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.app-info h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.app-info h3 a {
  color: inherit;
  text-decoration: none;
}

.app-info h3 a:hover {
  text-decoration: underline;
}

.app-info p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.app-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 0;
}

.contact-list dt {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-list dd {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.1rem; }
  .app-card { flex-direction: column; }
}
