/* /features: each group of features beside a drawing of the app doing it; every
   feature tagged with the plan it needs. The drawings' parts are drawn.css's. */
.sprite { position:absolute; }
section.tight h2 { text-align:center; }
.plan { align-self:flex-start; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:9px; border:1px solid var(--line2); color:var(--muted); white-space:nowrap; }
.plan.acct { color:var(--accent); background:var(--chip); border-color:var(--chip-line); }
.plan.pro { color:var(--accent-ink); background:var(--accent); border-color:var(--accent); }
/* Three equal columns, tag over its words, so a long line (French) never leaves one tier alone on a second row. */
.legend { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,220px)); justify-content:center; gap:14px 28px; margin-top:26px; color:var(--muted); font-size:14px; line-height:1.4; text-align:center; }
.legend li { display:flex; flex-direction:column; align-items:center; gap:8px; }
.legend .plan { margin-top:0; align-self:center; }
/* On the left-aligned page the legend starts at the edge, tag over its words. */
.left .legend { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 40px; margin-top:36px; text-align:left; }
.left .legend li { align-items:flex-start; border-top:1px solid var(--line); padding-top:14px; }
.left .legend .plan { align-self:flex-start; }
/* Everywhere: its words on the left, the five systems on the right. */
.left section.tight h2 { text-align:left; }
.left #everywhere .wrap { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:56px; align-items:center; }
.left #everywhere .os { grid-column:2; grid-row:1 / span 3; margin-top:0; }
@media (max-width:620px) {
  .left .legend { grid-template-columns:none; }
  .left .legend li { align-items:center; border-top:none; padding-top:0; }
}
@media (max-width:820px) {
  .left #everywhere .wrap { display:block; }
  .left #everywhere .os { margin-top:30px; justify-content:start; }
}
@media (max-width:620px) {
  .legend { grid-template-columns:none; width:max-content; max-width:100%; margin-inline:auto; text-align:left; }
  .legend li { flex-direction:row; align-items:center; }
}
/* Five equal columns, so the long label wraps instead of pushing its neighbours apart. */
.os { list-style:none; padding:0; display:grid; grid-template-columns:repeat(5,96px); justify-content:center; gap:12px; margin-top:30px; }
.os a { display:flex; flex-direction:column; align-items:center; gap:9px; color:var(--muted); font-size:14px; font-weight:600; line-height:1.3; text-align:center; transition:color .15s; }
.os a:hover { color:var(--text); }
/* The circle is the wrapper's: a rounded, padded svg clips its own corners (Windows' squares). */
.os .c { width:64px; height:64px; border-radius:50%; border:1px solid var(--line); background:var(--card2); display:grid; place-items:center; transition:border-color .15s; }
.os a:hover .c { border-color:var(--muted); }
.os svg { width:28px; height:28px; fill:currentColor; }
@media (max-width:620px) {
  .os { grid-template-columns:repeat(5,1fr); gap:6px; }
  .os a { font-size:12.5px; }
  .os .c { width:52px; height:52px; }
  .os svg { width:23px; height:23px; }
}

/* ── layout: a row per group, the scene beside its features ── */
.row { padding:64px 0; }
.row + .row { border-top:1px solid var(--line); }
.row .wrap { display:grid; grid-template-columns:1.15fr 1fr; gap:56px; align-items:center; }
.row.flip .shot { order:2; }
.row h2 { text-align:left; }
.row .more { text-align:left; margin-top:18px; }
.fl { list-style:none; padding:0; margin-top:18px; }
.fl li { padding:14px 0; border-top:1px solid var(--line); }
.fl li:first-child { border-top:none; }
.fl .hd { display:flex; align-items:center; gap:10px; justify-content:space-between; }
.fl h3 { font-size:16.5px; }
.fl p { color:var(--muted); font-size:14.5px; margin-top:3px; line-height:1.5; }
.fl .plan { margin-top:0; flex:none; }
@media (max-width:820px) {
  .row .wrap { grid-template-columns:1fr; gap:28px; }
  .row.flip .shot { order:0; }
}

/* ── a scene: 1em is a 40th of its width, so it scales like a screenshot ── */
.shot { container-type:inline-size; }
.scene { position:relative; font-size:2.5cqw; aspect-ratio:4/3; }
.win { position:absolute; background:var(--card); border:1px solid var(--line2); border-radius:1em; box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; }
.win-bar { flex:none; height:2.1em; display:flex; align-items:center; gap:.45em; padding:0 .9em; border-bottom:1px solid var(--line); background:var(--card2); }
.win-bar > i { width:.7em; height:.7em; border-radius:50%; background:var(--line2); }
.scene .tcard { padding:.6em .7em; gap:.6em; }
.scene .s { font-size:.8em; }
.scene .n { font-size:.92em; }
.pill { flex:none; font-size:.68em; font-weight:700; padding:.15em .6em; border-radius:.8em; border:1px solid var(--line2); color:var(--muted); white-space:nowrap; }
.pill.acc { color:var(--accent); background:var(--chip); border-color:var(--chip-line); }
.pill.ok { color:var(--ok); }
.btn { display:inline-grid; place-items:center; font-weight:700; font-size:.82em; padding:.45em 1.1em; border-radius:.7em; border:1px solid var(--line2); background:var(--card2); color:var(--text); white-space:nowrap; }
.btn.acc { background:var(--accent); border-color:var(--accent); color:#fff; }

/* The Mac window: title bar with the scope, filter chips, cards, details pane, foot.
   --tc is the scope's colour: amber for Direct, the team's own for a team. */
.mac { inset:3% 1%; --tc:var(--accent); --tcs:color-mix(in srgb, var(--tc) 16%, var(--card)); }
.mac.rose { --tc:#b5506b; }
.lights { display:flex; gap:.42em; }
.lights i { width:.72em; height:.72em; border-radius:50%; background:#ff5f57; }
.lights i:nth-child(2) { background:#febc2e; }
.lights i:nth-child(3) { background:#28c840; }
.m-top { flex:none; height:3em; display:flex; align-items:center; gap:.6em; padding:0 .8em; border-bottom:1px solid var(--line); }
.m-side { width:1.9em; height:1.9em; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; margin-left:.5em; }
.m-side svg { width:1.05em; height:1.05em; color:var(--text); }
.m-scope { font-weight:700; font-size:1em; white-space:nowrap; }
.m-scope small { font-size:.7em; color:var(--muted); margin-left:.2em; }
.m-ic { margin-left:auto; display:flex; gap:.35em; align-items:center; }
.m-ic span { width:1.9em; height:1.9em; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; }
.m-ic svg { width:1em; height:1em; color:var(--text); }
.m-ic .avatar { width:2em; height:2em; font-size:.85em; }
.m-body { flex:1; display:flex; min-height:0; }
.m-list { flex:1; min-width:0; display:flex; flex-direction:column; position:relative; }
.m-chips { flex:none; display:flex; align-items:center; gap:.2em; padding:.55em .7em; border-bottom:1px solid var(--line); font-size:.72em; color:var(--muted); font-weight:600; }
.m-chips span { padding:.2em .65em; border-radius:.8em; }
.m-chips span b { color:var(--text); font-weight:700; }
.m-chips .on { background:var(--tcs); color:var(--tc); }
.m-chips .clr { margin-left:auto; color:var(--tc); background:var(--tcs); font-size:.92em; }
.m-cards { flex:1; padding:.55em .6em; display:flex; flex-direction:column; gap:.45em; overflow:hidden; }
.m-card { position:relative; display:flex; align-items:center; gap:.55em; padding:.55em .65em; border-radius:.7em; background:var(--card); border:1px solid var(--line); overflow:hidden; }
.m-card.sel { background:var(--tcs); border-color:transparent; }
.m-card .dir { width:2em; height:2em; }
.m-card .t .n { font-size:.85em; }
.m-card .t .s { font-size:.72em; }
.go { flex:none; display:flex; align-items:center; gap:.3em; background:var(--tc); color:#fff; font-size:.66em; font-weight:700; padding:.3em .7em; border-radius:.45em; }
.go svg { width:.8em; height:.8em; fill:currentColor; stroke:none; }
.dots { flex:none; color:var(--tc); font-weight:800; font-size:.8em; letter-spacing:.05em; }
.m-card .bar { height:.22em; }
.m-card .bar i { background:var(--tc); }
.m-fab { position:absolute; left:50%; bottom:.7em; width:2.6em; height:2.6em; margin-left:-1.3em; border-radius:50%; background:var(--tc); color:#fff; display:grid; place-items:center; box-shadow:0 .4em 1.1em color-mix(in srgb, var(--tc) 40%, transparent); }
.m-fab svg { width:1.2em; height:1.2em; stroke-width:2.6; }
.m-pane { width:14em; flex:none; border-left:1px solid var(--line); padding:.7em; display:flex; flex-direction:column; gap:.55em; background:var(--card2); }
.m-pcard { background:var(--card); border-radius:.8em; padding:.7em; display:flex; flex-direction:column; gap:.55em; }
.m-pcard .p-name { display:flex; align-items:center; gap:.5em; }
.m-pcard .p-name .n { font-size:.9em; }
.m-pcard .p-name .s { font-size:.75em; }
.m-pcard .pieces { grid-template-columns:repeat(16,1fr); gap:.16em; }
.m-pcard .pieces i { background:color-mix(in srgb, var(--tc) calc(clamp(0, (var(--p) - var(--at)) * 100, 1) * 100%), var(--line)); }
.legend2 { display:flex; flex-direction:column; gap:.15em; font-size:.68em; color:var(--muted); }
.legend2 span { display:flex; align-items:center; gap:.4em; }
.legend2 i { width:.6em; height:.6em; border-radius:.15em; background:var(--tc); }
.legend2 i.lt { background:color-mix(in srgb, var(--tc) 45%, var(--card)); }
.legend2 i.no { background:var(--line); }
.m-st { font-size:.75em; color:var(--muted); }
.m-st b { color:var(--text); }
.m-info { background:var(--card); border-radius:.8em; padding:.2em .7em; font-size:.68em; }
.m-info div { display:flex; justify-content:space-between; gap:.6em; padding:.45em 0; }
.m-info div + div { border-top:1px solid var(--line); }
.m-info b { font-weight:700; }
.m-info span { color:var(--muted); white-space:nowrap; }
.m-foot { flex:none; height:2.1em; display:flex; align-items:center; gap:.9em; padding:0 .9em; border-top:1px solid var(--line); font-size:.7em; color:var(--muted); font-weight:600; }
.m-foot .on-dot { width:.6em; height:.6em; }
.m-foot .r { margin-left:auto; display:flex; align-items:center; gap:.35em; color:var(--text); }
.m-foot .quota { width:.9em; height:.9em; border-radius:50%; border:.18em solid var(--accent); border-right-color:var(--line); }
.menu { position:absolute; left:3.4em; top:3.2em; width:15em; background:var(--card); border:1px solid var(--line2); border-radius:.8em; box-shadow:var(--shadow); padding:.4em; display:flex; flex-direction:column; gap:.15em; font-size:.82em; z-index:2; }
.menu .mh { font-size:.7em; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin:.5em .5em .1em; }
.menu .mi { display:flex; align-items:center; gap:.5em; padding:.35em .5em; border-radius:.5em; font-weight:600; }
.menu .mi.on { background:var(--tcs); }
.menu .ico { width:1.6em; height:1.6em; }
.menu .mi .gone { margin-left:auto; font-size:.8em; color:var(--muted); font-weight:500; }
.menu .mi .on-dot { margin-left:auto; }

/* Send anything */
.sc-big { animation:move 12s linear infinite; }

/* The small window (Mac) and the phone (Android): peeza's one-card screen. */
.small .win-bar { height:2.4em; background:var(--card); }
.small .win-bar .wm { margin-left:.8em; font-weight:800; letter-spacing:-0.02em; }
.small .win-bar svg { margin-left:auto; width:1.1em; height:1.1em; color:var(--muted); }
.one { flex:1; padding:.6em .8em .8em; display:flex; flex-direction:column; gap:.55em; min-height:0; }
.one-h { display:flex; align-items:center; justify-content:space-between; }
.one-h .wm { font-weight:800; letter-spacing:-0.02em; font-size:1.15em; }
.one-h svg { width:1.2em; height:1.2em; color:var(--muted); }
.one-card { flex:1; border:1px solid var(--line); border-radius:.9em; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.4em; padding:.6em; text-align:center; min-height:0; }
.one-card .cube { width:4.4em; height:4.4em; border-radius:50%; border:.3em solid var(--line); display:grid; place-items:center; color:var(--accent); }
.one-card .cube svg { width:2em; height:2em; }
.one-card .nm { font-weight:700; font-size:.88em; }
.one-card .nm span { color:var(--muted); font-weight:500; margin-left:.3em; }
.one-card .st { font-size:.75em; color:var(--muted); }
.one-card .track { width:90%; height:.3em; border-radius:.2em; background:var(--line); }
.one-card .acts { display:flex; gap:.5em; margin-top:.2em; }
.clear { font-size:.7em; font-weight:600; color:var(--muted); border:1px solid var(--line2); border-radius:.8em; padding:.15em .9em; }
.strip3 { display:flex; border-radius:.7em; overflow:hidden; border:1px solid var(--line2); background:var(--card2); }
.strip3 span { flex:1; display:flex; flex-direction:column; align-items:center; gap:.1em; padding:.45em 0; font-size:.68em; font-weight:700; color:var(--muted); opacity:.55; }
.strip3 span + span { border-left:1px solid var(--line2); }
.strip3 svg { width:1.5em; height:1.5em; }
.strip3.live { background:var(--accent); border-color:var(--accent); }
.strip3.live span { color:#fff; opacity:1; }
.strip3.live span + span { border-left-color:rgb(255 255 255 / .35); }
.more-btn { display:flex; gap:.4em; }
.more-btn .btn { flex:1; font-size:.75em; border-color:transparent; }
.more-btn .i { flex:none; width:2.3em; display:grid; place-items:center; border-radius:.8em; background:var(--card2); color:var(--muted); }
.more-btn .i svg { width:1.3em; height:1.3em; }

/* Send to anyone: the phone sends over Nearby, the Mac's small window receives. */
.sc-reach .ph { left:2%; top:1%; height:98%; }
.sc-reach .small { right:1%; top:9%; width:50%; height:82%; }
.ring { width:4.4em; height:4.4em; position:relative; display:grid; place-items:center; color:var(--accent); }
.ring svg.r { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.ring svg.r circle { fill:none; stroke-width:3.2; }
.ring svg.r .tr { stroke:var(--line); }
.ring svg.r .ar { stroke:var(--accent); stroke-linecap:round; stroke-dasharray:100; animation:ring 8s linear infinite; }
.ring > svg:not(.r) { width:2em; height:2em; }
.air { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible; }
.air .wire { stroke:var(--accent); stroke-width:1.4; fill:none; stroke-dasharray:3 4; opacity:.7; }
.air .pk { fill:var(--accent); opacity:0; }
.nb-badge { position:absolute; left:41%; top:3%; display:flex; align-items:center; gap:.35em; font-size:.72em; font-weight:700; color:var(--accent); background:var(--chip); border:1px solid var(--chip-line); border-radius:1em; padding:.25em .7em; }
.nb-badge svg { width:1.2em; height:1.2em; }

/* Receive: the phone with an offer, and the same link in a browser. */
.ph { position:absolute; aspect-ratio:9/18.5; background:var(--card); border:1px solid var(--line2); border-radius:2.2em; box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; padding-top:1.2em; }
.ph::before { content:""; position:absolute; top:.5em; left:50%; width:26%; height:.5em; margin-left:-13%; border-radius:.3em; background:var(--line2); }
.sc-recv .small { left:2%; top:4%; width:46%; height:92%; }
.sc-recv .br { right:1%; top:18%; width:60%; height:64%; }
.addr { flex:1; margin-left:.8em; height:1.45em; border-radius:.75em; background:var(--card); border:1px solid var(--line); display:flex; align-items:center; gap:.4em; padding:0 .7em; font-size:.72em; color:var(--muted); white-space:nowrap; overflow:hidden; }
.addr svg { width:1.1em; height:1.1em; flex:none; }
.rv { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.45em; text-align:center; padding:0 1em; }
.rv h4 { font-size:1.2em; font-weight:800; letter-spacing:-0.02em; }
.rv .from { color:var(--muted); font-size:.78em; }
.rv .file { display:flex; align-items:center; gap:.6em; margin-top:.3em; padding:.5em .8em; border-radius:.8em; background:var(--card2); width:80%; text-align:left; }
.rv .acts { display:flex; gap:.5em; margin-top:.4em; }

/* Teams: who has it. */
.sc-team { animation:move 9s linear infinite; }
.m-pcard .pieces i.lt { background:color-mix(in srgb, color-mix(in srgb, var(--tc) 45%, var(--card)) calc(clamp(0, (var(--p) - var(--at)) * 100, 1) * 100%), var(--line)); }
/* Privacy: the path a file takes, as /how draws it. */
.sc-priv { aspect-ratio:auto; }
.sc-priv svg { display:block; width:100%; height:auto; }
.sc-priv .wire { stroke:var(--accent); stroke-width:2; fill:none; }
.sc-priv .dash { stroke:var(--line2); stroke-width:1.5; fill:none; stroke-dasharray:5 5; }
.sc-priv .node { fill:var(--card); stroke:var(--line2); stroke-width:1.5; }
.sc-priv .node.src { fill:var(--chip); stroke:var(--accent); }
.sc-priv .pk { fill:var(--accent); opacity:0; }
.sc-priv text { fill:var(--muted); font-size:13px; font-family:inherit; }
.sc-priv text.name { fill:var(--text); font-weight:700; font-size:14.5px; }
.sc-priv .lock { fill:var(--card); stroke:var(--accent); stroke-width:1.8; }
.sc-priv .shut { stroke:var(--muted); stroke-width:1.6; fill:none; stroke-linecap:round; }

/* Command line: a terminal, dark in either theme. */
.sc-cli { aspect-ratio:16/10; }
.sc-cli .win { inset:6% 3%; background:#141417; border-color:#2a2a31; }
.sc-cli .win-bar { background:#1c1c20; border-color:#2a2a31; }
.sc-cli .win-bar > i { background:#3a3a43; }
.sc-cli .tt { margin-left:.6em; color:#8a8a94; font-size:.75em; font-weight:600; }
.tty { flex:1; margin:0; padding:1em 1.2em; font:500 .88em/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color:#d6d6dc; white-space:pre; overflow:hidden; }
.tty b { color:#fff; font-weight:600; }
.tty .a { color:#e0a957; }
.tty .c { color:#6f6f7a; }
.tty .cur { display:inline-block; width:.55em; height:1.1em; vertical-align:-.15em; background:#d6d6dc; animation:blink 1.1s steps(1) infinite; }

@keyframes ring { from { stroke-dashoffset:92 } 85%, to { stroke-dashoffset:8 } }
@keyframes blink { 50% { opacity:0 } }
@media (prefers-reduced-motion:reduce) {
  .sc-big, .sc-team, .ring svg.r .ar, .tty .cur { animation:none; }
  .ring svg.r .ar { stroke-dashoffset:40; }
}
