:root {
  color-scheme: light;
  --paper: #edf2ee;
  --ink: #213b32;
  --muted: #62756b;
  --line: #c9d6cd;
  --accent: #28674e;
  --card: #f9fbf7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 15% 45%, #dce9df 0, transparent 55%); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page { max-width: 1200px; padding: 0 56px; margin: auto; }
.header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 34px; font-weight: 750; letter-spacing: -2px; }
.wordmark-dot { color: var(--accent); }
.header-note { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
main { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px 48px; padding-top: 76px; }
.intro { padding-top: 28px; }
.eyebrow, .card-label { font-size: 10px; font-weight: 650; letter-spacing: .17em; }
.eyebrow { margin: 0 0 28px; color: var(--muted); }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(56px, 6.8vw, 88px); line-height: 1.04; letter-spacing: -.055em; }
h1 em { font-weight: 400; color: var(--accent); }
.intro-copy { margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.timer-card { background: var(--card); padding: 30px; border: 1px solid #d8e2d8; border-radius: 24px; box-shadow: 0 16px 48px #274f3610; text-align: center; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-label { color: var(--muted); }
.state { font-size: 11px; color: var(--accent); text-align: right; }
.state::before { content: ""; display: inline-block; width: 5px; height: 5px; background: currentColor; border-radius: 50%; margin-right: 7px; vertical-align: 2px; }
.modes { display: flex; background: #eaf0e9; border: 1px solid #e1e8df; padding: 4px; border-radius: 12px; margin-top: 32px; gap: 4px; }
.mode { flex: 1; padding: 12px 8px; background: transparent; color: var(--muted); border: 0; border-radius: 8px; font-size: 13px; font-weight: 600; }
.mode span { font-size: 11px; font-weight: 400; margin-left: 7px; }
.mode[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 5px #213b320d; }
.time { font-size: clamp(66px, 8.5vw, 110px); font-weight: 350; letter-spacing: -.06em; font-variant-numeric: tabular-nums; line-height: 1; margin: 40px 0 14px; }
.timer-caption { color: var(--muted); font-size: 12px; margin: 0; }
progress { appearance: none; display: block; width: 100%; height: 3px; border: 0; border-radius: 4px; overflow: hidden; margin: 32px 0 26px; background: #e1e8df; color: var(--accent); }
progress::-webkit-progress-bar { background: #e1e8df; }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.controls { display: flex; gap: 10px; }
.controls button { min-height: 48px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.primary { flex: 1; color: #fff; background: var(--accent); border: 1px solid var(--accent); }
.primary:hover { background: #20573f; }
.reset { padding: 0 20px; color: var(--muted); background: transparent; border: 1px solid var(--line); }
.reset:hover { background: #eaf0e9; }
.timer-note { font-size: 10px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; }
.noscript { font-size: 13px; line-height: 1.6; color: var(--ink); }
.ritual { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); margin-top: 34px; padding: 28px 0 46px; }
.step { font-size: 10px; font-variant-numeric: tabular-nums; color: var(--muted); }
h2 { font-size: 14px; font-weight: 550; letter-spacing: -.015em; margin: 14px 0 8px; }
.ritual p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }
footer { display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid var(--line); padding: 24px 0 30px; gap: 24px; color: var(--muted); font-size: 10px; }
footer > span:first-child { color: var(--ink); font-weight: 600; font-size: 12px; }
footer p { margin: 0; line-height: 1.7; }
.footer-mark { font-size: 8px; letter-spacing: .12em; padding-top: 3px; }
@media (max-width: 760px) {
  .page { padding: 0 24px; }
  .header { min-height: 88px; }
  .wordmark { font-size: 30px; }
  .header-note { font-size: 10px; max-width: 145px; text-align: right; line-height: 1.5; }
  main { grid-template-columns: 1fr; padding-top: 36px; gap: 32px; }
  .intro { padding-top: 0; }
  .eyebrow { font-size: 9px; margin-bottom: 20px; }
  h1 { font-size: clamp(54px, 12vw, 80px); }
  .intro-copy { font-size: 14px; margin-top: 20px; }
  .timer-card { padding: 24px; border-radius: 20px; }
  .time { font-size: clamp(76px, 20vw, 110px); }
  .ritual { margin-top: 8px; gap: 24px; grid-template-columns: 1fr; padding-bottom: 32px; }
  .ritual article { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; }
  .step { grid-row: span 2; padding-top: 4px; }
  h2 { margin-top: 0; }
  footer { flex-wrap: wrap; }
  footer p { flex: 1; min-width: 180px; }
  .footer-mark { width: 100%; }
}
