/* SocioRelay home: scroll story sections. Scoped to .srs so it never touches the site header, footer or other sections. */
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
.srs .hero{margin-top:calc(-1 * var(--sr-head, 0px))}

.srs{
  --paper:#F3F6F5; --ink:#12283A; --ink-2:#1B3549; --blue:#2F54EB; --blue-d:#1F3CC0; --blue-s:#EEF2FF;
  --mint:#D3EDE4; --ok:#0F5132; --slate:#5A6B7A; --line:#D5DFE4; --blue-l:#9DB2FF;
  --display:"Bricolage Grotesque",system-ui,sans-serif; --text:"Figtree",system-ui,sans-serif;
  /* type ramp (7 tokens) */
  --t-caption:12px;
  --t-small:15px;
  --t-body:18px;
  --t-lede:clamp(18px,1.5vw,22px);
  --t-h3:clamp(22px,2vw,28px);
  --t-h2:clamp(32px,3.9vw,54px);
  --t-hero:clamp(40px,5.6vw,84px);
  /* tracking (4) */
  --tr-0:0; --tr-tight:-0.02em; --tr-tighter:-0.035em; --tr-wide:0.16em;
  /* leading (4) */
  --lh-1:1; --lh-head:1.04; --lh-snug:1.3; --lh-body:1.55;
  --pad:clamp(20px,4.4vw,64px);
}
.srs *,.srs *::before,.srs *::after{box-sizing:border-box}
.srs *{margin:0;padding:0}

.srs{font-family:var(--text);font-weight:400;font-size:var(--t-body);line-height:var(--lh-body);letter-spacing:var(--tr-0);overflow-x:clip}
.srs a{color:inherit}
.srs img{display:block;max-width:100%;height:auto}
.srs h1,.srs h2,.srs h3{text-wrap:balance}

.srs .eyebrow{font-family:var(--text);font-weight:600;font-size:var(--t-caption);letter-spacing:var(--tr-wide);text-transform:uppercase;color:var(--blue);line-height:var(--lh-snug)}
.srs .hero-title,.srs .h2{font-family:var(--display);font-weight:800;letter-spacing:var(--tr-tighter);line-height:var(--lh-head)}
.srs .hero-title{font-size:var(--t-hero)}
.srs .h2{font-size:var(--t-h2)}
.srs h3{font-family:var(--display);font-weight:600;font-size:var(--t-h3);letter-spacing:var(--tr-tight);line-height:var(--lh-snug)}
.srs .lede{font-size:var(--t-lede);line-height:var(--lh-body);color:var(--ink-2)}
.srs .note{font-size:var(--t-small);color:var(--slate)}
.srs .wrap{max-width:1280px;margin:0 auto;padding:0 var(--pad)}

/* pills */
.srs .pill{display:inline-flex;align-items:center;gap:.5em;font-family:var(--text);font-weight:600;font-size:var(--t-small);line-height:var(--lh-1);padding:15px 24px;border-radius:999px;text-decoration:none;transition:background .25s,color .25s,box-shadow .25s;will-change:transform}

.srs .pill-blue{background:var(--blue);color:#fff;box-shadow:0 10px 30px -10px rgba(47,84,235,.6)}
.srs .pill-blue:hover{background:var(--blue-d)}
.srs .pill-ghost{background:rgba(255,255,255,.7);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);backdrop-filter:blur(8px)}
.srs .pill-ghost:hover{background:#fff}

/* nav */

/* hero */
.srs .hero{position:relative;height:720vh}
.srs .hero-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;
  background:radial-gradient(120% 90% at 50% 45%,#FBFCFC 0%,#F3F6F5 55%,#E6ECEC 100%)}
.srs #gl{position:absolute;inset:0;width:100%;height:100%;display:block}
.srs .labels{position:absolute;inset:0;pointer-events:none}
.srs .lbl{position:absolute;left:0;top:0;white-space:nowrap;font-family:var(--text);font-weight:600;font-size:var(--t-caption);line-height:var(--lh-snug);color:var(--ink);opacity:0;will-change:transform,opacity;display:flex;align-items:center;gap:6px}
.srs .lbl i{width:8px;height:8px;border-radius:50%;flex:none}
.srs .lbl.live i{background:var(--blue)} .srs .lbl.early i{background:#5DB592} .srs .lbl.soon i{background:#B7C3CC}
.srs .lbl.soon{color:var(--slate)}
.srs .lbl.topic{color:#fff;font-size:var(--t-caption);white-space:normal;text-align:center;justify-content:center;width:120px;display:block}

.srs .panel{position:absolute;z-index:3;max-width:520px;opacity:0;visibility:hidden;will-change:transform,opacity}
.srs .panel .hero-title{margin:14px 0 18px}
.srs .panel-right{right:var(--pad);top:50%;transform:translateY(-50%);text-align:left;max-width:560px}
.srs .panel-left{left:var(--pad);top:50%;transform:translateY(-50%)}
.srs .panel-bottom{left:50%;bottom:9vh;transform:translateX(-50%);text-align:center;max-width:820px;width:calc(100% - 2*var(--pad))}
.srs .panel-bottom .cta-row{justify-content:center}
.srs .cta-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:26px}
.srs .legend{list-style:none;display:flex;gap:18px;margin-top:22px;font-size:var(--t-small);font-weight:600}
.srs .legend li{display:flex;align-items:center;gap:8px}
.srs .dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.srs .dot.live{background:var(--blue)} .srs .dot.early{background:#5DB592} .srs .dot.soon{background:#B7C3CC}

.srs .dots{position:absolute;right:22px;top:50%;transform:translateY(-50%);list-style:none;display:flex;flex-direction:column;gap:9px;z-index:4}
.srs .dots li{width:6px;height:6px;border-radius:6px;background:#A9B7C1;transition:height .35s,background .35s}
.srs .dots li.on{height:24px;background:var(--blue)}
.srs .cue{position:absolute;left:var(--pad);bottom:28px;z-index:4;display:flex;align-items:center;gap:12px;font-size:var(--t-caption);font-weight:600;letter-spacing:var(--tr-wide);text-transform:uppercase;color:var(--slate)}
.srs .cue b{display:block;width:90px;height:2px;background:var(--line);border-radius:2px;overflow:hidden}
.srs .cue i{display:block;height:100%;width:100%;background:var(--blue);transform-origin:left;transform:scaleX(0)}

/* app split */
.srs .app{position:relative;height:330vh;background:var(--paper)}
.srs .app-stage{position:sticky;top:0;height:100vh;display:grid;grid-template-columns:minmax(300px,0.8fr) 1.5fr;gap:clamp(24px,4vw,64px);align-items:center;padding:80px var(--pad) 40px;max-width:1440px;margin:0 auto}
.srs .steps{list-style:none;margin-top:22px;display:grid;gap:10px}
.srs .step{padding:16px 0 16px 20px;border-left:2px solid var(--line);opacity:.38;transition:opacity .4s,border-color .4s}
.srs .step.is-on{opacity:1;border-color:var(--blue)}
.srs .step p{font-size:var(--t-small);color:var(--ink-2);margin-top:6px;line-height:var(--lh-body)}
.srs .app-frame-wrap{perspective:1600px}
.srs .app-frame{border-radius:16px;background:#fff;box-shadow:0 40px 90px -40px rgba(18,40,58,.45),0 0 0 1px var(--line);overflow:hidden;transform-origin:50% 100%;will-change:transform}
.srs .app-bar{height:30px;display:flex;align-items:center;gap:6px;padding:0 14px;border-bottom:1px solid var(--line);background:#FAFBFB}
.srs .app-bar i{width:9px;height:9px;border-radius:50%;background:var(--line)}
.srs .app-shots{position:relative;aspect-ratio:1440/910}
.srs .app-shots img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top left;will-change:clip-path}
.srs .app-shots img+img{clip-path:inset(100% 0 0 0)}

/* platforms */
.srs .platforms{padding:120px 0 100px;background:var(--ink);color:#fff;overflow:hidden}
.srs .platforms .eyebrow{color:var(--blue-l)}
.srs .platforms .h2{margin-top:14px;max-width:16ch}
.srs .marquee{margin:56px 0 48px;display:grid;gap:16px}
.srs .track{display:flex;gap:16px;width:max-content;will-change:transform}
.srs .chip{display:flex;align-items:center;gap:12px;padding:20px 30px;border-radius:999px;background:var(--ink-2);font-family:var(--display);font-weight:600;font-size:var(--t-h3);letter-spacing:var(--tr-tight);line-height:var(--lh-1);white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(157,178,255,.18)}
.srs .chip i{width:12px;height:12px;border-radius:50%}
.srs .chip.live i{background:var(--blue-l)} .srs .chip.early i{background:#7DD3B0} .srs .chip.soon i{background:#5A6B7A}
.srs .chip.soon{color:#A9B7C1}
.srs .plat-list{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;font-size:var(--t-small);color:#C9D3DB;line-height:var(--lh-body)}
.srs .plat-list b{display:block;color:#fff;font-weight:600;margin-bottom:4px}

/* trust */
.srs .trust{padding:130px 0;background:var(--paper)}
.srs .trust .h2{margin-top:14px;max-width:18ch}
.srs .trust-grid{margin-top:56px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.srs .tcard{background:#fff;border-radius:18px;padding:30px;box-shadow:0 0 0 1px var(--line);will-change:transform}
.srs .tcard h3{margin-bottom:8px}
.srs .tcard p{font-size:var(--t-small);color:var(--ink-2);line-height:var(--lh-body)}
.srs .tcard:nth-child(3n+1){border-top:4px solid var(--blue)}
.srs .tcard:nth-child(3n+2){border-top:4px solid #7DD3B0}
.srs .tcard:nth-child(3n){border-top:4px solid var(--ink)}

/* final */

/* mobile */
@media (max-width:860px){
  
  
  .srs .hero{height:560vh}
  .srs .panel,.srs .panel-right,.srs .panel-left{left:var(--pad);right:var(--pad);top:auto;bottom:7vh;transform:none;max-width:none;text-align:left}
  .srs .panel-bottom{left:var(--pad);right:var(--pad);transform:none;width:auto;text-align:left}
  .srs .panel-bottom .cta-row{justify-content:flex-start}
  .srs .panel .hero-title{margin:10px 0 12px}
  .srs .panel .lede{font-size:var(--t-small)}
  .srs .cta-row{margin-top:16px}
  .srs .cue{display:none}
  .srs .dots{right:10px}
  .srs .app{height:auto}
  .srs .app-stage{position:relative;height:auto;grid-template-columns:1fr;padding:90px var(--pad) 60px}
  .srs .app-shots img+img{clip-path:none}
  .srs .app-shots{aspect-ratio:auto;display:grid;gap:12px}
  .srs .app-shots img{position:relative}
  .srs .app-frame{background:transparent;box-shadow:none}
  .srs .app-shots img{border-radius:12px;box-shadow:0 0 0 1px var(--line)}
  .srs .app-bar{display:none}
  .srs .step{opacity:1}
  .srs .plat-list,.srs .trust-grid{grid-template-columns:1fr}
  
  .srs .chip{padding:14px 22px}
}

@media (prefers-reduced-motion:reduce){
  .srs .hero{height:auto}
  .srs .hero-stage{position:relative;height:auto;min-height:100vh;padding:110px var(--pad) 60px;display:grid;gap:56px}
  .srs #gl,.srs .labels,.srs .dots,.srs .cue{display:none}
  .srs .panel{position:relative;opacity:1;visibility:visible;transform:none;inset:auto;max-width:720px;text-align:left;width:auto}
  .srs .panel-bottom .cta-row{justify-content:flex-start}
  .srs .app{height:auto}
  .srs .app-stage{position:relative;height:auto}
  .srs .app-shots img+img{display:none}
  .srs .step{opacity:1}
}

/* ported sections */


/* Keep the site's own .steps style (three numbered columns, site.css) out of this section */
.srs .steps{grid-template-columns:1fr;padding:0;counter-reset:none}
.srs .steps li{border-top:0;padding-top:16px;counter-increment:none}
.srs .steps li::before{content:none;display:none}
/* ...and the site's .hero padding and .track bar (site.css), which use the same class names */
.srs .hero{padding:0}
.srs .track{height:auto;background:none;border-radius:0}
/* ...and the site's heading colour and width (site.css h1,h2,h3), so headings take this section's colours */
.srs h1,.srs h2,.srs h3{color:inherit;max-width:none}

/* the phone app, overlapping the laptop frame's corner (4th step of "Inside your own SocioRelay app") */
.srs .app-frame-wrap{position:relative}
.srs .app-phone{position:absolute;right:-18px;bottom:-34px;width:clamp(120px,22%,200px);aspect-ratio:1/2;border-radius:26px;background:var(--ink);padding:6px;box-shadow:0 30px 60px -24px rgba(18,40,58,.55);will-change:transform}
.srs .app-phone img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:20px}
@media (max-width:860px){.srs .app-phone{position:relative;right:auto;bottom:auto;width:min(46%,200px);margin:14px auto 0}}
@media (prefers-reduced-motion:reduce){.srs .app-phone{position:relative;right:auto;bottom:auto;margin:14px 0 0 auto}}
