:root {
  --paper: #fbfaf7;
  --ink: #2b2b2f;
  --muted: #6b6b73;
  --line: #e7e4dc;
  --coral: #ff6b5e;
  --teal: #2bc4c4;
  --yellow: #f5b819;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 43, 47, 0.08);
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--muted); font-weight: 600; }

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero img.app-icon {
  width: 132px; height: 132px; border-radius: 28px;
  box-shadow: var(--shadow); margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em;
}
.hero p.lead { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 32px; }

.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 13px 22px;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.pill { font-size: 0.85rem; color: var(--muted); }

/* Pencil divider */
.rule { height: 6px; border: 0; margin: 0; background: linear-gradient(90deg, var(--coral) 0 33%, var(--teal) 33% 66%, var(--yellow) 66% 100%); }

/* Features */
section { padding: 56px 0; }
section h2 { font-size: 1.7rem; text-align: center; margin: 0 0 8px; letter-spacing: -0.01em; }
section .sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 560px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.ico.c1 { background: rgba(255,107,94,.14); }
.ico.c2 { background: rgba(43,196,196,.16); }
.ico.c3 { background: rgba(245,184,25,.18); }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; max-width: 760px; margin: 0 auto; }
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%; height: auto; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.shots figcaption { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* Privacy highlight */
.note {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); text-align: center; max-width: 680px; margin: 0 auto;
}
.note strong { color: var(--ink); }

/* Content pages (legal/support) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.doc h1 { font-size: 2rem; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.doc p, .doc li { color: #3c3c42; }
.doc ul { padding-left: 22px; }
.faq { border-top: 1px solid var(--line); padding: 20px 0; }
.faq h3 { margin: 0 0 6px; font-size: 1.05rem; }
.faq p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 520px) {
  .nav .navlink { display: none; }
}
