/* Bloom — marketing site. Palette mirrors the app's Bloom theme. */

:root {
  --paper: #faf7f2;
  --surface: #f0eae0;
  --ink: #2c1810;
  --brown: #5c4033;
  --sage: #5b7b50;
  --tan: #c9a87c;
  --faint: #a89b91;
  --line: #e2d9cb;
  --halo: rgba(91, 123, 80, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171009;
    --surface: #211810;
    --ink: #f0e7db;
    --brown: #d8c4ae;
    --sage: #8fae85;
    --tan: #c9a87c;
    --faint: #8a7d70;
    --line: #32271c;
    --halo: rgba(143, 174, 133, 0.12);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── small-caps kicker ─────────────────────────────── */
.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

/* ── hero ──────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 28px 64px;
}

.breath {
  position: relative;
  width: 168px;
  height: 168px;
  margin-bottom: 44px;
}

.breath .halo {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo) 0%, transparent 68%);
  animation: halo 6s ease-in-out infinite;
}

.breath .circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.92;
  animation: breathe 6s ease-in-out infinite;
}

.breath svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .breath .circle, .breath .halo, .breath svg { animation: none; }
}

.wordmark {
  font-size: 64px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 18px;
}

.tagline {
  font-size: 22px;
  font-style: italic;
  font-weight: 380;
  color: var(--brown);
  max-width: 26ch;
  margin: 0 auto 8px;
}

.subtag {
  font-size: 15px;
  color: var(--faint);
  margin-bottom: 40px;
}

.store-badge { display: inline-block; transition: opacity 0.25s ease; }
.store-badge:hover { opacity: 0.75; }
.store-badge img, .store-badge svg { height: 52px; display: block; }

/* staggered load-in */
.hero > * { opacity: 0; transform: translateY(14px); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.22s; }
.hero > *:nth-child(3) { animation-delay: 0.38s; }
.hero > *:nth-child(4) { animation-delay: 0.5s; }
.hero > *:nth-child(5) { animation-delay: 0.62s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; opacity: 1; transform: none; } }

/* ── stats strip ───────────────────────────────────── */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  font-size: 14px;
  color: var(--brown);
}
.stats b { font-weight: 650; color: var(--ink); }

/* ── pours (features) ──────────────────────────────── */
.pours { padding: 96px 0 40px; }

.pour {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.pour:last-child { border-bottom: none; }

.pour .n {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--tan);
  font-weight: 500;
}

.pour h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.pour p { color: var(--brown); max-width: 46ch; }

/* alternate pours drift — wabi-sabi asymmetry */
.pour:nth-child(even) { transform: translateX(14px); }
@media (max-width: 560px) { .pour:nth-child(even) { transform: none; } }

/* ── quiet privacy block ───────────────────────────── */
.vow {
  background: var(--surface);
  border-radius: 22px;
  padding: 56px 44px;
  text-align: center;
  margin: 72px 0;
}

.vow h2 {
  font-size: 32px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

.vow p { color: var(--brown); max-width: 42ch; margin: 0 auto; }

.vow a { color: var(--sage); text-decoration-color: var(--halo); text-underline-offset: 3px; }

/* ── closing ───────────────────────────────────────── */
.closing {
  text-align: center;
  padding: 40px 0 110px;
}
.closing .line {
  font-size: 28px;
  font-style: italic;
  font-weight: 380;
  color: var(--brown);
  margin-bottom: 34px;
}

/* ── footer ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--faint);
}
footer a { color: var(--brown); text-decoration: none; }
footer a:hover { color: var(--sage); }

/* ── document pages (privacy / support) ────────────── */
.doc { padding: 88px 0 110px; }
.doc .homelink {
  font-size: 14px;
  color: var(--faint);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 42px;
}
.doc .homelink:hover { color: var(--sage); }
.doc h1 {
  font-size: 40px;
  font-weight: 640;
  letter-spacing: -0.025em;
  margin: 10px 0 6px;
}
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 44px; }
.doc h2 {
  font-size: 21px;
  font-weight: 620;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}
.doc p, .doc li { color: var(--brown); margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--sage); text-underline-offset: 3px; }
.doc code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86em;
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 6px;
}
.doc .card {
  background: var(--surface);
  border-radius: 18px;
  padding: 30px 32px;
  margin: 26px 0;
}
