/* THE PHONE LAYER. Loaded on every page by lib/menu.js with media="(max-width:700px)", so nothing in this file can ever
   reach a desktop or tablet screen. Desktop is the owner's approved design: never "fix" a phone problem in pages.css,
   menu.css or the Trading page's own styles; put it here. Behaviour that needs script is in mobile.js.
   The idea: a phone is not a narrow desktop. Tab bar at the bottom, rows you swipe sideways instead of long stacks,
   one question per screen in the form, big touch targets. */
:root { --tab:0px; --safe:env(safe-area-inset-bottom, 0px); --pad:16px; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:64px; scroll-behavior:auto !important; }   /* jumps inside a page land at once; a slow glide down a long page reads as lag */
body { padding-bottom:var(--safe); -webkit-tap-highlight-color:transparent; overscroll-behavior-y:none; }
a, button, label, summary { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }

/* ---------- top bar: logo and the "Explore your options" button, always there (owner, 10 Oct 2026).
   WhatsApp moved to a round button above the menu button, see below. ---------- */
.zk-bar { height:54px; padding:0 var(--pad); gap:10px; }
.zk-logo img { height:34px; }
.zk-burger, .zk-wa { display:none; }
.zk-right .zk-cta { display:inline-flex; align-items:center; min-height:36px; padding:0 13px; border-radius:11px; font-size:clamp(12px, 3.5vw, 13.5px); white-space:nowrap; }

/* ---------- bottom right: a round menu button, and above it an arrow back to the top (owner, 10 Oct 2026).
   The tab bar that used to sit along the bottom is switched off; its markup stays because other rules read its page name. ---------- */
.zk-tabs { display:none; }
.zk-fabs { display:flex; flex-direction:column; align-items:center; gap:10px; position:fixed; right:14px; bottom:calc(14px + var(--safe)); z-index:60; }
.zk-menu { width:56px; height:56px; border-radius:50%; border:0; background:#4f46e5; box-shadow:0 10px 26px rgba(79,70,229,.45); display:grid; gap:5px; place-content:center; cursor:pointer; padding:0; transition:transform .12s, background .15s; }
.zk-menu span { display:block; width:22px; height:2.5px; border-radius:2px; background:#fff; transition:transform .2s, opacity .2s; }
.zk-menu.open { background:#0f172a; } .zk-menu.open span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); } .zk-menu.open span:nth-child(2) { opacity:0; } .zk-menu.open span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }
.zk-up { width:44px; height:44px; border-radius:50%; border:1px solid #e3e6f0; background:rgba(255,255,255,.96); box-shadow:0 6px 18px rgba(15,23,42,.16); display:grid; place-items:center; cursor:pointer; padding:0; color:#0f172a; opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .2s, transform .2s, visibility .2s; }
.zk-up.on { opacity:1; visibility:visible; transform:none; } .zk-up svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.zk-fwa { width:48px; height:48px; border-radius:50%; background:#25d366; box-shadow:0 8px 20px rgba(18,140,75,.38); display:grid; place-items:center; transition:opacity .2s, transform .12s, visibility .2s; } .zk-fwa svg { width:27px; height:27px; fill:#fff; }
.zk-menu.tapped, .zk-up.tapped, .zk-fwa.tapped { opacity:1; transform:scale(.92); }
html.zk-lock .zk-up, html.zk-lock .zk-fwa { opacity:0; visibility:hidden; }          /* out of the way of the open menu */

/* ---------- the menu opens as a sheet from the bottom ---------- */
.zk.open { background:rgba(255,255,255,.9); }
.zk-nav { top:auto; bottom:0; max-height:82vh; padding:8px var(--pad) calc(86px + var(--safe)); border:0; border-radius:22px 22px 0 0; box-shadow:0 -18px 50px rgba(15,23,42,.22), 0 0 0 100vmax rgba(15,23,42,.38); z-index:55; }
.zk-nav::before { content:""; display:block; width:40px; height:4px; border-radius:2px; background:#d5d9e6; margin:2px auto 8px; flex:none; }
.zk-home { display:inline-flex; }
.zk-nav > .zk-top, .zk-dd > .zk-top { font-size:17px; padding:15px 4px; }
.zk-nav > a.zk-top::after { content:"›"; color:#a3abbd; font-size:22px; line-height:1; }
.zk-foot, .zk.open .zk-foot { display:none !important; }          /* owner, 10 Oct 2026: redundant, Explore is in the top bar and WhatsApp is the round button */

/* ---------- type and spacing ---------- */
.wrap { padding:0 var(--pad); }
.hero { padding:0; } .hero .wrap { padding-top:22px; padding-bottom:24px; gap:20px; }
h1, .hhero h1 { font-size:30px; line-height:1.12; margin-bottom:10px; }
.lead, p.lead { font-size:16px; line-height:1.5; margin-bottom:0; }
.tag { font-size:12px; padding:5px 11px; margin-bottom:12px; }
section { padding:30px 0; }
.kicker { font-size:11.5px; }
h2 { font-size:22px; line-height:1.22; margin:4px 0 8px; }
.sub { font-size:15px; line-height:1.5; margin:0 0 16px; }
.card { border-radius:18px; padding:16px; }

/* ---------- buttons: full width, thumb sized, a press you can feel ---------- */
.cta { gap:10px; margin-top:16px; } .cta .btn, .solo .btn, form .btn { width:100%; }
.btn { min-height:50px; display:flex; align-items:center; justify-content:center; border-radius:14px; font-size:16px; padding:12px 18px; transition:transform .1s, background .15s; }
.btn:active, .catgo:active, .quote:active, .jump a:active { transform:scale(.97); }
/* an answer to every touch within one frame, before the next page arrives (class set by mobile.js) */
.tapped { opacity:.6; transition:opacity 0s !important; } .btn.tapped, .zk-cta.tapped { opacity:1; filter:brightness(.82); transform:scale(.97); } .zk-tabs .tapped { opacity:1; color:#4f46e5; } .zk-tabs .tapped svg { transform:scale(.86); }
.btn:hover { transform:none; }
.pcfoot .btn { width:auto; min-height:40px; white-space:nowrap; font-size:14px; }
.grid .card p, .grid3 .card p { flex:0 0 auto; }

/* ---------- rows you swipe sideways (the next card always peeks in from the right) ---------- */
.grid, .grid.g4, .grid3, .grid4, .pgrid, .wgrid, .m-rail, .clips {
  display:flex; grid-template-columns:none; flex-wrap:nowrap; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding:0 var(--pad);
  margin:0 calc(var(--pad) * -1); padding:4px var(--pad) 14px; scrollbar-width:none; -webkit-overflow-scrolling:touch; justify-content:flex-start; }
.grid::-webkit-scrollbar, .grid3::-webkit-scrollbar, .grid4::-webkit-scrollbar, .pgrid::-webkit-scrollbar, .wgrid::-webkit-scrollbar, .m-rail::-webkit-scrollbar, .clips::-webkit-scrollbar { display:none; }
.grid > *, .grid3 > *, .grid4 > *, .pgrid > *, .m-rail > * { flex:0 0 80%; scroll-snap-align:start; min-width:0; }
.grid4 > *, .grid.g4 > .card:not(:has(.thumb)):not(.pc) { flex-basis:66%; }      /* short cards (steps, promises): show more of the next one */
.pgrid > * { flex-basis:88%; }
.m-dots { display:flex; gap:6px; justify-content:center; margin:0 0 4px; } .m-dots i { width:6px; height:6px; border-radius:50%; background:#cdd2e6; transition:width .2s, background .2s; } .m-dots i.on { width:18px; border-radius:999px; background:var(--brand); }

/* ---------- hero carousel on every category page: a row of whole phone screens, about two and a half in view ---------- */
.hcar { min-width:0; }
.hctrack { gap:12px; justify-content:flex-start; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; margin:0 calc(var(--pad) * -1); padding:4px var(--pad) 6px; scroll-padding:0 var(--pad); -webkit-mask-image:none; mask-image:none; }
.hcs, .hcs:hover { flex:0 0 38%; gap:8px; transform:none; scroll-snap-align:start; }
.hcs.press { transform:translateY(-5px) scale(1.03); }                 /* phones have no hover: the phone lifts under your finger instead */
.hcs.press .hcimg { box-shadow:0 18px 34px rgba(15,23,42,.3); }
.hcimg { border-width:4px; border-radius:20px; box-shadow:0 10px 24px rgba(15,23,42,.2); }
.hccap { font-size:12.5px; line-height:1.25; } .hccap small { font-size:11px; }
.hcnote { margin:12px 0 0; text-align:left; font-size:13.5px; line-height:1.45; }
.hero .hcar { margin-top:18px; } .hhero .hcar, .hero .wrap > div + .flow + .hcar { margin-top:0; }
.flow { display:none !important; }                                     /* Trading page: the carousel tells the same four steps in pictures */

/* ---------- landing page ---------- */
.hhero { gap:18px; }
/* the four categories read like a menu in an app: icon, name, one line, arrow */
.cats { gap:10px; }
.cat, .cat:hover { display:grid; grid-template-columns:48px 1fr 34px; column-gap:12px; align-items:center; padding:14px; border-radius:18px; transform:none; }
.cat:active { background:#f4f5fd; }
.catic { width:48px; height:48px; border-radius:14px; grid-row:1 / span 2; }
.cat h3 { font-size:17px; margin:0; grid-column:2; align-self:end; }
.cat .catline { grid-column:2; font-size:13.5px; font-weight:500; color:var(--dim); margin:0; line-height:1.35; align-self:start; }
.cat > p:not(.catline), .cat ul, .caticons { display:none; }
.catgo { grid-column:3; grid-row:1 / span 2; font-size:0; gap:0; padding:0; background:none; box-shadow:none; align-self:center; justify-self:end; }
.catgo i { width:34px; height:34px; font-size:16px; background:var(--brand-soft); }
.founder { padding:16px; gap:12px; } .avatar { width:72px; height:72px; }
.founder h3 { font-size:20px; } .contact { gap:8px 18px; font-size:15px; }
.endcta { text-align:left; } .endcta .sub { margin-left:0; }

/* ---------- Trading page ---------- */
.trust { gap:8px 14px; margin-top:16px; font-size:13px; }
.cathead { margin:22px 0 10px; } .cathead h3 { font-size:19px; } .cathead p { font-size:14px; }
.prod h3 { font-size:17px; } .prod ul.ticks li { font-size:14.5px; }
.grid3 > .prod { flex-basis:84%; }
.solo { padding:16px; gap:12px; }
.two { gap:16px; } .note { border-radius:18px; padding:16px; }
/* demo: the chat shrinks to the two messages, then the dashboard */
.demo2 { gap:6px; } .tg { max-width:none; border-width:6px; border-radius:26px; } .tgbody { min-height:0; padding:12px 10px; } .tgfoot { display:none; } .darrow { font-size:22px; line-height:1; }
.dash { border-radius:18px; } .demonote { font-size:13px; margin-top:12px; }
.pcard { border-radius:18px; } .pother { border-radius:18px; } .care { border-radius:18px; gap:10px; }
/* questions: the category buttons scroll sideways; one category at a time keeps the list short */
#faq .wrap > div:first-child, #faq .faqwrap > div:first-child { text-align:left !important; }
#faqq { border-radius:14px; padding:13px 14px; font-size:16px; }
.chips { flex-wrap:nowrap; overflow-x:auto; margin:0 calc(var(--pad) * -1); padding:2px var(--pad) 6px; scrollbar-width:none; } .chips::-webkit-scrollbar { display:none; }
.chip { flex:none; padding:9px 15px; font-size:14.5px; }
details.faq { border-radius:16px; } details.faq summary { padding:15px 44px 15px 14px; font-size:15.5px; line-height:1.4; } details.faq p { font-size:15px; }
/* the form: one question per screen (mobile.js turns it into steps; without script it is still the plain list) */
#start > .wrap > div:first-child { text-align:left !important; } #start .sub { margin-left:0 !important; }
.formcard { padding:16px; border-radius:20px; }
form .q { margin-bottom:18px; } form label.t { font-size:17px; margin-bottom:12px; line-height:1.3; }
.opts { flex-direction:column; gap:8px; }
.opts label { border-radius:14px; padding:14px 44px 14px 14px; font-size:16px; color:var(--ink); position:relative; min-height:52px; display:flex; align-items:center; }
.opts label::after { content:""; position:absolute; right:14px; top:50%; width:20px; height:20px; margin-top:-10px; border-radius:50%; border:2px solid #c9cfdf; }
.opts label:has(input:checked)::after { border-color:var(--brand); background:var(--brand) radial-gradient(circle, #fff 0 32%, transparent 36%); }
.opts label:active { background:#f4f5fd; }
input[type=text], textarea { font-size:16px; border-radius:14px; padding:14px; }      /* 16px stops iPhones zooming in on focus */
.pair { gap:0; }
.wiz .ws { display:none; } .wiz .ws.on { display:block; } .wiz label.consent.ws.on { display:flex; } .wiz button.ws.on { display:flex; }
.wtop { display:flex; align-items:center; gap:12px; margin:0 0 16px; }
.wback { flex:none; width:38px; height:38px; border-radius:50%; border:0; background:var(--bg); color:var(--ink); font-size:20px; line-height:1; cursor:pointer; } .wback[disabled] { opacity:.35; }
.wbar { flex:1; height:6px; border-radius:3px; background:var(--brand-soft); overflow:hidden; } .wbar i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg, var(--brand), var(--teal)); transition:width .25s; }
.wcount { flex:none; font-size:13px; font-weight:700; color:var(--dim); }
/* one button that follows you down the Trading page, beside the round menu button */
.wafab { display:none; }                                               /* WhatsApp lives in the top bar on phones */

/* ---------- Apps and app pages ---------- */
.thumb { height:210px; border-radius:14px; }
.ahero { gap:18px; } .aname { gap:12px; } .aname .appico { width:60px; height:60px; border-radius:17px; } .aline { font-size:19px; }
.crumb { margin-bottom:10px; }
.hshot .ph, .ph { width:200px; border-width:6px; border-radius:26px; }
.notice { border-radius:16px; font-size:14.5px; }
/* the screens: swipe through them like an app-store listing */
.m-rail > .feat, .m-rail > .feat:nth-of-type(even) { flex-basis:76%; display:flex; flex-direction:column; gap:12px; padding:14px; border:1px solid var(--line); border-radius:20px; background:var(--bg); }
.m-rail > .feat .fimg, .m-rail > .feat:nth-of-type(even) .fimg { order:0; } .m-rail .ph { width:100%; max-width:210px; }
.ftxt h3 { font-size:18px; margin:6px 0 4px; } .ftxt p { font-size:14.5px; line-height:1.45; } .num { width:28px; height:28px; font-size:13px; }
.addgrid { gap:16px; } .clips { padding-bottom:10px; } .clip, .clip .ph { width:190px; }
.addlist li { padding:12px 0; } .addlist b { font-size:16px; } .addlist span:not(.ver) { font-size:14.5px; }
.m-fold > li:nth-child(n+5) { display:none; } .m-fold.all > li { display:grid; }
.m-moreb { width:100%; min-height:46px; margin-top:8px; border:1px solid var(--line); border-radius:14px; background:#fff; font:inherit; font-weight:700; color:var(--brand); cursor:pointer; }
ul.ticks { gap:10px; }

/* ---------- Custom page: the widget wall becomes a strip of home-screen widgets ---------- */
.wwall { margin:0 calc(var(--pad) * -1) 10px; border-radius:0; padding:14px 0 4px; }
.wgrid { margin:0; padding:4px var(--pad) 14px; gap:12px; }
.wgrid > .wg { flex:0 0 62%; scroll-snap-align:start; min-height:170px; } .wgrid > .wg.wide { flex-basis:84%; }
.jump { gap:8px; margin-top:16px; flex-wrap:nowrap; overflow-x:auto; margin-left:calc(var(--pad) * -1); margin-right:calc(var(--pad) * -1); padding:2px var(--pad) 6px; scrollbar-width:none; } .jump::-webkit-scrollbar { display:none; }
.jump a { flex:none; padding:10px 16px; }

/* ---------- Shop: two tiles across, like a store ---------- */
body:has(.zk-tabs[data-page="shop"]) .grid { display:grid; grid-template-columns:1fr 1fr; overflow:visible; margin:0; padding:0; gap:10px; }
body:has(.zk-tabs[data-page="shop"]) .grid > .card { padding:10px; } body:has(.zk-tabs[data-page="shop"]) .pic { height:110px; } body:has(.zk-tabs[data-page="shop"]) .pic svg { height:92px; }
body:has(.zk-tabs[data-page="shop"]) .card h3 { font-size:15px; margin:8px 0 2px; } body:has(.zk-tabs[data-page="shop"]) .card p { font-size:13px; line-height:1.4; margin-bottom:6px; } .soon { font-size:10.5px; margin-top:4px; }
.quotes { gap:8px; } .quotes span { font-size:15px; padding:10px 13px; border-radius:12px; }

/* ---------- legal pages and footers ---------- */
main { margin:12px; padding:20px 16px; border-radius:18px; }
footer { padding:24px 0 96px; font-size:13px; } footer img, footer .logo img { height:34px; }
footer a { display:inline-block; padding:5px 0; margin-right:16px; }
footer .cols { gap:16px; } footer .made { margin-top:16px; padding-top:14px; }
body:has(.zk-tabs[data-page="shop"]) .card .btn { font-size:13px; min-height:40px; padding:8px 6px; border-radius:12px; line-height:1.25; }
