/* unfurl site. Same tokens and fonts as the apps (see AGENTS.md, from the owner's asset kit). Light only. */
@font-face { font-family: "Newsreader Display"; src: url("fonts/NewsreaderDisplay-Regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
:root {
  --ground: #FAF8F3;
  --surface: #FFFFFF;
  --plum: #332A3B;
  --ink: #332A3B;
  --muted: #6B626C;
  --peach: #E9AF95;
  --peach-soft: #F2D4C4;
  --sage: #DDE7DF;
  --sage-soft: #E9EFEA;
  --sage-deep: #536E5C;
  --lavender: #E4DFEC;
  --lavender-soft: #EEEBF3;
  --hairline: #DDD6D8;
  --serif: "Newsreader Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a, button, [role="button"], summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.site-head { padding-block: 28px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--plum);
  font: 400 28px/1 var(--serif);
  letter-spacing: -0.02em;
}
.wordmark img { height: 34px; width: auto; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 32px 88px;
}
.hero h1 { font-size: clamp(46px, 7vw, 80px); color: var(--ink); }
.hero .lede { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 32ch; }
.status {
  margin-top: 34px;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--surface);
  font-weight: 600;
  font-size: 15px;
}
.status-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* The live breath: same timing as the 4-7-8 practice in the app (19 s round). */
.breath {
  background: linear-gradient(180deg, var(--sage-soft), var(--sage));
  border-radius: 36px;
  padding: 40px 28px 34px;
  text-align: center;
}
.breath-label { color: var(--muted); font-size: 14px; }
.ring {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 1;
  margin: 22px auto 26px;
  border-radius: 50%;
  border: 3px solid rgba(253, 250, 248, 0.9);
  background: rgba(253, 250, 248, 0.35);
}
.ring .bloom {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66%;
  height: auto;
  animation: bloom 19s ease-in-out infinite;
}
.phase { position: relative; height: 54px; }
.phase span {
  position: absolute;
  inset: 0;
  font: 400 44px/54px var(--serif);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: 19s linear infinite;
}
.phase .in { animation-name: show-in; }
.phase .hold { animation-name: show-hold; }
.phase .out { animation-name: show-out; }
.pills { margin-top: 14px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.pills span { padding: 6px 14px; border-radius: 999px; background: rgba(253, 250, 248, 0.6); }

/* 0 to 21% inhale (4 s), to 58% hold (7 s), to 100% exhale (8 s). */
@keyframes bloom {
  0% { transform: scale(0.6); }
  21% { transform: scale(1); }
  58% { transform: scale(1); }
  100% { transform: scale(0.6); }
}
@keyframes show-in { 0%, 20% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes show-hold { 0%, 20% { opacity: 0; } 21%, 57% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes show-out { 0%, 57% { opacity: 0; } 58%, 99% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ring .bloom { animation: none; }
  .ring .bloom { transform: scale(0.85); }
  .phase .in, .phase .out { animation: none; }
  .phase .hold { animation: none; opacity: 1; }
}

/* Sections */
section { padding-block: 72px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 50px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Real screens */
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.screens figure { margin: 0; }
.screens img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  box-shadow: 0 0 0 7px var(--ink), 0 26px 50px -24px rgba(58, 41, 55, 0.45);
}
.screens figcaption { margin-top: 22px; font-size: 15px; color: var(--muted); }
.screens figcaption b { display: block; color: var(--ink); font: 400 22px/1.2 var(--serif); margin-bottom: 4px; }

/* Moments list */
.moments {
  background: var(--surface);
  border-radius: 22px;
  padding: 6px 28px;
}
.moments li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.moments li:last-child { border-bottom: 0; }
.moments ul { list-style: none; margin: 0; padding: 0; }
.moments .when { font: 400 22px/1.3 var(--serif); }
.moments .what { color: var(--muted); font-size: 15px; text-align: right; white-space: nowrap; }

/* Free and Plus */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
}
.plans > div { padding: 34px 32px; min-width: 0; }
.plans .plus { background: var(--peach-soft); }
.plans h3 { font-size: 30px; }
.plans .price { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plans ul { list-style: none; margin: 22px 0 0; padding: 0; }
.plans li { padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.plans li:last-child { border-bottom: 0; }

/* Privacy block */
.quiet {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.quiet h2 { font-size: clamp(34px, 4.6vw, 50px); }
.quiet p + p { margin-top: 14px; }
.quiet p { color: var(--ink); font-size: 18px; }

/* Footer */
.site-foot {
  margin-top: 40px;
  padding-block: 36px 48px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
}
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 700px; padding-block: 24px 40px; }
.legal h1 { font-size: clamp(40px, 6vw, 58px); }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { font-size: 26px; margin-top: 44px; }
.legal p, .legal li { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 0; }
.legal .summary {
  margin-top: 30px;
  background: var(--sage-soft);
  border-radius: 22px;
  padding: 22px 24px;
}

@media (max-width: 860px) {
  .hero, .quiet { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-bottom: 56px; }
  .screens { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; gap: 56px; }
  .plans { grid-template-columns: 1fr; }
  section { padding-block: 52px; }
}
@media (max-width: 520px) {
  .moments { padding: 4px 20px; }
  .moments li { flex-direction: column; gap: 2px; }
  .moments .what { text-align: left; white-space: normal; }
  .plans > div { padding: 28px 22px; }
}
