:root {
  --pitch0: #0A0E14;
  --pitch1: #131820;
  --pitch2: #FFFFFF;
  --ink1: #0D1219;
  --ink-light: #F2F5F8;
  --accent: #1B6EF3;
  --accent-green: #0AFA96;
  --border: #E8EBF0;
  --muted: #5B6572;
}

* { box-sizing: border-box; }

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

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Header */
.site-header {
  background: var(--pitch0);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.logo {
  color: var(--ink-light);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.logo:hover { text-decoration: none; }
.site-nav a {
  color: var(--ink-light);
  opacity: 0.8;
  margin-left: 22px;
  font-size: 0.95rem;
}
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover, .site-nav a.active {
  opacity: 1;
  text-decoration: none;
  color: var(--accent-green);
}

/* Main content */
.main-content {
  background: var(--pitch2);
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(13, 18, 25, 0.08);
}
@media (max-width: 600px) {
  .main-content { padding: 22px; border-radius: 0; }
}

h1 { font-size: 1.8rem; margin-top: 0; }
h2 { font-size: 1.25rem; margin-top: 2em; }
p { color: #2b333d; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* Hero (home page) */
.hero {
  text-align: center;
  padding: 8px 0 24px;
}
.hero h1 { margin-bottom: 6px; }
.hero p { font-size: 1.05rem; }
.store-buttons {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.secondary {
  background: transparent;
  color: var(--ink1);
  border: 1px solid var(--border);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature-list li {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
}

/* Contact form */
.contact-form label {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  margin-top: 20px;
  padding: 11px 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover { opacity: 0.9; }

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.alert-success { background: #E4FBEE; color: #0B6B3A; border: 1px solid #B7EFCB; }
.alert-error { background: #FDEBEC; color: #9A2A2A; border: 1px solid #F5C2C2; }

.contact-direct {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--pitch0);
  color: var(--ink-light);
  padding: 26px 0;
  margin-top: auto;
}
.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner p { color: var(--ink-light); opacity: 0.7; margin: 0 0 10px; }
.footer-links a, .footer-social a {
  color: var(--ink-light);
  opacity: 0.85;
  margin: 0 10px;
}
.footer-links a:hover, .footer-social a:hover { color: var(--accent-green); opacity: 1; }
.footer-social { margin-top: 10px; }
