/* The platform + What you get: from the "Main" design mockup (platform.css v1).
   Everything is scoped under .pf and prefixed pf- so it cannot clash with deonde.css or home.css. */
.pf{--pf-accent:var(--brand,#CF4516);--pf-ink:#0C1E17;--pf-deep:#0C2A20;--pf-mu:#46584E;color:var(--pf-ink);line-height:1.55}
.pf *{box-sizing:border-box}
.pf h2,.pf h3,.pf p{margin:0}
/* .pf-lead, .pf-sub and .pf-t are written as ".pf .x" so they outrank the reset above (29 Oct 2026) */
.pf h2{max-width:15em;font-size:clamp(2rem,3.5vw,3rem);font-weight:800;letter-spacing:-.035em;line-height:1.04;color:var(--pf-ink)}
.pf h3{font-size:1.15rem;font-weight:600;line-height:1.3;color:var(--pf-ink)}
.pf a{color:inherit;text-decoration:none}
.pf-s{padding:104px 0}
.pf-white{background:#fff}
.pf-s.pf-nb{padding-bottom:0}
.pf-bg{background:#F3F5EE}
.pf-w{max-width:1200px;margin:0 auto;padding:0 32px}
.pf-eb{margin-bottom:16px;font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#3F5A4C}
.pf-mu{color:var(--pf-mu)}
.pf .pf-lead{max-width:40em;margin:20px 0 32px;font-size:1.15rem}
.pf .pf-sub{max-width:30em;margin:16px 0 24px}
.pf .pf-t{margin-top:8px}
.pf-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.pf-pill{padding:8px 18px;border:1.5px solid var(--pf-ink);border-radius:99px;font-weight:600;transition:background .2s}
.pf-pill:hover{background:var(--pf-accent)}

/* One app: text on one side, animated phone on the other */
.pf-ap{display:grid;gap:56px;align-items:center;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));padding:72px 0;border-top:1.5px solid var(--pf-ink);scroll-margin-top:96px}
.pf .pf-hh{max-width:14em;font-size:clamp(1.9rem,3.2vw,2.7rem);font-weight:800;letter-spacing:-.03em;line-height:1.08}
.pf-fl{display:grid;gap:8px}
.pf-fi{padding:14px 18px;border-radius:16px;animation:pf-hi 12s infinite}
.pf-fi:first-child{background:var(--pf-accent)}
.pf-fi b{display:block}
.pf-fi span{font-size:.95rem;color:var(--pf-mu)}
.pf-bt{display:inline-flex;align-items:center;min-height:48px;margin-top:28px;padding:0 26px;border:1.5px solid currentColor;border-radius:99px;font-weight:600;transition:transform .2s}
.pf-bt:hover{transform:translateY(-2px)}
.pf-bk{display:flex;flex-direction:column;align-items:center;padding:48px 24px 40px;border-radius:32px}
.pf-pv{position:relative;width:260px;height:540px;overflow:hidden;border:9px solid #05140F;border-radius:40px;background:#F3F5EE;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
.pf-pv::before{content:"";position:absolute;top:8px;left:50%;z-index:2;width:68px;height:18px;margin-left:-34px;border-radius:9px;background:#05140F}
.pf-sc{position:absolute;inset:0;padding:40px 14px 14px;font-size:.75rem;opacity:0;animation:pf-sw 12s infinite}
.pf-sc:first-child{opacity:1}
.pf-t1{display:block;margin-bottom:12px;font-size:1rem;font-weight:800;color:var(--pf-ink)}
.pf-c2{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:10px 12px;border-radius:12px;background:#fff;color:var(--pf-mu)}
.pf-c2 b{color:var(--pf-ink)}
.pf-c2 i{flex:none;width:34px;height:34px;border-radius:10px}
.pf-code{justify-content:center;font-size:1.6rem;font-weight:800;letter-spacing:.3em;color:var(--pf-ink)}
.pf-ph{display:flex;align-items:center;justify-content:center;height:120px;margin-bottom:8px;border-radius:12px;background:#D5DECF;color:var(--pf-mu)}
.pf-b1{position:absolute;left:14px;right:14px;bottom:16px;padding:12px;border-radius:99px;background:var(--pf-deep);color:#fff;font-weight:600;text-align:center}
.pf-tp{position:absolute;left:50%;bottom:19px;width:34px;height:34px;margin-left:-17px;border:2px solid var(--pf-accent);border-radius:50%;opacity:0;animation:pf-tap 3s infinite}
.pf-bar{height:8px;margin:6px 0 10px;overflow:hidden;border-radius:5px;background:#DCE3D6}
.pf-bar i{display:block;height:100%;background:var(--pf-deep);animation:pf-pb 3s linear infinite}
.pf-tgl{position:relative;flex:none;width:34px;height:20px;border-radius:99px;background:#C9D2C4}
.pf-tgl::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}
.pf-tgl.on{background:var(--pf-deep)}
.pf-tgl.on::after{left:16px}
.pf-pg{display:flex;gap:6px;width:260px;margin-top:22px}
.pf-pg i{flex:1;height:4px;overflow:hidden;border-radius:3px;background:rgba(12,30,23,.2)}
.pf-pg b{display:block;width:0;height:100%;background:var(--pf-deep);animation:pf-prog 12s linear infinite}

/* Admin panel: real screens, tucked under the admin block */
.pf-adm{grid-column:1/-1;width:100%;max-width:780px;margin:0 auto}
.pf-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.pf-tab{padding:8px 18px;border:1.5px solid var(--pf-ink);border-radius:99px;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer;transition:background .2s}
.pf-tab:hover,.pf-tab[aria-selected=true]{background:var(--pf-accent)}
.pf-tab:focus-visible{outline:2px solid var(--pf-deep);outline-offset:2px}
.pf-shot{margin:0;overflow:hidden;border:1.5px solid var(--pf-ink);border-radius:24px;background:#fff;animation:pf-in .5s both}
.pf-shot[hidden]{display:none}
.pf-dots{display:flex;gap:6px;padding:11px 14px;border-bottom:1.5px solid var(--pf-ink);background:#F3F5EE}
.pf-dots i{width:9px;height:9px;border-radius:50%;background:#C9D2C4}
.pf-shot img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:top left}
.pf-shot figcaption{padding:14px 18px;font-size:.95rem}
@keyframes pf-in{from{opacity:0;transform:translateY(12px)}}

/* What you get */
.pf-g{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));margin-top:56px}
.pf-ft{padding:30px;border-radius:24px;background:#fff;transition:transform .25s}
.pf-ft:hover{transform:translateY(-4px)}
.pf-nm{display:inline-block;margin-bottom:40px;padding:3px 12px;border-radius:99px;background:var(--pf-accent);font-size:.8rem;font-weight:600}

@keyframes pf-sw{0%{opacity:0;transform:translateY(10px)}3%,24%{opacity:1;transform:none}27%,100%{opacity:0}}
@keyframes pf-hi{0%,24%{background:var(--pf-accent)}27%,100%{background:transparent}}
@keyframes pf-tap{0%,45%{opacity:0;transform:scale(.4)}50%{opacity:1}100%{opacity:0;transform:scale(1.8)}}
@keyframes pf-prog{0%{width:0}25%{width:100%}25.1%,100%{width:0}}
@keyframes pf-pb{from{width:0}to{width:100%}}

@media(max-width:700px){.pf-s{padding:72px 0}.pf-w{padding:0 20px}.pf-ap{gap:40px;padding:56px 0}}
@media(prefers-reduced-motion:reduce){.pf *{animation:none!important}}

/* Brand accent (29 Oct 2026): the platform accent is the site's primary brand colour (--pf-accent above). Text that sits on the accent turns white so it stays readable (white on #CF4516 = 4.6:1). */
.pf-brand .pf-pill:hover{border-color:var(--pf-accent);color:#fff}
.pf-brand .pf-fi b{animation:pf-on-ink 12s infinite;animation-delay:inherit}
.pf-brand .pf-fi span{animation:pf-on-mu 12s infinite;animation-delay:inherit}
.pf-brand .pf-fi:first-child b,.pf-brand .pf-fi:first-child span{color:#fff}
@keyframes pf-on-ink{0%,24%{color:#fff}27%,100%{color:var(--pf-ink)}}
@keyframes pf-on-mu{0%,24%{color:#fff}27%,100%{color:var(--pf-mu)}}

/* Brand accent, continued (29 Oct 2026): app UI accents in the previews, the admin screen tabs and the
   "What you get" number badges follow the brand colour too. */
.pf-brand{--pf-deep:var(--brand,#CF4516)}
.pf-brand .pf-nm{color:#fff}
.pf-brand .pf-tp{border-color:#fff}

/* Admin panel block (29 Oct 2026): details on the left, the Dashboard (real admin screens) in the right-hand
   panel. Like the three app blocks, the list on the left steps through every 3 s and the screen on the right
   changes with it (same 12 s cycle as .pf-fi / .pf-sc). The panel matches the height of the text column. */
.pf-ap-dash{align-items:stretch}
.pf-dash{justify-content:center;scroll-margin-top:96px}
.pf-dv{display:grid}
.pf-dv>.pf-shot{grid-area:1/1;opacity:0;animation:pf-sw 12s infinite}
.pf-dv>.pf-shot:first-child{opacity:1}
.pf-dash .pf-pg{margin:22px auto 0}
@media(max-width:520px){.pf-dash{padding:28px 16px}}

/* The platform: centred heading and a compact tabbed view (29 Oct 2026). The heading block is centred for
   everyone. home.js adds .pf-tabbed: the pills become a segmented tab bar and only the chosen app shows.
   Without JavaScript the class is never added, so all apps stay stacked and the pills stay anchor links. */
.pf-head{text-align:center}
.pf-head h2{margin-left:auto;margin-right:auto;text-wrap:balance}
.pf .pf-head .pf-lead{margin-left:auto;margin-right:auto;text-wrap:balance}
.pf-head .pf-eb{color:var(--brand-ink,#B43D12)}
.pf-head .pf-pills{justify-content:center}

.pf-tabbed .pf-head .pf-pills{display:inline-flex;flex-wrap:nowrap;gap:4px;max-width:100%;margin:0 0 56px;padding:6px;border:1px solid var(--line,#ECEAE6);border-radius:99px;background:var(--soft,#F7F6F3)}
.pf-tabbed .pf-pill{flex:none;padding:10px 22px;border:0;color:var(--pf-mu);cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.pf-tabbed .pf-pill:not([aria-selected=true]):hover{background:#fff;color:var(--pf-ink)}
.pf-tabbed .pf-pill[aria-selected=true]{background:var(--pf-accent);color:#fff;box-shadow:0 8px 20px -6px rgba(207,69,22,.45)}
.pf-tabbed .pf-pill:focus-visible{outline:2px solid var(--pf-ink);outline-offset:2px}

/* Panels: no divider line or repeated label (the tab already names the app). On wider screens all panels share
   one grid cell, so the section keeps the height of the tallest app and nothing below jumps when switching. */
.pf-tabbed .pf-ap{padding:0;border-top:0;scroll-margin-top:136px;animation:pf-in .45s both}
.pf-tabbed .pf-ap-dash{align-items:center}
.pf-tabbed .pf-ap>div:first-child>.pf-eb{display:none}
.pf-tabbed .pf-ap[hidden]{display:none}
@media(min-width:901px){
  .pf-tabbed .pf-stage{display:grid}
  .pf-tabbed .pf-stage>.pf-ap{grid-area:1/1}
  .pf-tabbed .pf-stage>.pf-ap[hidden]{display:grid;visibility:hidden}
}
@media(max-width:560px){
  .pf-tabbed .pf-head .pf-pills{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:22px;margin-bottom:40px}
  .pf-tabbed .pf-ap{scroll-margin-top:176px}
  .pf-tabbed .pf-pill{padding:10px 8px;border-radius:16px;text-align:center}
}
