/* RigaBee Media — public site (landing, sign-up, sign-in). Light theme.
   The app (console, dashboards) uses app.css, which stays dark for video. */
:root {
  --ink: #0f1115;
  --ink-2: #2b3140;
  --muted: #5b6472;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-alt: #f6f6f3;
  --yellow: #ffcf33;
  --yellow-2: #ffe27a;
  --live: #ef3b3b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,17,21,.05), 0 12px 32px rgba(15,17,21,.08);
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body.site { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 12px; }
.lede { font-size: 19px; color: var(--muted); max-width: 58ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8a6d00; margin-bottom: 10px; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--font);
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262b36; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd3da; }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; color: var(--ink); }
.logo strong { font-weight: 800; }
.logo-sm { font-size: 16px; gap: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a, .nav-signin { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-signin:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(255,207,51,.28), transparent 60%),
  radial-gradient(700px 380px at -10% 10%, rgba(255,207,51,.12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(239,59,59,.15); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-note { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 48px; } }

/* Console illustration (pure CSS, dark like the real app) */
.console-mock { background: #0b0d12; border-radius: 18px; padding: 12px; box-shadow: 0 30px 80px rgba(15,17,21,.28), 0 2px 6px rgba(15,17,21,.12);
  border: 1px solid #1f2430; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a303d; }
.mock-bar em { margin-left: 10px; font: 600 12px/1 var(--font); font-style: normal; color: #9aa3b2; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-tile { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; }
.mock-tile b { position: absolute; top: 8px; left: 8px; font: 700 10px/1 var(--font); color: #fff; background: var(--live); padding: 4px 7px; border-radius: 999px; }
.mock-tile i { position: absolute; left: 8px; bottom: 8px; font: 600 12px/1 var(--font); font-style: normal; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.t1 { background: radial-gradient(60% 70% at 30% 30%, #ffb347 0%, transparent 60%), radial-gradient(50% 60% at 75% 70%, #ff5e62 0%, transparent 70%), linear-gradient(135deg, #2b1a3a, #120c1f); }
.t2 { background: radial-gradient(80% 60% at 50% 110%, #2f7d5b 0%, transparent 70%), linear-gradient(180deg, #7fb2e5 0%, #c9e2f5 45%, #3c6e57 46%, #1f4332 100%); }
.t3 { background: radial-gradient(40% 50% at 20% 40%, #7a5cff 0%, transparent 70%), radial-gradient(40% 50% at 80% 30%, #ff4fa3 0%, transparent 70%), linear-gradient(180deg, #151028 0%, #0a0714 100%); }
.t4 { background: radial-gradient(50% 60% at 60% 40%, #f5d9a8 0%, transparent 60%), linear-gradient(135deg, #3a2f25, #17120d); }
.mock-foot { display: flex; justify-content: space-between; padding: 12px 6px 2px; font: 500 12px/1 var(--font); color: #8b95a7; }

/* Works-with strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip-inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.strip-inner > span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; font-weight: 600; color: var(--ink-2); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .kicker { color: var(--yellow); }
.section.dark p { color: #b7bfcc; }
.section > .wrap > h2 { max-width: 22ch; }
#pricing h2, #pricing .kicker { text-align: center; max-width: none; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--yellow); font-weight: 800; margin-bottom: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.features article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.features article::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 18px; }
.features p { color: var(--muted); margin: 0; font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.timeline { position: relative; background: #0b0d12; border-radius: 16px; padding: 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.track { height: 34px; border-radius: 6px; background: #161a23; position: relative; overflow: hidden; }
.clip { position: absolute; top: 4px; bottom: 4px; border-radius: 5px; }
.c1 { left: 6%; right: 18%; background: linear-gradient(90deg, #ffcf33, #ffb300); }
.c2 { left: 10%; right: 8%; background: linear-gradient(90deg, #6ea8fe, #3d7be0); }
.c3 { left: 3%; right: 26%; background: linear-gradient(90deg, #ff7aa8, #e04a80); }
.c4 { left: 14%; right: 12%; background: linear-gradient(90deg, #56d6a0, #2aa876); }
.playhead { position: absolute; top: 12px; bottom: 12px; left: 46%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
.trust h3 { color: #fff; }
.trust div { border-top: 2px solid var(--yellow); padding-top: 18px; }

.uses { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.uses li { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; background: #fff; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 14px; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 15px; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

.cta-band { background: var(--yellow); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; }
.cta-band .btn-yellow { background: var(--ink); color: #fff; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer .fine { margin: 0 0 0 auto; }

@media (max-width: 960px) {
  .steps, .features, .trust { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .console-mock { transform: none; }
}
@media (max-width: 620px) {
  body.site { font-size: 16px; }
  .section { padding: 64px 0; }
  .steps, .features, .trust, .plans { grid-template-columns: 1fr; }
  .nav-cta { gap: 12px; }
  .logo { font-size: 17px; gap: 8px; }
  .nav .btn-sm { padding: 9px 12px; font-size: 14px; }
  .nav-inner { gap: 12px; }
  .footer .fine { margin-left: 0; }
}

/* Sign-up / sign-in */
.auth { padding: 64px 0 96px; background: radial-gradient(800px 380px at 90% -10%, rgba(255,207,51,.22), transparent 60%); }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
.auth-side h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5.5' fill='none' stroke='%230f1115' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.tabs a { text-align: center; padding: 10px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,17,21,.12); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .hint { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]) { font: 16px var(--font); padding: 12px 14px; border: 1px solid #d5d9e0; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:not([type=checkbox]):focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,207,51,.6); }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.form label.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--ink); }
.auth-card .fine { margin: 16px 0 0; }
.alert { background: #fff1f1; border: 1px solid #ffd0d0; color: #9b1c1c; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.notice { background: #fff9e0; border: 1px solid #ffe38a; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
@media (max-width: 960px) { .auth-grid { grid-template-columns: 1fr; gap: 28px; } .auth { padding-top: 40px; } }

/* ---- Crowd join pages (phones) ---- */
.join-wrap { max-width: 520px; text-align: center; }
.join-bee { margin: 0 auto 12px; }
.join .auth-card { text-align: left; margin-top: 24px; }
.join h1 { font-size: clamp(32px, 7vw, 44px); margin-bottom: 12px; }
.join .lede { margin: 0 auto; }

/* ---- Full-screen QR for the venue screen ---- */
.qr-screen { background: #fff; }
.qr-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; }
.qr-head { display: flex; align-items: center; gap: 18px; text-align: left; }
.qr-head h1 { font-size: clamp(32px, 5vw, 56px); }
.qr-big { width: min(70vh, 86vw); height: auto; image-rendering: pixelated; }
.qr-foot { font-size: 20px; color: var(--muted); max-width: 40ch; }

/* Mascot */
.logo img { width: 38px; height: 38px; object-fit: contain; }
.hero-bee { position: absolute; width: 150px; height: 150px; top: -118px; left: -86px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(15,17,21,.18)); }
.hero-visual { position: relative; }
@media (max-width: 960px) { .hero-visual { margin-top: 56px; } .hero-bee { width: 100px; height: 100px; top: -82px; left: auto; right: 4px; } }
