/* The landing, version 3 (local): melius.com's structure in Brazkit's light mode, sized for a 1920 screen first and
   rebuilt for the phone. The components are always the kit's live cards alone (src/portais/embed.js), on the page or
   on the glass flow, never inside another coloured box. The founding bar, the Custom band and the close carry the glass
   flow of the films (field.js); behind the hero, the clean gradient of version 2, much lighter, its lights drifting.
   Page tokens are --v-*: the kit owns
   --mute, --line, --accent and the rest on :root, for the live graphics. */
:root {
  --v-bg: #EEF2FA; --v-card: #FFFFFF; --v-text: #0A1541; --v-mute: #3F4A74; --v-dim: #59648C;
  --v-rim: rgba(10, 21, 65, .1); --v-rim-2: rgba(10, 21, 65, .2); --v-line: rgba(10, 21, 65, .09);
  --v-navy: #0A1541; --v-navy-2: #12205C; --v-royal: #1537C9; --v-mint: #19B98A; --v-yellow: #FFD400;
  --v-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -36px rgba(10, 21, 65, .42);
  --v-card-shadow: 0 30px 46px -30px rgba(10, 21, 65, .55), 0 6px 14px -8px rgba(10, 21, 65, .22);
  --v-soft: radial-gradient(60% 90% at 86% 12%, rgba(60, 158, 241, .22) 0%, rgba(60, 158, 241, 0) 70%), radial-gradient(55% 80% at 10% 100%, rgba(143, 240, 214, .24) 0%, rgba(143, 240, 214, 0) 70%), linear-gradient(180deg, #F7F9FE 0%, #EDF2FC 100%);
  --v-wrap: 1600px; --v-pad: clamp(16px, 3.2vw, 56px); --v-ease: cubic-bezier(.16, 1, .3, 1);
  --v-font-d: Archivo, 'Instrument Sans', sans-serif; --v-font: 'Instrument Sans', system-ui, sans-serif;
}
html, body { overflow: visible; }
html { background: var(--v-bg); scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--v-rim-2) transparent; }
body { background: var(--v-bg); color: var(--v-text); font-family: var(--v-font); font-size: 17px; line-height: 1.5; font-feature-settings: normal; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--v-yellow); color: var(--v-navy); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:is(a, button):focus-visible { outline: 2px solid var(--v-royal); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: calc(var(--v-wrap) + 2 * var(--v-pad)); margin: 0 auto; padding: 0 var(--v-pad); }
h1, h2, h3, h4 { font-family: var(--v-font-d); text-wrap: balance; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the embed: the kit's card keeps the kit's own type and colours (as in src/portais/site.html) */
.bk-card { font-family: var(--font); color: var(--paper); font-feature-settings: 'tnum' 1, 'ss01' 1; line-height: normal; letter-spacing: normal; text-transform: none; text-align: left; font-weight: 400; }
.bk-card .face { position: absolute; left: 0; top: 0; }
/* the glass flow (field.js draws it on a canvas; this is its colour until the canvas arrives) */
.flow { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(100deg, #060E33 0%, #1C3CBE 46%, #2E6BEC 70%, #3C9EF1 84%, #54D0EC 94%, #8FF0D6 100%); }
.flow > canvas { z-index: -1; }

/* buttons: rounded squares, never pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 12px; font-size: 16px; font-weight: 600; line-height: 1.1; white-space: nowrap; transition: transform .25s var(--v-ease), box-shadow .25s, background-color .25s, color .25s; }
.btn.lg { min-height: 58px; padding: 15px 28px; font-size: 18px; border-radius: 14px; }
.btn.sun { color: var(--v-navy); background: linear-gradient(180deg, #FFE45C 0%, #FFD400 55%, #F2C500 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 22px -12px rgba(10, 21, 65, .45); }
.btn.sun:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 28px -14px rgba(10, 21, 65, .5); }
.btn.navy { color: #FFFFFF; background: var(--v-navy); }
.btn.navy:hover { background: var(--v-navy-2); transform: translateY(-2px); }
.btn.line { color: var(--v-text); background: var(--v-card); box-shadow: inset 0 0 0 1px var(--v-rim-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--v-navy); }
.btn.ghost { color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #FFFFFF; background: rgba(255, 255, 255, .06); }
.btn.sm { min-height: 40px; padding: 9px 15px; font-size: 15px; border-radius: 10px; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--v-ease); }
.btn:hover .ic { transform: translateX(3px); }
.micro { margin-top: 12px; font-size: 14px; color: var(--v-dim); }

/* the top: the founding bar on the glass flow (its spots and its Apply in the CTAs' yellow), then a plain header */
.topbar { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 46px; padding: 7px 16px; color: #FFFFFF; font-size: 15px; text-align: center; }
.topbar b { font-weight: 700; color: var(--v-yellow); }
.topbar .short { display: none; }
.topbar .go { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--v-navy); background: var(--v-yellow); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--v-ease); }
.topbar .go .ic { width: 15px; height: 15px; transition: transform .25s var(--v-ease); }
.topbar:hover .go { transform: translateY(-1px); }
.topbar:hover .go .ic { transform: translateX(3px); }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--v-line); }
.top .wrap { position: relative; height: 72px; display: flex; align-items: center; gap: 24px; }
.top .logo { flex: none; }
.top .logo img { display: block; }
.top .logo .logo-h { height: 32px; }
.top .logo .logo-v { display: none; height: 32px; }
/* the menu sits on the page's own centre line, whatever the widths of the logo and the buttons */
.menu { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; }
.menu a { padding: 8px 13px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--v-mute); transition: color .2s, background-color .2s; }
.menu a:hover { color: var(--v-text); background: var(--v-bg); }
.top .acts { display: flex; gap: 10px; margin-left: auto; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; place-items: center; color: var(--v-navy); box-shadow: inset 0 0 0 1px var(--v-rim-2); }
.drawer { display: none; }

/* the hero: the faint flow behind for depth; the title, the band of live cards, one CTA, the providers it imports */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 5.4vw, 112px) 0 clamp(28px, 2.4vw, 44px); text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #FAFBFE 0%, #F4F7FC 72%, var(--v-bg) 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%); }
/* the clean gradient of version 2, much lighter: soft lights in the brand's colours, passing slowly behind everything
   (each light is a radial gradient on a layer of its own, moved, never repainted) */
.hero-bg i { position: absolute; width: 54vmax; height: 54vmax; border-radius: 50%; will-change: transform; }
.hero-bg .l1 { right: -10vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(60, 158, 241, .21), rgba(60, 158, 241, 0)); animation: lightA 23s ease-in-out infinite alternate; }
.hero-bg .l2 { left: -16vmax; top: -16vmax; background: radial-gradient(closest-side, rgba(28, 60, 190, .12), rgba(28, 60, 190, 0)); animation: lightB 29s ease-in-out infinite alternate; }
.hero-bg .l3 { left: 4vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(143, 240, 214, .28), rgba(143, 240, 214, 0)); animation: lightC 26s ease-in-out infinite alternate; }
.hero-bg .l4 { right: 6vmax; bottom: -32vmax; background: radial-gradient(closest-side, rgba(46, 107, 236, .14), rgba(46, 107, 236, 0)); animation: lightD 33s ease-in-out infinite alternate; }
@keyframes lightA { to { transform: translate3d(-20vmax, 9vmax, 0) scale(1.12); } }
@keyframes lightB { to { transform: translate3d(18vmax, 10vmax, 0) scale(.9); } }
@keyframes lightC { to { transform: translate3d(24vmax, -9vmax, 0) scale(1.06); } }
@keyframes lightD { to { transform: translate3d(-22vmax, -7vmax, 0) scale(1.1); } }
.hero h1 { position: relative; z-index: 2; font-size: clamp(40px, 5.2vw, 100px); line-height: 1.03; font-weight: 600; letter-spacing: -.035em; }
.m-br { display: none; }
.for { position: relative; z-index: 2; margin: 0 0 22px; font: 700 clamp(13px, .95vw, 16px)/1.2 var(--v-font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--v-dim); }
.swap { display: inline-block; color: var(--v-royal); white-space: nowrap; text-align: left; transition: width .5s var(--v-ease); }
.band { position: relative; z-index: 1; height: 340px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.band.drag { cursor: grabbing; }
.tile { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; will-change: transform; border-radius: 16px; box-shadow: var(--v-card-shadow); }
.tile .bk-card { pointer-events: none; }
.hero .sub { position: relative; z-index: 2; max-width: 38em; margin: 0 auto; padding: 0 16px; font-size: clamp(17px, 1.2vw, 22px); color: var(--v-mute); text-wrap: pretty; }
.hero .cta { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.imports { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 46px; margin: clamp(40px, 3.6vw, 64px) auto 0; padding: 0 var(--v-pad); }
.imports > span { font: 700 13px/1 var(--v-font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--v-dim); }
.imports b { font: 700 clamp(19px, 1.35vw, 24px)/1 var(--v-font-d); font-stretch: 108%; letter-spacing: -.01em; color: #5F6A8E; white-space: nowrap; }

/* sections */
.sec { padding: clamp(64px, 5.6vw, 112px) 0; }
.eyebrow { display: block; margin-bottom: 14px; text-align: center; font: 700 14px/1 var(--v-font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--v-royal); }
.s-title { text-align: center; font-size: clamp(32px, 3.6vw, 70px); line-height: 1.03; font-weight: 600; letter-spacing: -.034em; }
.s-sub { max-width: 42em; margin: 18px auto 0; text-align: center; font-size: clamp(17px, 1.15vw, 21px); color: var(--v-mute); text-wrap: pretty; }
.rv { transition: opacity .7s var(--v-ease), transform .7s var(--v-ease); }
.rv.out { opacity: 0; transform: translateY(24px); }

/* try every graphic, live: one panel (as in version 2): the graphics on top, the stage, the controls along the bottom */
.app { max-width: 1280px; margin: 40px auto 0; overflow: hidden; border-radius: 26px; background: var(--v-card); box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim); }
.tabs-x { display: flex; justify-content: center; gap: 6px; padding: 12px; border-bottom: 1px solid var(--v-line); overflow-x: auto; scrollbar-width: none; }
.tabs-x::-webkit-scrollbar { display: none; }
.tabs-x button { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--v-mute); transition: background-color .25s, color .25s; }
.tabs-x button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs-x button:hover { color: var(--v-text); background: var(--v-bg); }
.tabs-x button[aria-selected="true"] { color: #FFFFFF; background: var(--v-navy); }
.app-stage { position: relative; padding: clamp(20px, 2.4vw, 44px); background: var(--v-soft); }
.app-stage .box { position: relative; display: grid; place-items: center; height: clamp(300px, 25vw, 480px); }
.app-stage .bk-card { box-shadow: var(--v-card-shadow); }
.app-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; padding: 14px 18px; border-top: 1px solid var(--v-line); }
/* the glass room: when the Glass style is on, coloured lights drift behind the stage, for the glass to bend */
.glass-room { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .7s var(--v-ease); background: linear-gradient(125deg, #0A1A66 0%, #1537C9 48%, #2E6BEC 100%); }
.app.glass .glass-room { opacity: 1; }
.glass-room i { position: absolute; border-radius: 50%; will-change: transform; }
.glass-room .o1 { width: 44%; aspect-ratio: 1; left: 6%; top: -10%; background: radial-gradient(closest-side, rgba(84, 208, 236, .95), rgba(84, 208, 236, 0)); animation: orbA 12s ease-in-out infinite alternate; }
.glass-room .o2 { width: 40%; aspect-ratio: 1; right: 4%; bottom: -18%; background: radial-gradient(closest-side, rgba(143, 240, 214, .9), rgba(143, 240, 214, 0)); animation: orbB 14s ease-in-out infinite alternate; }
.glass-room .o3 { width: 24%; aspect-ratio: 1; right: 22%; top: 4%; background: radial-gradient(closest-side, rgba(255, 212, 0, .75), rgba(255, 212, 0, 0)); animation: orbC 10s ease-in-out infinite alternate; }
.glass-room .o4 { width: 36%; aspect-ratio: 1; left: 28%; bottom: -22%; background: radial-gradient(closest-side, rgba(60, 158, 241, .9), rgba(60, 158, 241, 0)); animation: orbD 16s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate(70%, 40%) scale(1.15); } }
@keyframes orbB { to { transform: translate(-80%, -35%) scale(.9); } }
@keyframes orbC { to { transform: translate(-150%, 120%); } }
@keyframes orbD { to { transform: translate(60%, -60%) scale(1.2); } }
.app-stage .box { z-index: 1; }
.ctl { display: flex; align-items: center; gap: 10px; }
.ctl .lab { font-size: 13px; font-weight: 600; color: var(--v-dim); }
.sw { display: inline-flex; gap: 7px; }
.sw button { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--a) 0 56%, var(--b) 56% 100%); box-shadow: inset 0 0 0 1px rgba(10, 21, 65, .18); transition: box-shadow .2s; }
.sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--v-navy); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--v-bg); }
.seg button { padding: 6px 10px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--v-mute); transition: color .2s, background-color .2s; }
.seg button:hover { color: var(--v-text); }
.seg button[aria-pressed="true"] { color: #FFFFFF; background: var(--v-navy); }
.acts-x { display: flex; gap: 8px; }

/* one file in, every format out: the file on top, four wires, the same graphic in the four formats in one row */
.case { margin-top: 44px; padding: clamp(20px, 2.4vw, 40px); border-radius: 30px; background: var(--v-card); box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim); }
.filebar { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 10px 12px; border-radius: 16px; background: var(--v-bg); }
.fchip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 10px; background: #FFFFFF; font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 1px var(--v-rim); }
.fchip .ic { color: var(--v-royal); stroke-width: 1.6; }
.evs { list-style: none; display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.evs::-webkit-scrollbar { display: none; }
.evs li { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--v-mute); background: #FFFFFF; white-space: nowrap; transition: background-color .35s, color .35s, box-shadow .35s; }
.evs li em { font-style: normal; font-weight: 700; color: var(--v-royal); font-variant-numeric: tabular-nums; }
.evs li.lit { color: var(--v-text); background: #DCEBFF; box-shadow: 0 0 0 1px rgba(21, 55, 201, .25); }
.fok { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--v-dim); transition: color .4s, background-color .4s; }
.fok .ic { color: var(--v-rim-2); transition: color .4s; }
.fok.on { color: #0A1541; background: #D6F5EA; }
.fok.on .ic { color: var(--v-mint); }
.case { position: relative; }
.case > :not(.wires) { position: relative; z-index: 1; }
.wires { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: rgba(21, 55, 201, .2); stroke-width: 2; }
.wires path.run { stroke: var(--v-royal); stroke-dasharray: 10 14; stroke-width: 2; animation: wire 1.1s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -24; } }
/* the posts: each network's own frame, the graphic in it as it is exported (the card on its moving blue) */
/* two rows shared by the four (subgrid): the headers in one line, the posts hanging from one line under them */
.socials { display: grid; grid-template-columns: 1.7fr 1fr .9fr 1fr; grid-template-rows: auto auto; column-gap: clamp(18px, 2.4vw, 44px); row-gap: 14px; margin-top: clamp(48px, 4.6vw, 84px); }
.mock { margin: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 14px; min-width: 0; }
.mock > :not(.netbar) { align-self: start; }
.yt { display: grid; gap: 14px; }
/* where it goes: the networks' marks and their names, right above the post (the wires from the file end here) */
.netbar { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 10px 12px; padding: 12px 14px 13px; border-radius: 16px; background: var(--v-bg); }
.netbar .ics { display: flex; gap: 6px; }
.netbar .ics i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; color: var(--v-navy); box-shadow: 0 0 0 1px var(--v-rim); }
.netbar .ics svg { width: 19px; height: 19px; }
.netbar em { margin-left: auto; padding: 6px 9px; border-radius: 8px; font: 700 14px/1 var(--v-font-d); font-style: normal; letter-spacing: -.01em; color: var(--v-mute); background: #FFFFFF; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px var(--v-rim); }
.netbar p { flex-basis: 100%; font-size: 15px; line-height: 1.3; color: var(--v-mute); text-wrap: balance; }
.netbar p b { font-weight: 700; color: var(--v-text); }
.media { position: relative; overflow: hidden; isolation: isolate; background: #12288F; }
.media::before { content: ''; position: absolute; inset: -12% -24%; z-index: -1; pointer-events: none; background:
  radial-gradient(55% 75% at 82% 30%, #3C9EF1 0%, rgba(60, 158, 241, 0) 70%),
  radial-gradient(60% 80% at 70% 90%, #2E6BEC 0%, rgba(46, 107, 236, 0) 70%),
  radial-gradient(60% 70% at 15% 15%, rgba(84, 208, 236, .55) 0%, rgba(84, 208, 236, 0) 70%),
  linear-gradient(120deg, #071037 0%, #12288F 55%, #1C3CBE 100%);
  animation: mediaDrift 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes mediaDrift { from { transform: translate3d(-9%, 0, 0); } to { transform: translate3d(9%, 0, 0); } }
/* the card sits in a slot of its own (makeEmbed sets its host's position and size) */
.media .slot { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.av { width: 34px; height: 34px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px var(--v-rim); }
.av img { width: 72%; height: 72%; object-fit: contain; }
/* 16:9: a video player */
.vplayer { overflow: hidden; border-radius: 16px; box-shadow: var(--v-card-shadow); }
.m-video .media { aspect-ratio: 16 / 9; }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 18px 14px 11px; color: #FFFFFF; font-size: 12px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5)); }
.vbar .ic { width: 16px; height: 16px; }
.vprog { flex: 1; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.vprog i, .sbars > i > i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--v-yellow); }
.vmeta { display: flex; align-items: flex-start; gap: 12px; }
.vmeta b { display: block; font-size: 15px; font-weight: 700; }
.vmeta span { display: block; margin-top: 2px; font-size: 13px; color: var(--v-dim); }
.vmeta em { font-style: normal; font-variant-numeric: tabular-nums; }
/* 4:5 and 1:1: posts */
.post { overflow: hidden; border-radius: 18px; background: #FFFFFF; box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim); }
.phead { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 14px; }
.phead > div b, .phead > b { display: block; font-weight: 700; }
.phead > div span { display: block; font-size: 12px; color: var(--v-dim); }
.phead .more { margin-left: auto; color: var(--v-dim); letter-spacing: .1em; }
.m-feed .media { aspect-ratio: 4 / 5; }
.pact { display: flex; align-items: center; gap: 14px; padding: 11px 12px 5px; color: var(--v-text); }
.pact .ic { width: 22px; height: 22px; stroke-width: 1.7; }
.pact .bm { margin-left: auto; }
.heart { transition: color .3s, fill .3s; }
.heart.on { color: #E8335A; fill: #E8335A; animation: pop .45s var(--v-ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.plikes { padding: 0 12px 13px; font-size: 14px; }
.plikes b { font-variant-numeric: tabular-nums; }
.ptext { padding: 0 14px 10px; font-size: 14px; }
.m-square .media { aspect-ratio: 1; margin: 0 12px; border-radius: 12px; }
.pcounts { display: flex; justify-content: space-between; padding: 11px 18px 13px; font-size: 13px; color: var(--v-dim); }
.pcounts span { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; transition: color .3s; }
.pcounts em { font-style: normal; }
.pcounts .ic { width: 17px; height: 17px; }
.pcounts .lk.on { color: #E8335A; }
.pcounts .lk.on .ic { fill: #E8335A; animation: pop .45s var(--v-ease); }
/* 9:16: a story on a phone */
.phone { padding: 9px; border-radius: 36px; background: #0B0F1F; box-shadow: 0 34px 60px -30px rgba(10, 21, 65, .65), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.m-story .media { aspect-ratio: 9 / 16; border-radius: 28px; }
.sbars { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; }
.sbars > i { flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.sbars > i.done { background: #FFFFFF; }
.sbars > i > i { background: #FFFFFF; }
.shead { position: absolute; top: 21px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: 13px; }
.shead .av { width: 28px; height: 28px; }
.shead span { opacity: .7; }
.sfoot { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-size: 13px; }
.sfoot span { flex: 1; min-width: 0; padding: 9px 14px; border-radius: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.sfoot .ic { width: 22px; height: 22px; }
.case-cta { display: flex; flex-direction: column; align-items: center; margin-top: 34px; }

/* plans */
.billing { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; font-size: 16px; color: var(--v-mute); }
.billing span { cursor: pointer; }
.billing .on { color: var(--v-text); font-weight: 600; }
.switch { position: relative; width: 56px; height: 30px; border-radius: 15px; background: var(--v-navy); }
.switch::after { content: ''; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--v-yellow); transition: transform .3s var(--v-ease); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
.save { padding: 4px 9px; border-radius: 7px; font-size: 13px; font-weight: 700; background: #DCEBFF; color: var(--v-royal); }
.pick { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1360px; margin: 34px auto 0; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 30px 28px; border-radius: 24px; background: var(--v-card); box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim); }
.plan.main { background: var(--v-soft); box-shadow: 0 0 0 2px var(--v-navy), 0 34px 70px -36px rgba(10, 21, 65, .55); }
.plan.main ul { border-top-color: rgba(10, 21, 65, .12); }
.plan .flag { position: absolute; top: -13px; right: 30px; padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; background: var(--v-navy); color: #FFFFFF; }
.plan h3 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.plan .for { margin-top: 2px; font-size: 15px; color: var(--v-mute); }
.plan .price { margin-top: 32px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font: 600 clamp(46px, 3.4vw, 62px)/1 var(--v-font-d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: 16px; color: var(--v-mute); }
.plan .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 26px; }
.plan .tags span { padding: 4px 9px; border-radius: 7px; font-size: 13px; font-weight: 600; background: var(--v-bg); color: var(--v-mute); }
.plan .tags .y { background: #FFF4B8; color: var(--v-navy); }
.plan .then { margin-top: 8px; font-size: 14px; color: var(--v-dim); min-height: 21px; }
.plan ul { list-style: none; margin: 20px 0 26px; padding-top: 18px; border-top: 1px solid var(--v-line); display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--v-mute); }
.plan li .ic { margin-top: 2px; color: var(--v-royal); }
.plan .btn { margin-top: auto; }
.single { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1360px; margin: 22px auto 0; padding: 22px 28px; border-radius: 22px; background: var(--v-card); box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim); }
.single h4 { font-size: 19px; font-weight: 700; }
.single h4 span { margin-left: 8px; font: 600 16px/1 var(--v-font); color: var(--v-royal); }
.single p { margin-top: 4px; max-width: 54em; font-size: 15px; color: var(--v-mute); }
.fine { margin-top: 16px; text-align: center; font-size: 13px; color: var(--v-dim); }

/* Custom: the feed in, every match out on its own, on the glass flow */
.custom { border-radius: 32px; color: #FFFFFF; box-shadow: 0 50px 90px -50px rgba(6, 14, 51, .8); }
.custom-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 80px); align-items: center; padding: clamp(24px, 3vw, 52px) clamp(24px, 3.4vw, 60px); }
.custom .eyebrow { text-align: left; color: #9FD8FF; }
.custom h2 { font-size: clamp(32px, 3vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -.032em; }
.custom .lead { margin-top: 18px; max-width: 32em; font-size: clamp(17px, 1.1vw, 20px); color: #DCE6FF; }
.custom .act { margin-top: 26px; }
.custom .micro { color: #C9D6F5; }
.feed { position: relative; min-width: 0; padding: 22px; border-radius: 24px; background: rgba(6, 14, 51, .72); box-shadow: inset 0 0 0 1px rgba(160, 200, 255, .22), 0 40px 70px -40px rgba(0, 0, 0, .6); }
.feed-top { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #A9B6D8; }
.feed-top .live { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #3BE3A6; box-shadow: 0 0 0 4px rgba(59, 227, 166, .18); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(59, 227, 166, 0); } }
.feed-top span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-top span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; }
.events { list-style: none; display: grid; gap: 6px; margin-top: 12px; min-height: 128px; align-content: start; }
.events li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 11px; background: rgba(255, 255, 255, .05); font-size: 15px; color: #E8EEFF; animation: evin .5s var(--v-ease) both; }
.events li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.events li em { font-style: normal; font-weight: 700; color: #8DB8FF; font-variant-numeric: tabular-nums; }
.events li small { font-size: 13px; color: #A9B6D8; }
.events li.ft { background: rgba(255, 212, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 212, 0, .4); }
.events li.ft em { color: var(--v-yellow); }
@keyframes evin { from { opacity: 0; transform: translateY(8px); } }
.render { margin-top: 16px; }
.render-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #C9D6F5; }
.render-top b { font-weight: 600; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rbar { height: 4px; margin-top: 10px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.rbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #3C9EF1, #8FF0D6); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; margin-top: 16px; }
.thumbs .th { position: relative; min-width: 0; display: grid; justify-items: center; opacity: .16; transform: translateY(6px) scale(.96); transition: opacity .5s var(--v-ease), transform .5s var(--v-ease); }
.thumbs .th.on { opacity: 1; transform: none; }
.thumbs .th::after { content: ''; position: absolute; right: -4px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #3BE3A6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.4 3 3 6-6.6' fill='none' stroke='%230A1541' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transform: scale(0); transition: transform .4s var(--v-ease) .15s; }
.thumbs .th.on::after { transform: scale(1); }
.dest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dest span { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #A9B6D8; background: rgba(255, 255, 255, .05); transition: color .4s, background-color .4s; }
.dest span.on { color: #0A1541; background: #8FF0D6; }

/* questions: the title and a way to ask on the left, the questions as cards on the right */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 100px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .s-title, .faq-side .eyebrow { text-align: left; }
.faq-side p { margin-top: 18px; max-width: 26em; font-size: clamp(17px, 1.1vw, 20px); color: var(--v-mute); }
.ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 16px; font-weight: 700; color: var(--v-royal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ask .ic { width: 16px; height: 16px; transition: transform .25s var(--v-ease); }
.ask:hover .ic { transform: translate(2px, -2px); }
.qa { display: grid; gap: 12px; }
.q { border-radius: 20px; background: var(--v-card); box-shadow: 0 0 0 1px var(--v-rim); transition: box-shadow .3s; }
.q:hover { box-shadow: 0 0 0 1px var(--v-rim-2); }
.q.open { box-shadow: var(--v-shadow), 0 0 0 1px var(--v-rim-2); }
.q button { display: flex; align-items: center; gap: 18px; width: 100%; padding: 24px 26px; text-align: left; font: 600 clamp(17px, 1.15vw, 21px)/1.3 var(--v-font-d); letter-spacing: -.01em; }
.q button em { flex: none; font: 700 14px/1 var(--v-font); font-style: normal; color: var(--v-royal); font-variant-numeric: tabular-nums; }
.q button i { position: relative; flex: none; width: 34px; height: 34px; margin-left: auto; border-radius: 10px; background: var(--v-bg); transition: background-color .3s, transform .4s var(--v-ease); }
.q button i::before, .q button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: var(--v-navy); transition: transform .4s var(--v-ease), background-color .3s; }
.q button i::after { transform: rotate(90deg); }
.q.open button i { background: var(--v-navy); transform: rotate(180deg); }
.q.open button i::before, .q.open button i::after { background: #FFFFFF; }
.q.open button i::after { transform: rotate(0deg); }
.q .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--v-ease); }
.q.open .a { grid-template-rows: 1fr; }
.q .a > div { overflow: hidden; }
.q .a p { padding: 0 26px 26px 58px; max-width: 46em; font-size: 16px; color: var(--v-mute); }

/* the close, on the glass flow, the player of the match alone on it, upright; then a plain footer */
.close { border-radius: 32px; color: #FFFFFF; }
.close-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "text vis" "text act"; column-gap: clamp(28px, 4vw, 70px); row-gap: 26px; align-items: center; padding: clamp(32px, 4.2vw, 80px); }
.close-text { grid-area: text; }
.close-vis { grid-area: vis; align-self: end; }
.close-act { grid-area: act; align-self: start; justify-self: center; }
.close .close-act .act { margin-top: 0; justify-content: center; }
.close h2 { font-size: clamp(36px, 4.2vw, 84px); line-height: .98; font-weight: 600; letter-spacing: -.04em; }
.close p { margin-top: 20px; max-width: 30em; font-size: clamp(17px, 1.2vw, 22px); color: #DCE6FF; }
.close .act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.close .spots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; align-items: center; font-size: 15px; color: #DCE6FF; }
.close .spots i { width: 26px; height: 8px; border-radius: 4px; background: var(--v-yellow); }
.close .spots i + span { margin-left: 6px; }
.close-vis { justify-self: center; display: grid; place-items: center; width: min(100%, 380px); min-width: 0; }
.close-vis .bk-card { box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(160, 200, 255, .2); }
.foot { padding: clamp(52px, 4.6vw, 84px) 0 32px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .6fr)); gap: 40px; }
.foot .brand img { display: block; height: 36px; }
.foot .brand p { margin-top: 16px; max-width: 24em; font-size: 16px; color: var(--v-mute); }
.foot h4 { font: 700 13px/1 var(--v-font-d); letter-spacing: .12em; text-transform: uppercase; color: var(--v-dim); }
.foot ul { list-style: none; margin-top: 18px; display: grid; gap: 11px; font-size: 16px; }
.foot li a { color: var(--v-text); transition: color .2s; }
.foot li a:hover { color: var(--v-royal); }
.legal { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--v-line); font-size: 14px; color: var(--v-dim); }

@media (max-width: 1299px) { .menu { display: none; } .burger { display: grid; } .top .logo .logo-h { height: 28px; } }
@media (min-width: 961px) and (max-width: 1279px) {
  .netbar { gap: 8px 6px; padding: 10px 10px 11px; }
  .netbar .ics { gap: 3px; } .netbar .ics i { width: 26px; height: 26px; } .netbar .ics svg { width: 15px; height: 15px; }
  .netbar em { padding: 5px 6px; font-size: 13px; } .netbar p { font-size: 14px; }
}
@media (max-width: 1100px) {
  .custom-in { grid-template-columns: minmax(0, 1fr); }
  .close-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "vis" "act"; row-gap: 28px; }
  .close-act { justify-self: stretch; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }

}
@media (max-width: 960px) {
  .drawer { position: absolute; left: 0; right: 0; top: 76px; z-index: 60; display: none; flex-direction: column; margin: 0 12px; padding: 8px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 30px 50px -20px rgba(10, 21, 65, .45), 0 0 0 1px var(--v-rim); }
  .drawer.open { display: flex; }
  .drawer a { padding: 13px 14px; border-radius: 10px; color: var(--v-text); font-weight: 500; }
  .drawer a:hover { background: var(--v-bg); }
  .top .acts .line { display: none; }
  .tabs-x { justify-content: flex-start; }
  .plans, .single { max-width: 620px; }
  .single { flex-direction: column; align-items: flex-start; }
  .wires { display: none; }
  .filebar { flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
  .socials { display: flex; align-items: flex-start; gap: 14px; margin: 26px calc(-1 * var(--v-pad)) 0; padding: 0 var(--v-pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .socials::-webkit-scrollbar { display: none; }
  .mock { flex: none; width: min(74vw, 340px); scroll-snap-align: center; }
  .m-video { width: min(86vw, 520px); }
  .m-story { width: min(60vw, 280px); }
  .mock { grid-template-rows: none; }   /* no shared rows in a swipe row (a subgrid there loses the post's height) */
  .netbar p { min-height: 2.6em; }
  /* on a phone the story comes first: the format the phone itself posts */
  .m-story { order: -2; } .m-feed { order: -1; }
  .evs { order: 3; width: 100%; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* plans on a phone: one plan at a time, picked from a switch above */
  .pick { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 22px auto 0; padding: 4px; border-radius: 12px; background: var(--v-card); box-shadow: 0 0 0 1px var(--v-rim); }
  .pick button { padding: 9px 18px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--v-mute); }
  .pick button[aria-selected="true"] { color: #FFFFFF; background: var(--v-navy); }
  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
  .plans .plan { display: none; }
  .plans .plan.shown { display: flex; }
}
@media (max-width: 560px) {
  .topbar { font-size: 14px; gap: 10px; }
  .topbar .long { display: none; }
  .topbar .short { display: inline; }
  .top .wrap { height: 64px; gap: 12px; }
  .top .logo .logo-h { display: none; }
  .top .logo .logo-v { display: block; height: 30px; }
  .top .acts .sun { min-height: 38px; padding: 8px 12px; font-size: 14px; }
  .hero h1 { font-size: 38px; line-height: 1.05; }
  .m-br { display: inline; }
  .for { margin-bottom: 16px; }
  .imports { gap: 12px 26px; }
  .imports > span { width: 100%; }
  .app { border-radius: 22px; margin-top: 28px; }
  .app-stage { padding: 18px 14px; }
  .app-stage .box { height: 440px; }
  .app-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  .app-bar .ctl { justify-content: space-between; }
  .acts-x { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .case { padding: 16px; border-radius: 22px; }
  .filebar { padding: 8px; gap: 8px; }
  .custom, .close { border-radius: 24px; }
  .custom-in { padding: 26px 18px; }
  .feed { padding: 16px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q button { padding: 20px 18px; gap: 12px; }
  .q .a p { padding: 0 18px 22px 18px; }
  .close-in { padding: 30px 20px; }
  .close .act .btn { flex: 1 1 100%; }
  .close-vis { width: min(100%, 300px); }
  .foot .brand p { font-size: 15px; }
  .foot ul { font-size: 15px; gap: 10px; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* the open beta (07/10): the note above the plans */
.beta-note { display: table; margin: 20px auto 0; padding: 10px 16px; border-radius: 12px; font-size: 16px; text-align: center; color: var(--v-navy); background: #FFF4B8; }
.beta-note b { font-weight: 700; }
