:root{
  --bg:#fff;--soft:#f5f5f7;--line:#e5e5ea;
  --text:#1d1d1f;--muted:#6e6e73;--faint:#86868b;
  --blue:#0071e3;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Helvetica,Inter,"Segoe UI",Roboto,Arial,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{background:var(--bg);min-height:100%;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;min-height:100dvh;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);border:0;display:flex;flex-direction:column;background:var(--bg);color:var(--text);
  font-family:var(--font);line-height:1.47;font-size:17px;-webkit-font-smoothing:antialiased;letter-spacing:-.01em}
main{flex:1}
/* installed app: fill the full screen height (web view can report the small viewport) */
@media (display-mode: standalone),(display-mode: fullscreen){html,body{min-height:100lvh}}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{display:block;max-width:100%;height:auto}
.wrap{max-width:980px;margin:0 auto;padding:0 22px}
.narrow{max-width:680px}
.skip{position:absolute;left:-999px;top:8px;background:var(--text);color:#fff;padding:8px 12px;border-radius:8px;z-index:9}
.skip:focus{left:8px}
:focus-visible{outline:3px solid rgba(0,113,227,.5);outline-offset:4px;border-radius:14px}
[hidden]{display:none!important}

/* header: centred logo */
.top{display:flex;justify-content:center;padding:calc(env(safe-area-inset-top) + 28px) 0 0}
.logo{display:block}
.logo img{width:auto;height:88px}
.home .top{padding-top:calc(env(safe-area-inset-top) + 28px)}
.home .logo img{height:clamp(120px,30vw,156px)}
.top h1{margin:0;font-size:0;line-height:0}

/* home */
.intro{text-align:center;margin:22px auto 0;max-width:520px;font-size:clamp(19px,4.6vw,24px);color:var(--muted);font-weight:500;line-height:1.35;letter-spacing:-.015em}
.grid{list-style:none;margin:clamp(36px,7vw,64px) auto 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(18px,5vw,40px) clamp(16px,4.5vw,40px);max-width:1040px;align-items:start}
@media (min-width:640px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:960px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tile{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--text);text-decoration:none!important;-webkit-tap-highlight-color:transparent}
.grid .ic{display:block;width:100%;aspect-ratio:1;border-radius:22.5%;overflow:hidden}
.tile .ic{background:var(--soft);box-shadow:0 2px 6px rgba(0,0,0,.06),0 14px 32px rgba(0,0,0,.14);transition:transform .25s ease,box-shadow .25s ease}
.tile .ic img{width:100%;height:100%;object-fit:cover}
.tile:hover .ic{transform:translateY(-4px);box-shadow:0 4px 10px rgba(0,0,0,.07),0 22px 46px rgba(0,0,0,.18)}
.tile:active .ic{transform:scale(.97)}
.tile .nm{font-size:clamp(17px,4.4vw,21px);font-weight:600;letter-spacing:-.02em;line-height:1.2;text-align:center}
.ph .ic{background:#f5f5f7}

.foot{margin:96px auto 0;padding:22px 22px calc(env(safe-area-inset-bottom) + 28px);color:var(--faint);font-size:13px;text-align:center}
.foot a{color:var(--muted)}
.foot .pill{margin-left:8px}

/* app page */
.back{display:inline-block;margin:22px 0 0;font-size:15px}
.app-hero{text-align:center;margin:28px 0 0}
.app-hero .ic{width:clamp(150px,40vw,200px);aspect-ratio:1;margin:0 auto;border-radius:22.5%;overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.06),0 18px 40px rgba(0,0,0,.14)}
.app-hero h1{margin:28px 0 4px;font-size:clamp(34px,8vw,48px);letter-spacing:-.03em;line-height:1.08;font-weight:700}
.app-hero .tag{margin:0;color:var(--muted);font-size:clamp(19px,4.6vw,22px);font-weight:500;letter-spacing:-.015em}
.app-hero .price{margin:12px 0 0;color:var(--faint);font-size:15px}
.cta{display:flex;flex-direction:column;align-items:center;gap:12px;margin:30px 0 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 28px;border-radius:999px;
  font:600 17px var(--font);text-decoration:none!important;width:min(100%,340px);letter-spacing:-.01em}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:#0077ed}
.btn-play{background:var(--soft);color:var(--text);font-size:15px;padding:12px 16px;white-space:nowrap;gap:8px}
.btn-play svg{width:20px;height:20px;flex:none}
.btn[aria-disabled="true"]{color:var(--muted);cursor:default}
.btn[aria-disabled="true"] svg{opacity:.6}
.feature{margin:56px 0 0;border-radius:24px;overflow:hidden;aspect-ratio:1024/500;background:#111}
.feature img{width:100%;height:100%;object-fit:cover}
.sec{margin:56px 0 0}
.sec>h2{font-size:clamp(24px,5.6vw,30px);letter-spacing:-.025em;line-height:1.15;margin:0 0 14px}
.lead{font-size:clamp(19px,4.6vw,21px);font-weight:500;line-height:1.4;margin:0 0 18px;letter-spacing:-.015em}
.desc{color:#333336}
.desc h3{font-size:17px;letter-spacing:-.01em;color:var(--text);margin:28px 0 6px}
.desc p{margin:0 0 14px}
.desc ul,.desc ol{margin:0 0 14px;padding-left:22px}
.desc li{margin:0 0 6px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0;margin:0;border-top:1px solid var(--line)}
.facts div{padding:14px 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:13px;color:var(--faint)}
.facts dd{margin:2px 0 0;font-size:17px;font-weight:500}
details.box{border-bottom:1px solid var(--line)}
details.box:first-of-type{border-top:1px solid var(--line)}
details.box>summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:12px}
details.box>summary::-webkit-details-marker{display:none}
details.box>summary::after{content:"+";font-weight:300;font-size:26px;line-height:1;color:var(--muted);transition:transform .2s}
details.box[open]>summary::after{transform:rotate(45deg)}
details.box .in{padding:0 0 20px;color:#333336}
details.box ol{margin:0;padding-left:22px}
details.box li{margin:0 0 8px}
.note{color:var(--muted);font-size:15px;margin:10px 0 0}
.testers{margin:72px 0 0;border:0!important}
.testers>summary{justify-content:center;font-weight:500;font-size:14px;color:var(--faint);padding:10px 0}
.testers>summary::after{font-size:18px}
.testers .in{text-align:center;font-size:15px}
.dl{font-weight:600}
/* privacy / simple pages */
.prose h1{font-size:clamp(32px,7vw,44px);letter-spacing:-.03em;line-height:1.1;margin:36px 0 6px}
.prose h2{font-size:22px;letter-spacing:-.02em;margin:36px 0 10px}
.prose h3{font-size:18px;margin:24px 0 8px}
.callout{margin:20px 0;padding:16px 18px;border-radius:16px;background:var(--soft)}
.callout p{margin:0}
.center{text-align:center}
.pill{display:inline-block;appearance:none;border:0;background:var(--soft);color:var(--text);font:500 13px var(--font);padding:6px 14px;border-radius:999px;cursor:pointer}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
/* install pop-up (static/install.js) */
.ip{position:fixed;inset:0;z-index:50;pointer-events:none}
.ip-scrim{position:absolute;inset:0;background:rgba(0,0,0,.22);opacity:0;transition:opacity .25s}
.ip-card{pointer-events:auto;position:absolute;left:0;right:0;bottom:0;margin:0 auto;max-width:480px;background:#fff;color:var(--text);
  border-radius:28px 28px 0 0;padding:30px 24px calc(env(safe-area-inset-bottom) + 26px);text-align:center;
  box-shadow:0 -10px 40px rgba(0,0,0,.14);transform:translateY(105%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.ip.on .ip-scrim{opacity:1}.ip.on .ip-card{transform:none}
.ip-x{position:absolute;top:10px;right:10px;width:48px;height:48px;border:0;border-radius:50%;background:var(--soft);display:grid;place-items:center;cursor:pointer}
.ip-x svg{width:22px;height:22px;fill:none;stroke:var(--text);stroke-width:2.2;stroke-linecap:round}
.ip-mark{display:block;width:64px;height:64px;margin:0 auto 12px}
.ip-card h2{margin:0;font-size:24px;letter-spacing:-.02em;line-height:1.2}
#ip-d{margin:8px auto 0;max-width:340px;color:var(--muted);font-size:17px;line-height:1.4}
.ip-body{margin-top:20px}
.ip-btn{display:flex;align-items:center;justify-content:center;width:100%;max-width:360px;min-height:56px;margin:0 auto;border:0;border-radius:999px;
  background:var(--text);color:#fff!important;font:600 18px var(--font);text-decoration:none!important;cursor:pointer}
.ip-btn:focus-visible,.ip-x:focus-visible,.ip-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.ip-steps{list-style:none;counter-reset:s;margin:0 auto;padding:0;max-width:360px;text-align:left}
.ip-steps li{counter-increment:s;position:relative;padding:12px 0 12px 48px;font-size:18px;line-height:1.35;border-top:1px solid var(--line)}
.ip-steps li:first-child{border-top:0}
.ip-steps li::before{content:counter(s);position:absolute;left:0;top:9px;width:32px;height:32px;border-radius:50%;background:var(--soft);
  display:grid;place-items:center;font-weight:600;font-size:16px}
.ip-steps svg{width:24px;height:24px;vertical-align:-5px;margin-left:4px;fill:none;stroke:var(--blue);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ip-steps .ic-dots{fill:var(--text);stroke:none;margin:0 2px}
.ip-steps small{display:block;color:var(--muted);font-size:15px;margin-top:3px}
.ic-more{display:inline-block;padding:0 6px;border-radius:8px;background:var(--soft);font-size:12px;letter-spacing:1px;line-height:20px;vertical-align:1px}
.ip-note{margin:14px auto 0;max-width:340px;color:var(--muted);font-size:15px}
.ip-copy{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font-size:15px}
.ip-link{min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font:600 15px var(--font);color:var(--text);cursor:pointer}
.ip-spin{width:40px;height:40px;margin:4px auto 8px;border:3px solid var(--line);border-top-color:var(--text);border-radius:50%;animation:ipspin .9s linear infinite}
@keyframes ipspin{to{transform:rotate(360deg)}}
.ip-arrow{display:none}
.ip-card.ios[data-state="ios-safari"] .ip-arrow{display:block;position:absolute;bottom:calc(env(safe-area-inset-bottom) + 4px);left:50%;width:22px;height:30px;margin-left:-11px;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30'%3E%3Cpath d='M11 2v24M3 18l8 8 8-8' fill='none' stroke='%230071e3' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation:ipbob 1.2s ease-in-out infinite}
.ip-card.ios26[data-state="ios-safari"] .ip-arrow{left:auto;right:30px}
.ip-card[data-state="ios-safari"]{padding-bottom:calc(env(safe-area-inset-bottom) + 40px)}
@keyframes ipbob{50%{transform:translateY(6px)}}
@media (prefers-reduced-motion:reduce){.ip-card,.ip-scrim{transition:none}.ip-arrow,.ip-spin{animation:none}}
/* "already installed" banner (static/install.js) */
.ob{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top) + 8px) 8px 8px 14px;
  background:#fff;border-bottom:1px solid var(--line);font:15px/1.3 var(--font);color:var(--text)}
.ob img{flex:none;width:30px;height:30px}
.ob-t{flex:1;min-width:0}.ob-t b{font-weight:600}.ob-t span{display:block;color:var(--muted);font-size:14px}
.ob-t svg{width:16px;height:16px;vertical-align:-3px;fill:var(--text)}
.ob-open{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:var(--text);color:#fff!important;font-weight:600;text-decoration:none!important}
.ob-x{flex:none;width:44px;height:44px;border:0;background:none;display:grid;place-items:center;cursor:pointer;border-radius:50%}
.ob-x svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2.2;stroke-linecap:round}
.ob-open:focus-visible,.ob-x:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
