/* Home page: the six modules in one card (index.html #platform), replacing the
   long 01 to 06 sections. Tabs across the top, one module at a time (copy on the
   left, a small app view on the right).
   Interactions: platform-modules.js. Website colours (styles.css :root). */
.fs-intro{padding-bottom:96px}
.fs-intro .pm{margin-top:44px}
.pm{background:var(--paper);border:1px solid #ece3f0;border-radius:24px;box-shadow:0 30px 70px -40px #4a276759;overflow:hidden}
/* Tabs */
.pm-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:#f3eeeb;border-bottom:1px solid #ece3f0}
.pm-tab{position:relative;display:grid;gap:3px;align-content:start;padding:16px 16px 15px;border:0;border-right:1px solid #ece3f0;background:none;text-align:left;cursor:pointer;font-family:var(--body);color:var(--ink);transition:background .2s}
.pm-tab:last-child{border-right:0}
.pm-tab:hover{background:#f8f4f1}
.pm-tab[aria-selected=true]{background:var(--paper)}
.pm-tab[aria-selected=true]::before{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:var(--coral)}
.pm-tab-n{font-size:11px;color:var(--muted)}
.pm-tab-t{font-family:var(--display);font-size:10.5px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--plum)}
.pm-tab-s{font-size:11px;color:var(--muted)}
.pm-tab:focus-visible{outline:2px solid var(--plum);outline-offset:-3px}
/* One module */
.pm-panel{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:40px;padding:40px 44px 34px;min-height:430px}
.pm-panel[hidden]{display:none}
.pm-panel:focus-visible{outline:2px solid var(--plum);outline-offset:-4px}
.pm-copy{display:flex;flex-direction:column;align-items:flex-start}
.pm-kicker{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--coral)}
.pm-copy h3{margin:14px 0 0;font-family:var(--body);font-size:32px;line-height:1.15;font-weight:500;letter-spacing:-.8px;color:var(--plum);text-wrap:balance}
.pm-copy>p{margin:16px 0 0;font-size:15px;line-height:1.65;color:var(--muted);max-width:480px}
.pm-points{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
.pm-points li{position:relative;padding-left:24px;font-size:14px;line-height:1.5;color:var(--ink)}
.pm-points li::before{content:'';position:absolute;left:2px;top:5px;width:9px;height:9px;border:1.5px solid var(--coral);border-radius:50%}
.pm-more{margin-top:auto;padding-top:28px;font-size:14px;font-weight:600;color:var(--plum)}
.pm-more span{display:inline-block;transition:transform .2s}
.pm-more:hover span{transform:translateX(3px)}
/* The view: drawn with the app's own parts (hero-app.css, the .ha root), in an app-coloured frame. */
@media(max-width:1100px){.pm-panel{grid-template-columns:1fr;gap:28px;padding:32px 28px 28px;min-height:0}.pm-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-tab:nth-child(3){border-right:0}.pm-tab:nth-child(-n+3){border-bottom:1px solid #ece3f0}}
@media(max-width:760px){
  .fs-intro{padding-bottom:56px}
  .fs-intro .pm{margin-top:28px}
  .pm{border-radius:18px}
  .pm-tabs{display:flex;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory}
  .pm-tab{flex:none;min-width:136px;scroll-snap-align:start;border-bottom:0!important;border-right:1px solid #ece3f0!important}
  .pm-panel{padding:24px 18px 22px}
  .pm-copy h3{font-size:25px}
  .pm-copy>p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.pm-more span,.pm-tab{transition:none}}
