:root {
  --paper: #f3ead8;
  --paper-deep: #e8dcc4;
  --ink: #4a3728;
  --ink-soft: #7a624c;
  --gold: #c4a36a;
  --gold-deep: #9a7844;
  --ember: #c17a4a;
  --nest: #6b4f32;
  --sage: #8a9a72;
  --white: #fbf6eb;
  --shadow: rgba(74, 55, 40, 0.12);
}

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

html, body {
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 50% -10%, #fbf6eb 0%, transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body {
  min-height: 100dvh;
}

#app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sheet {
  width: min(440px, 100%);
  min-height: 100dvh;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
}

header.brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quiet-link {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 12px 0 24px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  font-style: italic;
}

.hero p.lead {
  color: var(--ink-soft);
  max-width: 22em;
}

.nest-mark {
  width: 88px;
  height: 64px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.primary {
  appearance: none;
  border: 0;
  background: #2c2118;
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 22px;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 20px var(--shadow);
}

.primary:active { transform: translateY(1px); }

.quiet-choices {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiet-choices button {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  padding: 4px 2px;
}

.quiet-choices button:hover { color: var(--ink); }

.hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* HOLD */
.hold {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.tea {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, #f4e2b8 0%, #d7b57a 42%, #b07a45 78%, #6f4a2c 100%);
  box-shadow:
    inset 0 -18px 30px rgba(80, 40, 10, 0.25),
    0 16px 40px var(--shadow);
  transition: filter 1s linear, background 1s linear;
}

.tea::after {
  content: "";
  position: absolute;
  inset: 18% 22% auto 22%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.tea.cooling {
  filter: saturate(0.75) brightness(0.92);
}

.intention {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  min-height: 1.4em;
}

.hold .meta {
  color: var(--ink-soft);
  font-size: 14px;
}

.end-early {
  margin-top: 36px;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* COLD TEA */
.cold {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.cold h1 {
  font-size: 36px;
  font-style: italic;
}

.cold p { color: var(--ink-soft); }

.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.ghost {
  appearance: none;
  border: 1px solid #c9b79a;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
}

/* LAYERS + SPEC */
.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0 32px;
}

.prose h1 { font-size: 30px; font-style: italic; }
.prose h2 { font-size: 22px; margin-top: 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }

.layer-card {
  background: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px var(--shadow);
}

.layer-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}

.field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c9b79a;
  background: transparent;
  font: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  padding: 8px 0;
  outline: none;
}

.field::placeholder { color: #b09a80; }

.footer-note {
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-soft);
}
