/* Vis homepage: the night page. One display family (Hanken Grotesk, with Manrope for Cyrillic
   headings), Roboto only where the page shows Android itself (the widgets). The other pages (What's
   new, privacy, terms, 404) keep styles.css; this file serves only the nine homepages. */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/hanken-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/hanken-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/manrope-greek.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/roboto-greek.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}

:root{
  --night:#0B0E18; --line:rgba(174,190,214,.14); --line-2:rgba(174,190,214,.24);
  --text:#F2F4F8; --mist:#A9B4CC; --mist-2:#7E89A3; --blue:#4F86FF; --blue-2:#2A67FD; --ember:#D8A046;
  /* the heat ramp on the night: every step brighter (the first at 3:1), so more reads as brighter */
  --h0:#161c2f; --h1:#3A5CC0; --h2:#4470E0; --h3:#5B8CFF; --h4:#93B4FF;
  /* the app's own dark widget tokens (data/widget-snapshot/streak-snapshot.ts) */
  --w-surface:#16181B; --w-muted:#25272D; --w-text:#ECECEE; --w-text-2:#A0A2A8; --w-text-3:#6B6D74; --w-ember:#D8A046;
  --font:'Hanken Grotesk','Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --android:'Roboto','Google Sans Text',system-ui,sans-serif;
  --maxw:1160px; --nav-h:68px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px);background:var(--night);scrollbar-color:rgba(255,255,255,.22) var(--night)}
/* Japanese, Chinese, Korean and Hindi: the system's own faces (Latin words stay in Hanken Grotesk); their headings
   lose the negative tracking that suits Latin and get room for taller glyphs; Korean wraps between words */
:root:lang(ja){--font:'Hanken Grotesk','Hiragino Sans','Hiragino Kaku Gothic ProN','Noto Sans JP','Noto Sans CJK JP','Yu Gothic UI','Yu Gothic','Meiryo',sans-serif}
:root:lang(zh){--font:'Hanken Grotesk','PingFang SC','Hiragino Sans GB','Noto Sans SC','Noto Sans CJK SC','Microsoft YaHei',sans-serif}
:root:lang(ko){--font:'Hanken Grotesk','Apple SD Gothic Neo','Noto Sans KR','Noto Sans CJK KR','Malgun Gothic',sans-serif}
:root:lang(hi){--font:'Hanken Grotesk','Noto Sans Devanagari','Nirmala UI','Kohinoor Devanagari','Mangal',sans-serif}
body{font-family:var(--font);font-size:17.5px;line-height:1.55;color:var(--text);background:var(--night);-webkit-font-smoothing:antialiased;font-weight:420}
a{color:inherit;text-decoration:none}
img{max-width:100%}
p{text-wrap:pretty}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
h1,h2,h3{font-weight:800;letter-spacing:-.034em;line-height:1;text-wrap:balance}
:is(:lang(ja),:lang(zh),:lang(ko),:lang(hi)) :is(h1,h2,h3){letter-spacing:0;line-height:1.22}
body:is(:lang(ja),:lang(zh),:lang(ko),:lang(hi)){line-height:1.75}
body:lang(ko){word-break:keep-all}
body:is(:lang(ja),:lang(zh)){line-break:strict}
:lang(ja) :is(h1,h2,h3){word-break:keep-all;word-break:auto-phrase;overflow-wrap:anywhere}   /* headlines break between phrases, not inside words */
:lang(zh) :is(h1,h2,h3){word-break:keep-all;overflow-wrap:anywhere}
h2{font-size:clamp(32px,3.8vw,46px);margin-bottom:18px}
.copy p{color:var(--mist);max-width:42ch}
.copy p+p{margin-top:12px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- nav (the live markup: brand, links, language menu, download) ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:50;height:var(--nav-h);transition:background .3s,box-shadow .3s}
.nav .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}
.vmark{display:inline-flex;align-items:center;gap:10px}
.vmark .vlogo{width:32px;height:32px;display:block;border-radius:8px;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.vmark span{font-weight:800;font-size:21px;letter-spacing:-.02em;color:var(--text)}
.nav-links{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:600}
.nav-links > a:not(.nav-cta){color:var(--mist);transition:color .2s}
.nav-links > a:not(.nav-cta):hover{color:var(--text)}
.nav-cta{background:var(--blue-2);color:#fff;padding:10px 16px;border-radius:11px;font-size:14.5px;font-weight:700;transition:background .2s}
.nav-cta:hover{background:#1F4EDE}
.nav.solid{background:rgba(11,14,24,.84);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.langpick{position:relative}
.langpick summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;color:var(--mist);transition:color .2s;-webkit-tap-highlight-color:transparent}
.langpick summary::-webkit-details-marker{display:none}
.langpick summary:hover,.langpick[open] summary{color:var(--text)}
.lp-caret{width:13px;height:13px;opacity:.8;transition:transform .2s}
.lp-globe{display:none;width:18px;height:18px}
@media(max-width:400px){.lp-name{display:none}.lp-globe{display:block}}   /* narrow phones: the globe stands in for the language's name */
.langpick[open] .lp-caret{transform:rotate(180deg)}
.langmenu{position:absolute;top:calc(100% + 14px);right:0;min-width:330px;max-height:calc(100svh - var(--nav-h) - 16px);overflow-y:auto;overscroll-behavior:contain;background:#161b2b;border:1px solid var(--line-2);border-radius:13px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:6px;display:flex;flex-direction:column;gap:2px;z-index:60}
.langmenu a{display:block;padding:9px 12px;border-radius:9px;font-size:14px;font-weight:600;color:var(--text);white-space:nowrap}
.langmenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-template-rows:repeat(12,auto);gap:2px 4px}   /* names run down the columns, A to Z */
.langmenu a:hover{background:rgba(255,255,255,.06)}
.langmenu a[aria-current="true"]{color:#8FB0FF;background:rgba(79,134,255,.12)}

/* ---------- hero: the 3D field (or its flat drawing) with the live site's phone over it ---------- */
.hero{position:relative;height:100svh;min-height:680px;max-height:1000px;overflow:hidden;background:var(--night)}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#floor{opacity:0}
.no-webgl #floor{opacity:1}
.no-webgl #scene{display:none}
#scene.gone{opacity:0!important;transition:opacity .6s ease!important}
/* the night falls off toward the copy, so text never fights the field */
.hero::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(90deg,rgba(11,14,24,.92) 0%,rgba(11,14,24,.62) 32%,rgba(11,14,24,0) 56%),linear-gradient(0deg,var(--night) 0%,rgba(11,14,24,0) 22%)}
.hero-copy{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;max-width:var(--maxw);margin:0 auto;padding:var(--nav-h) 28px 40px}
.hero-copy{pointer-events:none}
.hero-copy > *{max-width:520px;pointer-events:auto}
.hero-copy > h1{max-width:780px}                                          /* two lines in every language: Cyrillic and German lines run wider */
.hero h1{font-size:clamp(44px,5.6vw,78px);letter-spacing:-.045em;line-height:.95}
:is(:lang(ja),:lang(zh),:lang(ko),:lang(hi)) .hero h1{letter-spacing:0;line-height:1.16}
.lead{font-size:19.5px;line-height:1.5;color:#C9D4E8;margin:22px 0 30px;max-width:33ch}
.badge{display:inline-block;line-height:0;transition:transform .15s}
.badge:hover{transform:translateY(-2px)}
.badge img{height:52px;width:auto}
.trust{margin-top:16px;font-size:14.5px;color:var(--mist)}
.dev-stage{display:flex;position:absolute;right:5%;top:50%;transform:translateY(-50%);width:44%;z-index:0}
.dev-stage .stage{width:100%}
.dev-stage .vp::after{content:'';position:absolute;inset:0;z-index:8;pointer-events:none;background:#04060c;opacity:0;transition:opacity .7s ease}
.dev-asleep .dev-stage .vp::after{opacity:.93;transition:none}   /* the screen is dark until the hero arrives */

/* ---------- the phone: a body with real thickness (15 planes), a thin metal frame, and the app on its glass.
   The screen keeps the app's own proportions (392.73 : 872.73), so nothing of it is cropped or padded. ---------- */
.stage{position:relative;height:560px;display:flex;align-items:center;justify-content:center;perspective:1400px;z-index:2}
.floor{position:absolute;bottom:96px;left:50%;width:200px;height:26px;background:rgba(8,12,30,.34);filter:blur(16px);z-index:0;
  transform:translateX(-50%);transform-origin:50% 50%;will-change:transform,opacity}
.dgroup{position:relative;width:0;height:0;transform-style:preserve-3d;transform:rotateY(-20deg) rotateX(4deg) scale(1.25)}
.unit{position:absolute;top:0;left:0;transform:translate(-50%,-50%);transform-style:preserve-3d}
.unit.as-phone{width:188px;height:408px}
.depth{position:absolute;inset:0;transform-style:preserve-3d}
/* the side wall, front to back: a chamfer that catches the key light, the flat band, a second chamfer, the back */
.zlayer{position:absolute;inset:0;border-radius:28px;background:#26282f}
.zlayer:nth-child(1){background:#8d92a0}.zlayer:nth-child(2){background:#5f636e}.zlayer:nth-child(3){background:#383a43}
.zlayer:nth-child(13){background:#383a43}.zlayer:nth-child(14){background:#4d515b}
.zlayer.last{background:#16171b;box-shadow:0 46px 66px rgba(8,14,38,.4)}
.dbody{position:absolute;inset:0;border-radius:28px;padding:4px;background:#040405;z-index:5}
/* the frame: a 1.3px band round the glass, brightest toward the key light at the top left */
.dbody::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.3px;pointer-events:none;z-index:9;
  background:linear-gradient(135deg,#aeb3c0 0%,#5a5e69 16%,#25272d 46%,#1a1b20 64%,#4c505a 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.rim{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:10;opacity:.35;will-change:opacity;box-shadow:inset 1.2px 1.2px 0 rgba(255,255,255,.38)}
.vp{position:relative;width:100%;height:100%;overflow:hidden;background:#08080B;border-radius:24px}
.cam{position:absolute;left:50%;top:4.6px;width:6.6px;height:6.6px;margin-left:-3.3px;border-radius:50%;z-index:7;pointer-events:none;
  background:radial-gradient(circle at 36% 34%,#2a3350 0,#0a0c14 38%,#020203 70%);box-shadow:0 0 0 .7px rgba(255,255,255,.07)}
.glare{position:absolute;top:0;bottom:0;left:0;width:320%;z-index:9;pointer-events:none;will-change:transform,opacity;
  background:linear-gradient(112deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.13) 49%,rgba(255,255,255,.035) 55%,rgba(255,255,255,0) 63%);transform:translateX(-39.875%);opacity:.7}

/* ---------- sections ---------- */
section{padding:120px 0}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.two.rev > .copy{order:2}
.sec .ic{width:1em;height:1em;display:block}
.tip{position:absolute;left:0;top:0;z-index:80;pointer-events:none;background:#F2F4F8;color:#121624;border-radius:10px;padding:8px 11px 9px;font:500 13px/1.3 var(--font);
  box-shadow:0 10px 30px rgba(0,0,0,.45);opacity:0;transition:opacity .12s;white-space:nowrap}
.tip.on{opacity:1}
.tip b{display:block;font-weight:700;margin-bottom:2px}
.tip span{color:#4b5468}
.l0{--fill:var(--h0)}.l1{--fill:var(--h1)}.l2{--fill:var(--h2)}.l3{--fill:var(--h3)}.l4{--fill:var(--h4)}

/* the year: six months as a relief */
.yc{margin:0}
.yc-svg{width:100%;height:auto;display:block;overflow:visible}
.yc-b{transition:transform .18s}
.yc-b[data-day]:hover{transform:translateY(-4px)}
.yc-b.t .top{stroke:var(--ember);stroke-width:1.4}
.yc-key{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--mist-2)!important;margin-top:22px!important}
.yc-key i{width:12px;height:12px;border-radius:3px;background:var(--fill)}

/* the streak: May and June with the run as one ribbon */
.rb{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:560px;width:100%;justify-self:center}
.rb-m b{display:block;font-size:15px;font-weight:700;margin-bottom:12px}
.rb-wd,.rb-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.rb-wd span{font-size:11px;font-weight:600;color:var(--mist-2);text-align:center;margin-bottom:6px}
.rb-grid{grid-template-rows:repeat(var(--rows),auto);row-gap:6px}
.rb-grid i{position:relative;z-index:1;aspect-ratio:1;display:grid;place-items:center;font:600 13px/1 var(--font);font-style:normal;color:var(--mist-2)}
.rb-grid i.pad{visibility:hidden}
.rb-grid i.r{color:#F4E3C2}
.rb-grid i.f{color:#3d4560}
.rb-grid i.t{color:var(--text);isolation:isolate}
.rb-grid i.t::before{content:'';position:absolute;inset:1px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--ember);background:#34291d;z-index:-1}   /* the ribbon's amber, opaque: today counts */
.rb-seg{z-index:0;align-self:stretch;margin:2px 0;border-radius:999px;background:rgba(216,160,70,.2);box-shadow:inset 0 0 0 1.5px rgba(216,160,70,.7);clip-path:inset(0 calc((1 - var(--p,1)) * 100%) 0 0)}
.rb-seg.in{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-6px;box-shadow:inset 0 1.5px 0 rgba(216,160,70,.7),inset 0 -1.5px 0 rgba(216,160,70,.7),inset -1.5px 0 0 rgba(216,160,70,.7)}
.rb-seg.out{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-6px;box-shadow:inset 0 1.5px 0 rgba(216,160,70,.7),inset 0 -1.5px 0 rgba(216,160,70,.7),inset 1.5px 0 0 rgba(216,160,70,.7)}
.rb-seg.in.out{box-shadow:inset 0 1.5px 0 rgba(216,160,70,.7),inset 0 -1.5px 0 rgba(216,160,70,.7)}
.rb-seg.now{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:inset 0 1.5px 0 rgba(216,160,70,.7),inset 0 -1.5px 0 rgba(216,160,70,.7),inset 1.5px 0 0 rgba(216,160,70,.7)}
.rb-seg.now.in{box-shadow:inset 0 1.5px 0 rgba(216,160,70,.7),inset 0 -1.5px 0 rgba(216,160,70,.7)}

/* ---------- the widgets (dark, as the app draws them: docs/widgets/*.spec.md) ---------- */
.wg{background:var(--w-surface);color:var(--w-text);font-family:var(--android);border-radius:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.wg .ic{width:1em;height:1em;display:block}
.w-eye{font:500 9.5px/1 var(--android);letter-spacing:.07em;color:var(--w-text-2);text-transform:uppercase}
.w-sub{font:400 11.5px/1.25 var(--android);color:var(--w-text-2)}
.wg .vmark{width:18px;height:auto;opacity:.9}
.cat{--s:40px;width:var(--s);height:var(--s);border-radius:calc(var(--s) * .26);display:grid;place-items:center;background:color-mix(in srgb,var(--c) 17%,transparent);flex:none;font-size:calc(var(--s) * .55)}
.cat .ic{width:1em;height:1em}
.w-ring{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 2px #3A3D45;flex:none;display:grid;place-items:center;color:#fff;font-size:15px;padding:0;border:0;background:none}
.w-ring.sm{width:18px;height:18px;font-size:12px}
.w-ring.part{background:conic-gradient(var(--w-ember) calc(var(--p) * 360deg),transparent 0)}
.w-ring.done{background:#4FB870;box-shadow:none;animation:pop .32s cubic-bezier(.2,.8,.2,1.4)}
@keyframes pop{from{transform:scale(.6)}to{transform:scale(1)}}
.w-next{position:relative;overflow:hidden;height:84px}
.w-in{position:absolute;inset:0;display:flex;align-items:center;gap:12px;padding:0 18px 0 14px}
.w-nt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.w-nt b{font:500 15.5px/1.15 var(--android);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-in.leave{animation:wout .42s cubic-bezier(.4,0,.2,1) forwards}
.w-in.enter{animation:win .42s cubic-bezier(.2,.8,.2,1)}
@keyframes wout{to{transform:translateY(-38%);opacity:0}}
@keyframes win{from{transform:translateY(38%);opacity:0}}
.w-todo{padding:12px 14px 10px;display:flex;flex-direction:column;height:180px;overflow:hidden}
.w-hd{display:flex;align-items:center;gap:8px}
.w-hd .w-eye{flex:1}
.w-count{font:600 13px/1 var(--android);font-variant-numeric:tabular-nums}
.w-bar{height:3px;border-radius:3px;background:var(--w-muted);margin:9px 0 6px;overflow:hidden;flex:none}
.w-bar i{display:block;height:100%;background:#2A67FD;border-radius:3px;transition:width .6s cubic-bezier(.2,.8,.2,1)}
.w-rows{display:flex;flex-direction:column}
.w-row{display:flex;align-items:center;gap:10px;padding:4px 0;max-height:44px;transition:max-height .4s ease,opacity .35s ease,padding .4s ease}
.w-rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.w-rt b{font:500 13px/1.15 var(--android);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .3s}
.w-rt span{font:400 11px/1.1 var(--android);color:var(--w-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-row.done .w-rt b{color:var(--w-text-2);text-decoration:line-through}
.w-row.gone{max-height:0;opacity:0;padding:0}
.w-row.enter{animation:win .42s cubic-bezier(.2,.8,.2,1)}
.w-empty{font-size:12.5px;color:var(--w-text-2);padding:10px 0}
.w-heat{padding:12px 14px 10px;display:flex;flex-direction:column;height:180px}
.w-mo{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));font:500 10px/1 var(--android);color:var(--w-text-2);margin-bottom:6px}
.w-mo span{grid-row:1;white-space:nowrap}
.w-hg{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(7,auto);grid-auto-flow:column;gap:2.5px}
.w-hg i{aspect-ratio:1;border-radius:22%;background:#1F1F28}
.w-hg i.l1{background:#1B2D55}.w-hg i.l2{background:#1F4099}.w-hg i.l3{background:#2F62E0}.w-hg i.l4{background:#5A8AFF}
.w-hg i.f{background:#1a1b21}
.w-hg i.t{box-shadow:0 0 0 1.5px #457DFD;transition:background-color .5s}
.w-hg i.pulse{animation:hpulse .9s ease-out}
@keyframes hpulse{0%{box-shadow:0 0 0 1.5px #457DFD,0 0 0 0 rgba(69,125,253,.7)}100%{box-shadow:0 0 0 1.5px #457DFD,0 0 0 9px rgba(69,125,253,0)}}
.w-ft{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:8px;font:500 11px/1 var(--android);color:var(--w-text-2);white-space:nowrap}
.w-ft b{font-weight:500;color:var(--w-text)}
.w-notif{background:#24262B;border-radius:22px;padding:12px 14px 4px}
.w-nh{display:flex;align-items:center;gap:7px;font:400 11.5px/1 var(--android);color:var(--w-text-2)}
.w-nh img{width:16px;height:auto}
.w-chev{margin-left:auto;width:18px;height:18px;color:var(--w-text-2)}
.w-nb{display:flex;align-items:center;gap:12px;margin:9px 0 2px}
.w-nb > div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.w-nb b{font:500 15px/1.2 var(--android)}
.w-nb span{font:400 12px/1.2 var(--android);color:var(--w-text-2)}
.w-notif.swap .w-nb{animation:win .4s cubic-bezier(.2,.8,.2,1)}
.w-acts{display:flex;gap:4px;margin-left:-8px}
.w-act{color:#7FA6FF;font:500 13px/1 var(--android);padding:11px 8px;border-radius:8px}
.w-pro{color:var(--mist-2)!important;font-size:14px!important;margin-top:18px!important}
/* floating: composed in a 520 x 560 box and scaled to fit its column (--k, from the stage's width), so
   every width shows the same picture; phones get the widgets stacked at their real size instead */
.wb-stage{position:relative;width:100%;max-width:520px;margin:0 auto;height:calc(560px * var(--k,1));perspective:1300px}
.wb-fit{position:absolute;left:50%;top:0;width:520px;height:560px;margin-left:-260px;transform-origin:50% 0;scale:var(--k,1) var(--k,1) var(--k,1);transform-style:preserve-3d}
.wb-space{position:absolute;inset:0;transform-style:preserve-3d}
.wb-c{position:absolute;transform:translateZ(calc(var(--z) * 1px))}
.wb-space.settle .wg{animation:wsettle .6s ease}
@keyframes wsettle{from{opacity:.25}}
.wb-c > .wg{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),calc(var(--z) * .14px) calc(14px + var(--z) * .2px) calc(30px + var(--z) * .45px) rgba(0,0,0,.5)}
.wb-todo{left:0;top:96px;width:300px}
.wb-next{right:0;top:0;width:330px}
.wb-heat{right:10px;top:236px;width:250px}
.wb-notif{left:24px;bottom:12px;width:330px}

/* ---------- Focus: what to focus on, the timer and Start (js/home/focus.js) ----------
   The timer as the page draws its figures: a hairline track, a lit arc, the app's own numerals. */
.fx-stage{position:relative;display:grid;place-items:center;min-width:0;container:fx / inline-size}

/* the dial */
.fd{position:relative;width:min(100%,var(--d,340px));aspect-ratio:1;container-type:inline-size;border-radius:50%}
.fd-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fd-track{fill:none;stroke:rgba(174,190,214,.2);stroke-width:1.1}
.fd-arc{fill:none;stroke-width:3.4;stroke-linecap:round;transition:opacity .35s ease}
.fd-glow{fill:none;stroke-width:8;stroke-linecap:round;filter:blur(5px);opacity:.5;transition:opacity .35s ease}
.fd-head{fill:#E3ECFF;transition:opacity .25s ease}
.fd-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;gap:2.1cqw;padding:0 13%;text-align:center}
.fd-top{font-size:14px;font-size:max(12.5px,4.1cqw);font-weight:600;color:var(--mist);min-height:1.4em}
.fd-num{font:500 76px/1 'Vis Numerals',var(--font);font-size:23.6cqw;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text);transition:opacity .28s ease}
.fd.paused .fd-num{opacity:.45}
.fd-task{display:flex;align-items:center;justify-content:center;gap:.5em;max-width:100%;min-height:1.45em;font-size:16px;font-size:max(13.5px,4.9cqw);font-weight:600;color:#C9D4E8}
.fd-task span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fd-task .mi{flex:none;width:1.12em;height:1.12em;fill:currentColor}
.fd-task s{text-decoration-thickness:1.5px;color:var(--mist-2)}
.fd-task .ok{color:#4FB870;animation:pop .32s cubic-bezier(.2,.8,.2,1.4)}

/* the list beside it, and Start */
.ft{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,232px);gap:26px;align-items:center}
.ft-h{font-size:14px;font-weight:700;color:var(--mist);margin:0 0 10px 12px}
.ft-list{display:grid;gap:4px}
.ft-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:14px;background:none;color:var(--mist);font:inherit;text-align:left;cursor:pointer;transition:background .2s,color .2s}
.ft-row:hover{background:rgba(255,255,255,.04)}
.ft-row[aria-pressed="true"]{background:rgba(79,134,255,.12);color:var(--text)}
.ft-row > .mi{flex:none;width:20px;height:20px;fill:currentColor}
.ft-tx{flex:1;min-width:0;display:grid;gap:1px}
.ft-tx b{font-size:16.5px;font-weight:700;line-height:1.25;overflow-wrap:break-word}   /* a title that will not fit takes a second line; it is never cut */
.ft-tx i{font-style:normal;font-size:13px;line-height:1.35;color:var(--mist-2);overflow-wrap:break-word}
.ft-ck{flex:none;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 2px #3A4460;display:grid;place-items:center;color:#fff}
.ft-ck .mi{width:15px;height:15px;fill:currentColor;display:none}
.ft-row.done{color:var(--mist-2);cursor:default}
.ft-row.done:hover{background:none}
.ft-row.done b{font-weight:600;text-decoration:line-through}
.ft-row.done .ft-ck{background:#4FB870;box-shadow:none;animation:pop .32s cubic-bezier(.2,.8,.2,1.4)}
.ft-row.done .ft-ck .mi{display:block}
.ft-side{display:grid;justify-items:center;gap:20px}
.ft-side .fd{--d:232px}
.ft-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:132px;height:46px;padding:0 22px 0 16px;border:0;border-radius:23px;background:var(--blue-2);color:#fff;font:700 15.5px/1 var(--font);cursor:pointer;transition:background .2s,transform .12s}
.ft-go:hover{background:#1F4EDE}
.ft-go.press,.ft-go:active{transform:scale(.96)}
.ft-go[disabled]{background:#1d2438;color:var(--mist-2);cursor:default}
.ft-go .mi{width:19px;height:19px;fill:currentColor}
/* The list stands beside the timer only where the longest title (Russian, 166 px) has its line: a stage of 514 px or
   more. Anywhere narrower (phones, and the two-column page on small laptops) the timer comes first and the list under it. */
@media(max-width:560px){
  .ft{grid-template-columns:minmax(0,1fr)}
  .ft-side{order:-1}
}
@container fx (max-width:513px){
  .ft{grid-template-columns:minmax(0,1fr)}
  .ft-side{order:-1}
}

/* ---------- FAQ, call to action, footer (the live markup) ---------- */
#faq .two{align-items:start}
#faq .copy{position:sticky;top:calc(var(--nav-h) + 40px)}
.faq-contact a{color:var(--blue);font-weight:700}
.faq{border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font-weight:700;font-size:17.5px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:'';width:9px;height:9px;flex:none;margin-right:4px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:translateY(-3px) rotate(45deg);transition:transform .2s}
.qa[open] summary{padding-bottom:6px}
.qa[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.qa-a p{color:var(--mist);padding-bottom:20px;font-size:16px;max-width:62ch}
#faq{overflow-anchor:none}                                                /* an answer closing above must not make the browser scroll the page */
.qa summary{transition:padding .26s ease}
@supports selector(::details-content){                                   /* the answers slide open and shut; elsewhere they simply appear */
  .qa{interpolate-size:allow-keywords}
  .qa::details-content{block-size:0;overflow-y:clip;transition:block-size .26s ease,content-visibility .26s allow-discrete}
  .qa[open]::details-content{block-size:auto}
}
@media(prefers-reduced-motion:reduce){.qa::details-content{transition:none}}
.cta{text-align:center;padding:140px 0 150px}
.cta h2{font-size:clamp(36px,4.6vw,58px);margin-bottom:14px}
.cta p{color:var(--mist);margin-bottom:30px}
footer{border-top:1px solid var(--line);color:#8C96AE;padding:54px 0 40px;font-size:14px}
.fgrid{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-bottom:30px}
.fcol h2{font-size:14px;letter-spacing:0;color:var(--text);margin-bottom:12px;font-weight:700;line-height:1.3}
.fcol a{display:block;margin-bottom:8px}
.fcol a:hover{color:var(--text)}
.fbrand{max-width:260px}.fbrand .vmark{display:inline-flex;margin-bottom:12px}   /* beats .fcol a{display:block}: logo beside the name, as on the old site */
.fbot{border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

@media(max-width:860px){
  .nav-links{gap:18px}
  .nav-links > a:not(.nav-cta){display:none}
  .hero{height:auto;min-height:0;max-height:none;display:flex;flex-direction:column}
  .hero-copy{order:1;width:100%;height:auto;justify-content:flex-start;padding:104px 28px 0}   /* full width: in a flex column, margin:auto would shrink and centre it */
  .hero-stage{order:2;position:relative;height:470px;margin-top:-10px}
  .hero::after{background:linear-gradient(180deg,rgba(11,14,24,.85) 0%,rgba(11,14,24,.3) 30%,rgba(11,14,24,0) 45%),linear-gradient(0deg,var(--night) 0%,rgba(11,14,24,0) 18%)}
  .dev-stage{position:absolute;inset:0;right:auto;top:auto;transform:none;width:100%}
  .stage{height:440px}
  .dgroup{transform:rotateY(-20deg) rotateX(4deg) scale(1)}
  .floor{bottom:60px}
  section{padding:84px 0}
  .two{grid-template-columns:minmax(0,1fr);gap:36px}
  .two.rev > .copy{order:0}
  #faq .copy{position:static}
  .rb{gap:18px}
  .rb-grid i{font-size:11.5px}
}
@media(min-width:861px){.hero-stage{position:absolute;inset:0}}
@media(max-width:599px){                                                  /* phones: the widgets in a staggered column, nothing scaled */
  .wb-stage{height:auto;max-width:440px;perspective:none}
  .wb-fit{position:static;width:auto;height:auto;margin:0;scale:none}
  .wb-space{position:static;display:flex;flex-direction:column;gap:14px}
  .wb-c{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none}
  .wb-next{order:0;align-self:flex-end;width:min(330px,96%)}
  .wb-todo{order:1;align-self:flex-start;width:min(300px,90%)}
  .wb-heat{order:2;align-self:flex-end;width:min(250px,80%);margin-right:2%}
  .wb-notif{order:3;align-self:flex-start;width:min(330px,96%);margin-left:1%}
}
@media(max-width:359px){.hero h1{font-size:38px}}                       /* 320px phones: keeps every language's headline to two lines */
@media(max-width:480px){:lang(hi) .hero h1{font-size:34px} :lang(ko) .hero h1{font-size:38px}}   /* Devanagari and Hangul headlines run wider: two lines from 360px up */
@media(max-width:480px){.wrap{padding:0 18px}.hero-copy{padding-left:18px;padding-right:18px}
  .nav .wrap{position:relative}.langpick{position:static}.langmenu{right:18px;left:18px;min-width:0;top:calc(100% - 10px)}}  /* the menu hangs from the nav's edge, not the label: long CTAs push the label left */
@media(max-width:460px){                                                  /* phones: June alone, big enough to read (streak.js) */
  .rb{grid-template-columns:minmax(0,1fr);max-width:380px}
  .rb-m:first-child{display:none}
  .rb-grid i{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important;transition:none!important}
}
