:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5c6677;
  --paper: #fff8ed;
  --card: #ffffff;
  --line: #e7ddce;
  --sky: #55a6ff;
  --sun: #f7b731;
  --green: #20a66a;
  --coral: #fb7185;
  --shadow: 0 24px 60px rgba(31, 41, 55, 0.15);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 205, 89, .42), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(85, 166, 255, .2), transparent 32rem),
    linear-gradient(135deg, #fff8ed 0%, #eef7ff 100%);
  color: var(--ink);
}
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-nav{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 24px;padding:12px 16px;background:rgba(255,255,255,.86);border:1px solid #e1e5ee;border-radius:24px;box-shadow:0 10px 24px rgba(22,31,54,.06);backdrop-filter:blur(12px)}
.site-brand{display:inline-flex;align-items:center;gap:10px;color:#172033;text-decoration:none;font-weight:800}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#172033;color:#fff;font-weight:900}.site-nav a:not(.site-brand){color:#4b5565;text-decoration:none;font-weight:700;font-size:.95rem}.site-nav a:hover{text-decoration:underline}
.hero { padding: 24px 0 34px; }
.crumb { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.crumb a { color: var(--ink); text-decoration: none; font-weight: 850; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 470px); gap: 28px; align-items: center; }
.eyebrow { color: #a05000; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
h1 { font-size: clamp(2.35rem, 7vw, 5rem); line-height: .94; margin: 0 0 18px; letter-spacing: -.07em; }
.lede { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.preset-row, .custom-row, .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.preset-row { margin: 26px 0 18px; }
.pill, button { border: 0; font: inherit; cursor: pointer; }
.pill { border: 2px solid var(--line); background: rgba(255,255,255,.88); color: var(--ink); padding: 11px 14px; border-radius: 999px; font-weight: 850; box-shadow: 0 8px 18px rgba(31, 41, 55, .06); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.custom-panel { margin-top: 18px; }
.custom-panel label { display: block; margin-bottom: 8px; font-weight: 950; }
.custom-row span { color: var(--muted); font-weight: 850; }
input { width: 92px; border: 2px solid var(--line); border-radius: 14px; padding: 12px 11px; font: inherit; font-weight: 850; color: var(--ink); background: #fff; }
.timer-card, .info-card, .tips, .faq, .routine-list { background: rgba(255,255,255,.94); border: 1px solid rgba(231, 221, 206, .95); border-radius: 30px; box-shadow: var(--shadow); }
.timer-card { padding: clamp(20px, 4vw, 34px); text-align: center; }
.visual-window { position: relative; overflow: hidden; min-height: 220px; border-radius: 28px; background: #eaf5ff; border: 4px solid #fff; box-shadow: inset 0 0 0 1px rgba(23,32,51,.08); margin-bottom: 18px; }
.visual-fill { position: absolute; inset: 0; transform-origin: bottom; background: linear-gradient(180deg, #ffd166 0%, #71d3ff 54%, #8b5cf6 100%); transition: transform .45s ease, background .35s ease; }
.sun { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(4rem, 13vw, 7rem); filter: drop-shadow(0 12px 18px rgba(23,32,51,.18)); }
.time { font-size: clamp(3rem, 11vw, 5.4rem); line-height: 1; font-weight: 950; letter-spacing: -.08em; margin-top: 2px; }
.timer-card h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 12px 0 8px; }
.timer-card p { color: var(--muted); line-height: 1.5; margin: 0 auto 16px; max-width: 38ch; }
.step-card { background: #fff7d6; border: 2px dashed #e5a000; border-radius: 20px; padding: 14px; margin: 16px 0 20px; display: grid; gap: 5px; }
.step-card span { font-size: 2rem; }
.step-card strong { font-size: 1.14rem; }
.step-card small { color: var(--muted); font-weight: 750; line-height: 1.45; }
.primary, .secondary { border-radius: 16px; padding: 13px 18px; font-weight: 950; }
.primary { background: var(--green); color: white; min-width: 170px; box-shadow: 0 12px 24px rgba(32,166,106,.26); }
.secondary { background: #edf4ff; color: #17427b; }
.small { padding: 11px 13px; }
.routine-list, .info-card, .tips, .faq { padding: clamp(20px, 3vw, 28px); }
.routine-list { margin-bottom: 18px; }
h2 { letter-spacing: -.03em; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.step { border: 2px solid #e7eef8; background: #f7fbff; border-radius: 18px; padding: 13px 10px; text-align: center; color: var(--muted); font-weight: 850; }
.step b { display: block; color: var(--ink); margin-top: 4px; }
.step.current { border-color: #f7b731; background: #fff6d8; color: #8a4a00; box-shadow: 0 12px 26px rgba(247,183,49,.2); }
.step.done { border-color: #bbf7d0; background: #f0fdf4; color: #177245; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0; }
li { margin: 9px 0; color: var(--muted); line-height: 1.55; }
.tips { margin-bottom: 18px; }
.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tip-grid div { background: #f5fbff; border: 1px solid #dceeff; border-radius: 18px; padding: 16px; font-weight: 950; text-align: center; }
.faq { margin-bottom: 38px; }
details { border-top: 1px solid var(--line); padding: 15px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 950; }
details p { color: var(--muted); line-height: 1.6; }
body.running .visual-fill { background: linear-gradient(180deg, #7dd3fc 0%, #60a5fa 52%, #8b5cf6 100%); }
body.final-step .visual-fill { background: linear-gradient(180deg, #fed7aa 0%, #fb923c 52%, #ef4444 100%); }
body.done .visual-fill { background: linear-gradient(180deg, #bbf7d0 0%, #4ade80 60%, #20a66a 100%); }
@media (max-width: 900px) { .hero-grid, .content-grid { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .crumb { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { main { width: min(100% - 20px, 1120px); } .preset-row .pill { width: 100%; } .primary, .secondary.small { flex: 1; } .actions .primary, .actions .secondary { width: 100%; } .steps, .tip-grid { grid-template-columns: 1fr; } .site-nav{margin-top:8px;padding:10px 12px;border-radius:20px}.site-nav a:not(.site-brand){font-size:.9rem}.brand-mark{width:30px;height:30px}.site-brand span:last-child{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} }
