/* Solaryx Meet. Tokens copied from solaryxdev.com /css/site.css (release 68b6352568e9). */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("/static/sxm/fonts/geist-latin.woff2?v=aca96cfa19") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/static/sxm/fonts/geist-mono-latin.woff2?v=aca96cfa19") format("woff2"); }
@font-face { font-family: "SX Name"; font-weight: 700 900; font-display: block; src: url("/static/sxm/fonts/unbounded-wordmark.woff2?v=aca96cfa19") format("woff2"); }

:root {
  color-scheme: dark;
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-name: "SX Name", "Arial Black", sans-serif;
  --bg: #000;
  --ink: #f5f5f2;
  --ink-2: rgba(245, 245, 242, 0.62);
  --ink-3: rgba(245, 245, 242, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --fill: rgba(255, 255, 255, 0.035);
  --fill-2: rgba(255, 255, 255, 0.07);
  --fill-3: rgba(255, 255, 255, 0.1);
  --glass: rgba(12, 12, 14, 0.78);
  --alert: #ff6b6b;
  --r-tag: 4px; --r-ctl: 8px; --r-btn: 10px; --r-field: 12px; --r-card: 14px; --r-isl: 12px;
  --settle: cubic-bezier(0.32, 0.72, 0, 1);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 15px/1.55 var(--font-ui); letter-spacing: -0.003em; -webkit-font-smoothing: antialiased; min-height: 100svh; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the field sits behind everything; pages only decide where the X forms and how bright it is */
.astra-backdrop { z-index: 0; }
.page { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; }
.hero-mark { position: fixed; pointer-events: none; aspect-ratio: 1; }

/* header: the site's lockup, then the product name */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.7)); }
.brand-name { font: 900 23px/1 var(--font-name); letter-spacing: -0.035em; white-space: nowrap; }
.brand-dev { color: #8f8f99; }
.product { display: inline-flex; align-items: center; gap: 12px; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line-2); font: 500 14px/1 var(--font-ui); color: var(--ink-2); letter-spacing: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }

/* buttons and fields: the site's */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-btn); font: 500 14px/1 var(--font-ui); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--settle), opacity .2s; }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 34px; padding: 0 14px; border-radius: var(--r-ctl); font-size: 13px; }
.btn-solid { background: var(--ink); color: #0a0a0b; font-weight: 600; }
.btn-solid:hover { background: #fff; }
.btn-ghost { background: var(--fill-3); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-quiet { background: transparent; color: var(--ink-2); padding: 0 6px; }
.btn-quiet:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font: 500 12.5px/1 var(--font-ui); color: var(--ink-2); letter-spacing: 0.01em; }
.input, .select { height: 46px; width: 100%; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-field); background: rgba(10, 10, 11, 0.72); color: var(--ink); outline: none; transition: border-color .2s, background-color .2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.input::placeholder { color: var(--ink-3); }
.input:focus, .select:focus { border-color: rgba(255, 255, 255, 0.42); background-color: rgba(14, 14, 16, 0.9); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

/* the headline reveal (React Bits "BlurText", done in CSS) */
.reveal > span { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(10px); animation: blurIn .9s var(--out) forwards; animation-delay: calc(var(--i) * 70ms + 250ms); }
@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* ── home: join a meeting ─────────────────────────────────────────────── */
.home-main { flex: 1; display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; padding: 0 var(--gutter) 8svh; }
.home-copy { max-width: 470px; }
.home h1 { margin: 0 0 16px; font: 600 clamp(38px, 28px + 2.2vw, 60px)/1.02 var(--font-ui); letter-spacing: -0.045em; }
.home .lead { margin: 0 0 30px; color: var(--ink-2); font-size: 16.5px; max-width: 26em; }
.join { display: flex; gap: 10px; }
.join .input { flex: 1; min-width: 0; }
.home .hint { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 22px; color: var(--ink-3); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.home .hero-mark { right: 4vw; top: 50%; width: min(52vw, 78svh); transform: translateY(-50%); }
.foot { padding: 18px var(--gutter); display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 12.5px; }
.foot a:hover { color: var(--ink); }

/* ── pre-join: check before you join ──────────────────────────────────── */
.pre-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 48px); align-items: center; padding: 8px var(--gutter) 6svh; max-width: 1320px; width: 100%; margin: 0 auto; }
.preview { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.55); }
.preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.preview .off { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--ink-2); font-size: 14px; }
.avatar { width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 30px/1 var(--font-ui); letter-spacing: -0.03em; color: var(--ink); }
.preview .bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: var(--r-isl); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.meter { position: absolute; left: 16px; bottom: 22px; display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.meter i { width: 3px; background: var(--ink); border-radius: 1px; height: 20%; transition: height .12s; opacity: .85; }
.side h1 { margin: 0 0 6px; font: 600 28px/1.1 var(--font-ui); letter-spacing: -0.035em; }
.side .when { margin: 0 0 26px; color: var(--ink-2); font-size: 14px; }
.side .stack { display: grid; gap: 16px; }
.devices { display: grid; gap: 10px; }
.notes { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: var(--r-field); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2); }
.notes b { color: var(--ink); font-weight: 600; }
.sq { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 2px; background: var(--ink); }
.notes.off .sq { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.pre .hero-mark { left: 50%; top: 50%; width: min(80vw, 110svh); transform: translate(-50%, -50%); }
.pre .astra-backdrop { opacity: .7; }

/* icon buttons (the call bar and the preview bar): square, never round, never a pill */
.ic { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: var(--r-ctl); background: var(--fill-2); color: var(--ink); cursor: pointer; position: relative; transition: background-color .18s, color .18s, transform .18s var(--settle); }
.ic:hover { background: var(--fill-3); }
.ic:active { transform: scale(0.94); }
.ic svg { width: 20px; height: 20px; }
.ic[aria-pressed="true"].is-off { background: rgba(255, 107, 107, 0.16); color: #ffb3b3; }
.ic[aria-pressed="true"].is-on { background: var(--ink); color: #0a0a0b; }
.ic .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); padding: 6px 9px; border-radius: var(--r-tag); background: #0e0e10; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1 var(--font-ui); color: var(--ink); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s var(--settle); }
.ic:hover .tip, .ic:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.ic.leave { width: auto; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; background: var(--alert); color: #1a0606; font: 600 14px/1 var(--font-ui); }
.ic.leave:hover { background: #ff8080; }
.badge { position: absolute; top: 5px; right: 5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 3px; background: var(--ink); color: #0a0a0b; font: 700 10px/16px var(--font-ui); text-align: center; }

/* ── the call ─────────────────────────────────────────────────────────── */
.call { height: 100svh; overflow: hidden; }
.call .page { height: 100svh; }
.call .astra-backdrop { opacity: .5; }
.call .hero-mark { left: 50%; top: 47%; width: min(92vw, 130svh); transform: translate(-50%, -50%); }
.callbar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) 8px; }
.meeting { display: flex; align-items: center; gap: 14px; min-width: 0; }
.meeting h1 { margin: 0; font: 600 15px/1.2 var(--font-ui); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock { font: 500 13px/1 var(--font-mono); color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: var(--r-tag); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1 var(--font-ui); color: var(--ink-2); white-space: nowrap; }
.tag .sq { margin: 0; width: 7px; height: 7px; }
.stage-wrap { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 6px var(--gutter) 0; }
.stage { flex: 1; min-width: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-content: center; max-height: 100%; }
.tile { position: relative; border-radius: var(--r-card); overflow: hidden; background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line); min-height: 0; aspect-ratio: 16 / 9; width: 100%; max-height: calc((100svh - 190px) / 2); justify-self: center; }
.tile.speaking { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(255, 255, 255, 0.06); }
.tile video, .tile .cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile video { transform: scaleX(-1); }
.cam { background: radial-gradient(120% 90% at 30% 20%, #26262a 0%, #111113 55%, #0a0a0b 100%); }
.cam.b { background: radial-gradient(110% 90% at 70% 30%, #2b2b2f 0%, #121214 60%, #09090a 100%); }
.cam.c { background: radial-gradient(120% 100% at 50% 10%, #222226 0%, #0f0f11 60%, #080809 100%); }
.tile .who { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: var(--r-tag); background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12.5px/1 var(--font-ui); }
.tile .who svg { width: 13px; height: 13px; color: #ffb3b3; }
.tile .center { position: absolute; inset: 0; display: grid; place-items: center; }
.dock { display: flex; justify-content: center; padding: 14px var(--gutter) 18px; }
.dock-in { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: var(--r-isl); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.sep { width: 1px; height: 26px; background: var(--line-2); margin: 0 4px; }
.panel { width: 340px; flex: none; display: none; flex-direction: column; border-radius: var(--r-card); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: hidden; }
.panel.open { display: flex; animation: panelIn .32s var(--out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } }
.panel-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); font: 600 14px/1 var(--font-ui); }
.panel-b { flex: 1; overflow: auto; padding: 14px 16px; display: grid; align-content: start; gap: 14px; font-size: 14px; }
.msg .m-h { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--ink-3); }
.msg .m-h b { color: var(--ink); font-weight: 600; font-size: 13px; }
.msg p { margin: 4px 0 0; color: var(--ink); }
.panel-f { padding: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.person { display: flex; align-items: center; gap: 10px; }
.person .avatar { width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.person .role { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.toast { position: fixed; left: 50%; top: 18px; transform: translate(-50%, -8px); padding: 10px 14px; border-radius: var(--r-ctl); background: #0e0e10; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; opacity: 0; transition: opacity .2s, transform .2s var(--settle); z-index: 9; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── after the call ───────────────────────────────────────────────────── */
.left-main { flex: 1; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter) 10svh; }
.left-main h1 { margin: 0 0 10px; font: 600 clamp(32px, 24px + 1.8vw, 48px)/1.05 var(--font-ui); letter-spacing: -0.04em; }
.left-main p { margin: 0 0 28px; color: var(--ink-2); }
.left-main .row { display: flex; gap: 10px; justify-content: center; }
.left .hero-mark { left: 50%; top: 50%; width: min(70vw, 100svh); transform: translate(-50%, -50%); }
.left .astra-backdrop { opacity: .8; }


@media (max-width: 900px) {
  .home-main { grid-template-columns: 1fr; align-content: center; padding-top: 28svh; }
  .home .hero-mark { right: auto; left: 50%; top: 18svh; width: min(88vw, 40svh); transform: translate(-50%, -50%); }
  .pre-main { grid-template-columns: 1fr; align-content: start; }
  .panel.open { position: fixed; inset: 64px 12px 90px; width: auto; z-index: 5; }
  .stage { grid-template-columns: 1fr; }
  .tile { max-height: calc((100svh - 200px) / 2); }
  .dock-in .hide-sm { display: none; }
  .product { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal > span { animation: none; opacity: 1; filter: none; transform: none; }
  .panel.open { animation: none; }
}

/* the hero is the whole screen behind the page (these pages do not scroll away from it) */
[data-astra-hero] { position: fixed !important; inset: 0; min-height: 0 !important; height: 100svh; pointer-events: none; z-index: 0; }
.page > .top, .page > .home-main, .page > .pre-main, .page > .left-main, .page > .foot, .page > .callbar-top, .page > .stage-wrap, .page > .dock { position: relative; z-index: 2; }
@media (max-width: 480px) {
  .dock { padding: 10px 8px 14px; }
  .dock-in { gap: 5px; padding: 6px; }
  .dock-in .ic { width: 40px; height: 40px; }
  .dock-in .sep { display: none; }
  .ic.leave { padding: 0 12px; }
}

/* keep the field in its hero state: nothing on these one-screen pages ever "arrives" as the intro */
.intro-sentinel { position: fixed; top: 400vh; left: 0; width: 1px; height: 1px; pointer-events: none; }
/* after the call: the same composition as home, words left, the X right */
.left-main { place-items: center start; text-align: left; padding-left: var(--gutter); }
.left-copy { max-width: 470px; }
.left-main .row { justify-content: flex-start; }
.left .hero-mark { left: auto; right: 4vw; top: 50%; width: min(52vw, 78svh); transform: translateY(-50%); }
@media (max-width: 900px) {
  .left-main { place-items: end start; padding-top: 30svh; }
  .left .hero-mark { right: auto; left: 50%; top: 22svh; width: min(88vw, 40svh); transform: translate(-50%, -50%); }
}

/* Readable over the field: text and controls sit on their own dark glass sheet. The engine keeps
   stars off any element with a ground of its own (clear.js), so the sheet stays clean and the field
   frames it instead of crossing it. */
.sheet { padding: 28px 28px 26px; border-radius: var(--r-card); background: rgba(7, 7, 9, 0.84); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 90px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(20px) saturate(115%); backdrop-filter: blur(20px) saturate(115%); }
.sheet .input, .sheet .select { background-color: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sheet .input:hover, .sheet .select:hover { border-color: rgba(255, 255, 255, 0.22); }
.sheet .input:focus, .sheet .select:focus { background-color: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.5); }
.sheet .field label { color: rgba(245, 245, 242, 0.72); }
.sheet .when { color: rgba(245, 245, 242, 0.66); }
.sheet .notes { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: rgba(245, 245, 242, 0.72); }
.sheet #joinwith { color: rgba(245, 245, 242, 0.62); }
/* the X frames the camera preview instead of running behind the form */
.pre .hero-mark { left: 33%; top: 52%; width: min(66vw, 100svh); transform: translate(-50%, -50%); }
.pre .astra-backdrop { opacity: .85; }
/* the call's top bar gets the same ground, so the title and tags never sit on stars */
.chip { padding: 7px 10px; border-radius: var(--r-isl); background: rgba(7, 7, 9, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.meeting.chip { padding-left: 8px; }
.meeting .brand-mark { width: 22px; height: 22px; }
.top-actions.chip .tag { box-shadow: none; padding: 0 6px; }
@media (max-width: 900px) {
  .sheet { padding: 22px 18px; }
  .pre .hero-mark { left: 50%; top: 24svh; width: min(92vw, 46svh); }
}

.v-frame-wrap { position: relative; width: 100%; height: 100%; }
.v-frame-wrap .v-frame { width: 100%; height: 100%; }
.v-frame-open { position: absolute; right: 12px; bottom: 12px; }
