/* returntoyou.app — one stylesheet, no third-party requests.
   Palette: deep night, warm amber orb, off-white text. Dark + light. */

:root {
  --bg: #0e1218;
  --bg-soft: #151b23;
  --ink: #ece7dd;
  --ink-soft: #b3ac9f;
  --amber: #edaa5a;
  --amber-soft: #f3c489;
  --line: #26303b;
  --max: 42rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f2ea;
    --bg-soft: #efe9dd;
    --ink: #1d1a15;
    --ink-soft: #5f584c;
    --amber: #c9803a;
    --amber-soft: #b06f30;
    --line: #e0d8c8;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.35rem; }

a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-soft); }

h1, h2, h3 { line-height: 1.25; font-weight: 600; }
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; margin: 3rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 0.4rem; }

p, ul, ol { margin: 0.75rem 0; }
li { margin: 0.35rem 0; }

small, .fine { color: var(--ink-soft); font-size: 0.92rem; }

/* ---- Hero ---- */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.35rem 2rem;
}
.hero h1 { font-size: 2.4rem; margin: 1.5rem 0 0.5rem; }
.hero .line { color: var(--ink-soft); font-size: 1.25rem; max-width: 24rem; }

/* ---- Breathing orb (CSS only; approximate app rhythm) ---- */
.orb {
  width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--amber-soft), var(--amber) 45%, #9c5f26 100%);
  box-shadow: 0 0 60px 10px rgba(237,170,90,0.28);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.9); box-shadow: 0 0 44px 6px rgba(237,170,90,0.20); }
  50%      { transform: scale(1.0); box-shadow: 0 0 72px 14px rgba(237,170,90,0.34); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

/* ---- Sections ---- */
section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.beats { display: grid; gap: 1rem; margin-top: 1rem; }
.beat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; }
.beat b { color: var(--amber); font-weight: 600; }

.facts { list-style: none; padding: 0; }
.facts li { padding-left: 1.4rem; position: relative; }
.facts li::before { content: "·"; color: var(--amber); position: absolute; left: 0.4rem; font-weight: 700; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); margin-top: 2.5rem; padding: 1.5rem 0 3rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; }
footer a { text-decoration: none; }
footer .sep { color: var(--ink-soft); }

/* ---- Legal / content pages ---- */
.page { padding: 2.5rem 0 1rem; }
.page h1 { margin-bottom: 0.25rem; }
.page .meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }
.back { display: inline-block; margin: 1.5rem 0 0; font-size: 0.95rem; }
hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
