/*
 * LinkComposer Persian marketing pages — Apple-style, mobile first.
 * Base rules are the phone layout; wider screens add to them:
 *   ≥ 600px  two-column grids
 *   ≥ 761px  tablet / desktop compositions
 *   ≥ 861px  inline menu instead of the sheet
 *   ≥ 1001px full desktop sizes
 * Fonts are declared inline in the layout.
 */

:root{
    --white:#ffffff;
    --tile:#f5f5f7;
    --ink:#1d1d1f;
    --ink-2:#6e6e73;
    --ink-3:#707074;
    --line:#d2d2d7;
    --blue:#0071e3;
    --blue-hover:#0062c4;
    --link:#0066cc;
    --night:#000000;
    --night-tile:#161617;
    --night-ink:#f5f5f7;
    --night-ink-2:#a1a1a6;
    --night-link:#2997ff;
    --qr:#1d1d1f;
    --radius-tile:24px;
    --wrap:1080px;
    --gutter:20px;
    --ease:cubic-bezier(.16,1,.3,1);
    --font:'Yekan Bakh',-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Tahoma,sans-serif;
    --latin:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,sans-serif;
    --mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
}

/* Sample brand themes, shared by the hero, the line-ups and the creator phone */
.theme-cafe{--t-bg:#fbf4ec;--t-ink:#3b2414;--t-sub:#7a5a43;--t-accent:#c2410c}
.theme-creator{--t-bg:#fdf2f8;--t-ink:#500724;--t-sub:#86385a;--t-accent:#be185d}
.theme-shop{--t-bg:#eef3ff;--t-ink:#0a2a6b;--t-sub:#3b5591;--t-accent:#1d4ed8}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:64px;scrollbar-color:#c7c7cc transparent;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
::selection{background:rgba(0,113,227,.18);color:inherit}
input{caret-color:var(--blue)}
img,svg{display:block}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:.2em}
:focus-visible{outline:3px solid rgba(0,113,227,.55);outline-offset:3px;border-radius:8px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:700;letter-spacing:0;text-wrap:balance}
.latin{font-family:var(--latin);direction:ltr;unicode-bidi:isolate}
.wrap{width:min(100% - var(--gutter) * 2,var(--wrap));margin-inline:auto}
.icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;inset-inline-start:16px;top:-60px;z-index:100;padding:10px 18px;border-radius:980px;background:var(--ink);color:#fff;font-size:14px}
.skip:focus{top:10px}
.sample{margin-top:14px;font-size:12px;color:var(--ink-3);text-align:center}
.night .sample,.band-night .sample{color:var(--night-ink-2)}

/* ---------- Navigation: a sheet with accordions on phones, a mega menu on desktop ---------- */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.8);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}
.nav-inner{display:flex;align-items:center;gap:12px;height:52px}
.brand{display:flex;align-items:center;min-height:44px;color:var(--ink);font-weight:700;font-size:17px}
.brand:hover{text-decoration:none}
.brand img{height:15px;width:auto}
.nav-cta{display:flex;align-items:center;gap:6px;margin-inline-start:auto;font-size:14px}
.nav-cta .login{display:none;color:var(--ink);opacity:.8}
.nav-toggle{display:grid;place-items:center;width:44px;height:44px;margin-inline-end:-10px;border:0;background:none;color:var(--ink);cursor:pointer}
.nav-toggle .icon{width:22px;height:22px;grid-area:1/1;transition:opacity .2s ease,transform .3s var(--ease)}
.nav-toggle .icon:last-child{opacity:0;transform:rotate(-45deg)}
.nav-open .nav-toggle .icon:first-child{opacity:0;transform:rotate(45deg)}
.nav-open .nav-toggle .icon:last-child{opacity:1;transform:none}
.nav-open{overflow:hidden}
.nav-links{position:fixed;inset:52px 0 auto 0;height:0;overflow:hidden auto;overscroll-behavior:contain;display:flex;flex-direction:column;padding:0 24px;background:#fff;visibility:hidden;transition:height .45s var(--ease),visibility 0s .45s}
.nav-open .nav-links{height:calc(100dvh - 52px);padding-block:12px 32px;visibility:visible;transition:height .45s var(--ease),visibility 0s}
.nav-links > *{opacity:0;transform:translateY(-8px);transition:opacity .3s ease,transform .45s var(--ease)}
.nav-open .nav-links > *{opacity:1;transform:none}
.nav-open .nav-links > :nth-child(2){transition-delay:.04s}
.nav-open .nav-links > :nth-child(3){transition-delay:.08s}
.nav-open .nav-links > :nth-child(4){transition-delay:.12s}
.nav-open .nav-links > :nth-child(5){transition-delay:.16s}
.nav-item{border-bottom:1px solid rgba(0,0,0,.07)}
.nav-trigger,.nav-direct{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:60px;padding:0;border:0;background:none;color:var(--ink);font:700 22px/1.3 var(--font);text-align:start;cursor:pointer}
.nav-direct{border-bottom:1px solid rgba(0,0,0,.07)}
.nav-direct:hover{text-decoration:none}
.nav-direct[aria-current=page]{color:var(--blue)}
.nav-trigger .icon{width:20px;height:20px;color:var(--ink-2);transition:transform .35s var(--ease)}
.nav-item.is-open .nav-trigger .icon{transform:rotate(180deg)}
.nav-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.nav-item.is-open .nav-panel{grid-template-rows:1fr}
.nav-panel-body{min-height:0;overflow:hidden}
.panel-grid{display:grid;gap:8px;width:auto;padding-bottom:12px}
.panel-title{margin:8px 0 2px;font-size:13px;color:var(--ink-2)}
.panel-column ul{margin:0;padding:0;list-style:none}
.panel-link{display:flex;align-items:center;gap:12px;min-height:48px;color:var(--ink)}
.panel-link:hover{text-decoration:none;color:var(--blue)}
.panel-link .icon{flex:none;width:22px;height:22px;color:var(--blue)}
.panel-link b{display:block;font-size:17px}
.panel-link small{display:none}
.panel-link[aria-current=page] b{color:var(--blue)}
.panel-aside{display:none}
.panel-bar .wrap{display:flex;flex-direction:column;width:auto;padding-bottom:14px}
.panel-bar a{display:flex;align-items:center;gap:12px;min-height:44px;font-size:15px;color:var(--link)}
.panel-bar .icon{width:20px;height:20px}
.nav-sheet-actions{display:grid;gap:10px;margin-top:28px}
.nav-scrim{position:fixed;inset:52px 0 0;z-index:40;background:rgba(0,0,0,.18);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s .3s}

/* ---------- Buttons ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 24px;border:0;border-radius:980px;background:var(--blue);color:#fff;font:700 17px/1 var(--font);cursor:pointer;transition:background-color .2s ease,transform .2s var(--ease)}
.button:hover{background:var(--blue-hover);text-decoration:none}
.button:active{transform:scale(.97)}
.button.small{min-height:32px;padding:0 14px;font-size:13px}
.button.large{min-height:52px;padding:0 30px;font-size:18px}
.button.secondary{background:var(--tile);color:var(--ink)}
.button.secondary:hover{background:#e8e8ed}
.more{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:17px}
.more::after{content:'';width:7px;height:7px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin-inline-start:4px}

/* ---------- Hero ---------- */
.hero{padding:48px 0 0;text-align:center;overflow:hidden}
.hero h1{font-size:clamp(36px,9.6vw,72px);line-height:1.2;max-width:15ch;margin-inline:auto}
.hero .lede{margin:16px auto 0;max-width:32em;text-wrap:pretty;font-size:clamp(18px,4.6vw,24px);line-height:1.65;color:var(--ink-2)}
.hero-page{padding:56px 0 64px}
.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;margin-top:28px}
.hero-proof{margin-top:24px;font-size:15px;color:var(--ink-2)}
.hero-proof b{color:var(--ink)}
.claim{display:flex;flex-direction:column;gap:8px;width:min(100%,560px);margin:28px auto 0;padding:8px;border:1px solid var(--line);border-radius:26px;background:var(--white);box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.06);transition:border-color .2s ease,box-shadow .2s ease}
.claim:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,113,227,.15)}
.claim-field{display:flex;align-items:center;direction:ltr;min-width:0;padding:4px 12px 0;font-family:var(--latin);font-size:17px;cursor:text}
.claim-field span{color:var(--ink-2);white-space:nowrap}
.claim-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:600 17px/1 var(--latin);color:var(--ink);padding:12px 0}
.claim-field input::placeholder{color:var(--ink-3);font-weight:400}
.claim .button{width:100%}
.hero-note{margin-top:14px;font-size:14px;color:var(--ink-2)}
.hero-note a{margin-inline-start:6px}

/* Hero stage: three stories told by one link, one bio page and one QR code */
.stage{position:relative;width:min(100%,980px);margin:36px auto 0}
.stage-art{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;height:600px;clip-path:inset(-60px -60px 0 -60px)}
.scene-layer{transition:opacity .6s var(--ease),transform .8s var(--ease),filter .6s var(--ease)}
.stage[data-scene=cafe] .scene-layer:not([data-for=cafe]),
.stage[data-scene=creator] .scene-layer:not([data-for=creator]),
.stage[data-scene=shop] .scene-layer:not([data-for=shop]){opacity:0;pointer-events:none}
.stage[data-scene=cafe]{--qr:#c2410c}
.stage[data-scene=creator]{--qr:#be185d}
.stage[data-scene=shop]{--qr:#1d4ed8}
.phone{position:relative;flex:none;order:3;width:270px;height:560px;border-radius:48px;background:#1d1d1f;padding:10px;box-shadow:0 2px 4px rgba(0,0,0,.08),0 30px 60px -12px rgba(0,0,0,.28);z-index:1}
.phone .phone-screen{position:absolute;inset:10px;height:auto}
.stage[data-scene=cafe] .phone .scene-layer:not([data-for=cafe]),
.stage[data-scene=creator] .phone .scene-layer:not([data-for=creator]),
.stage[data-scene=shop] .phone .scene-layer:not([data-for=shop]){transform:scale(.94);filter:blur(6px)}
.phone-screen{position:relative;height:100%;border-radius:40px;overflow:hidden;background:var(--t-bg);color:var(--t-ink);display:flex;flex-direction:column;align-items:center;padding:52px 18px 18px;text-align:center}
.phone-screen::before{content:'';position:absolute;top:12px;left:50%;translate:-50% 0;width:90px;height:26px;border-radius:20px;background:#1d1d1f}
.avatar{width:76px;height:76px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--t-accent);color:#fff;font-size:30px;font-weight:700}
.bio-name{margin-top:12px;font-size:19px;font-weight:700}
.bio-text{margin-top:4px;font-size:13px;line-height:1.6;color:var(--t-sub)}
.bio-buttons{display:grid;gap:10px;width:100%;margin-top:20px}
.bio-buttons span{display:block;padding:12px;border-radius:16px;background:#fff;font-size:14px;font-weight:700;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.stage .bio-buttons span:first-child{background:var(--t-accent);color:#fff}
.bio-socials{display:flex;gap:14px;margin-top:18px;color:var(--t-sub)}
.bio-socials .icon{width:22px;height:22px}
.float{position:relative;background:rgba(255,255,255,.86);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:22px;box-shadow:0 1px 2px rgba(0,0,0,.06),0 24px 48px -16px rgba(0,0,0,.22);text-align:start;z-index:2}
.float-link{flex:none;order:1;width:min(100%,350px);height:206px;padding:20px 22px}
.float-link .scene-layer{position:absolute;inset:46px 22px 20px}
.float-qr{display:none}
.float-label{font-size:13px;color:var(--ink-2)}
.float-long{font:13px/1.5 var(--latin);color:var(--ink-3);direction:ltr;text-align:left;text-decoration:line-through;text-decoration-color:rgba(0,0,0,.25);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.float-short{margin-top:8px;font:700 22px/1.3 var(--latin);color:var(--ink);direction:ltr;text-align:left}
.float-short b{color:var(--blue)}
.float-short b.typing::after{content:'';display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-.15em;background:var(--blue);animation:caret 1s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.float-stat{display:flex;justify-content:space-between;align-items:baseline;margin-top:12px;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);font-size:14px;color:var(--ink-2)}
.float-stat strong{font-size:20px;color:var(--ink)}
.float-qr .qr{width:150px;height:150px;margin:0 auto}
.float-qr .float-label{color:var(--ink)}
.stage-controls{position:relative;z-index:3;display:flex;justify-content:center;align-items:center;gap:8px;margin-top:20px}
.scene-tabs{display:flex;gap:2px;padding:4px;border-radius:980px;background:#e8e8ed}
.scene-tabs button,.segmented button{position:relative;min-height:38px;border:0;border-radius:980px;padding:6px 16px;background:transparent;color:var(--ink);font:400 15px/1.4 var(--font);cursor:pointer;transition:background-color .25s ease,box-shadow .25s ease}
.scene-tabs button[aria-pressed=true],.segmented button[aria-pressed=true]{background:#fff;font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.stage-pause{display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:#e8e8ed;color:var(--ink);cursor:pointer}
.stage-pause .icon{width:16px;height:16px;grid-area:1/1;stroke-width:2.2}
.stage-pause .icon:last-child{display:none;fill:currentColor;stroke:none}
.stage.is-paused .stage-pause .icon:first-child{display:none}
.stage.is-paused .stage-pause .icon:last-child{display:block}
.stage .sample{margin:12px 0 0}

/* QR drawing (hero card, product tile, studio) */
.qr .qr-paper{fill:#fff}
.qr .qr-modules rect,.qr .qr-eye,.qr .qr-pupil{fill:var(--qr);transition:fill .5s var(--ease)}
.qr .qr-modules rect{transform-box:fill-box;transform-origin:center}

/* ---------- Trust strip ---------- */
.assurances{padding:40px 0 0}
.assurances ul{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin:0;padding:22px 0;list-style:none;border-block:1px solid var(--line);font-size:14px;color:var(--ink-2)}
.assurances li{display:flex;align-items:center;gap:8px}
.assurances li:last-child:nth-child(odd){grid-column:1/-1;justify-content:center}
.assurances .icon{flex:none;width:20px;height:20px;color:var(--ink)}

/* ---------- Chapters ---------- */
.chapter{padding:80px 0}
.chapter.tile-bg{background:var(--tile)}
.chapter.night{background:var(--night);color:var(--night-ink)}
.chapter-head{text-align:center;max-width:760px;margin-inline:auto}
.chapter-head h2{font-size:clamp(30px,8vw,60px);line-height:1.2}
.chapter-head p{margin-top:14px;text-wrap:pretty;font-size:clamp(17px,4.4vw,22px);line-height:1.7;color:var(--ink-2)}
.night .chapter-head p{color:var(--night-ink-2)}
.night a{color:var(--night-link)}
.center-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;margin-top:44px}

.tile{background:var(--white);border-radius:var(--radius-tile);overflow:hidden}
.tile.tile-grey{background:var(--tile)}
.night .tile{background:var(--night-tile)}

/* Short link demonstration */
.shorten{margin:48px auto 0;max-width:880px;padding:40px 22px;text-align:center;background:var(--tile)}
.shorten-long{font:14px/1.6 var(--latin);color:var(--ink-3);direction:ltr;overflow-wrap:anywhere;transition:opacity .9s var(--ease),filter .9s var(--ease)}
.shorten-arrow{width:36px;height:36px;margin:18px auto;color:var(--blue);rotate:-90deg}
.shorten-short{font:700 clamp(28px,8vw,56px)/1.2 var(--latin);overflow-wrap:anywhere;direction:ltr;color:var(--ink);transition:transform .9s var(--ease),opacity .9s var(--ease)}
.shorten-short b{color:var(--blue)}
.js .shorten[data-reveal]:not(.is-in) .shorten-short{opacity:0;transform:translateY(16px) scale(.96)}
.js .shorten.is-in .shorten-long{opacity:.55;filter:blur(1px)}

/* Feature lists: icon beside text on phones, columns on wider screens */
.features,.uses{display:grid;gap:28px;margin:48px auto 0;max-width:980px}
.feature,.use{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:start}
.feature .icon,.use .icon{grid-row:span 2;color:var(--blue)}
.night .feature .icon{color:var(--night-link)}
.feature h3,.use h3{font-size:18px;line-height:1.45}
.feature p,.use p{margin-top:4px;font-size:16px;line-height:1.7;color:var(--ink-2)}
.night .feature p{color:var(--night-ink-2)}

/* Proof sentence */
.proof{padding:72px 0 16px;text-align:center}
.proof p{max-width:24em;margin-inline:auto;font-size:clamp(24px,6.6vw,48px);line-height:1.45;text-wrap:balance;font-weight:700;color:var(--ink-3)}
.proof strong{color:var(--ink)}

/* ---------- Product showcase: apple.com-style tiles ---------- */
.showcase{padding:56px 0 12px}
.showcase-grid{display:grid;gap:12px;width:min(100% - 24px,1280px)}
.show{position:relative;display:flex;flex-direction:column;align-items:center;padding:44px 22px 0;border-radius:var(--radius-tile);overflow:hidden;text-align:center}
.show-tile,.show-white{background:var(--tile)}
.show-night{background:var(--night);color:var(--night-ink)}
.show h2{font-size:clamp(32px,8vw,52px);line-height:1.15}
.show-copy p{margin-top:8px;max-width:26em;margin-inline:auto;font-size:clamp(17px,4.4vw,21px);line-height:1.6;color:var(--ink-2)}
.show-night .show-copy p{color:var(--night-ink-2)}
.show-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 24px;margin-top:20px}
.show-night .more{color:var(--night-link)}
.show-art{margin-top:auto;width:100%}
.squeeze{display:grid;place-items:center;padding:40px 0 52px}
.squeeze > *{grid-area:1/1}
.squeeze-long{max-width:760px;font:13px/1.6 var(--latin);color:var(--ink-3);direction:ltr;overflow-wrap:anywhere;transition:transform 1s var(--ease),opacity .8s var(--ease),filter .8s var(--ease)}
.squeeze-short{font:700 clamp(30px,9vw,64px)/1.1 var(--latin);direction:ltr;transition:opacity .9s 1.15s var(--ease),transform 1s 1.15s var(--ease),filter .9s 1.15s var(--ease)}
.squeeze-short b{color:var(--blue)}
.js .squeeze[data-reveal]:not(.is-in) .squeeze-short{opacity:0;transform:scaleX(2.2);filter:blur(10px)}
.js .squeeze.is-in .squeeze-long{transform:scaleX(.25);opacity:0;filter:blur(6px);transition-delay:.7s}
.show-phones{display:flex;justify-content:center;gap:12px;height:300px;padding-top:36px;overflow:hidden}
.show-phones .mini{flex:none;width:min(37vw,190px)}
.show-phones .mini:first-child{translate:0 36px}
.show-qr{display:grid;place-items:center;padding:36px 0 48px}
.show-qr .qr{width:min(64%,260px);height:auto;border-radius:18px;box-shadow:0 30px 60px -24px rgba(0,0,0,.3)}

/* Mini bio pages */
.lineup{display:flex;justify-content:center;align-items:flex-end;gap:clamp(12px,3vw,40px);margin-top:48px}
.lineup .mini:nth-child(1),.lineup .mini:nth-child(3){display:none}
.mini{width:clamp(150px,22vw,240px);aspect-ratio:9/18.5;border-radius:clamp(26px,3.6vw,40px);padding:8px;background:#2a2a2c;box-shadow:0 30px 60px -20px rgba(0,0,0,.45)}
.lineup .mini:nth-child(2){width:min(64vw,270px)}
.mini-screen{height:100%;border-radius:clamp(20px,3vw,32px);display:flex;flex-direction:column;align-items:center;padding:18% 9% 9%;gap:5%;text-align:center;overflow:hidden;background:var(--t-bg);color:var(--t-ink)}
.mini-avatar{width:30%;aspect-ratio:1;border-radius:50%;background:var(--t-accent)}
.mini-name{font-size:clamp(12px,3.4vw,16px);font-weight:700}
.mini-bar{width:100%;padding:7% 0;border-radius:12px;background:#fff;font-size:clamp(10px,3vw,13px);font-weight:700}
.mini-bar:nth-of-type(1){background:var(--t-accent);color:#fff}

/* ---------- Band: copy beside one illustration ---------- */
.band{padding:80px 0}
.band-night{background:var(--night);color:var(--night-ink)}
.band-tile{background:var(--tile)}
.band-inner{display:grid;gap:40px;align-items:center}
.band h2{font-size:clamp(28px,7.4vw,52px);line-height:1.25}
.band-copy p{margin-top:16px;font-size:clamp(17px,4.4vw,21px);line-height:1.75;color:var(--ink-2)}
.band-night .band-copy p{color:var(--night-ink-2)}
.band-copy .more{margin-top:12px}
.band-night .more{color:var(--night-link)}
.band-art{display:flex;flex-direction:column;align-items:center}
.collect{width:min(100%,340px);padding:26px;border-radius:24px;background:var(--night-tile);text-align:center}
.collect-title{font-weight:700;font-size:18px}
.collect-field{margin-top:16px;padding:12px;border-radius:14px;background:#2c2c2e;color:var(--night-ink-2);direction:ltr;font-family:var(--latin)}
.collect-button{margin-top:10px;padding:12px;border-radius:14px;background:#be185d;color:#fff;font-weight:700}
.collect-count{margin-top:18px;font-size:14px;color:var(--night-ink-2)}
.collect-count b{color:var(--night-ink);font-size:20px}
.sms{width:min(100%,340px);padding:22px;border-radius:28px;background:#fff;box-shadow:0 30px 60px -24px rgba(0,0,0,.2)}
.sms-from{font-size:13px;color:var(--ink-2);text-align:center}
.sms-bubble{margin-top:12px;padding:14px 16px;border-radius:20px 20px 20px 6px;background:var(--tile);font-size:15px;line-height:1.8}
.sms-bubble .latin{color:var(--link);font-weight:600}
.code{width:100%;margin:0;padding:22px;border-radius:20px;background:var(--night-tile);color:#e5e5ea;font:13px/1.9 var(--mono);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
.code .c-k{color:#ff7ab2}
.code .c-s{color:#fc6a5d}

/* Business pillars on the homepage */
.pillars{display:grid;gap:12px;margin-top:44px}
.pillar{display:grid;grid-template-columns:auto 1fr;column-gap:16px;padding:24px 22px;border-radius:22px;background:var(--white);color:var(--ink);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.pillar:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(0,0,0,.25)}
.pillar .icon{grid-row:span 2;color:var(--blue)}
.pillar h3{font-size:21px}
.pillar p{margin-top:4px;font-size:16px;line-height:1.7;color:var(--ink-2)}

/* Escape + analytics pair */
.pair{display:grid;gap:16px;margin-top:48px}
.pair .tile{padding:32px 22px;display:flex;flex-direction:column}
.pair h3{font-size:clamp(22px,6vw,32px);line-height:1.3}
.pair p{margin-top:10px;color:var(--ink-2)}
.escape-visual{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:auto;padding-top:32px}
.screen{width:120px;height:190px;border-radius:22px;border:7px solid #1d1d1f;background:var(--white);display:flex;flex-direction:column;overflow:hidden;font-size:11px}
.screen-bar{display:flex;align-items:center;justify-content:center;height:30px;background:var(--tile);color:var(--ink-2);font-weight:700}
.screen-body{flex:1;display:grid;place-items:center;padding:10px;text-align:center;color:var(--ink-2);line-height:1.5}
.screen.broken .screen-body{color:#bf4800}
.screen.real .screen-bar{background:#e8f2ff;color:var(--link)}
.screen.real .screen-body{color:var(--ink)}
.escape-visual .icon{flex:none;color:var(--blue);width:30px;height:30px}
.bars{margin-top:auto;padding-top:32px;display:grid;gap:14px}
.bar{display:grid;grid-template-columns:64px 1fr 40px;align-items:center;gap:12px;font-size:15px}
.bar-track{height:10px;border-radius:10px;background:var(--white);overflow:hidden}
.bar-fill{height:100%;width:var(--w);border-radius:10px;background:var(--blue);transform-origin:right;transition:transform 1.2s var(--ease)}
.js .pair[data-reveal]:not(.is-in) .bar-fill{transform:scaleX(0)}
.bar span:last-child{color:var(--ink-2);text-align:end}
.tile-note{margin-top:16px;font-size:12px;color:var(--ink-3)}

/* ---------- Creator studio: a phone above tabs on phones, beside them on desktop ---------- */
.creator-studio{display:grid;justify-items:center;gap:32px;max-width:980px;margin:48px auto 0}
.creator-tabs{display:grid;gap:6px;width:100%}
.creator-tabs button{display:flex;align-items:flex-start;gap:14px;min-height:56px;padding:16px 18px;border:0;border-radius:18px;background:transparent;color:var(--night-ink-2);font:inherit;text-align:start;cursor:pointer;transition:background-color .3s ease,color .3s ease}
.creator-tabs button:hover{background:rgba(255,255,255,.04)}
.creator-tabs button[aria-pressed=true]{background:var(--night-tile);color:var(--night-ink)}
.creator-tabs .icon{flex:none;margin-top:2px;color:var(--night-link)}
.creator-tabs b{display:block;font-size:18px;color:var(--night-ink)}
.creator-tabs b + span{display:none;margin-top:4px;font-size:15px;line-height:1.7}
.creator-tabs button[aria-pressed=true] b + span{display:block}
.creator-phone{width:290px;height:590px;border-radius:52px;background:#2a2a2c;padding:11px;box-shadow:0 40px 80px -30px rgba(190,24,93,.35)}
.creator-phone .phone-screen{border-radius:42px}
.creator-phone .bio-buttons{margin-top:auto}
.block-stage{display:grid;width:100%;margin-top:20px}
.block{grid-area:1/1;align-self:start;display:grid;gap:10px;padding:16px;border-radius:20px;background:#fff;font-size:14px;font-weight:700;box-shadow:0 1px 2px rgba(0,0,0,.06);transition:opacity .45s var(--ease),transform .6s var(--ease),filter .45s var(--ease)}
.creator-phone:not([data-block=coupon]) .block-coupon,
.creator-phone:not([data-block=countdown]) .block-countdown,
.creator-phone:not([data-block=collect]) .block-collect,
.creator-phone:not([data-block=video]) .block-video{opacity:0;transform:translateY(18px) scale(.97);filter:blur(4px)}
.coupon-code{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1.5px dashed var(--t-accent);border-radius:14px;color:var(--t-accent)}
.coupon-code b{font-size:20px;letter-spacing:.08em}
.coupon-code em{font-style:normal;font-size:13px;padding:4px 12px;border-radius:980px;background:var(--t-accent);color:#fff}
.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.countdown div{padding:8px 0;border-radius:12px;background:var(--t-bg)}
.countdown b{display:block;font-size:20px;color:var(--t-accent)}
.countdown small{font-size:11px;font-weight:400;color:var(--t-sub)}
.block-collect .collect-field{margin:0;background:var(--t-bg);color:var(--t-sub)}
.block-collect .collect-button{margin:0;background:var(--t-accent)}
.video-frame{display:grid;place-items:center;aspect-ratio:16/9;border-radius:14px;background:linear-gradient(135deg,#7c2d12,#be185d);color:#fff}
.video-frame .icon{width:48px;height:48px}

/* ---------- QR studio ---------- */
.studio{display:grid;align-items:center;gap:20px;max-width:980px;margin:48px auto 0;padding:28px 20px 32px;border-radius:var(--radius-tile);background:var(--tile);text-align:center}
.qr-frame{justify-self:center;width:min(100%,250px);padding:16px 16px 10px;border-radius:30px;background:var(--qr);transition:background-color .5s var(--ease)}
.qr-frame .qr{width:100%;height:auto;border-radius:14px}
.qr-frame p{margin-top:10px;text-align:center;color:#fff;font-weight:700;font-size:18px}
.studio h2{font-size:clamp(24px,6.4vw,34px);line-height:1.3}
.studio-controls > p{margin-top:10px;color:var(--ink-2)}
.control{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:16px}
.control-label{font-size:15px;color:var(--ink-2)}
.swatches{display:flex;justify-content:center;gap:10px;margin:0;padding:0;list-style:none}
.swatch{width:44px;height:44px;border-radius:50%;border:0;padding:0;background:var(--swatch);cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);transition:transform .2s var(--ease)}
.swatch:hover{transform:scale(1.08)}
.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--tile),0 0 0 4px var(--swatch)}
.segmented{display:inline-flex;gap:4px;padding:4px;border-radius:980px;background:#e8e8ed}
.segmented button{min-width:88px}
.swatch-name{margin-top:18px;font-size:14px;color:var(--ink-2);min-height:1.5em}
@media (prefers-reduced-motion:no-preference){
    .js .qr-frame[data-reveal]:not(.is-in) .qr-modules rect{opacity:0;transform:scale(0)}
    .js .qr-frame .qr-modules rect{transition:opacity .5s var(--ease),transform .7s var(--ease),fill .5s var(--ease);transition-delay:calc(var(--d) * 28ms)}
    .js .qr-frame.is-settled .qr-modules rect{transition-delay:0s}
}

/* Dynamic QR steps */
.steps{display:grid;gap:12px;max-width:980px;margin:48px auto 0;padding:0;list-style:none}
.steps li{display:grid;grid-template-columns:auto 1fr;column-gap:16px;padding:24px 22px;border-radius:22px;background:var(--white);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.step-art{grid-row:span 2;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--tile);color:var(--blue)}
.steps h3{font-size:20px}
.steps p{margin-top:4px;font-size:16px;line-height:1.7;color:var(--ink-2)}
.js .steps[data-reveal]:not(.is-in) li{opacity:0;transform:translateY(24px)}
.steps li:nth-child(2){transition-delay:.12s}
.steps li:nth-child(3){transition-delay:.24s}

/* QR types */
.types{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:880px;margin:40px auto 0;padding:0;list-style:none}
.types li{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:980px;background:var(--tile);font-size:15px}
.types .icon{width:20px;height:20px;color:var(--ink-2)}

/* ---------- Infrastructure flow: a click travelling through the layers ---------- */
.flow{display:flex;flex-direction:column;align-items:center;max-width:980px;margin:48px auto 0}
.flow-node{flex:none;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;width:min(100%,320px);padding:16px 20px;border-radius:20px;background:var(--night-tile);text-align:start}
.flow-node .icon{grid-row:span 2;width:32px;height:32px;color:var(--night-link)}
.flow-node b{font-size:16px}
.flow-node small{font-size:13px;color:var(--night-ink-2)}
.flow-core{box-shadow:0 0 0 1px rgba(41,151,255,.45),0 20px 50px -20px rgba(41,151,255,.45)}
.flow-line{position:relative;flex:none;width:2px;height:32px;background:linear-gradient(to bottom,rgba(41,151,255,.15),rgba(41,151,255,.5),rgba(41,151,255,.15))}
.flow-line i{position:absolute;top:0;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--night-link);box-shadow:0 0 12px var(--night-link);opacity:0}
@media (prefers-reduced-motion:no-preference){
    .flow.is-in .flow-line i{animation:travel-down 2.4s var(--ease) infinite;animation-delay:calc(var(--i, 0) * .6s)}
    .flow.is-paused .flow-line i{animation-play-state:paused}
}
@keyframes travel-down{0%{top:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:calc(100% - 8px);opacity:0}}
@keyframes travel-across{0%{right:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{right:calc(100% - 8px);opacity:0}}

/* Security checks */
.checks{display:grid;max-width:980px;margin:44px auto 0;padding:0;list-style:none}
.checks li{display:flex;gap:16px;padding:22px 0;border-top:1px solid var(--line)}
.checks .icon{flex:none;color:var(--blue)}
.checks h3{font-size:18px}
.checks p{margin-top:4px;font-size:16px;line-height:1.7;color:var(--ink-2)}

/* Contact */
.contact{display:grid;gap:12px;max-width:760px;margin:44px auto 0}
.contact-card{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:16px;padding:20px 22px;border-radius:22px;background:var(--tile);color:var(--ink);text-align:start;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.contact-card:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(0,0,0,.25)}
.contact-card .icon{grid-row:span 2;width:32px;height:32px;color:var(--blue)}
.contact-card b{font-size:18px}
.contact-card span{font-size:14px;color:var(--ink-2)}

/* ---------- FAQ ---------- */
.faq{max-width:820px;margin:40px auto 0;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:56px;padding:20px 0;cursor:pointer;list-style:none}
.faq summary h3{font-size:clamp(17px,4.4vw,21px);line-height:1.55}
.faq summary::-webkit-details-marker{display:none}
.faq summary .icon{flex:none;width:22px;height:22px;color:var(--ink-2);transition:transform .35s var(--ease)}
.faq details[open] summary .icon{transform:rotate(45deg)}
.faq details p{padding:0 0 24px;max-width:66ch;color:var(--ink-2);font-size:16px;line-height:1.9}

/* ---------- Closing ---------- */
.closing{padding:88px 0 80px;text-align:center;background:var(--tile)}
.closing h2{font-size:clamp(32px,8.6vw,68px);line-height:1.2}
.closing p{margin-top:14px;font-size:clamp(17px,4.4vw,22px);color:var(--ink-2)}
.closing .claim{margin-top:32px}

/* ---------- Footer: collapsible groups on phones, columns on desktop ---------- */
.footer{background:var(--tile);padding:20px 0 32px;font-size:13px;line-height:1.8;color:var(--ink-2);border-top:1px solid var(--line)}
.footer-cols{padding-bottom:12px}
.footer-group{border-bottom:1px solid var(--line)}
.footer-group summary{display:flex;justify-content:space-between;align-items:center;min-height:48px;cursor:pointer;list-style:none}
.footer-group summary::-webkit-details-marker{display:none}
.footer-group summary::after{content:'';width:8px;height:8px;margin-inline-end:4px;border-right:1.5px solid var(--ink-2);border-bottom:1.5px solid var(--ink-2);transform:rotate(45deg) translateY(-3px);transition:transform .3s var(--ease)}
.footer-group[open] summary::after{transform:rotate(-135deg) translateY(-3px)}
.footer-group h2{font-size:14px;color:var(--ink)}
.footer-group nav{display:flex;flex-direction:column;padding:0 0 12px}
.footer-group a{display:flex;align-items:center;min-height:40px;font-size:15px}
.footer a{color:var(--ink-2)}
.footer a:hover{color:var(--ink)}
.footer-intro{padding:16px 0;max-width:80ch}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.footer-socials{display:flex;gap:4px}
.footer-socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%}
.footer-socials a:hover{background:rgba(0,0,0,.05)}
.footer-socials .icon{width:20px;height:20px}

/* ---------- Motion: the hero stage assembles itself on load ---------- */
@media (prefers-reduced-motion:no-preference){
    .js .stage .phone{animation:rise 1.2s var(--ease) both}
    .js .stage .float-link{animation:drift-in 1.2s .25s var(--ease) both}
    .js .stage .float-qr{animation:drift-in 1.2s .4s var(--ease) both}
    .js .stage-controls{animation:fade 1s .8s var(--ease) both}
    @keyframes rise{from{opacity:0;transform:translateY(80px)}}
    @keyframes drift-in{from{opacity:0;transform:translateY(40px) scale(.96);filter:blur(8px)}}
    @keyframes fade{from{opacity:0}}
}
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition-duration:.01s!important;animation:none!important}
}

/* ========== ≥ 600px: two columns ========== */
@media (min-width:600px){
    :root{--gutter:32px}
    .features,.uses{grid-template-columns:1fr 1fr;gap:40px 32px}
    .feature,.use{display:block}
    .feature .icon,.use .icon{margin-bottom:12px}
    .assurances ul{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 32px;font-size:15px}
    .checks{grid-template-columns:1fr 1fr;column-gap:48px}
    .pillars{grid-template-columns:1fr 1fr}
    .pillar{display:block}
    .pillar .icon{margin-bottom:16px}
    .contact{grid-template-columns:repeat(3,1fr)}
    .contact-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 16px;text-align:center}
    .lineup .mini:nth-child(1),.lineup .mini:nth-child(3){display:block}
    .lineup .mini:nth-child(2){width:clamp(170px,25vw,270px)}
    .claim{flex-direction:row;align-items:center;border-radius:980px;padding:6px}
    .claim-field{flex:1;padding:0 0 0 18px}
    .claim .button{width:auto;flex:none;min-height:46px}
    .show-phones{height:340px}
}

/* ========== ≥ 761px: tablet and desktop compositions ========== */
@media (min-width:761px){
    :root{--radius-tile:28px}
    body{font-size:18px}
    .hero{padding-top:72px}
    .hero-page{padding:88px 0 96px}
    .stage{margin-top:40px}
    .stage-art{display:block;height:560px;overflow:visible;clip-path:inset(-120px -120px 0 -120px)}
    .phone{position:absolute;left:50%;bottom:-60px;translate:-50% 0;width:300px;height:620px;border-radius:52px;padding:11px}
    .phone .phone-screen{inset:11px}
    .phone-screen{border-radius:42px;padding:56px 20px 20px}
    .avatar{width:84px;height:84px;font-size:34px}
    .float{position:absolute}
    .float-link{inset-inline-end:0;top:90px;width:290px;height:226px;padding:22px 24px}
    .float-link .scene-layer{inset:48px 24px 22px}
    .float-qr{display:block;inset-inline-start:0;top:170px;width:190px;height:212px;padding:20px;text-align:center}
    .float-qr .qr{width:130px;height:130px}
    .float-qr .scene-layer{position:absolute;inset-inline:12px;bottom:18px}
    .stage-controls{margin-top:28px}
    .chapter{padding:120px 0}
    .chapter-head p{margin-top:18px}
    .features,.uses{grid-template-columns:repeat(3,1fr);gap:48px 40px;margin-top:80px}
    .proof{padding:120px 0 40px}
    .showcase{padding:80px 0 12px}
    .showcase-grid{grid-template-columns:1fr 1fr}
    .show{min-height:620px;padding:56px 32px 0}
    .show-wide{grid-column:1/-1;min-height:520px}
    .show-phones{height:auto;margin-bottom:-90px;padding-top:40px;overflow:visible}
    .show-phones .mini{width:190px}
    .show-qr{padding:40px 0 64px}
    .lineup{margin-top:72px}
    .band{padding:110px 0}
    .band-inner{grid-template-columns:1.1fr .9fr;gap:64px}
    .band-copy p{margin-top:18px}
    .code{padding:28px;font-size:14px}
    .pillars{grid-template-columns:repeat(4,1fr);gap:20px;margin-top:64px}
    .pillar{padding:32px 28px}
    .pair{grid-template-columns:1fr 1fr;gap:20px;margin-top:64px}
    .pair .tile{padding:48px 44px}
    .creator-studio{grid-template-columns:1fr 300px;align-items:center;gap:40px;margin-top:72px}
    .creator-tabs b + span{display:block}
    .creator-phone{order:0;width:300px;height:620px}
    .studio{grid-template-columns:1fr 1fr;gap:40px;margin-top:72px;padding:40px;text-align:start}
    .qr-frame{width:min(100%,340px);padding:24px 24px 18px}
    .control{flex-direction:row;gap:18px;margin-top:28px}
    .control-label{min-width:6.5em}
    .swatch{width:36px;height:36px}
    .steps{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:64px}
    .steps li{display:block;padding:36px 32px}
    .step-art{margin-bottom:22px}
    .types{margin-top:48px;gap:12px}
    .types li{padding:12px 20px;font-size:16px}
    .flow{flex-direction:row;justify-content:center;margin-top:72px}
    .flow-node{display:flex;flex-direction:column;align-items:center;gap:6px;width:140px;padding:24px 12px;text-align:center}
    .flow-line{flex:1;min-width:24px;width:auto;height:2px;background:linear-gradient(to left,rgba(41,151,255,.15),rgba(41,151,255,.5),rgba(41,151,255,.15))}
    .flow-line i{top:-3px;right:0}
    .flow.is-in .flow-line i{animation-name:travel-across}
    .checks{margin-top:64px;column-gap:56px}
    .checks li{padding:28px 0}
    .contact{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:56px}
    .contact-card{width:240px;padding:32px 20px}
    .faq{margin-top:56px}
    .faq summary{padding:26px 0}
    .faq details p{font-size:17px;padding-bottom:28px}
    .closing{padding:140px 0 120px}
    .closing .claim{margin-top:40px}
    .footer{padding:32px 0 40px;font-size:12px}
    .footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-bottom:28px}
    .footer-group{border:0}
    .footer-group summary{min-height:0;margin-bottom:6px;cursor:default;pointer-events:none}
    .footer-group summary::after{display:none}
    .footer-group h2{font-size:12px}
    .footer-group nav{padding:0;gap:6px}
    .footer-group a{display:block;min-height:0;font-size:12px}
    .footer-intro{border-top:1px solid var(--line)}
    .footer-socials a{width:34px;height:34px}
}

/* ========== ≥ 861px: inline menu with mega panels ========== */
@media (min-width:861px){
    .nav-inner{gap:20px}
    .brand img{height:16px}
    .nav-toggle{display:none}
    .nav-links{position:static;height:auto;overflow:visible;flex-direction:row;align-items:center;gap:2px;margin-inline-start:12px;padding:0;background:none;visibility:visible;transition:none}
    .nav-links > *{opacity:1;transform:none;transition:none}
    .nav-item{border:0}
    .nav-trigger,.nav-direct{width:auto;min-height:52px;padding:0 12px;border:0;font:400 14px/1 var(--font);color:var(--ink);opacity:.82;gap:4px;transition:opacity .2s ease}
    .nav-trigger:hover,.nav-direct:hover,.nav-item.is-open .nav-trigger{opacity:1}
    .nav-direct[aria-current=page]{color:var(--ink);opacity:1;font-weight:700}
    .nav-trigger .icon{width:14px;height:14px;color:currentColor}
    .panel-open .nav{background:#fff}
    .nav-panel{position:absolute;top:100%;inset-inline:0;display:block;background:#fff;border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 30px 60px -30px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .25s ease,transform .35s var(--ease),visibility 0s .35s}
    .nav-item.is-open .nav-panel{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .35s var(--ease),visibility 0s}
    .nav-panel-body{overflow:visible}
    .panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 40px;width:min(100% - var(--gutter) * 2,var(--wrap));padding:28px 0 24px}
    .panel-grid.has-aside{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
    .panel-title{margin:0 0 10px;padding:0 12px 10px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;color:var(--ink)}
    .panel-column ul{display:grid;gap:2px}
    .has-aside .panel-column ul{grid-template-columns:repeat(2,minmax(0,1fr))}
    .panel-link{align-items:flex-start;gap:12px;min-height:0;padding:10px 12px;border-radius:14px;transition:background-color .2s ease}
    .panel-link:hover{background:var(--tile);color:var(--ink)}
    .panel-link .icon{margin-top:2px}
    .panel-link b{font-size:15px}
    .panel-link small{display:block;margin-top:2px;font-size:13px;line-height:1.5;color:var(--ink-2)}
    .panel-aside{display:block;padding:20px 22px;border-radius:18px;background:var(--tile);align-self:start}
    .panel-aside .panel-title{border-color:#d9d9de}
    .panel-aside-text{font-size:14px;line-height:1.8;color:var(--ink-2)}
    .panel-aside .more{min-height:0;margin-top:10px;font-size:14px}
    .panel-bar{background:var(--tile);border-top:1px solid rgba(0,0,0,.05)}
    .panel-bar .wrap{flex-direction:row;gap:40px;width:min(100% - var(--gutter) * 2,var(--wrap));padding:0}
    .panel-bar a{min-height:48px;font-size:14px;color:var(--ink)}
    .panel-bar a:hover{color:var(--blue);text-decoration:none}
    .panel-bar .icon{width:18px;height:18px;color:var(--ink-2)}
    .nav-sheet-actions{display:none}
    .panel-open .nav-scrim{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s}
    .nav-cta{gap:16px;margin-inline-start:auto}
    .nav-cta .login{display:inline}
}

/* ========== ≥ 1001px: full desktop sizes ========== */
@media (min-width:1001px){
    .float-link{inset-inline-end:2%;width:330px}
    .float-qr{inset-inline-start:4%;width:220px;height:232px}
    .float-qr .qr{width:150px;height:150px}
    .studio{gap:56px;padding:56px}
    .creator-studio{grid-template-columns:1fr 340px;gap:72px}
    .creator-phone{width:340px;height:680px;border-radius:56px;padding:12px}
    .creator-phone .phone-screen{border-radius:44px}
    .flow-node{width:170px}
    .nav-trigger,.nav-direct{padding:0 14px}
}

/* ==========================================================================
   Components added for the full site (mobile first, wider screens below)
   ========================================================================== */

/* Customers: one quiet strip of logos, greyed until hovered */
.customers{padding:48px 0 8px;text-align:center}
.customers h2{font-size:15px;font-weight:400;color:var(--ink-2)}
.customers ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:28px 16px;margin:24px 0 0;padding:0;list-style:none}
.customers li{display:grid;place-items:center;min-width:0;min-height:40px}
.customers img{width:100%;height:28px;object-fit:contain;filter:grayscale(1);opacity:.62;transition:filter .3s ease,opacity .3s ease}
.customers li:hover img{filter:none;opacity:1}
.customers .customer-snapp img{height:22px}
.customers .customer-snappfood img{height:30px}
.customers .customer-snappgroup img{height:30px}
.customers .customer-snapppay img{height:32px}
.customers .customer-asanpardakht img{height:46px}
.customers .customer-asanbimeh img{height:42px}
.wordmark{font-size:19px;font-weight:700;color:#8e8e93;letter-spacing:0}

/* Ledger: the agency's report beside the brand's own count */
.ledger{display:grid;gap:12px;max-width:820px;margin:48px auto 0}
.ledger-card{padding:24px 22px;border-radius:24px;background:var(--white);transition:transform .9s var(--ease),opacity .9s var(--ease)}
.ledger-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-weight:700;font-size:17px}
.ledger-head .icon{width:24px;height:24px;color:var(--ink-2)}
.ledger-ours .ledger-head .icon{color:var(--blue)}
.ledger-row,.ledger-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:15px;color:var(--ink-2)}
.ledger-row b{color:var(--ink);font-size:17px}
.ledger-flag b{color:#bf4800}
.ledger-total{margin-top:4px;border-top:1.5px solid var(--ink);color:var(--ink);font-weight:700}
.ledger-total b{font-size:19px}
.ledger-theirs .ledger-total b{color:var(--ink-2)}
.ledger-ours .ledger-total b{color:var(--blue)}
.js .ledger[data-reveal]:not(.is-in) .ledger-ours{opacity:0;transform:translateY(24px)}
.ledger-ours{transition-delay:.25s}
.ledger + .sample{margin-top:12px}

/* Brand glyph grid */
.brand-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:880px;margin:44px auto 0;padding:0;list-style:none}
.brand-grid li{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 8px 16px;border-radius:20px;background:var(--white);text-align:center;font-size:13px;color:var(--ink-2)}
.chapter:not(.tile-bg) .brand-grid li{background:var(--tile)}
.brand-glyph{width:30px;height:30px;fill:#6e6e73;transition:fill .3s ease,transform .3s var(--ease)}
.brand-grid li:hover .brand-glyph{fill:var(--brand);transform:scale(1.06)}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px}
.chips span{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:980px;background:var(--tile);font-size:15px}
.chips .icon{width:20px;height:20px;color:var(--ink-2)}
.note{max-width:640px;margin:28px auto 0;text-align:center;font-size:15px;color:var(--ink-2)}

/* Dark heroes (creators, developers) */
.hero-night{padding-top:64px}
.hero-night h1{font-size:clamp(36px,9.6vw,72px);line-height:1.2}
.hero-night .chapter-head p{margin-top:16px}
.code-hero{max-width:760px;margin:48px auto 0}

/* Steps on white chapters sit on grey */
.chapter:not(.tile-bg) .steps-plain li,.steps-plain li{background:var(--tile)}
.tile-bg .steps-plain li{background:var(--white)}
.steps-plain{margin-top:40px}

/* Export chips */
.export-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:28px}
.export-chips span{padding:8px 16px;border-radius:12px;background:var(--white);font:600 14px/1.4 var(--latin)}

/* Custom domain: the address changes from the short domain to the brand */
.address{max-width:560px;margin:48px auto 0}
.address-bar{display:flex;align-items:center;gap:10px;padding:16px 20px;border-radius:18px;background:var(--tile);direction:ltr;font:600 clamp(17px,4.6vw,24px)/1.3 var(--latin);text-align:left}
.address-bar .icon{flex:none;width:20px;height:20px;color:#1a7f37}
.address-text{display:inline-grid;grid-auto-flow:column;align-items:center;min-width:0}
.address-old,.address-new{grid-row:1;grid-column:1;transition:opacity .6s var(--ease),transform .8s var(--ease),filter .6s var(--ease)}
.address-path{grid-row:1;grid-column:2;color:var(--blue)}
.address-new{color:var(--ink)}
.js .address[data-reveal]:not(.is-in) .address-new,.js .address.is-in .address-old{opacity:0;transform:translateY(8px);filter:blur(4px)}
.address.is-in .address-new{transition-delay:.6s}
.address-old{color:var(--ink-2)}

/* Team roster */
.roster{display:grid;gap:8px;max-width:560px;margin:48px auto 0;text-align:start}
.roster-row{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;padding:14px 16px;border-radius:18px;background:var(--tile);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.roster-avatar{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--c);color:#fff;font-weight:700}
.roster-name{font-weight:700;font-size:16px}
.roster-role{font-size:14px;color:var(--ink-2)}
.js .roster[data-reveal]:not(.is-in) .roster-row{opacity:0;transform:translateY(16px)}
.roster-row:nth-child(2){transition-delay:.12s}
.roster-row:nth-child(3){transition-delay:.24s}

/* SMS length counter */
.counter{max-width:640px;margin:44px auto 0;padding:22px;border-radius:24px;background:var(--tile);text-align:start}
.counter-field span{display:block;margin-bottom:8px;font-size:14px;color:var(--ink-2)}
.counter-field input{width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--white);font:15px/1.4 var(--latin);color:var(--ink);outline:0;transition:border-color .2s ease,box-shadow .2s ease}
.counter-field input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,113,227,.15)}
.counter-result{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:18px;text-align:center}
.counter-result b{display:block;font-size:clamp(34px,9vw,52px);line-height:1.1;color:var(--ink-2)}
.counter-result span{font-size:13px;color:var(--ink-2)}
.counter-result .icon{color:var(--blue);rotate:0deg}
.counter-short b{color:var(--blue)}

/* Feature catalogue */
.catalogue{display:grid;gap:12px}
.catalogue-group{padding:26px 22px;border-radius:24px;background:var(--white)}
.catalogue-group h2{display:flex;align-items:center;gap:12px;font-size:22px}
.catalogue-group h2 .icon{color:var(--blue)}
.catalogue-group ul{margin:14px 0 0;padding:0;list-style:none}
.catalogue-group li{position:relative;padding:9px 22px 9px 0;border-top:1px solid #ececf0;font-size:16px;line-height:1.7}
.catalogue-group li::before{content:'';position:absolute;inset-inline-start:2px;top:19px;width:8px;height:5px;border-left:1.6px solid var(--blue);border-bottom:1.6px solid var(--blue);transform:rotate(-45deg)}
.catalogue-group .more{margin-top:8px;font-size:15px}

/* Closing second path */
.closing-second{margin-top:18px}
.closing-second .more{font-size:16px}

/* Contact */
.contact-chapter{padding:56px 0}
.use p a{display:inline-block;margin-inline-start:4px}

@media (min-width:600px){
    .customers ul{grid-template-columns:repeat(6,auto);justify-content:center;gap:24px 48px}
    .customers img{width:auto;max-width:none}
    .brand-grid{grid-template-columns:repeat(4,1fr)}
    .ledger{grid-template-columns:1fr 1fr;align-items:start}
    .catalogue{grid-template-columns:1fr 1fr}
}
@media (min-width:761px){
    .customers{padding:64px 0 16px}
    .customers ul{margin-top:28px}
    .customers .customer-snapp img{height:26px}
    .customers .customer-snappfood img{height:36px}
    .customers .customer-snappgroup img{height:36px}
    .customers .customer-snapppay img{height:38px}
    .customers .customer-asanpardakht img{height:56px}
    .customers .customer-asanbimeh img{height:50px}
    .ledger{gap:20px;margin-top:64px}
    .ledger-card{padding:32px 30px}
    .brand-grid{grid-template-columns:repeat(6,1fr);gap:12px;margin-top:56px}
    .hero-night{padding-top:96px}
    .counter{padding:28px 32px;margin-top:56px}
    .catalogue{grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}
    .catalogue-group{padding:30px 28px}
    .address{margin-top:64px}
}

/* Customer logos inside the solutions panel */
.panel-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:18px 14px;margin:6px 0 4px;padding:0;list-style:none}
.panel-logos li{display:grid;place-items:center;min-height:34px}
.panel-logos li{min-width:0}
.panel-logos img{width:100%;height:22px;object-fit:contain;filter:grayscale(1);opacity:.7}
.panel-logos .customer-snapp img{height:18px}
.panel-logos .customer-asanbimeh img{height:32px}
.panel-logos .customer-asanpardakht img{height:36px}
.panel-logos .wordmark{font-size:14px}
.hero-page + .customers{padding-top:8px}


/* ==========================================================================
   Dark diagrams: route (one link, many destinations), hub (orbit), readout
   ========================================================================== */
.diagram-note{margin-top:28px;text-align:center;font-size:13px;color:var(--night-ink-2)}
.night .center-actions .more{color:var(--night-link)}

/* Route — phones: a vertical story; desktop: three columns joined by curves */
.route{position:relative;display:flex;flex-direction:column;align-items:center;max-width:980px;margin:48px auto 0}
.route-lines{display:none}
.route-col{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}
.route-node{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;background:var(--night-tile);color:var(--night-ink);text-align:start;transition:opacity .5s var(--ease),box-shadow .5s var(--ease),transform .5s var(--ease)}
.route-node .icon,.route-node .brand-glyph{flex:none;width:24px;height:24px;color:var(--night-link)}
.route-node .brand-glyph{fill:var(--night-link)}
.route-node b{display:block;font-size:14px}
.route-node small{display:none}
.route-node em{display:inline-block;margin-bottom:2px;padding:1px 8px;border-radius:980px;background:rgba(41,151,255,.14);color:var(--night-link);font-style:normal;font-size:11px;font-weight:700}
.route-targets{display:grid;gap:8px;width:min(100%,320px)}
.route-targets .route-node{padding:12px 16px}
.route-hub{position:relative;display:flex;flex-direction:column;align-items:center;padding:44px 0}
.route-hub::before,.route-hub::after{content:'';position:absolute;inset-inline-start:50%;width:2px;height:40px;translate:50% 0;background:linear-gradient(to bottom,rgba(41,151,255,.1),rgba(41,151,255,.6),rgba(41,151,255,.1));background-size:100% 200%}
.route-hub::before{top:2px}
.route-hub::after{bottom:2px}
.route-core{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px 26px;border-radius:22px;background:var(--night-tile);box-shadow:0 0 0 1px rgba(41,151,255,.45),0 20px 50px -18px rgba(41,151,255,.55)}
.route-core small{font-size:12px;color:var(--night-ink-2)}
.route-core b{font-size:clamp(20px,5.4vw,26px);color:var(--night-ink)}
.route-cycle .route-target:not(.is-active){opacity:.38}
.route-cycle .route-target.is-active{box-shadow:0 0 0 1px rgba(41,151,255,.55)}
@media (prefers-reduced-motion:no-preference){
    .route.is-in .route-hub::before,.route.is-in .route-hub::after{animation:route-drip 1.6s linear infinite}
    .route.is-in .route-hub::after{animation-delay:.8s}
    @keyframes route-drip{from{background-position:0 100%}to{background-position:0 -100%}}
}

/* Hub — a square stage that scales with the screen */
.hub{position:relative;width:min(100%,560px);aspect-ratio:1;margin:40px auto 0}
.hub-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hub-orbit{fill:none;stroke:rgba(255,255,255,.08);stroke-width:.3;stroke-dasharray:1 1.6;transform-origin:50px 50px}
.hub-line{fill:none;stroke:rgba(41,151,255,.18);stroke-width:.35}
.hub-pulse{fill:none;stroke:var(--night-link);stroke-width:.9;stroke-linecap:round;stroke-dasharray:10 100;stroke-dashoffset:10;opacity:0}
.hub-center{position:absolute;left:50%;top:50%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:32%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:var(--night-tile);text-align:center;box-shadow:0 0 0 1px rgba(41,151,255,.45),0 0 60px -10px rgba(41,151,255,.6)}
.hub-center::before{content:'';position:absolute;inset:-14%;border-radius:50%;border:1px solid rgba(41,151,255,.28);opacity:0}
.hub-center .icon,.hub-center .brand-glyph{flex:none;width:clamp(28px,8vw,48px);height:clamp(28px,8vw,48px);color:var(--night-link)}
.hub-center .brand-glyph{fill:var(--night-link)}
.hub-center b{font-size:clamp(12px,3.4vw,17px);line-height:1.3;color:var(--night-ink)}
.hub-center small{font-size:clamp(10px,2.6vw,12px);color:var(--night-ink-2)}
.hub-node{position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;width:clamp(56px,17%,86px);translate:-50% -50%;text-align:center}
.hub-tile{position:relative;display:block;width:100%;height:0;padding-top:100%;border-radius:30%;background:var(--night-tile)}
.hub-tile .brand-glyph,.hub-tile .icon{position:absolute;top:27%;left:27%;width:46%;height:46%;color:#d1d1d6;transition:fill .4s ease,color .4s ease}
.hub-tile .brand-glyph{fill:#d1d1d6}
.hub-tile .icon{fill:none}
.hub-label{font-size:clamp(10px,2.6vw,12px);line-height:1.3;color:var(--night-ink-2);white-space:nowrap}
.hub.is-in .hub-node .brand-glyph{fill:var(--brand)}
.hub-node .brand-glyph[style*="#000000"],.hub-node .brand-glyph[style*="#4A154B"],.hub-node .brand-glyph[style*="#262627"]{--brand:#f5f5f7!important}
@media (prefers-reduced-motion:no-preference){
    .hub.is-in .hub-orbit{animation:hub-spin 90s linear infinite}
    .hub.is-in .hub-pulse{animation:hub-pulse 2.8s var(--ease) infinite;animation-delay:calc(var(--i) * .35s)}
    .hub.is-in .hub-center::before{animation:hub-ring 2.8s var(--ease) infinite}
    .hub-in.is-in .hub-center::before{animation-delay:1.4s}
    @keyframes hub-spin{to{transform:rotate(360deg)}}
    @keyframes hub-pulse{0%{stroke-dashoffset:10;opacity:0}12%{opacity:1}88%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
    @keyframes hub-ring{0%{transform:scale(.86);opacity:.9}100%{transform:scale(1.25);opacity:0}}
}

/* Readout — one click, unpacked */
.readout{width:min(100%,460px);margin-inline:auto;padding:22px;border-radius:24px;background:var(--night-tile);box-shadow:0 0 0 1px rgba(255,255,255,.06),0 30px 60px -30px rgba(41,151,255,.45);text-align:start}
.readout-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08);font-weight:700;font-size:15px;color:var(--night-ink)}
.readout-head .latin{margin-inline-start:auto;font-size:13px;font-weight:600;color:var(--night-link)}
.readout-dot{position:relative;width:9px;height:9px;border-radius:50%;background:#30d158}
.readout dl{margin:6px 0 0}
.readout-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06);transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i) * .16s)}
.readout-row dt{font-size:14px;color:var(--night-ink-2)}
.readout-row dd{margin:0;font-size:15px;font-weight:700;color:var(--night-ink)}
.readout-row.is-good dd{color:#30d158}
.readout-result{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;padding:12px;border-radius:14px;background:rgba(41,151,255,.12);color:var(--night-link);font-weight:700;font-size:15px;transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i) * .16s + .1s)}
.readout-result .icon{width:20px;height:20px}
.js .readout[data-reveal]:not(.is-in) .readout-row,.js .readout[data-reveal]:not(.is-in) .readout-result{opacity:0;transform:translateY(10px)}
@media (prefers-reduced-motion:no-preference){
    .readout.is-in .readout-dot::after{content:'';position:absolute;inset:-5px;border-radius:50%;border:1.5px solid #30d158;animation:hub-ring 1.8s var(--ease) infinite}
}
.split-night{display:grid;gap:40px;align-items:center;max-width:980px;margin:48px auto 0}
.split-night .band-copy h3{font-size:clamp(22px,5.6vw,30px);line-height:1.35;color:var(--night-ink)}
.split-night .band-copy p{margin-top:12px;font-size:16px;line-height:1.85;color:var(--night-ink-2)}
.split-night .band-copy ul{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.split-night .band-copy li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--night-ink-2)}
.split-night .band-copy li .icon{flex:none;width:22px;height:22px;color:var(--night-link)}

@media (min-width:761px){
    .route{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;height:calc(var(--n) * 116px + 24px);margin-top:72px}
    .route-lines{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible}
    .route-base{fill:none;stroke:rgba(41,151,255,.2);stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke .5s ease}
    .route-pulse{fill:none;stroke:var(--night-link);stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:7 100;stroke-dashoffset:7;opacity:0}
    .route-col{display:grid;grid-template-rows:repeat(var(--n),1fr);align-items:center;justify-items:center;gap:0;height:100%;width:auto}
    .route-sources .route-node:only-child{grid-row:1/-1}
    .route-node{width:min(100%,230px);padding:16px 18px;gap:14px}
    .route-node small{display:block;margin-top:2px;font-size:12px;color:var(--night-ink-2)}
    .route-node b{font-size:15px}
    .route-hub{justify-content:center;padding:0}
    .route-hub::before,.route-hub::after{display:none}
    .route-core{padding:22px 28px}
    .route-cycle .route-base.route-out:not(.is-active){stroke:rgba(41,151,255,.08)}
    .route-cycle .route-base.route-out.is-active{stroke:rgba(41,151,255,.55)}
    .split-night{grid-template-columns:1fr 1fr;gap:64px}
    .readout{padding:28px}
}
@media (min-width:761px) and (prefers-reduced-motion:no-preference){
    .route.is-in .route-pulse{animation:route-pulse 2.6s var(--ease) infinite;animation-delay:calc(var(--i) * .2s)}
    .route.is-in .route-pulse.route-out{animation-delay:calc(1.1s + var(--i) * .2s)}
    .route-cycle.is-in .route-pulse.route-out:not(.is-active){animation:none;opacity:0}
    .route-cycle.is-in .route-pulse.route-out.is-active{animation-delay:1.1s}
    @keyframes route-pulse{0%{stroke-dashoffset:7;opacity:0}10%{opacity:1}88%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
}
.route.is-paused *,.route.is-paused::before,.hub.is-paused *,.hub.is-paused .hub-center::before{animation-play-state:paused!important}
.route-hub.is-paused::before,.route.is-paused .route-hub::before,.route.is-paused .route-hub::after{animation-play-state:paused}
.flow-node b{overflow-wrap:anywhere}

/* The bar turns dark while a dark section passes under it */
.nav{transition:background-color .35s ease,border-color .35s ease}
.nav-dark:not(.panel-open):not(.nav-open) .nav{background:rgba(22,22,23,.78);border-bottom-color:rgba(255,255,255,.08)}
.nav-dark:not(.panel-open):not(.nav-open) .brand img{filter:invert(1) hue-rotate(180deg) brightness(1.4)}
.nav-dark:not(.panel-open):not(.nav-open) :is(.nav-trigger,.nav-direct,.nav-cta .login,.nav-toggle){color:#f5f5f7}

/* While public sign-up is off, the claim form becomes a request for an account */
.claim-closed{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;margin-top:28px}

/* Contact page: one channel, centred */
.contact.contact-single{display:flex;justify-content:center}
.contact-whatsapp{width:min(100%,340px)}
.contact-whatsapp .icon{color:#25d366}
.contact-whatsapp .latin{font-size:20px;font-weight:600;color:var(--ink);direction:ltr;unicode-bidi:isolate}
.contact-whatsapp small{font-size:14px;color:var(--link)}
.tile-bg .contact-card{background:var(--white)}
.contact-whatsapp .icon{width:40px;height:40px}

/* ==========================================================================
   The app: platform badges, footer strip, phone banner, download page
   ========================================================================== */
.app-badges{display:flex;flex-wrap:wrap;gap:10px}
.app-badge{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:8px 18px 8px 20px;border-radius:14px;background:var(--ink);color:#fff;text-align:start;transition:transform .25s var(--ease),background-color .25s ease}
.app-badge:hover{text-decoration:none;transform:translateY(-2px);background:#000}
.app-badge .brand-glyph{flex:none;width:26px;height:26px;fill:#fff}
.app-badge span{display:flex;flex-direction:column;line-height:1.25}
.app-badge small{font-size:11px;opacity:.75}
.app-badge b{font-size:17px}
.app-badges.on-dark .app-badge{background:#fff;color:var(--ink)}
.app-badges.on-dark .app-badge .brand-glyph{fill:var(--ink)}
.app-badges.on-dark .app-badge:hover{background:#f5f5f7}
.band-app .app-badges{margin-top:24px}

/* Footer strip */
.footer-app{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px 14px;padding:18px 0 20px;border-bottom:1px solid var(--line)}
.footer-app img{width:44px;height:44px;border-radius:11px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.footer-app-copy b{display:block;font-size:15px;color:var(--ink)}
.footer-app-copy span{font-size:13px}
.footer-app .app-badges{grid-column:1/-1}
.footer-app .app-badge{min-height:44px;padding:6px 14px 6px 16px}
.footer-app .app-badge b{font-size:15px}
.footer-app .app-badge .brand-glyph{width:22px;height:22px}

/* Phone banner: slides up from the bottom, once, until dismissed */
.app-banner{position:fixed;inset-inline:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:10px 10px 10px 14px;border-radius:20px;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);box-shadow:0 1px 2px rgba(0,0,0,.08),0 18px 40px -12px rgba(0,0,0,.35);transform:translateY(140%);transition:transform .6s var(--ease)}
.app-banner[hidden]{display:none}
.app-banner.is-shown{transform:none}
.app-banner img{width:44px;height:44px;border-radius:11px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.app-banner-copy{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.app-banner-copy b{font-size:14px}
.app-banner-copy span{font-size:12px;color:var(--ink-2)}
.app-banner:not([data-platform=android]) [data-banner-for=android],.app-banner:not([data-platform=iphone]) [data-banner-for=iphone]{display:none}
.app-banner-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--ink-2);cursor:pointer}
.app-banner-close .icon{width:18px;height:18px}

/* Download page */
.hero-download{padding-bottom:72px}
.app-mark{width:84px;height:84px;margin:0 auto 22px;border-radius:21px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 18px 40px -16px rgba(0,0,0,.35)}
.platform{max-width:980px;margin:36px auto 0}
.platform-switch{margin-bottom:24px}
.platform-switch button{display:inline-flex;align-items:center;gap:8px;min-width:120px;justify-content:center}
.platform-switch .brand-glyph{width:16px;height:16px;fill:currentColor}
.platform[data-platform=android] .platform-panel:not([data-for=android]),.platform[data-platform=iphone] .platform-panel:not([data-for=iphone]){display:none}
.download-button{gap:10px}
.download-button .icon,.download-button .brand-glyph{width:22px;height:22px;fill:currentColor}
.download-button .icon{fill:none}
.download-meta{margin-top:12px;font-size:14px;color:var(--ink-2)}

/* Install walkthrough: a phone that acts out each step */
.walk{display:grid;justify-items:center;gap:28px;margin-top:40px}
.walk-steps{display:grid;gap:6px;width:100%;max-width:440px;margin:0;padding:0;list-style:none;order:2}
.walk-steps button{display:flex;align-items:flex-start;gap:14px;width:100%;padding:14px 16px;border:0;border-radius:18px;background:transparent;color:var(--ink-2);font:inherit;text-align:start;cursor:pointer;transition:background-color .3s ease,color .3s ease}
.walk-steps button[aria-pressed=true]{background:var(--tile);color:var(--ink)}
.walk-num{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8e8ed;color:var(--ink);font-weight:700;font-size:15px;transition:background-color .3s ease,color .3s ease}
.walk-steps button[aria-pressed=true] .walk-num{background:var(--blue);color:#fff}
.walk-steps b{display:block;font-size:17px;color:var(--ink)}
.walk-steps b + span{display:block;margin-top:2px;font-size:15px;line-height:1.7}
.walk-phone{order:1;width:250px;height:510px;padding:10px;border-radius:44px;background:#1d1d1f;box-shadow:0 2px 4px rgba(0,0,0,.08),0 30px 60px -18px rgba(0,0,0,.35)}
.walk-screen{position:relative;height:100%;border-radius:35px;overflow:hidden;background:#fff}
.walk-phone.ios .walk-screen::before{content:'';position:absolute;top:10px;left:50%;z-index:3;width:84px;height:24px;translate:-50% 0;border-radius:20px;background:#1d1d1f}
.walk-layer{position:absolute;inset:0;transition:opacity .5s var(--ease)}
.walk[data-step="1"] .walk-layer:not([data-for="1"]),.walk[data-step="2"] .walk-layer:not([data-for="2"]),.walk[data-step="3"] .walk-layer:not([data-for="3"]){opacity:0;pointer-events:none}
.mock-bar{margin:40px 14px 0;padding:8px 12px;border-radius:12px;background:var(--tile);font-size:11px;color:var(--ink-2);text-align:center}
.mock-page{display:grid;gap:10px;padding:22px 18px}
.walk-phone.ios .mock-page{padding-top:52px}
.mock-page i{display:block;height:12px;border-radius:6px;background:#ececf0}
.mock-page i:first-child{height:90px;border-radius:16px;background:linear-gradient(135deg,#e8f2ff,#f5f5f7)}
.mock-page i.short{width:60%}
.mock-page.dim{filter:brightness(.6)}
.walk-dialog{background:rgba(0,0,0,.35)}
.mock-download{position:absolute;inset-inline:12px;top:120px;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:#fff;box-shadow:0 10px 30px -10px rgba(0,0,0,.35);text-align:start}
.mock-download .icon{flex:none;width:22px;height:22px;color:var(--blue)}
.mock-download span{flex:1;min-width:0}
.mock-download b{display:block;font-size:12px;color:var(--ink)}
.mock-download em{display:block;height:5px;margin-top:6px;border-radius:5px;background:#ececf0;overflow:hidden}
.mock-download em i{display:block;height:100%;width:100%;border-radius:5px;background:var(--blue);transform-origin:right;transform:scaleX(1)}
.mock-sheet{position:absolute;inset-inline:10px;bottom:12px;padding:16px;border-radius:24px;background:#fff;text-align:center;transition:transform .6s var(--ease)}
.mock-sheet img{display:block;width:48px;height:48px;margin:0 auto 8px;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.mock-sheet > b{display:block;font-size:15px}
.mock-sheet > span{display:block;margin-top:4px;font-size:12px;color:var(--ink-2)}
.mock-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.mock-actions span{padding:9px;border-radius:12px;background:var(--tile);font-size:13px;font-weight:700}
.mock-sheet.ios{padding:10px;border-radius:18px;background:#f2f2f7;text-align:start}
.mock-sheet-head{display:flex;align-items:center;gap:10px;padding:8px 8px 12px}
.mock-sheet-head img{width:40px;height:40px;margin:0;border-radius:10px}
.mock-sheet-head b{display:block;font-size:13px}
.mock-sheet-head small{font-size:11px;color:var(--ink-2)}
.mock-row{display:flex;align-items:center;gap:10px;margin-top:6px;padding:11px 12px;border-radius:12px;background:#fff;font-size:13px}
.mock-row .icon{flex:none;width:20px;height:20px;color:var(--ink-2)}
.mock-row small{display:block;font-size:10px;color:var(--ink-2)}
.is-hot{position:relative;box-shadow:0 0 0 2px var(--blue)}
.mock-actions .is-hot{background:var(--blue);color:#fff;box-shadow:none}
.mock-safari{position:absolute;inset-inline:0;bottom:0;padding:10px 12px 14px;background:rgba(246,246,248,.96);border-top:1px solid rgba(0,0,0,.06)}
.mock-safari > span{display:block;padding:7px;border-radius:10px;background:#e4e4e9;font-size:11px;color:var(--ink);text-align:center}
.mock-tools{display:flex;justify-content:space-around;align-items:center;margin-top:10px}
.mock-tools i{width:14px;height:14px;border-radius:4px;background:#c7c7cc}
.mock-share{position:relative;display:grid;place-items:center;width:30px;height:30px;color:var(--blue)}
.mock-share .icon{width:22px;height:22px}
.mock-share::after{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--blue);opacity:0}
.walk-home{background:linear-gradient(160deg,#1e3a5f,#3b2c63 55%,#6b2d4f)}
.home-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 10px;padding:56px 16px 0}
.home-app{display:flex;flex-direction:column;align-items:center;gap:4px}
.home-app i{display:block;width:44px;height:44px;border-radius:12px;background:var(--c);opacity:.85}
.home-app img{width:44px;height:44px;border-radius:12px;background:#fff}
.home-app small{font-size:9px;color:#fff;white-space:nowrap}
.home-new{transform-origin:center}
.home-dock{position:absolute;inset-inline:12px;bottom:12px;display:flex;justify-content:space-around;padding:10px;border-radius:24px;background:rgba(255,255,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.home-dock i{width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.55)}
@media (prefers-reduced-motion:no-preference){
    .walk[data-step="1"] .mock-download em i{animation:fill-download 2.4s var(--ease) both}
    .walk[data-step="1"] .mock-share::after{animation:hub-ring 1.6s var(--ease) infinite}
    .walk[data-step="2"] .mock-sheet{animation:sheet-up .7s var(--ease) both}
    .walk[data-step="3"] .home-new{animation:app-pop .8s .2s var(--ease) both}
    @keyframes fill-download{from{transform:scaleX(0)}}
    @keyframes sheet-up{from{transform:translateY(110%)}}
    @keyframes app-pop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.15);opacity:1}100%{transform:scale(1)}}
}

/* Desktop: scan to open on the phone */
.scan-card{display:none}
.checksum{margin-top:36px;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.checksum .latin{font-size:11px;color:var(--ink-2)}

/* iPhone hint: points at Safari's share button below the page */
.ios-hint{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:70;display:flex;flex-direction:column;align-items:center;gap:6px;width:min(88vw,300px);padding:14px 16px;translate:-50% 0;border-radius:18px;background:var(--ink);color:#fff;font-size:14px;line-height:1.6;text-align:center;box-shadow:0 20px 40px -12px rgba(0,0,0,.5)}
.ios-hint::after{content:'';position:absolute;bottom:-7px;left:50%;width:14px;height:14px;translate:-50% 0;rotate:45deg;background:var(--ink)}
.ios-hint button{border:0;background:none;color:var(--night-link);font:inherit;font-size:13px;cursor:pointer}
@media (prefers-reduced-motion:no-preference){
    .ios-hint{animation:hint-bob 1.6s var(--ease) infinite alternate}
    @keyframes hint-bob{to{transform:translateY(-6px)}}
}

/* Homepage band: the panel in a pocket */
.pocket{width:min(100%,300px);padding:10px;border-radius:44px;background:#2a2a2c;box-shadow:0 40px 80px -30px rgba(41,151,255,.35)}
.pocket-screen{position:relative;display:grid;gap:10px;padding:44px 14px 72px;border-radius:35px;background:#f5f5f7;color:var(--ink);text-align:start}
.pocket-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px 4px}
.pocket-head b{font-size:17px}
.pocket-head span{font-size:12px;color:var(--ink-2)}
.pocket-row{display:grid;grid-template-columns:1fr auto;gap:8px 10px;padding:12px 14px;border-radius:16px;background:#fff}
.pocket-row span{font-size:13px;color:var(--link)}
.pocket-row b{font-size:15px}
.pocket-row i{grid-column:1/-1;display:block;height:6px;border-radius:6px;background:linear-gradient(to left,var(--blue) var(--w),#ececf0 var(--w))}
.pocket-fab{position:absolute;inset-inline-start:14px;bottom:16px;display:flex;align-items:center;gap:6px;padding:10px 16px;border-radius:980px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 24px -8px rgba(0,113,227,.6)}
.pocket-fab .icon{width:18px;height:18px}

@media (min-width:761px){
    .footer-app{grid-template-columns:auto 1fr auto;gap:16px;padding:20px 0 24px}
    .footer-app .app-badges{grid-column:auto}
    .app-banner{display:none!important}
    .walk{grid-template-columns:1fr auto;align-items:center;gap:56px;max-width:860px;margin-inline:auto;margin-top:48px}
    .walk-steps{order:0}
    .walk-phone{order:0;width:270px;height:550px}
    .scan-card{display:flex;align-items:center;gap:18px;max-width:460px;margin:56px auto 0;padding:18px 22px;border-radius:22px;background:var(--tile);text-align:start}
    .scan-card .qr{flex:none;width:108px;height:108px;border-radius:12px}
    .scan-card b{display:block;font-size:16px}
    .scan-card span{display:block;margin-top:4px;font-size:14px;line-height:1.7;color:var(--ink-2)}
    .ios-hint{display:none}
}
