:root {
  --forest: #19392f;
  --green: #315b4b;
  --ivory: #f8f4ea;
  --paper: #fffdf7;
  --gold: #c59a56;
  --ink: #20302a;
  --muted: #64726c;
  --line: rgba(25, 57, 47, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
.shell { width: min(920px, calc(100% - 32px)); margin: auto; }
.top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.brand img { width: 36px; }
.brand span { display: flex; flex-direction: column; }
.brand b { font-family: var(--serif); letter-spacing: 0.14em; }
.brand small { font-size: 8px; color: var(--muted); }
button, .back, select { border: 1px solid var(--line); background: var(--paper); border-radius: 100px; padding: 9px 14px; cursor: pointer; color: var(--forest); text-decoration: none; font-size: 11px; }
select { appearance: none; -webkit-appearance: none; min-width: 112px; padding-right: 27px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 14px, calc(100% - 10px) 14px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.hero { border-radius: 26px; overflow: hidden; background: var(--forest); color: #fff; min-height: 440px; position: relative; display: grid; place-items: center; text-align: center; padding: 55px 25px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(235, 211, 161, 0.2); width: 390px; height: 390px; }
.hero::after { width: 300px; height: 300px; }
.lotus { width: 90px; margin: auto; fill: #e1c182; }
.kicker { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #d8c08c; }
.hero h1 { font: 400 clamp(54px, 9vw, 88px) / 0.95 var(--serif); margin: 17px 0; white-space: pre-line; }
.hero h2 { font: 400 23px var(--serif); color: #dbe3de; }
.hero p { color: #bdc9c2; max-width: 590px; margin: 22px auto; font-size: 13px; }
.hero-inner { position: relative; z-index: 2; }
.language { position: absolute; right: 18px; top: 18px; z-index: 3; background-color: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.intro { padding: 70px 30px 38px; max-width: 760px; margin: auto; text-align: center; }
.intro h2, .day h2, .closing h2 { font: 400 42px / 1.1 var(--serif); margin: 12px 0; }
.intro p { color: var(--muted); }
.ground-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 25px 0; }
.ground-rules div { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 18px; }
.ground-rules span { font-family: var(--serif); font-size: 25px; color: var(--gold); display: block; }
.ground-rules strong { font-size: 10px; display: block; }
.days { display: grid; gap: 18px; padding: 25px 0 80px; }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; grid-template-columns: 95px 1fr; gap: 25px; }
.day-number { width: 84px; height: 84px; border-radius: 50%; background: #e6ece3; display: grid; place-items: center; text-align: center; }
.day-number small, .day-number strong { display: block; }
.day-number small { font-size: 7px; letter-spacing: 0.13em; }
.day-number strong { font: 400 34px var(--serif); }
.day h2 { font-size: 32px; }
.day p { font-size: 12px; color: var(--muted); }
.practice { background: #f1eadc; border-radius: 13px; padding: 17px; margin: 17px 0; }
.practice strong { display: block; font-size: 9px; letter-spacing: 0.14em; color: #7a6d54; }
.practice p { color: var(--ink); margin: 6px 0 0; }
.audio-row { display: flex; align-items: center; gap: 12px; }
.play { width: 43px; height: 43px; border-radius: 50%; background: var(--forest); color: #fff; border-color: var(--forest); font-size: 13px; }
.audio-row span { font-size: 10px; color: var(--muted); }
.reflection { border-left: 2px solid var(--gold); padding-left: 12px; margin-top: 18px; font: italic 16px var(--serif); color: #495c54; }
.closing { background: #e7ddca; border-radius: 22px; padding: 50px; text-align: center; margin-bottom: 80px; }
.closing p { color: var(--muted); max-width: 610px; margin: 15px auto 25px; }
.primary { background: var(--forest); color: #fff; border-color: var(--forest); padding: 12px 20px; }
.footer { text-align: center; padding: 30px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }

@media (max-width: 650px) {
  .top { padding: 12px 0; align-items: flex-start; }
  .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .hero { min-height: 480px; }
  .ground-rules { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; padding: 22px; }
  .day-number { width: 68px; height: 68px; }
  .intro { padding: 55px 5px 28px; }
  .closing { padding: 35px 22px; }
  .top .back { font-size: 0; }
  .top .back::after { content: "←"; font-size: 16px; }
}

@media print {
  body { background: #fff; }
  .top button, .back, .language, .audio-row, .closing .primary { display: none; }
  .hero { min-height: 350px; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .day { break-inside: avoid; padding: 20px; }
  .days { gap: 10px; }
  .closing { break-inside: avoid; margin: 0; }
  .footer { padding: 15px; }
}
