:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6878;
  --paper: #f6fbff;
  --card: #ffffff;
  --line: #dbe7f0;
  --blue: #38bdf8;
  --teal: #14b8a6;
  --lavender: #a78bfa;
  --peach: #fb923c;
  --shadow: 0 24px 60px rgba(24, 39, 75, 0.14);
}
* { 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 8% 8%, rgba(56, 189, 248, 0.25) 0, transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(167, 139, 250, 0.24) 0, transparent 24rem),
    linear-gradient(135deg, #f8fbff 0%, #eefdf8 100%);
  color: var(--ink);
}
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 24px 0 36px; }
.crumb { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.crumb a { color: var(--ink); text-decoration: none; font-weight: 850; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 450px); gap: 28px; align-items: center; }
.eyebrow { color: #0f766e; font-weight: 950; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
h1 { font-size: clamp(2.55rem, 8vw, 5.4rem); line-height: 0.92; margin: 0 0 18px; letter-spacing: -0.075em; }
.lede { font-size: clamp(1.06rem, 2vw, 1.34rem); color: var(--muted); max-width: 59ch; 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, select { border: 0; font: inherit; }
button { cursor: pointer; }
.pill { border: 2px solid var(--line); background: rgba(255,255,255,0.88); color: var(--ink); padding: 11px 14px; border-radius: 999px; font-weight: 900; box-shadow: 0 8px 18px rgba(31, 41, 55, 0.06); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.custom-label { display: block; margin-bottom: 8px; font-weight: 950; }
input, select { border: 2px solid var(--line); border-radius: 14px; padding: 12px; font-weight: 850; color: var(--ink); background: #fff; }
input { width: 104px; }
select { min-width: 180px; }
.timer-card, .info-card, .tips, .faq { background: rgba(255,255,255,0.94); border: 1px solid rgba(219, 231, 240, 0.95); border-radius: 30px; box-shadow: var(--shadow); }
.timer-card { padding: clamp(20px, 4vw, 34px); text-align: center; }
.breathing-orb { width: min(76vw, 285px); aspect-ratio: 1; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,255,255,0.98) 0 48%, rgba(186,230,253,0.7) 49% 62%, rgba(221,214,254,0.48) 63% 100%); box-shadow: inset 0 0 0 14px rgba(255,255,255,0.55), 0 18px 48px rgba(14, 116, 144, 0.18); }
.orb { width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--teal)); color: white; font-size: clamp(1.3rem, 4vw, 2.05rem); font-weight: 950; transition: transform 0.8s ease, background 0.4s ease; box-shadow: 0 18px 36px rgba(20, 184, 166, 0.28); }
body.running .orb { animation: breathe 8s ease-in-out infinite; }
body.final-minute .orb { background: linear-gradient(135deg, var(--lavender), var(--blue)); }
body.done .orb { background: linear-gradient(135deg, var(--teal), #22c55e); transform: scale(1); animation: none; }
@keyframes breathe { 0%,100% { transform: scale(0.86); } 45% { transform: scale(1.12); } 60% { transform: scale(1.12); } }
.time { font-size: clamp(3.2rem, 12vw, 5.7rem); font-weight: 950; letter-spacing: -0.08em; line-height: 0.95; }
.timer-card h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 12px 0 8px; }
.timer-card p { color: var(--muted); line-height: 1.5; margin: 0 auto 16px; max-width: 36ch; }
.prompt-box { background: #ecfeff; border: 2px dashed #22d3ee; border-radius: 18px; padding: 14px; margin: 16px 0 20px; font-size: 1.05rem; font-weight: 950; }
.primary, .secondary { border-radius: 16px; padding: 13px 18px; font-weight: 950; }
.primary { background: #0f766e; color: white; min-width: 180px; box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24); }
.secondary { background: #eef6ff; color: #17427b; }
.small { padding: 11px 13px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0; }
.info-card, .tips, .faq { padding: clamp(20px, 3vw, 28px); }
h2 { letter-spacing: -0.03em; }
li, .info-card p { margin: 9px 0; color: var(--muted); line-height: 1.58; }
.tips { margin-bottom: 18px; }
.tip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tip-grid div { background: #f0fdfa; border: 1px solid #99f6e4; 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; }
.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}
@media (max-width: 920px) { .content-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .crumb { align-items: flex-start; flex-direction: column; } .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { main { width: min(100% - 20px, 1120px); } .preset-row .pill, select { width: 100%; } .primary, .secondary.small { flex: 1; } .actions .primary, .actions .secondary { width: 100%; } .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} }
