/* Archivo (SIL Open Font License), self-hosted so no visitor data goes to a font service. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-wdth.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/fonts/sora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Enonda website. Light "studio grey" pages; the dark program monitor is the one loud element. */
:root {
  --paper: #f2f4f7;
  --white: #ffffff;
  --ink: #13202f;
  --ink-2: #4a5868;
  --line: #d5dbe3;
  --tally: #e0262f;
  --signal: #2457d6;
  --cue: #f2a900;
  --ok: #1d7a46;
  --radius-s: 6px;
  --radius-m: 12px;
  --display: "Archivo", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.75rem, 6vw, 4.75rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--display); font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
/* Without an underline, links inside sentences stand out by weight as well as colour. */
p a, li a, td a { font-weight: 600; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 760; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-variation-settings: "wdth" 85; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--ink-2); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius-s);
  font: 650 var(--step-0)/1 var(--display); font-variation-settings: "wdth" 90; padding: 14px 22px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #22344a; }
.btn-tally { background: var(--tally); }
.btn-tally:hover { background: #c41d26; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-small { padding: 9px 14px; font-size: var(--step--1); }
.btn[disabled] { opacity: .55; cursor: progress; }
.link { color: var(--ink); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---- header / footer */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.45rem/1 "Sora", var(--display); letter-spacing: -0.04em; padding-bottom: 2px; }
.logo-mark { width: 30px; height: 30px; flex: none; display: block; }
.tally { width: 12px; height: 12px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 4px rgba(224, 38, 47, .18); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--tally); text-decoration-thickness: 2px; }
.head-actions { display: flex; gap: 16px; align-items: center; }
@media (max-width: 720px) { .nav { display: none; } .head-row { justify-content: space-between; } }

.site-foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: var(--step--1); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-size: var(--step-0); font-variation-settings: "wdth" 85; margin-bottom: .6em; }
.foot-grid nav a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot-grid nav a:hover { text-decoration: underline; }
.foot-base { margin-top: 40px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---- home: hero with the program monitor */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lede { font-size: var(--step-1); color: var(--ink-2); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { font-size: var(--step--1); color: var(--ink-2); margin-top: 14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.monitor { background: #0d1622; border-radius: var(--radius-m); padding: 12px; box-shadow: 0 30px 60px -30px rgba(19, 32, 47, .55); }
.monitor-bar { display: flex; align-items: center; gap: 10px; color: #9fb0c3; font-size: 12px; padding: 2px 4px 10px; font-variation-settings: "wdth" 85; }
.onair { display: inline-flex; align-items: center; gap: 6px; background: var(--tally); color: #fff; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.onair::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.monitor-bar .time { margin-left: auto; font-variant-numeric: tabular-nums; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #24476f 0%, #10213a 55%, #0a1424 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.cam { position: relative; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #3c5f86, #1b324f); }
.cam.b { background: linear-gradient(200deg, #7a4b3f, #3a2430); }
.cam .head { position: absolute; left: 50%; top: 30%; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #e7c3a3; }
.cam.b .head { background: #8d5a3b; }
.cam .body { position: absolute; left: 50%; bottom: -12%; width: 64%; height: 46%; border-radius: 45% 45% 0 0; transform: translateX(-50%); background: #c9d3df; }
.cam.b .body { background: #e8b23c; }
.tag { position: absolute; left: 8px; top: 8px; background: rgba(9, 15, 24, .82); color: #fff; font-size: 11px; padding: 4px 8px 4px 10px; border-left: 3px solid var(--tally); border-radius: 3px; font-variation-settings: "wdth" 85; }
.lt { position: absolute; left: 4%; bottom: 7%; display: grid; grid-template-columns: auto 1fr; max-width: 70%; animation: lt-in .6s cubic-bezier(.2, .8, .2, 1) .5s both; }
.lt .badge { grid-row: span 2; background: var(--tally); color: #fff; font-weight: 800; padding: 0 10px; display: flex; align-items: center; font-size: clamp(10px, 1.6vw, 14px); }
.lt .name { background: #fff; color: var(--ink); font-weight: 750; font-variation-settings: "wdth" 80; padding: 5px 12px; font-size: clamp(12px, 2.2vw, 20px); white-space: nowrap; }
.lt .sub { background: var(--ink); color: #dfe6ee; padding: 3px 12px; font-size: clamp(9px, 1.4vw, 12px); }
@keyframes lt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.dest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dest span { font-size: 12px; color: #c9d4e0; border: 1px solid #2a3b50; border-radius: 99px; padding: 3px 10px; }
.dest span::before { content: "●"; color: #3fb67a; margin-right: 6px; font-size: 9px; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) { .lt, .onair::before { animation: none; } }

/* ---- sections */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-2); margin: 0; }
.feature .mark { width: 36px; height: 4px; background: var(--ink); margin-bottom: 18px; }
.feature:nth-child(3n+1) .mark { background: var(--tally); }
.feature:nth-child(3n+2) .mark { background: var(--signal); }
.feature:nth-child(3n) .mark { background: var(--cue); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.who > div { padding: 20px 20px 0 0; }
.who h3 { font-size: var(--step-1); }
.who p { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 800px) { .who { grid-template-columns: 1fr 1fr; } }

.band { background: var(--ink); color: #e6ecf3; border-radius: var(--radius-m); padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 .3em; }
.band p { margin: 0; color: #b9c6d4; }

/* ---- pricing */
.interval { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; margin-bottom: 32px; }
.interval button { border: 0; background: transparent; padding: 10px 18px; font: 600 var(--step--1) var(--display); cursor: pointer; color: var(--ink); }
.interval button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); }
.plan h2 { font-size: var(--step-2); margin-bottom: .2em; }
.plan .for { color: var(--ink-2); font-size: var(--step--1); min-height: 3em; }
.price { font: 780 var(--step-3)/1 var(--display); font-variation-settings: "wdth" 70; margin: 12px 0 4px; }
.price small { font-size: var(--step--1); font-weight: 500; color: var(--ink-2); font-variation-settings: "wdth" 100; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; font-size: var(--step--1); }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: var(--step--1); background: var(--white); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { font-variation-settings: "wdth" 85; font-size: var(--step-0); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: var(--step-1); font-variation-settings: "wdth" 88; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---- long-form pages (legal, about) */
.doc { padding: 56px 0; }
.doc h1 { font-size: var(--step-3); }
.doc h2 { font-size: var(--step-2); margin-top: 1.6em; }
.doc h3 { margin-top: 1.4em; }
.doc li { margin-bottom: .4em; max-width: 68ch; }
.doc .updated { color: var(--ink-2); font-size: var(--step--1); }
.note { background: #fff7df; border-left: 4px solid var(--cue); padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--step--1); margin: 0 0 24px; }
.formula { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; margin: 0 0 1em; }
.formula p { margin: .3em 0; }

/* ---- account pages */
.auth { width: min(440px, 100% - 32px); margin: 64px auto; }
.auth h1 { font-size: var(--step-3); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.card + .card { margin-top: 20px; }
.card h2 { font-size: var(--step-2); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .hint { font-size: var(--step--1); color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=number], select {
  font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); width: 100%;
}
input:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(36, 87, 214, .2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); margin-bottom: 16px; }
.check input { margin-top: 4px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: var(--step--1); margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { width: 100%; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-google:hover { background: var(--paper); }
.full { width: 100%; }
.msg { border-radius: var(--radius-s); padding: 12px 14px; font-size: var(--step--1); margin-bottom: 16px; }
.msg.error { background: #fde8e9; color: #8f1219; }
.msg.ok { background: #e4f4ea; color: #155c34; }
.msg.info { background: #e8eefc; color: #1b3f9c; }

.account { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 48px 0; }
.side nav { position: sticky; top: 88px; display: grid; gap: 2px; }
.side a { color: var(--ink); text-decoration: none; padding: 9px 12px; border-radius: var(--radius-s); font-weight: 550; }
.side a:hover { background: var(--white); }
.side a[aria-current="page"] { background: var(--white); box-shadow: inset 3px 0 0 var(--tally); }
@media (max-width: 800px) { .account { grid-template-columns: 1fr; gap: 20px; } .side nav { position: static; display: flex; flex-wrap: wrap; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 600; }
.meter { height: 10px; background: var(--paper); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.meter span { display: block; height: 100%; background: var(--signal); }
.list { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.list th, .list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list th { color: var(--ink-2); font-weight: 600; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 99px; background: var(--paper); }
.pill.ok { background: #e4f4ea; color: #155c34; }
.pill.warn { background: #fff1c9; color: #7a5600; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper); padding: 10px 12px; border-radius: var(--radius-s); word-break: break-all; font-size: 14px; }
.danger { border-color: #f1b6b9; }
.danger h2 { color: #8f1219; }
dialog { border: 0; border-radius: var(--radius-m); padding: 28px; width: min(520px, 100% - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
dialog::backdrop { background: rgba(13, 22, 34, .55); }
.small { font-size: var(--step--1); }
.spaced { margin-top: 20px; }
.grow { flex: 1; min-width: 200px; margin-bottom: 0; }
.row .field { margin-bottom: 0; }
form.row { align-items: flex-end; margin-bottom: 16px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--paper); padding: 1px 5px; border-radius: 4px; }
.card ol { padding-left: 1.2em; }
.card ol li { margin-bottom: .5em; }
.studio-enter { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.studio-enter h2 { margin-bottom: .2em; }
.studio-enter p { margin: 0; }

/* ---- Webinar page (/w/<slug>) */
.webinar { padding-block: 32px 64px; }
.wb-head h1 { font-size: var(--step-3); margin: .1em 0 .2em; }
.wb-when { color: var(--ink-2); margin: 0 0 20px; }
.wb-error { background: #fff1f1; border: 1px solid #f3c2c4; color: #8a1118; padding: 12px 16px; border-radius: var(--radius-s); }
.wb-register { max-width: 560px; }
.wb-desc { white-space: pre-line; }
.wb-room { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.wb-player { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius-m); overflow: hidden; }
.wb-player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.wb-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #e8edf3; background: var(--ink); font-weight: 600; }
.wb-overlay[hidden] { display: none; }
.wb-unmute { position: absolute; left: 16px; bottom: 16px; }
.wb-status { margin: 10px 2px 0; font-weight: 600; color: var(--ink-2); }
.wb-status[data-state="live"]::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tally); margin-right: 8px; vertical-align: 1px; }
.wb-side { display: grid; gap: 16px; }
.wb-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; }
.wb-box h2 { font-size: var(--step-0); margin: 0 0 10px; }
.wb-hand-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wb-ask { display: grid; gap: 8px; }
.wb-ask textarea { width: 100%; resize: vertical; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.wb-ask .btn { justify-self: end; }
.wb-ask input { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); }
#wbChatForm { grid-template-columns: 1fr auto; }
.wb-chat { list-style: none; margin: 0 0 10px; padding: 0; max-height: 260px; overflow-y: auto; display: grid; gap: 6px; font-size: var(--step--1); }
.wb-chat li { overflow-wrap: anywhere; }
.wb-chat b { color: var(--ink); }
.wb-chat .host b { color: var(--tally); }
.wb-chat li.empty { color: var(--ink-2); }
.wb-panel { border: 2px solid var(--tally); }
.wb-questions { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.wb-questions li { border-top: 1px solid var(--line); padding-top: 10px; }
.wb-questions li.empty { border: 0; color: var(--ink-2); font-size: var(--step--1); }
.wb-questions p { margin: 0 0 4px; overflow-wrap: anywhere; }
.wb-questions .tag { font-size: var(--step--1); color: var(--ink-2); }
.wb-questions .tag.answered { color: #1b6e3c; font-weight: 600; }
.wb-poll-q { font-weight: 600; margin: 0 0 10px; }
.wb-poll-opts { display: grid; gap: 8px; margin-bottom: 8px; }
.wb-opt { position: relative; display: flex; justify-content: space-between; gap: 10px; text-align: left; font: inherit; padding: 10px 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; overflow: hidden; }
.wb-opt:hover:not([disabled]) { border-color: var(--ink); }
.wb-opt.chosen { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.wb-opt.result::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: rgba(36, 87, 214, .12); }
.wb-opt span { position: relative; }
.wb-opt .pct { font-weight: 700; }
.wb-opt[disabled] { cursor: default; }
.wb-dialog { border: 0; border-radius: var(--radius-m); padding: 28px; max-width: 460px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.wb-dialog::backdrop { background: rgba(19, 32, 47, .55); }
.wb-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 860px) { .wb-room { grid-template-columns: 1fr; } }
.wb-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); font-weight: 700; color: var(--tally); margin: 0; }
.wb-sent { background: #e9f6ee; color: #155c31; padding: 12px 16px; border-radius: var(--radius-s); }
[hidden] { display: none !important; }
.section-sub { font-size: var(--step-1); margin: 36px 0 8px; }
.section-text { max-width: 72ch; color: var(--ink-2); }
.desktop-code { font: 700 2rem/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 18px; text-align: center; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.auth .hint { font-size: var(--step--1); color: var(--ink-2); }
.btn.disabled { opacity: .45; pointer-events: none; }
.card details { margin: 14px 0; }
.card summary { cursor: pointer; font-weight: 600; }

/* Ad-measurement consent notice */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: var(--white); color: var(--ink);
  border-radius: var(--radius-m); box-shadow: 0 12px 40px rgba(19, 32, 47, .25), 0 0 0 1px var(--line); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.consent p { margin: 0; flex: 1 1 280px; font-size: var(--step--1); }
.consent .row { display: flex; gap: 10px; margin: 0; }
