/* breathe.wolel.com — minimalist style matching the iOS app */
:root {
  --bg:        #FAFAF8;
  --primary:   #2C2C2A;
  --text-main: #2C2C2A;
  --text-muted:#88877F;
  --text-faint:#B4B2A9;
  --accent:    #1D9E75;
  --accent-bg: #E1F5EE;
  --heart-pink:#FFE5EC;
  --heart-red: #E24B4A;
  --border:    #D3D1C7;
  --border-soft:#F1EFE8;
  --card:      #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ──────────────────────────── */
header.site {
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border-soft);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky; top: 0; z-index: 10;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
}
.brand-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 15px;
}
nav.site a {
  margin-left: 28px;
  color: var(--text-muted);
  font-size: 14px;
}
nav.site a:hover { color: var(--text-main); text-decoration: none; }

/* ── Hero ────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}
.chip {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.hero h1 {
  margin-top: 22px;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero p.lead {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 18px;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  border: 0.5px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--bg);
}
.btn-primary:hover { opacity: 0.9; text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--border-soft); text-decoration: none; }

/* ── Features ────────────────────────── */
.features {
  padding: 60px 0 100px;
}
.features h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.feature .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.feature.heart .icon { background: var(--heart-pink); }
.feature h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Doc pages ───────────────────────── */
.doc {
  padding: 80px 0 120px;
  max-width: 720px;
}
.doc h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.doc .updated {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 40px;
}
.doc h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text-main);
}
.doc h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 24px 0 8px;
}
.doc p, .doc li {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.75;
}
.doc ul, .doc ol {
  padding-left: 24px;
  margin: 12px 0;
}
.doc li { margin: 4px 0; }
.doc strong { font-weight: 500; }
.doc .callout {
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  border-left: 3px solid var(--accent);
}

/* ── Footer ──────────────────────────── */
footer.site {
  padding: 32px 0 40px;
  border-top: 0.5px solid var(--border-soft);
  color: var(--text-faint);
  font-size: 13px;
}
footer.site .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site nav a {
  margin-right: 20px;
  color: var(--text-muted);
}

/* ── Mobile ──────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { font-size: 16px; }
  nav.site a { margin-left: 16px; font-size: 13px; }
  .features { padding: 40px 0 80px; }
  .features h2 { font-size: 22px; margin-bottom: 32px; }
  .doc { padding: 56px 0 80px; }
  .doc h1 { font-size: 26px; }
}
