:root {
  --accent: #ff8a00;
  --accent-dark: #e86a00;
  --text: #1c1c1e;
  --text-muted: #5a5a60;
  --background: #ffffff;
  --surface: #f4f4f6;
  --border: #e2e2e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f4;
    --text-muted: #a8a8ae;
    --background: #1c1c1e;
    --surface: #2a2a2d;
    --border: #3a3a3e;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent-dark); }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }

.site-header, .site-footer, main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.site-header nav { display: flex; gap: 18px; font-size: 16px; }
.site-header nav a { color: var(--text-muted); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

main { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.updated { color: var(--text-muted); margin-top: 0; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.hero h1 { font-size: 42px; margin-top: 20px; }
.hero .tagline { font-size: 21px; color: var(--text-muted); margin: 0 0 24px; }

.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); }

.screenshots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 8px;
  overflow-x: auto;
}
.screenshots img { width: 220px; max-width: 30%; height: auto; border-radius: 18px; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 32px; }
.feature { background: var(--surface); border-radius: 14px; padding: 16px 18px; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--text-muted); }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }

.site-footer {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 520px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .screenshots img { max-width: 45%; }
  .screenshots img:nth-child(3) { display: none; }
}
