:root {
  --bg: #f4efe6;
  --ink: #2c2925;
  --muted: #5c574f;
  --line: #d7d0c4;
  --paper: #fffdf8;
  --accent: #4a5d4e;
  --accent-hover: #3a4b3e;
  --focus: #2f4a3a;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
}

main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 1rem;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 400;
}

.lead {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

.intro p:last-child {
  margin-bottom: 0;
}

.meet,
.support {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #f7f4ee;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
}

button:hover {
  background: var(--accent-hover);
}

button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

button.secondary:hover {
  background: #e8efe9;
}

button[aria-pressed="true"] {
  background: var(--accent-hover);
}

.other-me {
  margin-top: 2rem;
}

.presence {
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.line {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.3;
}

.after,
.breath-intro,
.privacy,
.note,
footer p {
  color: var(--muted);
  font-size: 0.98rem;
}

.breath-block {
  margin-top: 2rem;
}

.breath-stage:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  min-height: 12rem;
}

[hidden] {
  display: none !important;
}

.breath-circle {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: #d7e0d6;
  transform: scale(0.72);
  animation: breathe 11s ease-in-out infinite;
}

.breath-word {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.talk {
  margin-top: 2.5rem;
}

.talk label {
  display: block;
  margin-bottom: 0.4rem;
}

textarea {
  display: block;
  width: 100%;
  margin: 0.75rem 0 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
}

textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.placeholder {
  display: inline-block;
  margin: 0.25rem 0 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px dashed #9a9387;
  background: #efe9de;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.support .note {
  margin-bottom: 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .breath-circle {
    animation: none;
    transform: scale(1);
  }
}

@keyframes breathe {
  0%,
  4% {
    transform: scale(0.72);
  }
  45% {
    transform: scale(1.08);
  }
  54% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(0.72);
  }
}
