/* Standalone platform sheets, from finite-onboarding (1).html.
   Equal outer rows keep the card centered without clipping tall content.
   The shell's first run (#first-run: its splash, welcome and a seat's step)
   shares its type, tokens, grid and card; the shell loads this file too.
   Its type, Funnel Sans, is fonts.css's, which each page links before it. */
/* Its tokens are the root's, so the shell's first run has them too: the shell's own are other names. */
:root{--fg:#20251f;--muted:#646e63;--bg:#f5f6f1;--line:rgba(43,59,40,.17);--line-strong:rgba(43,59,40,.24);--surface:#fff;--soft:rgba(120,145,95,.09);--accent:#466437}
.platform-page{background:#f5f6f1 url("platform-landscape.jpg") center/cover fixed no-repeat}
.platform-page body,.first-run-content{max-width:none;width:100%;margin:0;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(110px,1fr) auto minmax(110px,1fr);justify-items:center;background:transparent;font:400 16px/1.5 "Funnel Sans",sans-serif}
.platform-brand{grid-row:1;align-self:end;margin:32px 0;line-height:0}
.platform-brand img{display:block;width:43.56px;height:45.98px;object-fit:contain;filter:brightness(0)}
.platform-page main,.first-run-card{position:relative;--edge-light:0;box-sizing:border-box;grid-row:2;align-self:center;width:100%;max-width:410px;margin:0;padding:30px 32px;border:0;border-radius:18px;text-align:center;background:linear-gradient(150deg,rgba(255,255,255,.26),rgba(255,255,255,.08)),rgba(255,255,255,.84);box-shadow:0 12px 36px rgba(26,45,32,.08);-webkit-backdrop-filter:blur(24px) saturate(1.08);backdrop-filter:blur(24px) saturate(1.08);overflow-wrap:anywhere}
.platform-page h1,.first-run-card h1{font-size:30px;font-weight:500;line-height:1.2;letter-spacing:-1px;margin:0}
.platform-page main>p{font-size:16px;line-height:1.5;color:var(--muted);margin:0}
.platform-page main>h1+p{line-height:1.4}
.platform-page button{font-size:14px;font-weight:500;line-height:1.5;min-height:44px;padding:12px 15px;border:1px solid var(--line);border-radius:999px;white-space:normal}
.platform-page main>form>button{width:100%;margin-top:0}
.platform-page main>p>a:only-child{box-sizing:border-box;display:block;width:100%;padding:12px 15px;border:1px solid var(--line);border-radius:999px;background:var(--fg);color:var(--bg);font-size:14px;font-weight:500;text-decoration:none}
.platform-page main>p>a.secondary{background:transparent;color:var(--fg)}
.platform-page main>p:last-child{margin-bottom:0}
.platform-page input,.platform-page textarea,.first-run-card input{box-sizing:border-box;font:400 14px/1.5 "Funnel Sans",sans-serif;padding:12px;border:1px solid var(--line);border-radius:7px;background:rgba(255,255,255,.45)}
.platform-page label,.first-run-card label{font-size:12px}
.platform-page :focus-visible,.first-run-card :focus-visible{outline:3px solid #779a53;outline-offset:3px}
.platform-page .people,.platform-page .options,.platform-page .more{text-align:left;font-size:14px}
.platform-page code{font-size:14px}
@media(prefers-color-scheme:dark){
 :root{--fg:#f1f3e9;--muted:#bec8bb;--bg:#141c1b;--line:rgba(222,236,216,.18);--line-strong:rgba(222,236,216,.28);--surface:#26312e;--soft:rgba(255,255,255,.06);--accent:#afc58e}
 .platform-page{background-color:#141c1b;background-image:url("platform-landscape-dark.jpg")}
 .platform-page main,.first-run-card{background:linear-gradient(150deg,rgba(255,255,255,.065),rgba(255,255,255,.01)),rgba(25,34,34,.72);box-shadow:0 18px 44px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(24px) saturate(1.15);backdrop-filter:blur(24px) saturate(1.15)}
 .platform-brand img{filter:brightness(0) invert(1)}
 .platform-page input,.platform-page textarea,.first-run-card input{background:#ffffff08}
}
@media(max-width:600px){.platform-page body,.first-run-content{padding-inline:16px}.platform-page main,.first-run-card{padding:28px 22px}}
/* A dialog supplies its own positioning and surface; do not add wallpaper
   or viewport-sized rows inside an iframe that measures its own height. */
.platform-page.framed{background:var(--surface)}
.platform-page.framed body{display:block;min-height:0;padding:0;background:var(--surface)}
.platform-page.framed .platform-brand{display:none}
.platform-page.framed main{max-width:none;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--surface)}

/* Consistent content rhythm, regardless of whether an action is a form or link. */
.platform-page main>:where(h1,p,form)+p{margin-top:16px}
.platform-page main>form,.platform-page main>p:has(>a:only-child){margin-top:24px}
.platform-page main>form+p{margin-top:20px}
.platform-page main::before,.platform-page main::after,.first-run-card::before,.first-run-card::after{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;background:radial-gradient(180px circle at var(--edge-x,50%) var(--edge-y,50%),rgba(255,255,255,.85),rgba(255,255,255,.25) 45%,transparent 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:var(--edge-light);transition:opacity 160ms ease-out}
.platform-page main::after,.first-run-card::after{filter:blur(2px);opacity:calc(var(--edge-light) * .35)}
.platform-page.framed main::before,.platform-page.framed main::after{display:none}
@media(prefers-reduced-motion:reduce){.platform-page main::before,.platform-page main::after,.first-run-card::before,.first-run-card::after{transition:none}}

/* The share sheet (share.rs, `main.share`): a dialog's quiet list, not a
   card's one call to action. The link first (who can open it, as a
   three-way switch, then its address and Copy), then the people, the
   invite form under their label; a role is a small menu. --track and
   --tile are the switch's groove and its selected tile. */
:root{--track:rgba(43,59,40,.09);--tile:#fff}
@media(prefers-color-scheme:dark){:root{--track:rgba(0,0,0,.24);--tile:rgba(255,255,255,.12)}}
.platform-page main.share{display:flex;flex-direction:column;gap:14px;padding:20px 22px;font-size:14px;line-height:1.4;text-align:left}
.platform-page:not(.framed) main.share{max-width:34rem}
.platform-page main.share h1{font-size:20px;font-weight:500;letter-spacing:-.3px;line-height:1.3;margin:0;padding-right:32px}
.platform-page main.share h2{font-size:13px;font-weight:500;color:var(--muted);margin:0 0 6px}
.platform-page main.share>form,.platform-page main.share>p,.platform-page main.share p{margin:0}
.platform-page main.share .i,.platform-page main.share .tick{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.platform-page main.share .hint{font-size:13px;line-height:1.4;color:var(--muted)}
.platform-page main.share button{min-height:36px;padding:0 14px;border:0;font-size:14px;line-height:1.2;white-space:nowrap}
.platform-page main.share .close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:32px;min-height:32px;height:32px;padding:0;border-radius:50%;background:none;color:var(--muted)}
.platform-page main.share .close .i{width:18px;height:18px}
.platform-page main.share .flash{margin:0;padding:8px 12px;border-radius:10px;background:var(--soft);font-size:14px}
/* the link: who can open it, what that means, then the address and Copy */
.platform-page main.share .link-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:var(--soft)}
.platform-page main.share .access{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:3px;border-radius:10px;background:var(--track)}
.platform-page main.share .access button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:30px;padding:0 6px;border-radius:8px;background:none;color:var(--muted);font-size:13px;font-weight:400}
.platform-page main.share .access .i{width:14px;height:14px;stroke-width:1.8}
.platform-page main.share .access button[aria-pressed=true]{background:var(--tile);color:var(--fg);box-shadow:0 1px 2px rgba(0,0,0,.16);cursor:default}
.platform-page main.share .access-now{display:flex;align-items:center;gap:8px}
.platform-page main.share .access-now .i{width:16px;height:16px;stroke-width:1.8;color:var(--accent)}
.platform-page main.share .link-row,.platform-page main.share .add{display:flex;align-items:center;gap:8px}
.platform-page main.share .field{flex:1;min-width:0;box-sizing:border-box;display:flex;align-items:center;gap:4px;height:36px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface)}
.platform-page main.share .link-row .field{padding:0 3px 0 12px;border-color:var(--line)}
.platform-page main.share .url{flex:1;min-width:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.platform-page main.share .copy{gap:6px;min-width:118px}
.platform-page main.share .icon-button{display:grid;place-items:center;width:28px;min-height:28px;height:28px;padding:0;border-radius:7px;background:none;color:var(--muted)}
.platform-page main.share .icon-button[data-sure]{color:var(--danger)}
/* the invite: one solid button at rest, Copy link, so Invite is outlined until there is an email */
.platform-page main.share .add input[type=email]{flex:1;min-width:0;height:100%;padding:0 12px;border:0;outline:0;background:transparent}
.platform-page main.share .add>button{border:1px solid var(--fg)}
.platform-page main.share .add:has(input:placeholder-shown)>button{border-color:var(--line-strong);background:none;color:var(--fg)}
/* people: no rules between them */
.platform-page main.share .people{margin:8px 0 0}
.platform-page main.share .people li{gap:10px;min-height:48px;box-sizing:border-box;padding:6px 0;border-top:0;flex-wrap:nowrap}
.platform-page main.share .av{width:28px;height:28px;font-size:13px}
.platform-page main.share .av .i{stroke-width:1.8}
.platform-page main.share .who{flex:1;min-width:0;line-height:1.35}
.platform-page main.share .who small{font-size:12px}
.platform-page main.share .role{flex:none;padding-right:6px;font-size:13px;color:var(--muted)}
.platform-page main.share .who .role{padding:0}
.platform-page main.share button.text{min-height:32px;padding:0 6px;background:none;color:var(--muted);font-size:13px;font-weight:400}
.platform-page main.share button.quiet{min-height:34px;border:1px solid var(--line-strong);background:none;color:var(--fg);font-weight:400}
.platform-page main.share button[data-sure]{color:var(--danger)}
/* a role's menu: <details>, so no closed <select> changes on an arrow key */
.platform-page main.share .menu{position:relative;flex:none}
.platform-page main.share .menu summary{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 6px 0 10px;border-radius:8px;font-size:13px;cursor:pointer;list-style:none;user-select:none}
.platform-page main.share .menu summary::-webkit-details-marker{display:none}
.platform-page main.share .add .menu summary{min-height:28px;padding:0 6px 0 8px;margin-right:3px;color:var(--muted)}
.platform-page main.share .menu summary .i{width:14px;height:14px}
.platform-page main.share .menu-panel{position:absolute;z-index:6;top:calc(100% + 4px);right:0;box-sizing:border-box;width:152px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 28px rgba(0,0,0,.2)}
.platform-page main.share .menu.up .menu-panel{top:auto;bottom:calc(100% + 4px)}
.platform-page main.share .menu-panel hr{height:1px;margin:4px 6px;border:0;background:var(--line)}
.platform-page main.share .menu-panel button,.platform-page main.share .menu-radio{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;min-height:34px;padding:0 10px;border-radius:8px;background:none;color:var(--fg);font-size:13px;font-weight:400;cursor:pointer}
.platform-page main.share .menu-panel button.danger{color:var(--danger)}
.platform-page main.share .menu-radio input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.platform-page main.share .menu-radio input:focus-visible~span{outline:2px solid var(--accent);outline-offset:2px}
.platform-page main.share .tick{width:14px;height:14px;color:var(--accent);visibility:hidden}
.platform-page main.share .tick.on,.platform-page main.share .menu-radio input:checked~.tick{visibility:visible}
.platform-page main.share footer{display:flex;margin:0}
/* An invite's answer (auth/invite.rs): its two buttons centered in the card, as its words are. */
.platform-page main footer.answer{justify-content:center}
/* with reach (reach.rs), With link and Public show, unavailable */
.platform-page main.share .access button[aria-disabled=true]{opacity:.45;cursor:not-allowed}
/* the lines under the invite form: the chat's trust line, the keys line */
.platform-page main.share section>.hint{margin-top:8px}

/* The design's inner ticket: a card's own facts (a price, what a seat
   gives, a notice), on the card's surface, its pearl foil drifting and
   brighter under a pointer (none of it moving with reduced motion). */
.ticket{position:relative;isolation:isolate;overflow:hidden;margin:24px 0;padding:20px;border-radius:14px;background:var(--surface);color:var(--fg);box-shadow:0 5px 18px rgba(40,55,50,.055);font-size:14px;line-height:1.5}
.ticket>*{position:relative;z-index:1}
.ticket::before{content:'';position:absolute;z-index:0;inset:-70%;pointer-events:none;opacity:.65;background:linear-gradient(120deg,transparent 22%,rgba(115,225,209,.18) 34%,rgba(164,180,248,.22) 43%,rgba(242,169,214,.19) 51%,rgba(248,222,152,.22) 60%,transparent 74%);background-size:180% 180%;animation:ticket-foil 14s ease-in-out infinite alternate;transition:opacity .7s ease}
.ticket::after{content:'';position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.12;background:radial-gradient(ellipse at 50% 30%,rgba(255,255,255,.5),transparent 62%);transition:opacity .6s ease}
@media(hover:hover) and (pointer:fine){.ticket:hover::before{opacity:1}.ticket:hover::after{opacity:.7}}
.ticket:focus-within::before{opacity:1}
@keyframes ticket-foil{from{background-position:15% 25%}to{background-position:85% 75%}}
/* a plan's ticket: its price and kind, then what it gives, a tick each */
.ticket-plan{text-align:left}
.ticket-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 18px}
.price{font-size:24px;font-weight:500;line-height:1.2;letter-spacing:-.5px;white-space:nowrap}
.price span{font-size:14px;letter-spacing:0;color:var(--muted)}
.pill{padding:3px 8px;border:1px solid var(--line);border-radius:20px;font-size:12px;line-height:1.5;white-space:nowrap}
.checks{margin:0;padding:0;list-style:none;font-size:14px}
.checks li{display:flex;align-items:center;gap:12px;margin-top:9px}
.checks li::before{content:'✓';flex:none;color:var(--accent)}
.checks li.lock::before{content:none}
.checks li.lock svg{flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7}
/* The page's footer: who makes Finite, and its pages, white over the landscape. */
.page-footer{box-sizing:border-box;grid-row:3;align-self:end;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;width:100%;padding:24px 0;color:#fff;font-size:14px;line-height:1.5;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.page-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 18px;margin-left:auto}
.page-footer a{color:inherit;text-decoration:none}
.page-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.page-footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}
@media(prefers-color-scheme:dark){
 .ticket{box-shadow:0 5px 22px rgba(0,0,0,.16)}
 .ticket::before{opacity:.42}
 .ticket::after{background:radial-gradient(ellipse at 50% 30%,rgba(179,223,212,.16),transparent 62%)}
}
@media(max-width:600px){.page-footer{flex-direction:column;justify-content:center;gap:10px}.page-footer nav{margin-left:0;justify-content:center}.page-footer>:first-child{order:1}}
@media(prefers-reduced-motion:reduce){.ticket::before{animation:none;transition:none}.ticket::after{transition:none}}
