/* PostMo homepage. Colours mirror the app (mobile/lib/theme.dart, same values as theme.css): coral seed #FF6B4A, filled button #904B3B, scaffold #FFF8F5. */
:root{--accent:#FF6B4A;--btn:#904B3B;--btn-fg:#fff;--btn-dark:#FFB4A3;--btn-dark-fg:#561F12;--ink:#2B1D18;--muted:#7A6A63;--body:#4A3A34;--soft:#FFF8F5;--line:#F3E1D9;--green:#2E9E6A;--link:#D9482A;--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:#B23A20}
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}
.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(--ink);font:800 22px var(--head);letter-spacing:-.02em}
.brand:hover{color:var(--ink)}
.logo{width:38px;height:38px;border-radius:10px;overflow:hidden;flex:none;background:#1f2430}.logo img{width:100%;height:100%;object-fit:cover;transform:scale(1.3)}
.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 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-wrap:wrap;align-items:center;gap:56px;padding-top:80px;padding-bottom:88px}
.hero .copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #F3D9CF;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:520px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.checks{display:flex;flex-wrap:wrap;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}
.vis{flex:1 1 460px;min-width:0;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}
.vis figure{margin:0;display:flex;flex-direction:column;gap:10px;align-items:center;font-size:13px;font-weight:600;color:var(--muted)}
.vis .src{position:relative;width:170px;aspect-ratio:170/210;border-radius:20px;overflow:hidden;background:#E7E3DF}
.vis .src img{width:100%;height:100%;object-fit:cover}
.vis .tag{position:absolute;top:10px;left:10px;background:rgba(23,19,15,.75);color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px}
.spark{width:52px;height:52px;border-radius:999px;background:var(--btn);display:grid;place-items:center;flex:none}
.outs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:240px}
.outs div{background:#fff;border-radius:14px;padding:8px;box-shadow:0 8px 24px rgba(23,19,15,.08)}
.outs span{display:block;font-size:10px;font-weight:600;color:var(--muted);margin:0 2px 6px}
.outs img{width:100%;border-radius:8px;object-fit:cover}
.outs .sq img{aspect-ratio:1/1}
.outs .tall img{height:150px}

/* 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:wrap;gap:24px;align-items:stretch}
.card{min-width:0;border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:14px}
.card.before{flex:1.15 1 340px;align-self:flex-start;background:#FAF7F5;border:1px solid var(--line)}
.card.after{flex:1.4 1 380px;background:var(--soft);border:1px solid #F3D9CF;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)}
/* 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:cover;filter:blur(36px) saturate(1.2) brightness(.94);transform:scale(1.5)}
.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}
.duo.one .fr{aspect-ratio:2/3}
.steps{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:8px 4px}
.steps h3{font:600 13px 'Inter',sans-serif;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.steps li{display:flex;gap:14px;align-items:flex-start}
.steps .n{display:flex;flex-direction:column;align-items:center}
.steps .n b{width:32px;height:32px;border-radius:999px;background:var(--btn);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:600;flex:none}
.steps .n i{width:2px;height:34px;background:var(--line)}
.steps ol{margin:0;padding:0;list-style:none}
.steps li:last-of-type .n i{display:none}
.steps strong{display:block;padding-top:4px;font-size:16px}
.steps small{display:block;font-size:14px;color:var(--muted)}

.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}.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}
.pw{width:100%;max-width:380px;margin:0 auto}.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}
.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%;background:#fff;border-radius:16px;box-shadow:0 12px 32px rgba(23,19,15,.1);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 b{display:block;font-size:14px;line-height:1.3}.ph small{font-size:12px;color:var(--muted)}
.post .txt{padding:0 14px 12px;font-size:14px;line-height:1.45;margin:0}
.tags{color:#1D5FB8}
.post img.m{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;box-shadow:0 12px 32px rgba(23,19,15,.18)}
.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:13px;font-weight:600;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}
.story .reply{position:absolute;z-index:2;bottom:14px;left:12px;right:12px;border:1.5px solid rgba(255,255,255,.85);border-radius:999px;padding:10px 14px;font-size:13px;color:#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 #F3D9CF;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:#FAF7F5}
.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:#FFE3D9;display:grid;place-items:center}
.three .num{font:800 40px var(--head);color:#E8D9D1}
.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:#2B1D18;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:#D8D0CA;font-size:17px}
.auto .r{flex:1 1 340px;min-width:0;background:#3A2B26;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:#D8D0CA}
.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:#3a332e}
.auto .d{font-size:12px;color:#B8AEA7;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:#D8D0CA}.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}

@media(max-width:720px){
  .in{padding:0 16px}
  .hero .in{padding-top:40px;padding-bottom:48px;gap:36px}
  section.pad .in{padding-top:56px;padding-bottom:56px}
  .nav nav{gap:2px 16px;font-size:14px}
  .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}
}
