/* PiP Farming inner pages (privacy, terms, risk disclosure, community rules, 404, event, videos, system pages,
   login, activate) in the homepage look. Loaded after landing.css, which brings the fonts, colours, buttons, the nav,
   the mobile menu and the footer (their markup comes from common.js). This file only styles the page content;
   it never changes the homepage (index.html does not load it). */

/* ---------- page canvas: the homepage's navy with a blue glow at the top ---------- */
.pubpage main{position:relative;display:block;overflow-x:clip;color:rgba(255,255,255,.88)}
.pubpage main::before{content:"";position:absolute;left:50%;top:-180px;width:min(1500px,180vw);height:900px;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(closest-side,rgba(66,115,209,.30),rgba(37,67,138,.14) 55%,transparent);pointer-events:none;z-index:0}
.pubpage main>*{position:relative;z-index:1}
.pubpage [hidden]{display:none!important}
.pubpage main nav{position:static;z-index:auto;border:0;background:none;backdrop-filter:none} /* landing.css fixes every <nav> to the top */

/* ---------- type ---------- */
.pubpage main h1{font-weight:500;letter-spacing:-.025em;line-height:1.06;font-size:clamp(40px,5vw,64px);margin:0 0 12px;text-wrap:balance;
  background:linear-gradient(180deg,#fff 10%,var(--sky) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pubpage main h2{font-weight:500;letter-spacing:-.02em;line-height:1.12;font-size:clamp(28px,3vw,40px);color:#fff;text-wrap:balance}
.pubpage main h3{font-weight:500;letter-spacing:-.01em;line-height:1.25;color:#fff}
.pubpage main .h-section,.pubpage .section-head h2,.pubpage .block.data h2,.pubpage .cta h2{background:linear-gradient(180deg,#fff 10%,var(--sky) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pubpage main p{text-wrap:pretty}
.pubpage main .muted,.pubpage main .empty{color:var(--muted)}
.pubpage main .small{font-size:13.5px}
.pubpage main .center{text-align:center}
/* the homepage's pill eyebrow */
.pubpage main .eyebrow{display:inline-flex;align-items:center;padding:6px 14px;margin:0 0 20px;border-radius:100px;background:rgba(11,23,54,.7);border:1px solid var(--line);
  font-size:13px;font-weight:500;line-height:1.4;color:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.pubpage main .lead{color:var(--muted);font-size:clamp(15px,1.2vw,18px);line-height:1.6;max-width:760px;margin:0 0 18px}
.pubpage main a.inline,.pubpage .legal a,.pubpage .authcard p a:not(.btn),.pubpage .narrow p a:not(.btn),.pubpage .stats-note a,.pubpage .check a,.pubpage main .small a:not(.btn){
  color:var(--sky);text-decoration:underline;text-decoration-color:rgba(143,176,236,.45);text-underline-offset:3px;transition:color .2s,text-decoration-color .2s}
.pubpage .legal a:hover,.pubpage .authcard p a:not(.btn):hover,.pubpage .narrow p a:not(.btn):hover,.pubpage .stats-note a:hover,.pubpage .check a:hover{color:#fff;text-decoration-color:#fff}
.draft-label,.demo-tag{display:inline-block;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;line-height:1.6;color:var(--amber);
  background:rgba(245,184,61,.12);border:1px solid rgba(245,184,61,.32);border-radius:6px;padding:0 7px;vertical-align:middle}
.demo-tag{margin-left:8px}

/* ---------- page hero ---------- */
.pubpage .hero{padding:clamp(144px,13vw,184px) 0 clamp(40px,5vw,64px)}
.pubpage .vhero{text-align:center}
.pubpage .hero .intro{font-size:clamp(16px,1.3vw,19px);line-height:1.55;color:var(--muted);max-width:680px;margin:16px 0 0}
.pubpage .vhero .intro{margin:16px auto 0}
.pubpage .hero .wrap>*{animation:pg-rise .8s var(--ease) both}
.pubpage .hero .wrap>:nth-child(2){animation-delay:.08s}.pubpage .hero .wrap>:nth-child(3){animation-delay:.16s}.pubpage .hero .wrap>:nth-child(n+4){animation-delay:.24s}
@keyframes pg-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ---------- sections ---------- */
.pubpage .block{padding:clamp(48px,6vw,88px) 0}
.pubpage .block.alt{background:linear-gradient(180deg,transparent,rgba(11,23,54,.5) 18%,rgba(11,23,54,.5) 82%,transparent)}
.pubpage .block.data+.block.data{padding-top:0}
.pubpage .section-head{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:clamp(32px,4vw,48px)}
.pubpage .section-head .eyebrow{margin-bottom:18px}
.pubpage .section-head .lead,.pubpage .section-head p{text-align:center;margin:14px auto 0;color:var(--muted)}
.pubpage .glass-card,.pubpage .legal,.pubpage .authcard,.pubpage .panel.summary,.pubpage .confirmation,.pubpage #register .form.centered,.pubpage .when>div,.pubpage main .values>div,
.pubpage .rewards li,.pubpage .vcard,.pubpage .stats,.pubpage .metrics>div,.pubpage .table-scroll{background:rgba(11,23,54,.55);border:1px solid var(--line);border-radius:var(--radius)}

/* ---------- buttons inside the page: .btn = primary (blue), .btn.quiet = outline, as on the homepage ---------- */
.pubpage main .btn,dialog.pop .btn{justify-content:center;color:#fff}
.pubpage main .btn:not(.btn-white):not(.btn-outline):not(.quiet),dialog.pop .btn:not(.quiet){background:linear-gradient(90deg,#3260C2,#4F80DE);box-shadow:0 0 30px rgba(66,115,209,.6)}
.pubpage main .btn:not(.btn-white):not(.btn-outline):not(.quiet):hover,dialog.pop .btn:not(.quiet):hover{box-shadow:0 0 55px rgba(111,151,230,.95);border-color:rgba(255,255,255,.55);transform:translateY(-2px)}
.pubpage main .btn.quiet,dialog.pop .btn.quiet{background:transparent}
.pubpage main .btn.quiet:hover,dialog.pop .btn.quiet:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.55)}
.pubpage main .btn-white{color:var(--steel)}
.pubpage main .btn.sm{padding:9px 16px;font-size:14px}
.pubpage main .btn.wide{display:flex;width:100%;min-height:50px}
.pubpage main .btn[disabled],dialog.pop .btn[disabled]{opacity:.5;pointer-events:none}
.pubpage main p:has(>.btn){display:flex;flex-wrap:wrap;gap:12px}
.pubpage main .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px;font-size:inherit} /* landing.css hides .actions (its nav buttons) on phones */

/* ---------- legal pages ---------- */
.pubpage .legal{max-width:860px;margin:0 auto;padding:clamp(26px,4.4vw,60px);font-size:16px;line-height:1.7;color:rgba(255,255,255,.8)}
.pubpage .legal h2{font-size:clamp(20px,2vw,24px);line-height:1.25;letter-spacing:-.01em;margin:44px 0 12px;color:#fff}
.pubpage .legal p{margin:0 0 14px}
.pubpage .legal ul,.pubpage .legal ol{padding-left:22px;margin:0 0 14px}
.pubpage .legal li{margin:8px 0;padding-left:4px}
.pubpage .legal li::marker{color:var(--sky)}
.pubpage .legal strong,.pubpage .legal b{color:#fff;font-weight:600}
.pubpage .legal .updated{font-size:13.5px;color:var(--muted);margin-bottom:28px}
.pubpage .legal .lead-in{font-size:clamp(17px,1.4vw,19px);line-height:1.6;color:#fff}
.pubpage .legal .panel.summary{margin:28px 0;padding:22px 26px;border-radius:18px;background:rgba(66,115,209,.12);border-color:rgba(143,176,236,.28);display:block}
.pubpage .legal .panel.summary h2{margin:0 0 10px;font-size:20px}
.pubpage .legal .panel.summary p{font-size:inherit;color:inherit;line-height:inherit}
.pubpage .legal>:first-child{margin-top:0}

/* ---------- forms (login, activate, event registration) ---------- */
.pubpage .form{display:grid;gap:18px}
.pubpage .form label{display:grid;gap:8px;align-content:start;font-size:13.5px;font-weight:500;color:rgba(255,255,255,.85)}
.pubpage .form input:not([type=checkbox]),.pubpage .form select,.pubpage .form textarea{width:100%;height:50px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(5,9,26,.65);
  padding:0 15px;font:inherit;font-size:16px;font-weight:400;color:#fff;outline:none;color-scheme:dark;transition:border-color .2s,box-shadow .2s,background .2s}
.pubpage .form textarea{height:120px;padding:12px 15px;resize:vertical;line-height:1.5}
.pubpage .form input:not([type=checkbox]):hover,.pubpage .form select:hover,.pubpage .form textarea:hover{border-color:rgba(143,176,236,.4)}
.pubpage .form input:focus,.pubpage .form select:focus,.pubpage .form textarea:focus{border-color:#4F80DE;background:rgba(5,9,26,.85);box-shadow:0 0 0 4px rgba(66,115,209,.25)}
.pubpage .form input:user-invalid,.pubpage .form select:user-invalid,.pubpage .form textarea:user-invalid{border-color:#FF8A8A}
.pubpage .form select{-webkit-appearance:none;appearance:none;padding-right:42px;text-overflow:ellipsis;cursor:pointer;background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%238FB0EC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.pubpage .form select option{background:#0B1736;color:#fff}
.pubpage .form label>.small{font-weight:400;color:var(--muted)}
.pubpage .form fieldset{border:0;padding:0;margin:0;min-width:0}
.pubpage .form legend{padding:0;margin-bottom:10px;font-size:13.5px;font-weight:500;color:rgba(255,255,255,.85)}
.pubpage .checks{display:grid;gap:10px}
.pubpage label.check,.pubpage .form .check{display:flex;align-items:flex-start;gap:12px;font-size:14px;font-weight:400;line-height:1.45;color:rgba(255,255,255,.8);cursor:pointer}
.pubpage label.check input{-webkit-appearance:none;appearance:none;flex:none;width:20px;height:20px;min-width:20px;margin:1px 0 0;border:1.5px solid rgba(143,176,236,.5);border-radius:6px;
  background:rgba(5,9,26,.65) center/12px 12px no-repeat;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
.pubpage label.check input:checked{background-color:#4273D1;border-color:#4F80DE;box-shadow:0 0 14px rgba(66,115,209,.6);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.pubpage label.check input:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(66,115,209,.35)}
.pubpage label.check strong{color:#fff;font-weight:600}
.pubpage .error{color:#FF8A8A;font-size:14px;margin:0}
.pubpage .error:empty{display:none}
.pubpage .details{display:grid;grid-template-columns:120px 1fr;gap:8px 14px;margin:0 0 4px;font-size:14.5px}
.pubpage .details dt{color:var(--muted)}.pubpage .details dd{margin:0;color:#fff;word-break:break-word}

/* ---------- login, activate, 404: one glass card under the glow ---------- */
.pubpage .authpage{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:calc(76px + clamp(40px,6vw,72px)) 24px clamp(56px,8vw,96px)}
.pubpage .authcard{width:100%;max-width:480px;padding:clamp(28px,4vw,44px);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 30px 120px rgba(0,0,0,.45),0 0 90px rgba(66,115,209,.2);animation:pg-rise .7s var(--ease) both}
.pubpage .authcard h1{font-size:clamp(34px,3.6vw,44px);margin-bottom:12px}
.pubpage .authcard .sub{color:var(--muted);font-size:15px;line-height:1.55;margin:0 0 28px}
.pubpage .authcard .small{margin:16px 0 0;line-height:1.6}
.pubpage .authcard .form>div{margin-top:4px}

/* ---------- pages that load their content (event, system): loading and not-found states ---------- */
.pubpage .narrow{max-width:760px;margin:0 auto;padding:calc(76px + clamp(64px,8vw,104px)) 24px clamp(64px,8vw,104px)}
.pubpage .narrow h1{font-size:clamp(34px,4vw,48px)}
.pubpage .narrow>p{margin-top:14px}
.pubpage main#system:has(>.narrow.empty),.pubpage main#event:has(>.narrow.empty){min-height:100vh;min-height:100svh}

/* ---------- status labels and tags (the homepage's chips) ---------- */
.pubpage .tags{display:flex;flex-wrap:wrap;gap:8px}
.pubpage .tag,.pubpage .live,.pubpage main .badge,dialog.pop .badge{position:static;transform:none;width:auto;height:26px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border-radius:100px;
  font-size:12px;font-weight:500;line-height:1;letter-spacing:.01em;white-space:nowrap;vertical-align:middle;box-shadow:none;background:rgba(255,255,255,.07);color:rgba(255,255,255,.85)}
.pubpage .tag.risk-low,.pubpage .tag.new,.pubpage .live,.pubpage .b-green{background:rgba(111,211,160,.13);color:#7FDDB0}
.pubpage .tag.risk-medium,.pubpage .b-amber{background:rgba(245,184,61,.15);color:#F5B83D}
.pubpage .tag.risk-high,.pubpage .b-red{background:rgba(255,138,138,.14);color:#FF9A9A}
.pubpage .b-blue{background:rgba(66,115,209,.3);color:#cfdcf7}
.pubpage .live::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}

/* ---------- system pages ---------- */
.pubpage .crumbs{margin:0 0 28px;font-size:14px}
.pubpage .crumbs a{display:inline-flex;align-items:center;gap:8px;min-height:32px;color:var(--sky);transition:color .2s}
.pubpage .crumbs a::before{content:"";width:16px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.pubpage .crumbs a:hover{color:#fff}
.pubpage .who{display:flex;gap:24px;align-items:center;margin-bottom:8px}
.pubpage .who>div{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pubpage .who>div>h1,.pubpage .who>div>p{flex:0 0 100%;margin:0 0 4px}
.pubpage .who .tags{display:contents}
.pubpage .sys-wordmark{display:grid;place-items:center;flex:none;width:260px;height:96px;padding:10px 16px;border-radius:20px;
  background:radial-gradient(120% 140% at 50% 0%,#15265A,#060C17 72%);border:1px solid rgba(143,176,236,.25);box-shadow:0 0 50px rgba(66,115,209,.22)}
.pubpage .sys-wordmark img{display:block;width:100%;height:100%;object-fit:contain}
.pubpage .avatar.big{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:18px;font-size:22px;font-weight:600;background:rgba(66,115,209,.3);border:1px solid var(--line)}
.pubpage .system-hero .intro{max-width:640px;margin:24px 0 0}
.pubpage .system-hero p.muted.small{max-width:640px;margin-top:20px;line-height:1.6}
.pubpage .system-hero p>.btn{margin-top:8px}
.pubpage .copy-cta{margin:28px 0 8px}
.pubpage .copy-cta .copy-now{padding:14px 44px;font-size:16px}
.pubpage .copy-risk{margin:12px 0 0;font-size:13px;line-height:1.45}
.pubpage .copy-risk a{color:var(--muted);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.pubpage .copy-risk a:hover{color:#fff}
/* key figures for visitors */
.pubpage .stats{display:grid;grid-template-columns:1fr 1fr;gap:24px 32px;padding:28px 32px;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 0 90px rgba(66,115,209,.16)}
.pubpage .stats small{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}
.pubpage .stats strong{display:block;font-size:clamp(26px,2.4vw,34px);font-weight:500;letter-spacing:-.02em;line-height:1.15;
  background:linear-gradient(180deg,#fff 10%,var(--sky) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pubpage .stats-note{font-size:12.5px;line-height:1.55;color:var(--muted);margin:14px 0 0}
@media (min-width:1000px){
  .pubpage .system-hero .wrap:has(>.stats){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);column-gap:64px;align-items:start}
  .pubpage .system-hero .wrap:has(>.stats)>*{grid-column:1}
  .pubpage .system-hero .wrap:has(>.stats)>.stats,.pubpage .system-hero .wrap:has(>.stats)>.stats-note{grid-column:2}
  .pubpage .system-hero .wrap:has(>.stats)>.stats{grid-row:2/span 2}
  .pubpage .system-hero .wrap:has(>.stats)>.stats-note{grid-row:4;align-self:start}
  .pubpage .system-hero .wrap:has(>.stats)>.stats-note~.stats-note{grid-row:4;align-self:end;margin:0 0 8px}
}
/* full profile (members) */
.pubpage .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:20px 0}
.pubpage .metrics>div{display:grid;gap:2px;align-content:start;min-width:0;padding:14px 16px;border-radius:16px}
.pubpage .metrics span{font-size:12px;color:var(--muted)}
.pubpage .metrics b{font-size:24px;font-weight:500;letter-spacing:-.01em;color:#fff}
.pubpage .metrics small{font-size:12px;color:var(--muted)}
.pubpage .offer{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;font-size:14px;color:var(--muted)}
.pubpage .offer span{padding:6px 12px;border-radius:999px;font-size:13px;color:#fff;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.pubpage .subnav{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.pubpage .subnav a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.22);border-radius:999px;font-size:14px;transition:background .2s,border-color .2s}
.pubpage .subnav a:hover{background:rgba(255,255,255,.08);border-color:rgba(143,176,236,.55)}
.pubpage .block.data h2{font-size:clamp(26px,2.6vw,34px);margin-bottom:8px}
.pubpage .block.data h3{font-size:18px;margin:28px 0 10px}
.pubpage .block.data .wrap>p.muted{margin-bottom:8px}
.pubpage .split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px}
.pubpage .split>*{min-width:0}
/* growth chart */
.pubpage .chart{position:relative;margin:16px 0 8px;outline:none}
.pubpage .chart svg{display:block;max-width:100%;height:auto}
.pubpage .chart svg [hidden]{display:none}
.pubpage .chart .grid{stroke:rgba(255,255,255,.08)}
.pubpage .chart .axis{fill:var(--muted);font-size:11.5px;font-family:inherit}
.pubpage .chart .area{fill:rgba(66,115,209,.18)}
.pubpage .chart .line{fill:none;stroke:#4F80DE;stroke-width:2.5}
.pubpage .chart .dot{fill:var(--sky)}
.pubpage .chart .dot.hover{fill:var(--bg);stroke:var(--sky);stroke-width:2}
.pubpage .chart .cross{stroke:rgba(143,176,236,.55);stroke-dasharray:3 3}
.pubpage .chart .end-label{font-size:13px;font-weight:600;fill:#fff;font-family:inherit}
.pubpage .chart:focus-visible{outline:2px solid var(--sky);outline-offset:6px;border-radius:8px}
.pubpage .chart-tip{position:absolute;transform:translate(-50%,calc(-100% - 12px));padding:7px 10px;border-radius:10px;font-size:12.5px;white-space:nowrap;pointer-events:none;
  color:#fff;background:#0B1736;border:1px solid rgba(143,176,236,.3);box-shadow:0 10px 30px rgba(0,0,0,.4)}
.pubpage .chart-tip[data-side="left"]{transform:translate(calc(-100% - 10px),-50%)}
.pubpage .chart-tip[data-side="right"]{transform:translate(10px,-50%)}
.pubpage .chart-tip b{display:block;font-size:15px}
/* tables */
.pubpage .table-scroll{overflow-x:auto;margin:12px 0;border-radius:16px}
.pubpage table.plain{width:100%;border-collapse:collapse;font-size:13.5px;white-space:nowrap}
.pubpage table.plain th,.pubpage table.plain td{padding:10px 12px;text-align:left;border-bottom:1px solid rgba(255,255,255,.07)}
.pubpage table.plain thead th{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:rgba(255,255,255,.04)}
.pubpage table.plain tbody th{font-weight:600;color:#fff}
.pubpage table.plain tbody tr:last-child>*{border-bottom:0}
.pubpage table.plain small{display:block;font-size:11px;color:var(--muted)}
.pubpage .table-scroll.more:not(.end){-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),rgba(0,0,0,.25));mask-image:linear-gradient(90deg,#000 calc(100% - 56px),rgba(0,0,0,.25))}
.pubpage .table-scroll.stack{overflow:visible;background:none;border:0;border-radius:0}
.pubpage .table-scroll.stack table,.pubpage .table-scroll.stack tbody,.pubpage .table-scroll.stack th,.pubpage .table-scroll.stack td{display:block}
.pubpage .table-scroll.stack table{white-space:normal}
.pubpage .table-scroll.stack thead{display:none}
.pubpage .table-scroll.stack tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-bottom:8px;padding:12px 14px;border-radius:14px;background:rgba(11,23,54,.55);border:1px solid var(--line)}
.pubpage .table-scroll.stack tr:last-child{margin-bottom:0}
.pubpage .table-scroll.stack th[scope=row]{grid-column:1/-1;padding:0;border:0;font-size:15px}
.pubpage .table-scroll.stack td,.pubpage .table-scroll.stack td:last-child{padding:0;border:0;font-size:14px}
.pubpage .table-scroll.stack td::before,.pubpage .table-scroll.stack.key-label th[scope=row]::before{content:attr(data-label);display:block;margin-bottom:1px;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.pubpage .returns-narrow{display:none}
/* members-only gate: the homepage's blue call-to-action panel */
.pubpage main .cta{position:relative;overflow:hidden;padding:clamp(48px,6vw,80px) 24px;border-radius:32px;text-align:center;border:1px solid rgba(255,255,255,.2);
  background:linear-gradient(135deg,var(--blue),#1D3672 55%,var(--deep))}
.pubpage main .cta::before{content:"";position:absolute;left:50%;top:50%;width:900px;height:900px;transform:translate(-50%,-50%);border-radius:50%;
  background:repeating-radial-gradient(circle,transparent 0 88px,rgba(255,255,255,.08) 89px 90px);pointer-events:none}
.pubpage main .cta>*{position:relative}
.pubpage main .cta h2{font-size:clamp(28px,3.4vw,44px);background:none;color:#fff}
.pubpage main .cta .lead{margin:14px auto 28px;text-align:center;color:rgba(255,255,255,.85)}
.pubpage main .cta .btn{margin:6px}
.pubpage main .cta .btn:not(.btn-white):not(.btn-outline):not(.quiet){background:#fff;color:var(--steel);font-weight:600;border-color:#fff;box-shadow:none}
.pubpage main .cta .btn:not(.btn-white):not(.btn-outline):not(.quiet):hover{box-shadow:0 10px 40px rgba(143,176,236,.5)}

/* ---------- event page ---------- */
.pubpage .when{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-width:760px;margin:28px 0 0}
.pubpage .when>div{min-width:0;padding:14px 16px;border-radius:16px;font-size:15px;color:#fff}
.pubpage .when span{display:block;margin-bottom:4px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.pubpage .event-hero h1+.demo-tag{margin:0 0 6px}
.pubpage main .values{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:28px;justify-content:normal}
.pubpage main .values>div{padding:24px;min-width:0}
.pubpage main .values h3{font-size:20px;margin:0 0 8px}
.pubpage main .values p{color:var(--muted);font-size:15px;line-height:1.55}
.pubpage .rewards{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,260px));justify-content:center;gap:14px;margin:20px 0 0;padding:0}
.pubpage .rewards li{display:grid;gap:4px;min-width:0;padding:18px 20px}
.pubpage .rewards b{font-size:22px;font-weight:500;background:linear-gradient(180deg,#fff 10%,var(--sky) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pubpage .rewards span{color:var(--muted)}
.pubpage .rewards .reached{color:#7FDDB0;font-size:13px;font-weight:600}
.pubpage .centered{max-width:620px;margin-left:auto;margin-right:auto}
.pubpage .confirmation{padding:28px}
.pubpage .confirmation.centered{text-align:center}
.pubpage .confirmation h3{font-size:22px;margin:0 0 8px}
.pubpage .confirmation p{margin-top:10px}
.pubpage #register .form.centered{padding:clamp(22px,3vw,32px)}
.pubpage #register .empty{text-align:center}
.pubpage #about .lead{margin:0 auto 18px;text-align:center}
.pubpage #rewards .lead{text-align:center;margin:0 auto}

/* ---------- videos ---------- */
.pubpage .videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,380px));justify-content:center;gap:20px}
.pubpage .videos>*{min-width:0}
.pubpage .videos>.empty{grid-column:1/-1;text-align:center}
.pubpage .vcard{display:flex;flex-direction:column;height:auto;overflow:hidden;transition:transform .3s var(--ease),border-color .3s,box-shadow .3s} /* landing.css .vcard: 360px "How it works" card */
.pubpage .vcard:not(.clickable):hover{transform:none}
.pubpage .vcard p{opacity:1}
.pubpage .vcard.clickable{cursor:pointer}
.pubpage .vcard.clickable:hover,.pubpage .vcard.clickable:focus-visible{transform:translateY(-4px);border-color:rgba(143,176,236,.45);box-shadow:0 20px 60px rgba(0,0,0,.4),0 0 50px rgba(66,115,209,.25);outline:none}
.pubpage .vthumb{display:grid;place-items:center;aspect-ratio:16/9;border-bottom:1px solid var(--line);background:radial-gradient(ellipse 70% 90% at 50% 115%,rgba(66,115,209,.55),transparent 70%),#060C17}
.pubpage .vthumb .play{position:static;margin:0;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;animation:none;background:linear-gradient(135deg,#3260C2,#4F80DE);
  border:1px solid rgba(255,255,255,.35);box-shadow:0 0 40px rgba(66,115,209,.7);transition:transform .3s var(--ease),box-shadow .3s}
.pubpage .vcard.clickable:hover .play{transform:scale(1.08);box-shadow:0 0 60px rgba(111,151,230,.95)}
.pubpage .vthumb .play svg{width:22px;height:22px;margin-left:3px;fill:#fff}
.pubpage .vthumb .soon{font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--sky)}
.pubpage .vbody{padding:20px 22px 24px}
.pubpage .vmeta{display:flex;gap:12px;font-size:11.5px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--sky)}
.pubpage .vbody h3{font-size:19px;margin:10px 0 8px}
.pubpage .vbody p{color:var(--muted);font-size:14px;line-height:1.55}

/* ---------- pop-ups (video player, "cancel registration?") and toasts ---------- */
dialog.pop{width:min(720px,94vw);max-width:none;max-height:90vh;margin:auto;padding:0;border:1px solid rgba(143,176,236,.28);border-radius:24px;color:#fff;background:#0B1736;
  box-shadow:0 30px 120px rgba(0,0,0,.6),0 0 90px rgba(66,115,209,.28);font-family:"Instrument Sans",system-ui,sans-serif}
dialog.pop.wide{width:min(1120px,96vw);background:#060C17}
dialog.pop::backdrop{background:rgba(3,6,15,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
dialog.pop header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px 14px;background:inherit}
dialog.pop header h2{margin:0;font-size:22px;font-weight:500;letter-spacing:-.01em}
dialog.pop .close{all:unset;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:28px;line-height:1;color:var(--sky);cursor:pointer}
dialog.pop .close:hover{background:rgba(255,255,255,.08);color:#fff}
dialog.pop .close:focus-visible{outline:2px solid var(--sky);outline-offset:2px}
dialog.pop .dialog-body{padding:4px 22px 22px;overflow:auto;color:rgba(255,255,255,.85)}
dialog.pop.wide .dialog-body{padding:0}
dialog.ask{width:min(460px,92vw)}
dialog.pop .dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px}
.film-frame{position:relative;width:100%;height:min(calc(min(1120px,96vw) * 9 / 16 + 72px),86vh)}
.film-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#toasts{position:fixed;left:50%;bottom:24px;z-index:1000;display:grid;gap:8px;transform:translateX(-50%);pointer-events:none}
#toasts .toast{padding:12px 18px;border-radius:14px;font-size:14.5px;color:#fff;background:#0B1736;border:1px solid rgba(143,176,236,.3);
  box-shadow:0 10px 40px rgba(0,0,0,.4),0 0 30px rgba(66,115,209,.3);animation:pg-rise .3s both}
#toasts .toast.error{background:#4A1620;border-color:rgba(255,138,138,.45)}
/* PF.toast (common.js) */
body>.toast{position:fixed;left:50%;bottom:24px;z-index:1000;padding:12px 18px;border-radius:14px;font-size:14.5px;color:#fff;background:#0B1736;border:1px solid rgba(143,176,236,.3);
  box-shadow:0 10px 40px rgba(0,0,0,.4);opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:opacity .3s,transform .3s var(--ease)}
body>.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- tablets ---------- */
@media (max-width:900px){
  .pubpage .split{grid-template-columns:minmax(0,1fr)}
  dialog.pop,dialog.pop.wide{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:20px 20px 0 0}
}
@media (max-width:800px){.film-frame{height:min(calc(100vw * 9 / 16 + 76px),80vh)}}

/* ---------- phones (the homepage's phone layout starts at 760px) ---------- */
@media (max-width:760px){
  .pubpage main::before{top:-120px;height:620px}
  .pubpage .hero{padding:112px 0 36px}
  .pubpage main h1{font-size:clamp(34px,9.2vw,40px);line-height:1.08}
  .pubpage main .h-section,.pubpage .section-head h2{font-size:clamp(28px,7.8vw,32px)}
  .pubpage .hero .intro{font-size:16px;margin-top:14px}
  .pubpage .block{padding:44px 0}
  .pubpage .section-head{margin-bottom:28px}
  .pubpage .legal{padding:24px 20px;font-size:15px;line-height:1.65;border-radius:20px}
  .pubpage .legal h2{font-size:20px;margin-top:32px}
  .pubpage .legal .panel.summary{padding:18px}
  .pubpage .authpage{place-items:start center;padding:100px 20px 56px;min-height:0}
  .pubpage .authcard{padding:28px 22px;border-radius:20px}
  .pubpage .authcard h1{font-size:32px}
  .pubpage .narrow{padding:112px 20px 64px}
  .pubpage .who{flex-direction:column;align-items:flex-start;gap:16px}
  .pubpage .sys-wordmark{width:min(100%,300px);height:88px}
  .pubpage .copy-cta .copy-now{display:flex;width:100%;min-height:50px;justify-content:center}
  .pubpage .stats{padding:20px;gap:18px 16px;margin-top:28px}
  .pubpage .stats strong{font-size:24px}
  .pubpage .details{grid-template-columns:1fr;gap:2px}.pubpage .details dd{margin-bottom:8px}
  .pubpage .when{grid-template-columns:1fr 1fr}
  .pubpage .when>div:first-child{grid-column:1/-1}
  .pubpage .rewards,.pubpage .videos{grid-template-columns:minmax(0,1fr)}
  .pubpage .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pubpage .metrics>div{padding:12px 14px}
  .pubpage .metrics b{font-size:21px}
  .pubpage main .cta{border-radius:24px;padding:40px 20px}
  .pubpage main .cta .btn{display:flex;width:100%;margin:10px 0 0}
  .pubpage main p:has(>.btn)>.btn{flex:1 1 auto}
  .pubpage .vbody{padding:18px 18px 20px}
  #toasts{left:16px;right:16px;transform:none;bottom:calc(16px + env(safe-area-inset-bottom))}
}
@media (max-width:700px){
  .pubpage .returns-wide{display:none}
  .pubpage .returns-narrow{display:block}
  .pubpage .returns-narrow table.plain td small{display:inline;margin-left:6px}
  .pubpage table.plain th,.pubpage table.plain td{padding:9px 8px}
  .pubpage table.plain th:first-child,.pubpage table.plain td:first-child{padding-left:12px}
  .pubpage table.plain th:last-child,.pubpage table.plain td:last-child{padding-right:12px}
}
@media (prefers-reduced-motion:reduce){
  .pubpage .hero .wrap>*,.pubpage .authcard,#toasts .toast{animation:none}
  .pubpage .vcard,.pubpage .vthumb .play{transition:none}
}
