:root {
  --bg: #0d1117;
  --panel: #12181f;
  --text: #dfe6ec;
  --muted: #9aa7b2;
  --accent: #4fd1c5;
  --rule: #232b33;
  --max-width: 760px;
}

* { box-sizing: border-box; }

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

/* ---- Header / banner / nav ---- */

.site-header {
  background: var(--bg);
  padding: 1rem 0 0;
  text-align: center;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.banner-wrap {
  margin: 0;
}

.banner-wrap img {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin: 1rem 0 1.75rem;
}

.site-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
  margin-bottom: 0;
  text-align: left;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-right: 1.75rem;
  transition: color 0.15s ease;
}

.site-nav a:last-child {
  margin-right: 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

/* ---- Page content ---- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

p, li { color: var(--text); font-size: 1rem; }
ul { padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th { color: var(--muted); font-weight: 600; }

.note {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1.25rem 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Landing page specifics ---- */

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #06201d;
  border-color: var(--accent);
  font-weight: 600;
}

.button.primary:hover {
  color: #06201d;
  opacity: 0.9;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 560px) {
  .app-grid { grid-template-columns: 1fr 1fr; }
}

.app-card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.app-card h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.app-card .price {
  color: var(--accent);
  font-weight: 600;
}
