:root {
  color-scheme: light dark;
  --bg: #fdf6f0;
  --card: #ffffff;
  --text: #3a3540;
  --text-secondary: #6b6570;
  --accent: #f5a623;
  --border: #f0e4d8;
  --link: #d9861f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201d24;
    --card: #2a2630;
    --text: #f0ecf4;
    --text-secondary: #b8b2c0;
    --accent: #f5a623;
    --border: #3a3542;
    --link: #f5b84a;
  }
}

* {
  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;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
  color: var(--text);
}

.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.brand span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

h1 {
  font-size: 28px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 32px;
}

h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}

h2:first-of-type {
  margin-top: 0;
}

p, li {
  color: var(--text);
  font-size: 15px;
}

ul {
  padding-left: 20px;
}

a {
  color: var(--link);
}

.footer-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-nav a {
  margin-right: 16px;
}

/* ---- Landing page: top nav + hero + feature grid ---- */

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

.navbar-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-brand span {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.landing {
  max-width: 1000px;
  padding: 56px 24px 96px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 12px 0 8px;
}

.hero img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 32px;
}

.tagline {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 12px auto 0;
  max-width: 480px;
}

.badge-line {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 14px;
  margin: 32px 0 8px;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin: 64px 0 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 auto 36px;
  max-width: 480px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .navbar-inner {
    flex-wrap: wrap;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.badge-pink { background: #fbe4ec; color: #d1517a; }
.badge-blue { background: #e3edfb; color: #4a72c9; }
.badge-mint { background: #e1f4ea; color: #3c9868; }
.badge-lilac { background: #ede4fb; color: #7a56c9; }
.badge-peach { background: #fdead9; color: #c97a3c; }
.badge-yellow { background: #fbf3d6; color: #b3901c; }
.badge-sky { background: #dff4f6; color: #2f92a0; }

@media (prefers-color-scheme: dark) {
  .badge-pink { background: #3a2530; color: #ef9db8; }
  .badge-blue { background: #22314a; color: #8fb0f2; }
  .badge-mint { background: #1f3a2c; color: #7fd6a8; }
  .badge-lilac { background: #2e2440; color: #bda3f2; }
  .badge-peach { background: #3c2b1c; color: #f2b57e; }
  .badge-yellow { background: #3a3320; color: #ecce7c; }
  .badge-sky { background: #1c3438; color: #7fd8e2; }
}

.support-section {
  margin-top: 72px;
}

.support-card {
  text-align: center;
}

.support-card .button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
