/* PostMo homepage. Colours mirror the app (mobile/lib/theme.dart, same values as theme.css): purple #5E169A for the accent and filled button, white page, deep purple #260450. */
:root{--accent:#5E169A;--btn:#5E169A;--btn-fg:#fff;--btn-dark:#B794FF;--btn-dark-fg:#0B0620;--ink:#1B1530;--muted:#6B6678;--body:#49454F;--soft:#F5ECFB;--line:#E3E3EA;--green:#2E9E6A;--link:#5E169A;--wordmark:#2A0A5E;--head:'Bricolage Grotesque',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--body);font:16px/1.5 'Inter',system-ui,-apple-system,sans-serif}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
a{color:var(--link)}a:hover{color:#47106F}
h1,h2,h3{color:var(--ink)}
img{max-width:100%;display:block}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px;border-radius:6px}
.in{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--head);margin:0}
#example h2 [data-ex=name]{color:#7B2FF2}
.eyebrow{font-size:14px;font-weight:600;color:var(--link);letter-spacing:.06em;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 28px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;background:var(--btn);color:var(--btn-fg);border:1.5px solid var(--btn);transition:opacity .15s,transform .15s}
.btn:hover{color:var(--btn-fg);opacity:.9;transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--btn);border-color:var(--btn)}
.btn.ghost:hover{color:var(--btn)}
.btn svg{flex:none}

/* nav */
.nav{border-bottom:1px solid var(--line)}
.nav .in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding-top:16px;padding-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--wordmark);font:italic 800 26px 'Plus Jakarta Sans',var(--head);letter-spacing:-.03em}
.brand:hover{color:var(--wordmark)}
.wm{display:inline-block;font-family:'Plus Jakarta Sans',-apple-system,'Segoe UI',Roboto,sans-serif;font-style:italic;font-weight:800;letter-spacing:-.03em;color:#8B52DB;white-space:nowrap}
.wm b{font-weight:800;color:#4B0C93}
.wm sup{display:inline-block;vertical-align:top;margin-left:.08em;padding:.12em .45em;border-radius:.5em;background:#5B0FD9;color:#fff;font-size:.36em;font-weight:800;letter-spacing:0;line-height:1.15;position:relative;top:.1em}
.wm.on-dark b{color:#fff}
.brand .mark{height:34px;width:auto;flex:none}
.nav nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px;font-size:15px;font-weight:500}
.nav nav a{color:var(--body);text-decoration:none;padding:10px 0}
.navcta{display:flex;justify-content:center;padding:0 24px 16px}.navcta .btn{min-height:46px;padding:10px 26px;font-size:15px}
.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:transparent;border:1.5px solid var(--line);border-radius:12px;color:var(--ink);cursor:pointer}
.nav-toggle svg{display:block}
.nav-toggle .x{display:none}
.nav.open .nav-toggle .bars{display:none}
.nav.open .nav-toggle .x{display:block}
.nav nav a.pill{background:var(--btn);color:var(--btn-fg);padding:0 20px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center;font-weight:700}

/* hero */
.hero{background:var(--soft)}
.hero .in{display:flex;flex-direction:column;align-items:center;gap:48px;padding-top:72px;padding-bottom:80px}
.hero .in>*{min-width:0;max-width:100%}
.hero .copy{display:contents}
.hero .in{text-align:center;gap:28px}
.hero h1{order:2}.hero h1 .sell{display:inline-block;color:#7B2FF2;position:relative;padding-bottom:.18em}.hero h1 .sell:after{content:"";position:absolute;left:8%;right:8%;bottom:0;height:.09em;border-radius:99px;background:linear-gradient(90deg,transparent,#7B2FF2 20%,#7B2FF2 80%,transparent)}.hero .cta-row{order:4;margin-top:0}.hero .cta-row .btn.ghost{order:-1}.hero .in>.info-wrap{order:3;margin:8px 0}.hero p.lead{order:5}.hero .checks{order:6}
.badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #E3E3EA;border-radius:999px;padding:6px 14px 6px 8px;font-size:14px;font-weight:500;color:var(--muted)}
.badge b{background:var(--btn);color:var(--btn-fg);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}
.hero h1{font-weight:800;font-size:clamp(38px,6vw,64px);line-height:1.02;letter-spacing:-.035em}
.hero p.lead{margin:0;font-size:19px;color:var(--muted);max-width:620px}
.cta-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:4px}
.checks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;font-size:14px;color:var(--muted);margin:0;padding:0;list-style:none}
.checks li{display:inline-flex;align-items:center;gap:6px}
/* Hero infographic: every size is in em and the font size follows the card's width, so it scales like one image and reads left to right on phones too. */
.hero .in>.info-wrap{width:100%;max-width:1040px;container-type:inline-size}
.info{font-size:min(19px,calc(100cqw / 52));width:100%;background:#fff;border:1px solid #E3E3EA;border-radius:1.8em;padding:1.6em;box-shadow:0 .8em 2.6em rgba(27,21,48,.08);display:flex;flex-direction:column;gap:1.4em;line-height:1.25;color:var(--ink)}
.info svg{flex:none}
.i-photo{margin:0;position:relative;flex:none}
.i-tag{position:absolute;z-index:1;top:-.7em;left:-.5em;background:var(--btn);color:#fff;font-size:.9em;font-weight:700;padding:.25em .8em;border-radius:.5em;transform:rotate(-4deg)}
.i-feats{list-style:none;margin:0;padding:.7em .4em;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--soft);border-radius:1em}
.i-feats li{display:flex;align-items:center;justify-content:center;gap:.5em;font-weight:700;font-size:.95em;padding:.2em .4em}
.i-feats li+li{border-left:1px solid #D9C8EA}
.i-feats svg{width:1.5em;height:1.5em;color:var(--accent)}




.ph-box{width:11em;aspect-ratio:4/5;border-radius:1.1em;overflow:hidden;background:#E6E6EB;border:.2em solid #fff;box-shadow:0 .5em 1.5em rgba(27,21,48,.15)}
.ph-box img{width:100%;height:100%;object-fit:cover}

.arr{width:2.2em;height:2.2em;color:var(--accent);stroke-width:2.2}
.arr.big{width:4.4em;height:3.2em;color:#7A2F3A;color:#6D2AB0;margin:0 -.6em 0 -.4em;align-self:center;transform:translateY(-.8em) scaleY(-1)}
.i-hero{display:flex;align-items:center;justify-content:center;gap:.3em;padding:1em .2em .2em}
.i-cards{display:flex;align-items:stretch;flex:none;padding-right:.5em}
.i-story{position:relative;width:11.5em;flex:none;margin-left:-1.8em;border-radius:1em;overflow:hidden;border:.18em solid #fff;background:#222;transform:rotate(4deg);box-shadow:0 .8em 2em rgba(27,21,48,.22);z-index:2}
.is-top{position:absolute;z-index:2;top:.5em;left:.5em;right:.5em;display:flex;align-items:center;gap:.4em}.is-top .ip-ic svg{width:1.6em;height:1.6em}
.is-top .bars{flex:1;display:flex;gap:.2em}.is-top .bars u{flex:1;height:.25em;border-radius:99px;background:rgba(255,255,255,.55);text-decoration:none}.is-top .bars u:first-child{background:#fff}
.i-story img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.i-branch{width:2.6em;height:8em;flex:none;color:#9B7BC4}
.i-plat{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:space-between;gap:.5em;height:8em;flex:none}
.i-plat li{display:flex;align-items:center;gap:.5em;background:#fff;border:1px solid var(--line);border-radius:.8em;padding:.35em .7em;font-weight:700;font-size:.9em;box-shadow:0 .25em .8em rgba(27,21,48,.08);white-space:nowrap}
.i-plat svg{width:1.5em;height:1.5em}.i-plat .more{width:1.5em;height:1.5em;border-radius:99px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-weight:800}
.i-photo .ph-box{transform:rotate(-5deg);width:9em}
.i-post{width:11.5em;flex:none;z-index:1;background:#fff;border:1px solid var(--line);border-radius:1.1em;padding:.7em;transform:rotate(-3deg);box-shadow:0 .8em 2em rgba(27,21,48,.16)}
.ip-top{display:flex;align-items:center;gap:.6em;margin-bottom:.6em}
.ip-ic{display:flex;gap:.3em}.ip-ic svg{width:1.7em;height:1.7em}
.ip-l{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25em}.ip-l b{font-size:.85em;line-height:1.1;color:var(--muted);white-space:nowrap}.ip-l u{display:block;width:45%;height:.35em;border-radius:99px;background:#E6E6EB;text-decoration:none}
.ip-dots{color:#B5B5C0;font-size:.8em;letter-spacing:.1em}
.ip-cap{display:flex;flex-direction:column;gap:.35em;margin-bottom:.6em}.ip-cap u{display:block;height:.4em;border-radius:99px;background:#E6E6EB;text-decoration:none}.ip-cap u.s{width:55%}
.i-post img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:.5em}
.ip-foot{display:flex;justify-content:space-between;gap:.8em;padding:.7em .3em .2em}.ip-foot u{display:block;flex:1;height:.5em;border-radius:99px;background:#E6E6EB;text-decoration:none}
.i-feats{list-style:none;margin:0;padding:.7em .4em;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--soft);border-radius:1em}
.i-feats li{display:flex;align-items:center;justify-content:center;gap:.5em;font-weight:700;font-size:1em;padding:.2em .4em;white-space:nowrap}
.i-feats li+li{border-left:1px solid #D9C8EA}
.i-feats svg{width:1.6em;height:1.6em;color:var(--accent)}

/* sections */
section.pad .in{padding-top:96px;padding-bottom:96px}
.sec-head{display:flex;flex-direction:column;gap:14px;max-width:720px}
.sec-head h2,.center h2{font-weight:800;font-size:clamp(30px,4.4vw,46px);line-height:1.05;letter-spacing:-.03em}
.sec-head p{margin:0;font-size:18px;color:var(--muted)}

/* live example */
#example .in{display:flex;flex-direction:column;gap:48px}
.cols{display:flex;flex-wrap:nowrap;gap:28px;align-items:stretch;position:relative;max-width:none;width:100%;margin:0}
.cols button.to{padding:0;font:inherit;cursor:pointer}
.cols .to{flex:none;width:52px;height:52px;margin:auto -26px;z-index:2;border-radius:999px;background:var(--btn);color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px rgba(94,22,154,.35);border:3px solid #fff}
.card{min-width:0;border-radius:24px;padding:0;display:flex;flex-direction:column;gap:14px}
.card.before{flex:1 1 0;min-width:0}
.card.after{flex:1 1 0;gap:16px}
.card .row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.card .row b{font:700 20px var(--head)}
.card .row span{font-size:13px;color:var(--muted)}
.card.before p{margin:0;font-size:14px;color:var(--muted)}
.live{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#1F6B41;font-weight:600}
.live i{width:8px;height:8px;border-radius:999px;background:var(--green)}
.ex-card{max-width:1100px;width:100%;margin:0 auto;background:var(--soft);border:1px solid #E3E3EA;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:22px}
.live-title{display:flex;justify-content:center}.live-hint{margin:-16px 0 0;text-align:center;font-size:13px;color:var(--muted);white-space:nowrap}.live-title .live{font:700 24px var(--head);color:var(--ink);gap:10px}.live-title .live i{width:10px;height:10px}.live-title .live span{font:inherit;color:inherit}
/* Your photo beside the animated demo, in the preview page's style. The frame mirrors the preview page's; the demo's own styles come with demo.json. */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:10px}.duo.one{grid-template-columns:minmax(0,1fr)}
.pn{margin:0;min-width:0}.pn[hidden]{display:none}
.pn figcaption{text-align:center;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:8px}
.fr{--demo-ratio:1179/2556;position:relative;aspect-ratio:var(--demo-ratio);border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#F3F4F6}
.fr img{position:absolute;inset:0;width:100%;height:100%}.fr .fg{object-fit:contain;z-index:1}.fr .bg{object-fit:fill;-webkit-filter:blur(22px) saturate(1.3) brightness(1.08);filter:blur(22px) saturate(1.3) brightness(1.08);transform:translateZ(0) scale(1.15)}
.fr.fit{container-type:size}.fr.fit .fg{object-fit:cover;inset:auto;left:0;top:50%;transform:translateY(-50%);height:auto;min-height:min(125cqw,100cqh);max-height:100cqh}
.card.before{align-self:stretch;container-type:inline-size}.duo.one{flex:1;display:flex;min-height:0;margin-bottom:22px}.duo.one .pn figcaption{height:calc(min(19px,3.68cqw) * 3.2);margin:0;display:flex;align-items:center;justify-content:center}.duo.one .pn{flex:1;display:flex;flex-direction:column;min-width:0}.duo.one .fr{flex:1;aspect-ratio:auto;min-height:0;width:100%}
.duo.one .fr.fit .fg{object-fit:contain;inset:0;left:0;top:0;transform:none;height:100%;min-height:0;max-height:none}

.tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px}
.tab{min-height:44px;min-width:0;border:0;border-radius:9px;background:transparent;color:var(--ink);font:600 13px 'Inter',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 4px;white-space:nowrap;transition:color .2s}
.tab svg{width:16px;height:16px;flex:none}
.tab{position:relative;z-index:1}.tab[aria-selected=true]{background:var(--btn);color:var(--btn-fg)}.js .tab[aria-selected=true]{background:transparent}
.tabs{position:relative;width:100%;margin:0;background:#fff}.ind{display:none;position:absolute;z-index:0;left:0;top:0;border-radius:9px;background:var(--btn);pointer-events:none}
.js .ind{display:block}
.card.after{container-type:inline-size}
@container (max-width:410px){.tab{font-size:12px;gap:3px}.tab svg{display:none}}
.soc{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:14px;padding:4px 4px 22px;margin:0 -4px}
.soc::-webkit-scrollbar{display:none}
.panel{flex:0 0 100%;min-width:0;scroll-snap-align:center;display:flex}
.pw{width:100%;max-width:520px;margin:0 auto;display:flex;flex-direction:column}.pw.s{max-width:270px}
.pf{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:800;margin:0 0 10px;color:var(--ink)}
.pf svg{width:20px;height:20px;flex:none}.pf>span:not(.vp){white-space:nowrap}
.vp{margin:0 0 0 auto;white-space:nowrap;border-radius:999px;padding:6px 14px;min-height:34px;display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:var(--btn-fg);text-decoration:none;background:var(--btn)}
.vp:hover{color:var(--btn-fg);opacity:.9}.vp[hidden]{display:none}
.post{width:100%;flex:1;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.ph{display:flex;align-items:center;gap:10px;padding:12px 14px}
.av{width:36px;height:36px;border-radius:999px;background:var(--btn);color:#fff;display:grid;place-items:center;font-weight:600;flex:none}
.av.ring{background:none;border:2px solid var(--accent);padding:2px;width:32px;height:32px}
.av.ring i{display:block;width:100%;height:100%;border-radius:999px;background:var(--ink)}.ph .av.ring{margin-right:4px}.story .who i{margin-right:3px}
.ph b{display:block;font-size:14px;line-height:1.3}.ph small{font-size:12px;color:var(--muted)}
.post .txt{--pb:.86em;white-space:pre-wrap;word-break:break-word;position:relative;overflow:hidden;padding:0 1em;flex:1 1 0;min-height:2.9em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines,2);font-size:14px;line-height:1.45;margin:0 0 var(--pb)}
.post .txt.nogrow{flex:none}.post:has(.txt.nogrow) img.m{flex:1 0 auto}
.post .txt .more{color:var(--muted);font-weight:600;white-space:nowrap}
.tags{color:#1D5FB8}
.post img.m{flex:none;width:100%;aspect-ratio:1/1;object-fit:cover}
.post .acts{display:flex;justify-content:space-around;padding:10px;border-top:1px solid var(--line);font-size:13px;font-weight:600;color:var(--muted)}
.post .igi{display:flex;gap:16px;padding:10px 14px 4px}
.story{position:relative;width:100%;aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#222}
.story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story:before{content:"";position:absolute;inset:0 0 65% 0;background:linear-gradient(rgba(0,0,0,.5),transparent);z-index:1}
.story .bar{position:absolute;z-index:2;top:10px;left:10px;right:10px;height:3px;border-radius:2px;background:rgba(255,255,255,.45)}
.story .bar:after{content:"";display:block;width:40%;height:100%;border-radius:2px;background:#fff}
.story .who{position:absolute;z-index:2;top:22px;left:12px;display:flex;align-items:center;gap:8px;color:#fff;font-size:10px;font-weight:400;opacity:.75;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.story .who i{width:28px;height:28px;border-radius:999px;background:var(--ink);border:1.5px solid #fff}
.links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.links a{font-size:14px;font-weight:600;text-decoration:none;padding:10px 14px;border-radius:10px;background:#fff;border:1px solid #E3E3EA;min-height:44px;display:inline-flex;align-items:center}
.band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:var(--btn);color:#fff;border-radius:20px;padding:24px 28px}
.band b{font:700 24px var(--head)}
.band .btn{background:#fff;border-color:#fff;color:var(--btn);font-size:16px;min-height:48px;padding:12px 24px}

/* how */
#how{background:#F6F6F8}
.center{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}
.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:48px}
.three>div{background:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px}
.three .top{display:flex;align-items:center;justify-content:space-between}
.ico{width:52px;height:52px;border-radius:14px;background:#E6CCF5;display:grid;place-items:center}
.three .num{font:800 40px var(--head);color:#E6CCF5}
.three h3{font-weight:700;font-size:24px}
.three p{margin:0;color:var(--muted)}

/* features */
#features .in{display:flex;flex-direction:column;gap:40px}
#features h2{font-weight:800;font-size:clamp(30px,4.4vw,46px);line-height:1.05;letter-spacing:-.03em;max-width:640px}
.feats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.feats div{border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px}
.feats i{width:10px;height:10px;border-radius:3px;background:var(--accent)}
.feats h3{font:600 18px 'Inter',sans-serif}
.feats p{margin:0;font-size:15px;color:var(--muted)}
.auto{display:flex;flex-wrap:wrap;gap:32px;align-items:center;background:#1C0338;color:#fff;border-radius:28px;padding:40px}
.auto .l{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.auto .tag{align-self:flex-start;background:var(--btn-dark);color:var(--btn-dark-fg);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:600}
.auto h3{color:#fff;font-weight:800;font-size:clamp(26px,3.4vw,36px);line-height:1.08;letter-spacing:-.02em}
.auto p{margin:0;color:#D9D2F0;font-size:17px}
.auto .r{flex:1 1 340px;min-width:0;background:#3A0F66;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px}
.auto .hdr{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#D9D2F0}
.auto .hdr b{color:#8FD3A8;font-weight:600}
.auto .g{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.auto .g img{aspect-ratio:1/1;border-radius:10px;object-fit:cover;width:100%;background:#3A0F66}
.auto .d{font-size:12px;color:#B3A9D6;text-align:center}
.auto .appr{margin-top:6px;background:var(--btn-dark);color:var(--btn-dark-fg);border-radius:999px;padding:14px;font-weight:700;font-size:16px;min-height:48px;text-align:center}

/* final */
#final{background:var(--soft)}
#final .in{max-width:900px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
#final h2{font-weight:800;font-size:clamp(34px,5.4vw,56px);line-height:1.02;letter-spacing:-.035em}
#final p{margin:0;font-size:19px;color:var(--muted);max-width:560px}
#final .btn{font-size:18px;min-height:56px;padding:18px 30px}
.stores{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:6px}
.store{display:flex;align-items:center;gap:10px;background:var(--ink);color:#fff;border-radius:12px;padding:10px 16px;text-align:left}
.store small{display:block;font-size:11px;color:#D9D2F0}.store b{font-size:15px}

footer{border-top:1px solid var(--line)}
footer .in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding-top:28px;padding-bottom:28px;font-size:14px;color:var(--muted)}
footer .l{display:flex;flex-wrap:wrap;gap:8px 20px}

/* the After posts scale with the card: sizes are in em */
.card.after .pw{font-size:min(19px,3.68cqw)}.card.after .pw.s{font-size:min(14px,4.9cqw)}
.pf{font-size:1.07em;gap:.57em;margin:0 0 .7em}.pf svg{width:1.43em;height:1.43em}
.vp{padding:.43em 1em;min-height:0;font-size:.86em}
.post{border-radius:1.14em}
.ph{gap:.7em;padding:.86em 1em}.av{width:2.57em;height:2.57em}.av.ring{width:2.3em;height:2.3em;border-width:.14em;padding:.14em}
.ph b{font-size:1em}.ph small{font-size:.86em}.post .txt{padding:0 1em;font-size:1em}.post .acts{padding:.7em;font-size:.93em}
.post .igi{gap:1.14em;padding:.7em 1em .3em}.post .igi svg{width:1.57em;height:1.57em}
.story{border-radius:1.57em}.story .bar{top:.7em;left:.7em;right:.7em;height:.21em}.story .who{top:1.57em;left:.86em;gap:.57em;font-size:.93em}.story .who i{width:2em;height:2em;border-width:1px}@media(min-width:721px){
  .hero .in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);column-gap:44px;row-gap:20px;align-items:center;align-content:center;text-align:left}
  .hero .in>.info-wrap{grid-column:2;grid-row:1/span 5;margin:0;max-width:none}
  .hero .in>*:not(.info-wrap){grid-column:1}
  .hero h1{font-size:clamp(24px,calc((100vw - 76px) * .031),50px);white-space:nowrap}
  .hero .cta-row,.hero .checks{justify-content:flex-start}
  .hero .cta-row{flex-wrap:nowrap;gap:10px}.hero .cta-row .btn{flex:0 1 auto;min-width:0;white-space:nowrap;padding:12px 20px}
}
@media(min-width:721px) and (max-width:1020px){
  .hero .cta-row .btn{padding:10px 12px;font-size:13px;min-height:44px;gap:5px}.hero .cta-row .btn svg{display:none}
  .hero p.lead{max-width:480px}
  .hero h1 .sell:after{left:0;right:15%}
}
@media(max-width:720px){
  .in{padding:0 16px}
  .hero .in{padding-top:40px;padding-bottom:48px;gap:36px}
  .cols{gap:12px}.cols .to{width:30px;height:30px;margin:auto -21px;border-width:2px}.cols .to svg{width:15px;height:15px}
  .card{padding:0;border-radius:16px;gap:8px}.card.after{gap:8px}.card .row b{font-size:14px}.card .row span{font-size:10px}.live-title .live{font-size:18px}.live-hint{margin-top:-10px}.ex-card{padding:12px;border-radius:20px;gap:14px}
  .card.before p{font-size:10px}.pn figcaption{font-size:11px;margin-bottom:5px}.fr{border-radius:10px}
  .soc{gap:8px;padding:2px 2px 8px;margin:0 -2px}.duo.one{margin-bottom:8px}
  .tab{font-size:11px;padding:0 2px}.tab svg{display:none}
  .hero .cta-row{gap:8px;flex-wrap:nowrap;width:100%}.hero .cta-row .btn{flex:1 1 auto;width:auto;min-width:0;min-height:42px;padding:9px 10px;font-size:13px;white-space:nowrap;gap:5px}.hero .cta-row .btn svg{display:none}
  .hero h1{font-size:calc((100vw - 32px) / 14);white-space:nowrap}
  section.pad .in{padding-top:56px;padding-bottom:56px}
  .nav .in{flex-wrap:wrap}
  .nav-toggle{display:inline-flex;margin-left:auto}
  .nav nav{display:none;flex-direction:column;align-items:stretch;flex-basis:100%;gap:0;font-size:16px;border-top:1px solid var(--line)}
  .nav.open nav{display:flex}
  .nav nav a{padding:14px 4px;border-bottom:1px solid var(--line)}
  .nav nav a:last-child{border-bottom:0}
  .btn{width:100%;justify-content:center}
  .navcta{padding:0 16px 14px}.navcta .btn{width:auto}
  .hero p.lead,#final p{font-size:17px}
  .auto{padding:24px 18px;border-radius:22px}
  .band{padding:20px}.band .btn{width:100%}
  .three{margin-top:32px}
}


/* Real example: Before and After shown on two phones */
@keyframes skl{0%,100%{opacity:1}50%{opacity:.5}}html.js :is(.card.after,.card.before)>*{opacity:0;transition:opacity .4s ease}html.js :is(.card.after,.card.before).rdy>*{opacity:1}html.js :is(.card.after,.card.before)::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:1;transition:opacity .4s ease;animation:skl 1.3s ease-in-out infinite}html.js :is(.card.after,.card.before).rdy::after{opacity:0;animation:none}html.js .card.after::after{background:linear-gradient(#E4E1EA,#E4E1EA) 14px 14px/34px 34px,linear-gradient(#E4E1EA,#E4E1EA) 58px 20px/44% 10px,linear-gradient(#E4E1EA,#E4E1EA) 58px 38px/28% 8px,linear-gradient(#E4E1EA,#E4E1EA) 14px 66px/82% 8px,linear-gradient(#E4E1EA,#E4E1EA) 14px 84px/74% 8px,linear-gradient(#E4E1EA,#E4E1EA) 14px 102px/52% 8px,linear-gradient(#E4E1EA,#E4E1EA) 0 126px/100% 58%;background-color:#fff;background-repeat:no-repeat}html.js .card.before::after{background:#EEECF3}@media(prefers-reduced-motion:reduce){html.js :is(.card.after,.card.before)::after{animation:none}html.js :is(.card.after,.card.before)>*,html.js :is(.card.after,.card.before)::after{transition:none}}


.ex-card .cols{max-width:660px;margin:0 auto;gap:40px;align-items:flex-start}
.card.before,.card.after{position:relative;flex:1 1 0;min-width:0;aspect-ratio:9/18.5;border:7px solid #2B2B31;border-radius:36px;background:#fff;overflow:hidden;box-shadow:0 18px 40px rgba(27,21,48,.22);padding:0;gap:0}
.card.before::before,.card.after::before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:26%;height:15px;border-radius:99px;background:#17171B;z-index:4}
.card.before .row,.card.after .row{position:absolute;top:34px;left:0;right:0;justify-content:center;z-index:3;pointer-events:none}
.card.before .row b,.card.after .row b{font:700 12px var(--head);color:var(--ink);background:rgba(255,255,255,.92);padding:3px 12px;border-radius:99px}
.card.before .duo.one{position:absolute;inset:0;margin:0;display:block}
.card.before .duo.one .pn{height:100%;display:block}
.card.before .duo.one .pn figcaption{display:none}
.card.before .duo.one .fr{height:100%;width:100%;border:0;border-radius:0;aspect-ratio:auto;min-height:0}
.card.before .duo.one .fr{background:#000}.card.before .duo.one .fr .bg{display:none}.card.before .duo.one .fr::after{content:"";position:absolute;left:50%;bottom:2.4%;width:34%;height:5px;border-radius:99px;background:#17171B;transform:translateX(-50%);z-index:2}
.card.after{padding-top:62px;background:#fff}
.card.after .soc{flex:1;min-height:0;padding:0 8px;margin:0;gap:8px;align-items:stretch}
.card.after .panel{align-items:stretch}.card.after .pw.s{align-self:center}.card.after .pw:not(.s){padding-bottom:8px}
.cols .to{margin:auto -30px;z-index:5}
@media(max-width:720px){
  .ex-card .cols{gap:18px}
  .card.before,.card.after{border-width:4px;border-radius:20px}
  .card.before::before,.card.after::before{top:5px;height:8px}
  .card.before .row,.card.after .row{top:19px}
  .card.before .row b,.card.after .row b{font-size:9px;padding:2px 8px}
  .card.after{padding-top:34px}
  .card.after .soc{padding:0 3px;gap:4px}
  .cols .to{margin:auto -18px}
}
.card.after .panel:has(a.vp[href]:not([hidden])){cursor:pointer}

/* Before / After titles sit centered above the phones */
.ex-card .cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;row-gap:12px;align-items:start}
.cols .pt{font:600 14px var(--head);color:var(--muted);text-align:center}
.cols .pt1{grid-column:1;grid-row:1}.cols .pt2{grid-column:2;grid-row:1}
.cols .card.before{grid-column:1;grid-row:2}.cols .card.after{grid-column:2;grid-row:2}
.cols .to{grid-column:1/3;grid-row:2;justify-self:center;align-self:center;margin:0}
.card.after{padding-top:34px}
.card.before .row,.card.after .row{display:none}
@media(max-width:720px){
  .ex-card .cols{column-gap:18px;row-gap:8px}
  .cols .pt{font-size:12px}
  .card.after{padding-top:20px}
}

/* Real example: the four format buttons are dots */
.tabs{display:flex;justify-content:center;gap:2px;background:transparent;border:0;padding:0;border-radius:0}
.ind,.js .ind{display:none !important}
.tab,.tab[aria-selected=true],.js .tab[aria-selected=true]{width:26px;min-height:30px;padding:0;border-radius:0;background:transparent;font-size:0;gap:0;color:transparent}
.tab svg{display:none !important}
.tab::after{content:"";display:block;width:9px;height:9px;border-radius:99px;background:#CDB6E6;transition:width .25s,background .25s}
.tab[aria-selected=true]::after{width:24px;background:var(--btn)}
@media(prefers-reduced-motion:reduce){.tab::after{transition:none}}

/* header tagline */
.lockup{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.lockup .tag{font-size:12px;font-weight:500;color:var(--muted);line-height:1.2;padding-left:47px}
.duo .demo-pn{flex:1;display:flex;min-height:0}.duo .demo{display:block;flex:1;width:100%;height:100%;min-height:0;border:0;background:transparent;color-scheme:normal}
/* the demo is a phone already: the card keeps its size but drops its own bezel, so there is one phone as big as the Published posts one */
.card.before.demoed{border-color:transparent;background:none;box-shadow:none;overflow:visible}.card.before.demoed .duo.one{margin:-7px -7px -7px;flex:1}.card.before.demoed .demo-pn{margin:0}
.hero h1 .ai{color:#7B2FF2}
