.timer-demo{width:330px;max-width:100%;margin:0;color:#2c2a26;text-align:start;scroll-margin-top:90px;font-family:'Hanken Grotesk',system-ui}
.timer-demo[hidden],.timer-demo [hidden]{display:none!important}
.demo-accessible-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.demo-phone-screen{position:relative;min-height:717px;padding:18px 22px 26px;border:1px solid #cbd0c7;border-radius:40px;background:#f5f5f1;box-shadow:0 32px 65px #35432c25;display:flex;flex-direction:column}
.demo-phone-screen:after{content:'';position:absolute;bottom:8px;left:34%;width:32%;height:4px;border-radius:4px;background:#2c2a2633}
.demo-phone-status{display:flex;justify-content:space-between;align-items:center;font:600 13px system-ui;direction:ltr;margin:0 1px 26px;height:26px}
.demo-island{position:absolute;left:34%;top:10px;width:32%;height:30px;border-radius:20px;background:#08090a}
.demo-phone-plan{display:flex;gap:8px;align-items:center;font-size:14px;color:#797c70;min-height:30px}
.demo-phone-plan b{color:#2c2a26;font-size:16px}
.demo-face{position:relative;width:min(100%,250px);aspect-ratio:1;margin:24px auto 14px}
.demo-ring{width:100%;height:100%;overflow:visible}
.demo-center{position:absolute;inset:18%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.demo-center>span:first-child{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#777b70}
.timer-demo-time{font-family:'Bricolage Grotesque',system-ui;font-size:56px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1.1}
.demo-center strong{font-size:16px;color:#52734d;overflow-wrap:anywhere}
.demo-plan{display:none}
.timer-demo p{line-height:1.5;margin:0}
.timer-demo .demo-status{text-align:center;font-size:14px;color:#52734d;border:1px solid #d4dece;border-radius:20px;background:#eaf0e5;padding:8px 12px;margin:4px auto 20px}
.demo-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.5fr);gap:5px;margin:0 0 18px}
.timer-demo button{font:inherit;min-height:44px;cursor:pointer;line-height:1.35}
.demo-phases button{position:relative;padding:13px 0 0;background:none;border:0;color:#73776a;font-size:12px;overflow-wrap:anywhere;text-align:center}
.demo-phases button:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;border-radius:3px;background:linear-gradient(to right,var(--phase-color) var(--phase-fill,0%),#dfe3d8 var(--phase-fill,0%))}
.demo-phases button[aria-pressed=true]{color:#365632;font-weight:700}
.demo-phase-dot{display:none}
.demo-scrub-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#73776a;flex-wrap:wrap;margin-top:auto}
.timer-demo input[type=range]{width:100%;min-height:44px;margin:0;accent-color:#52734d;cursor:pointer}
.timer-demo-controls{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.timer-demo-controls button{flex:1 1 120px;font-size:16px;font-weight:600;padding:13px 14px;border:1px solid #52734d;border-radius:14px;background:#52734d;color:white}
.timer-demo button[data-demo-reset]{flex:0 1 auto;background:transparent;color:#52734d;border-color:#c8d1c1}
.timer-demo button:disabled{opacity:.5;cursor:default}
.timer-demo button:focus-visible,.timer-demo input:focus-visible{outline:3px solid #345d91;outline-offset:3px}
.timer-demo button:hover:not(:disabled){filter:brightness(.92)}
.timer-demo .demo-note{font-size:14px;color:#5c584f;text-align:center;margin:18px 0 0}
@media(prefers-reduced-motion:no-preference){.demo-ring [data-ring]{transition:stroke-dashoffset .1s linear}}
[data-phone]{pointer-events:none}
.phone-preview-note{position:relative;z-index:1;max-width:420px;margin:12px auto 20px;font-size:14px;line-height:1.5;text-align:center;color:#5c584f;background:#f5f5f1;border-radius:12px;padding:8px 12px}
.phone-preview-note a{display:inline-block;padding:8px 0;color:#365c32;text-decoration:underline;text-underline-offset:3px;min-height:44px}
.phone-preview-note a:focus-visible{outline:3px solid #345d91;outline-offset:3px}
