/* Shared structure. Brand tokens and typography are defined by the site theme. */
body[data-webinar-recording] { overflow-x: clip; overflow-y: visible; background: var(--page-bg); color: var(--ink); font-family: var(--body-font); }
.webinar-page { min-height: 100vh; color: var(--ink); }
.page-header, .page-main, .page-footer { width: 100%; max-width: 1344px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); color: var(--header-ink); border-bottom: 1px solid var(--header-line); }
.page-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; }
.brand-link { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.brand-logo { width: 222px; height: auto; object-fit: contain; }
.language-picker { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.language-picker select { background: transparent; max-width: 130px; min-height: 44px; padding: 8px 4px; cursor: pointer; }
.language-picker option { background: var(--surface); color: var(--ink); }
.hero { position: relative; display: grid; grid-template-columns: 1.18fr 1fr; column-gap: 56px; padding: 52px 0 40px; }
.hero .eyebrow { grid-column: 1/-1; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.recording-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { grid-column: 1; grid-row: 2/4; margin: 16px 0 0; font-family: var(--display-font); font-size: clamp(46px, 5.7vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; }
.hero h1 span { display: block; }
.title-accent { color: var(--accent); }
.hero-description { grid-column: 2; grid-row: 2; align-self: end; margin-top: 24px; max-width: 500px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.presenters { grid-column: 2; grid-row: 3; align-self: start; margin-top: 16px; font-size: 13px; color: var(--ink); }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr); gap: 36px; align-items: start; padding-top: 10px; }
.watch-card { position: sticky; top: 104px; z-index: 20; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.video-stage { position: relative; width: 100%; aspect-ratio: 16/9; background: #0a0d14; }
.video-stage iframe, .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #070710d6, #07071000 70%); }
.player-unlock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; padding: 25px; color: #fff; font-size: 14px; font-weight: 500; text-align: center; }
.play-circle { display: grid; place-items: center; width: 68px; height: 68px; padding-left: 4px; background: var(--button-bg); color: var(--button-ink); border-radius: 50%; box-shadow: 0 6px 30px #0004; }
.player-caption { padding: 19px 22px; display: flex; flex-direction: column; gap: 6px; }
.caption-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.caption-hint { font-size: 13px; color: var(--muted); line-height: 1.5; }
.page-details { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.registration-card { padding: 22px; background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); }
.registration-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); background: var(--tint); color: var(--accent); margin-bottom: 16px; }
.success-icon { color: var(--accent); background: var(--surface); }
.registration-card h2, .section-heading h2 { font-family: var(--display-font); font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.registration-card > p, .section-heading > p:not(.eyebrow) { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.65; }
.registration-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.registration-form input { display: block; width: 100%; min-height: 49px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); font-size: 16px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 49px; margin-top: 12px; padding: 12px 14px; background: var(--button-bg); color: var(--button-ink); border-radius: var(--radius); font-size: 15px; font-weight: 500; }
.primary-button:disabled { opacity: .65; cursor: wait; }
.privacy-note { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.privacy-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-error { font-size: 13px; color: #aa223d; margin-top: 10px; line-height: 1.6; }
.section-heading { margin-bottom: 20px; }
.booking-card { padding: 24px 0; border-top: 1px solid var(--border); }
.booking-card:last-child { border-bottom: 1px solid var(--border); }
.booking-card-heading { display: flex; align-items: center; gap: 12px; }
.speaker-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius); font-size: 13px; font-weight: 500; color: var(--accent); background: var(--tint); }
.booking-card h3 { font-family: var(--display-font); font-size: 25px; font-weight: 700; }
.speaker-role { color: var(--accent); font-size: 12px; margin-top: 3px; }
.speaker-description { margin: 16px 0 18px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.booking-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.booking-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 240px; min-height: 44px; padding: 12px 14px; background: var(--button-bg); color: var(--button-ink); border-radius: var(--radius); font-size: 13px; font-weight: 500; line-height: 1.4; }
.booking-button svg { flex-shrink: 0; }
.qr-link { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 7px; }
.qr-link img { width: 88px; height: 88px; background: #fff; padding: 3px; }
.qr-link span { font-size: 10px; color: var(--muted); }
.presentation-card { min-width: 0; padding: 24px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); }
.presentation-card .eyebrow { font-size: 11px; margin-bottom: 10px; }
.presentation-viewer, .presentation-preview { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius); background: #0a0d14; object-fit: cover; }
.presentation-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.text-button, .download-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--accent); }
.text-button { text-decoration: underline; text-underline-offset: 4px; }
.download-button { padding: 12px; border-radius: var(--radius); background: var(--button-bg); color: var(--button-ink); }
.dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); }
.dialog-close:disabled { opacity: .5; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 64px; padding-top: 26px; padding-bottom: 30px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); }
.page-footer a { text-decoration: underline; text-underline-offset: 3px; }
a, button, input, select { outline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); }
.webinar-registration-dialog { position: fixed; left: 50%; top: 50%; z-index: 51; transform: translate(-50%, -50%); width: calc(100vw - 36px); max-width: 450px; max-height: 90dvh; overflow-y: auto; display: grid; gap: 20px; border: 1px solid var(--border); box-shadow: 0 20px 80px #11141c33; border-radius: var(--radius); padding: 32px; background: var(--surface); color: var(--ink); font-family: var(--body-font); }
.webinar-registration-dialog .registration-icon { margin-bottom: 0; }
.webinar-registration-dialog h2 { color: var(--ink); font-family: var(--display-font); font-size: 30px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.webinar-registration-dialog .dialog-heading p { font-size: 15px; margin-top: 10px; color: var(--muted); line-height: 1.65; }
.webinar-registration-dialog input:focus-visible, .webinar-registration-dialog button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (min-width: 900px) and (max-height: 680px) { .watch-card { top: 96px; } .video-stage { max-height: calc(100dvh - 190px); } }
@media (max-width: 899px) {
  .page-header, .page-main, .page-footer { padding-left: 24px; padding-right: 24px; }
  .page-header { min-height: 76px; }
  .hero { display: block; padding-top: 34px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(44px, 8vw, 64px); margin-bottom: 20px; }
  .hero-description { font-size: 16px; }
  .watch-layout { display: block; }
  .watch-card { top: 88px; margin-bottom: 28px; }
  .video-stage { max-height: 38dvh; }
  .player-caption { padding: 12px 16px; }
  .caption-hint { display: none; }
  .page-details { gap: 28px; }
  .booking-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .booking-section .section-heading { grid-column: 1/-1; margin-bottom: 0; }
  .booking-card { padding: 22px 0; border-bottom: 1px solid var(--border); }
  .booking-action { gap: 12px; }
  .presentation-viewer { aspect-ratio: 16/9; }
  .presentation-actions { flex-direction: row; justify-content: space-between; }
}
@media (max-width: 580px) {
  .page-header, .page-main, .page-footer { padding-left: 20px; padding-right: 20px; }
  .page-header { min-height: 72px; gap: 12px; }
  .brand-logo { width: 170px; }
  .language-picker { gap: 4px; font-size: 12px; }
  .language-picker select { max-width: 104px; }
  .hero h1 { font-size: 46px; }
  .presenters { font-size: 12px; }
  .watch-card { top: 84px; }
  .play-circle { width: 48px; height: 48px; }
  .play-circle svg { width: 23px; }
  .player-unlock { gap: 10px; padding: 15px; font-size: 12px; }
  .caption-title { font-size: 14px; }
  .booking-section { display: block; }
  .booking-card { margin-top: 20px; }
  .booking-card h3 { font-size: 25px; }
  .presentation-card { padding: 20px; }
  .presentation-actions { flex-direction: column; }
  .page-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .webinar-registration-dialog { padding: 28px; }
}

/* Native browser replacements for Nuxt's reset, utilities and Radix dialog. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; background: transparent; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
select { border: 0; }
[hidden] { display: none !important; }
.icon-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.play-icon { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.animate-spin { animation: webinar-spin 1s linear infinite; }
@keyframes webinar-spin { to { transform: rotate(360deg); } }
.webinar-registration-dialog { margin: 0; }
.webinar-registration-dialog:not([open]) { display: none; }
.webinar-registration-dialog::backdrop { background: #11141c80; backdrop-filter: blur(4px); }
body:has(#webinar-registration[open]) { overflow: hidden; }
.download-button:disabled { opacity: .65; }
@media (prefers-reduced-motion: reduce) { .animate-spin { animation-duration: 2s; } }

/* Matches the current public Sibbe Silvén site's white/cobalt editorial style. */
body[data-webinar-brand="sibbe"] {
  --page-bg: #fff; --surface: #fff; --tint: #eff2ff; --ink: #11141c;
  --muted: #4e5564; --accent: #1829c9; --border: #e2e6ed;
  --button-bg: #1829c9; --button-ink: #fff; --focus: #1829c9;
  --header-bg: #fff; --header-ink: #11141c; --header-line: #e2e6ed; --radius: 4px;
  --body-font: 'Barlow', Arial, sans-serif;
  --display-font: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}
[data-webinar-brand="sibbe"] .brand-name { font-family: var(--display-font); font-size: 29px; font-weight: 700; letter-spacing: .015em; line-height: 1; text-transform: uppercase; }
[data-webinar-brand="sibbe"] .brand-meta { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
[data-webinar-brand="sibbe"] .hero h1,
[data-webinar-brand="sibbe"] .section-heading h2,
[data-webinar-brand="sibbe"] .booking-card h3,
[data-webinar-brand="sibbe"] .registration-card h2,
[data-webinar-brand="sibbe"] .webinar-registration-dialog h2 { text-transform: uppercase; }
[data-webinar-brand="sibbe"] .eyebrow,
[data-webinar-brand="sibbe"] .presenters { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
[data-webinar-brand="sibbe"] .language-picker { color: var(--muted); }
[data-webinar-brand="sibbe"] .primary-button:hover:not(:disabled),
[data-webinar-brand="sibbe"] .booking-button:hover,
[data-webinar-brand="sibbe"] .download-button:hover:not(:disabled) { background: #101da1; }
@media (max-width: 580px) { [data-webinar-brand="sibbe"] .brand-name { font-size: 25px; } }
