/* The public front page: OBN Meetings, laid out like zoom.us — white, clean,
   one bold headline, a join box, and the app shown in action. */
:root {
  --s-text: #0b1127;
  --s-muted: #5b6478;
  --s-line: #e3e7ef;
  --s-soft: #f5f7fb;
  --s-blue: var(--brand-blue, #4361ee);
  --s-blue-hover: var(--brand-blue-hover, #3651d4);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--s-text); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.02em; }
a { color: inherit; }
.hidden { display: none !important; }
.w-muted { color: var(--s-muted); }
.w-error { color: #d92d20; min-height: 1.2em; margin: 8px 0 0; font-size: 14px; }

/* ---------- Header ---------- */
.w-nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(24px, env(safe-area-inset-right)) 12px max(24px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--s-line);
}
.w-nav.scrolled { box-shadow: 0 4px 20px rgba(11, 17, 39, .06); }
.w-brand { display: flex; align-items: center; text-decoration: none; }
.w-wordmark { display: block; height: 38px; width: auto; }
.w-wordmark.big { height: 56px; }
.s-product { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--s-line); font-weight: 700; font-size: 17px; color: var(--s-text); }
.w-links { display: flex; align-items: center; gap: 4px; }
.w-links > a:not(.w-btn) { padding: 8px 12px; border-radius: 8px; color: #2b3448; text-decoration: none; font-weight: 500; font-size: 15px; }
.w-links > a:not(.w-btn):hover { color: var(--s-blue); background: var(--s-soft); }
.s-live-link { display: inline-flex !important; align-items: center; gap: 8px; color: #d92d20 !important; }
.s-live-link.hidden { display: none !important; }
.s-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e02828; animation: s-pulse 1.4s infinite; }
@keyframes s-pulse { 50% { opacity: .35; } }
.w-lang { height: 38px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--s-line); background: #fff; color: var(--s-text); font: inherit; font-size: 14px; }
@media (max-width: 720px) {
  .w-links > a:not(.w-btn), .w-links > a.w-btn:not(.gold), .w-links .w-lang, .s-product { display: none; }
  .w-wordmark { height: 32px; }
}

/* ---------- Buttons ---------- */
.w-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--s-line); background: #fff; color: var(--s-text);
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.w-btn:hover { border-color: #c9d0dd; background: var(--s-soft); }
.w-btn.gold { background: var(--s-blue); border-color: var(--s-blue); color: #fff; }
.w-btn.gold:hover { background: var(--s-blue-hover); border-color: var(--s-blue-hover); }
.w-btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.w-btn:focus-visible, .w-links a:focus-visible { outline: 3px solid color-mix(in srgb, var(--s-blue) 40%, transparent); outline-offset: 2px; }

main, .s-main { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.m-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 64px 0 72px; }
@media (max-width: 1020px) { .m-hero { grid-template-columns: 1fr; padding: 36px 0 48px; gap: 40px; } }
.s-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--s-blue) 9%, #fff); color: var(--s-blue); font-size: 13px; font-weight: 700; }
.s-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-blue); }
.m-hero h1 { margin: 18px 0 16px; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; font-weight: 800; color: var(--s-text); text-wrap: balance; }
.m-hero h1 .obn-em { background: none; color: var(--s-blue); -webkit-background-clip: border-box; background-clip: border-box; font-style: normal; }
.s-tagline { margin: 0 0 28px; font-size: clamp(17px, 1.6vw, 20px); color: var(--s-muted); max-width: 32em; text-wrap: pretty; }

.m-join { max-width: 560px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 16px 40px rgba(11, 17, 39, .08); }
.m-join-label { display: block; margin: 0 0 8px 2px; font-size: 13px; font-weight: 600; color: var(--s-muted); }
.m-join-row { display: flex; gap: 10px; }
.m-join-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid #cfd5e1; background: #fff; color: var(--s-text); font: inherit; font-size: 19px; font-weight: 600; letter-spacing: .1em; }
.m-join-row input::placeholder { color: #b5bccb; }
.m-join-row input:focus { outline: none; border-color: var(--s-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-blue) 20%, transparent); }
@media (max-width: 520px) { .m-join-row { flex-direction: column; } .m-join-row input { flex: none; width: 100%; } }
.m-join-hint { margin: 10px 2px 0; font-size: 13.5px; color: var(--s-muted); }
.m-join .w-error:empty { display: none; }

.m-host-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-top: 16px; }
@media (max-width: 560px) { .m-host-row { grid-template-columns: 1fr; } }
.m-host-link { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px 10px 10px; border-radius: 12px; border: 1px solid var(--s-line); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.m-host-link:hover { border-color: #c9d0dd; box-shadow: 0 6px 16px rgba(11, 17, 39, .06); }
.m-host-link > span:last-child { min-width: 0; }
.m-host-link b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-host-link small { display: block; color: var(--s-muted); font-size: 12.5px; line-height: 1.3; }
.m-ico { flex: none; }
.m-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--orange, #f7941d); color: #fff; }
.m-host-link:nth-child(2) .m-ico, .m-host-link:nth-child(3) .m-ico { background: var(--s-blue); }
.m-ico svg { width: 22px; height: 22px; }

/* The app shown in action (a meeting window, like zoom.us shows) */
.m-stage { position: relative; }
.s-halo { display: none; }
.m-window { border-radius: 14px; overflow: hidden; background: #1a1a1a; box-shadow: 0 30px 70px rgba(11, 17, 39, .22); }
.m-win-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #242424; font-size: 13px; color: #ddd; }
.m-win-top b { flex: 1; font-weight: 600; }
.m-dots { display: flex; gap: 6px; }
.m-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.m-dots i:nth-child(2) { background: #febc2e; }
.m-dots i:nth-child(3) { background: #28c840; }
.m-onair { padding: 2px 8px; border-radius: 4px; background: #e02828; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.m-tile { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #2a2a2a; }
.m-tile.program { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.m-program { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .5)), url(/hero-broadcast.jpg) center / cover no-repeat; }
.m-tile.speaking { box-shadow: inset 0 0 0 3px #23d959; }
.m-av { width: 44%; max-width: 60px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--av); color: #fff; font-weight: 700; font-size: clamp(12px, 1.3vw, 18px); }
.m-name { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 4px; background: rgba(0, 0, 0, .6); font-size: 11px; color: #fff; }
.m-lt { position: absolute; left: 6%; bottom: 10%; display: flex; flex-direction: column; padding: 7px 14px 8px 12px; border-radius: 0 8px 8px 0; background: rgba(15, 18, 30, .92); box-shadow: -5px 0 0 0 var(--s-blue); color: #fff; }
.m-lt b { font-size: clamp(12px, 1.3vw, 16px); }
.m-lt small { color: #c9d3ff; font-size: clamp(10px, .95vw, 12px); }
.m-dock { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 14px; background: #1f1f1f; }
.m-dock i { width: 30px; height: 30px; border-radius: 6px; background: #3a3a3a; }
.m-dock i.green { background: #1fb85a; }
.m-end { margin-left: 10px; padding: 6px 14px; border-radius: 6px; background: #e02828; color: #fff; font-size: 12px; font-weight: 700; }
.m-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 12px 30px rgba(11, 17, 39, .12); font-size: 13px; font-weight: 600; white-space: nowrap; }
.m-float-1 { left: -20px; bottom: -18px; }
.m-float-2 { right: -14px; top: -20px; }
@media (max-width: 1020px) { .m-float-1 { left: 8px; } .m-float-2 { right: 8px; } }
@media (max-width: 560px) { .m-float { display: none; } .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m-tile.program { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; } }

/* ---------- Sections ---------- */
.w-section { padding: 72px 0; }
#features { margin: 0 calc(50% - 50vw); padding: 72px calc(50vw - 50%); background: var(--s-soft); }
.w-section h2 { margin: 0 0 28px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; text-wrap: balance; }
.s-eyebrow { margin-bottom: 8px; color: var(--s-blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.m-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m-features .s-feature.big { grid-column: span 2; }
@media (max-width: 1060px) { .m-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .m-features { grid-template-columns: 1fr; } .m-features .s-feature.big { grid-column: auto; } }
.s-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--s-line); }
.s-feature b { font-size: 19px; font-weight: 700; }
.s-feature span:not(.s-ico) { color: var(--s-muted); font-size: 15px; }
.s-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; margin-bottom: 6px; }
.s-ico svg { width: 22px; height: 22px; }
.s-ico.gold { background: #fff3e4; color: #d97706; }
.s-ico.blue { background: #eaefff; color: var(--s-blue); }
.s-ico.rose { background: #ffe9ec; color: #d92d48; }
.s-ico.violet { background: #f2eaff; color: #7c3aed; }

.m-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .m-steps { grid-template-columns: 1fr; } }
.m-steps li { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: 16px; border: 1px solid var(--s-line); background: #fff; }
.m-steps b { font-size: 19px; }
.m-steps span:not(.m-step-n) { color: var(--s-muted); }
.m-step-n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 4px; border-radius: 50%; background: var(--s-blue); color: #fff; font-weight: 800; }

/* Call to action band */
.m-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--s-blue); color: #fff; }
.m-cta h2 { margin: 0 0 6px; color: #fff; font-size: clamp(26px, 3vw, 36px); }
.m-cta .w-muted { color: rgba(255, 255, 255, .85); margin: 0; }
.m-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.m-cta .w-btn.gold { background: #fff; border-color: #fff; color: var(--s-blue); }
.m-cta .w-btn.gold:hover { background: #eef2ff; }
.m-cta .w-btn:not(.gold) { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.m-cta .w-btn:not(.gold):hover { background: rgba(255, 255, 255, .12); }

/* ---------- Footer ---------- */
.s-foot { margin-top: 24px; padding: 48px max(24px, calc(50vw - 596px)) 32px; background: var(--s-soft); border-top: 1px solid var(--s-line); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; }
@media (max-width: 860px) { .s-foot { grid-template-columns: 1fr 1fr; } .s-foot-brand { grid-column: 1 / -1; } }
.s-foot h3 { margin: 4px 0 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); }
.s-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.s-foot a { color: #2b3448; text-decoration: none; }
.s-foot ul a:hover { color: var(--s-blue); }
.s-foot .w-muted { margin: 12px 0 16px; max-width: 26em; }
.s-foot-watch { min-height: 36px; font-size: 14px; }
.s-foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--s-muted); padding-top: 20px; border-top: 1px solid var(--s-line); font-size: 14px; }
.s-foot-bottom a { color: var(--s-muted); }
