:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f2f7f4;
  --fg: #1c1c1e;
  --muted: #5f6368;
  --line: rgba(0, 0, 0, 0.08);
  --green: #0f9d58;
  --green-light: #3dd68c;
  --orange: #ff9500;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f0d;
    --bg-soft: #121a16;
    --fg: #f2f2f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --green: #3dd68c;
    --card: #17201b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 22.37%; }
.site-header nav { display: flex; gap: 22px; font-size: 15px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--fg); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--green-light), #0f9d58);
  color: #fff;
  text-align: center;
  padding: 72px 0 80px;
}
.hero .icon {
  width: 128px; height: 128px; margin: 0 auto 28px;
  border-radius: 22.37%;
  box-shadow: 0 18px 40px rgba(6, 77, 42, 0.35);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero .tagline {
  margin: 14px auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.4;
  opacity: 0.92;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.badge svg { width: 18px; height: 18px; fill: currentColor; }

/* Example sentence */
.example {
  margin: -36px auto 0;
  max-width: 640px;
  background: var(--card);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  position: relative;
}
.example .label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.example p { margin: 6px 0 0; font-size: 1.25rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

/* Features */
.features { padding: 80px 0 40px; }
.features h2, .shots h2 {
  text-align: center; margin: 0 0 44px;
  font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.1;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature { background: var(--bg-soft); border-radius: 20px; padding: 24px; }
.feature .emoji { font-size: 32px; line-height: 1; }
.feature h3 { margin: 14px 0 6px; font-size: 1.1rem; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Screenshots */
.shots { padding: 40px 0 80px; }
.shot-row {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 20px 16px;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
}
.shot-row img {
  flex: 0 0 auto;
  width: 240px;
  border-radius: 22px;
  scroll-snap-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Note */
.note { background: var(--bg-soft); padding: 48px 0; text-align: center; }
.note p { margin: 0 auto; max-width: 40rem; color: var(--muted); }
.note strong { color: var(--fg); }

/* Text pages */
.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 6px; }
.page .updated { color: var(--muted); margin: 0 0 32px; }
.page h2 { font-size: 1.2rem; margin: 2em 0 0.4em; letter-spacing: -0.01em; }
.page p, .page li { color: var(--fg); }
.page ul { padding-left: 1.2em; }
.page li { margin: 0.3em 0; }
.contact {
  margin-top: 36px; padding: 22px 24px; border-radius: 18px; background: var(--bg-soft);
}
.contact p { margin: 0; }
.contact a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

@media (max-width: 520px) {
  .site-header nav { gap: 16px; }
  .hero { padding: 56px 0 72px; }
  .hero .icon { width: 104px; height: 104px; }
  .example { margin-left: 16px; margin-right: 16px; }
  .shot-row img { width: 200px; }
}
