@font-face { font-family: "Bricolage Grotesque"; src: url(/static/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/static/fonts/instrument.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --blue: #2438e8; --blue-deep: #1727b4; --ink: #0d1030; --ink-2: #1b2056; --sun: #ffd23f;
  --paper: #f3f4fb; --card: #ffffff; --line: #dde0f0; --tint: #e8ebff; --muted: #5a5f80;
  --good: #12805c; --warn: #8a5a00; --bad: #c8323a;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: 2.1rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { background: var(--tint); padding: .15em .45em; border-radius: 6px; font-size: .95em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.main { padding: 32px 0 72px; }
.narrow { max-width: 480px; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .strong { font-weight: 600; color: var(--ink); }
.center { text-align: center; } .right { text-align: right; }
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--blue); margin-bottom: .5em; }

/* top bar */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 1.3rem var(--display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand em { font: 600 .75rem var(--sans); font-style: normal; letter-spacing: 0; color: var(--ink); background: var(--sun); border-radius: 99px; padding: 2px 10px; }
.mark { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.mark i { width: 4px; border-radius: 2px; background: var(--sun); }
.mark i:nth-child(1) { height: 9px; } .mark i:nth-child(2) { height: 22px; } .mark i:nth-child(3) { height: 15px; } .mark i:nth-child(4) { height: 7px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.top nav a { color: #d5d9f5; } .top nav form { margin: 0; }
.link { background: none; border: 0; color: #d5d9f5; font: inherit; cursor: pointer; padding: 0; }
.link:hover, .top nav a:hover { color: #fff; text-decoration: underline; }
.top.onblue { background: var(--blue); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border: 2px solid var(--blue); border-radius: 999px; padding: 9px 20px; font: 600 .95rem var(--sans); cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #c3c8e6; }
.btn.ghost:hover { background: var(--tint); border-color: var(--blue); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); } .btn.sun:hover { background: #ffe07a; border-color: #ffe07a; }
.btn.onink { background: var(--ink); border-color: var(--ink); color: #fff; } .btn.onink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.big { padding: 13px 26px; font-size: 1.05rem; }
.top .btn.ghost, .hero .btn.ghost, .showhero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.top .btn.ghost:hover, .hero .btn.ghost:hover, .showhero .btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.top nav a.btn { color: #fff; } .top nav a.btn.sun { color: var(--ink); }
.btn.small { padding: 6px 14px; font-size: .875rem; }
.btn.wide { width: 100%; }
.btn.bad { background: #fff; color: var(--bad); border-color: #e6b3b6; } .btn.bad:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn[disabled] { opacity: .55; cursor: progress; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

/* cards and layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 20px; overflow: hidden; }
.pad { padding: 24px; }
.card.good { border-color: #9fd3bf; background: #effaf5; }
.card.danger { border-color: #edc5c7; }
.empty { padding: 48px 24px; }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.headrow h1, .headrow h2 { margin: 0; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs b { font-weight: 400; opacity: .5; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.showcard { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--ink); transition: border-color .15s; }
.showcard:hover { text-decoration: none; border-color: var(--blue); }
.showcard img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ink); }
.showcard h3 { margin-bottom: .25em; } .showcard p { margin: 0; font-size: .9rem; }
.grid.public { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 24px; }
.showcard.tall { flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; gap: 12px; }
.showcard.tall img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
.showcard.tall:hover h3 { color: var(--blue); }
.showhead { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.showhead img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--ink); }
.showhead h1 { margin: 0 0 .15em; } .showhead p { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--blue); }
.tabs a.out { margin-left: auto; font-weight: 500; font-size: .9rem; color: var(--blue); }

/* tables */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .82rem; font-weight: 600; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); background: #f8f9fe; }
.table th.right { text-align: right; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table form { margin: 0; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #e9eaf3; color: #50557a; white-space: nowrap; }
.pill.live { background: #d6f2e6; color: var(--good); } .pill.sched { background: var(--tint); color: var(--blue-deep); } .pill.warn { background: #fff0c2; color: var(--warn); }

/* forms */
.form label, form.card > label, .authform label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form textarea, .form select, .copyrow input, .copyrow textarea, .authform input {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1.5px solid #c3c8e6; border-radius: 10px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.form textarea, .copyrow textarea { resize: vertical; }
.form input[type=file] { display: block; margin-top: 8px; font: inherit; max-width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus, .authform input:focus { border-color: var(--blue); outline: 3px solid rgba(36,56,232,.2); box-shadow: none; }
.hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cols { display: grid; grid-template-columns: 1fr 260px; gap: 28px; }
.cols.even { grid-template-columns: 1fr 1fr; gap: 20px; }
.check, .radio { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.check input, .radio input { width: 18px; height: 18px; accent-color: var(--blue); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 6px; margin: 0 0 18px; }
legend { font-weight: 600; font-size: .9rem; padding: 0 6px; }
.sched { margin: -6px 0 14px 28px; max-width: 280px; }
.coverpick img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-top: 6px; background: var(--ink); }
.actions { display: flex; gap: 10px; margin-top: 8px; }
.narrowform { max-width: 480px; }
.alert { background: #fdecec; border: 1px solid #f0bcbf; color: #8f1f26; border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.alert.ok { background: #e9f7f0; border-color: #a9d8c3; color: var(--good); }
.progress { position: relative; height: 30px; border-radius: 99px; background: var(--tint); overflow: hidden; margin: 6px 0 14px; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--sun); transition: width .2s; }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.current audio, .current video { display: block; width: 100%; margin-top: 8px; border-radius: 10px; }
.current video { max-height: 320px; background: #000; }
.copyrow { display: flex; gap: 10px; align-items: flex-start; }
.copyrow input, .copyrow textarea { margin-top: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; background: #f8f9fe; }
.embedpreview { width: 100%; border: 0; border-radius: 12px; margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.checks li:last-child { border: 0; }
.checks b { flex: none; width: 52px; font-size: .82rem; }
.checks .ok b { color: var(--good); } .checks .no b { color: var(--warn); }
.checks em { display: block; font-style: normal; color: var(--muted); font-size: .88rem; }
.places { list-style: none; padding: 0; margin: 0; }
.places li { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.places li:last-child { border: 0; } .places p { margin: .2em 0 0; color: var(--muted); font-size: .9rem; } .places .btn { flex: none; }

/* stats */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tiles span { display: block; font-size: .88rem; color: var(--muted); }
.tiles strong { font: 700 2.5rem/1.1 var(--display); letter-spacing: -.03em; }
.chart { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.chart rect { fill: var(--blue); } .chart rect.zero { fill: #e3e6f5; } .chart text { font: 11px var(--sans); fill: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 48px; gap: 12px; align-items: center; padding: 7px 0; font-size: .92rem; }
.bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars i { height: 10px; background: var(--tint); border-radius: 99px; overflow: hidden; } .bars b { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* landing */
.hero { background: var(--blue); color: #fff; padding: 56px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 800; line-height: .94; letter-spacing: -.04em; margin-bottom: .45em; }
.lede { font-size: 1.2rem; line-height: 1.5; color: #dfe3ff; max-width: 33em; margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.signal { width: 100%; height: auto; display: block; }
.signal .wire { fill: none; stroke: rgba(255,255,255,.38); stroke-width: 2; }
.signal .node { fill: #fff; } .signal .dest { fill: rgba(13,16,48,.34); stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.signal text { font: 600 17px var(--sans); fill: #fff; } .signal .dark { fill: var(--ink); } .signal .sub { font-weight: 400; font-size: 13px; fill: #50557a; }
.signal .hub { fill: var(--sun); } .signal .pulse { fill: var(--sun); }
.signal .hubtext { font: 700 16px var(--display); fill: var(--ink); }
.band { padding: 80px 0; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 750; letter-spacing: -.03em; max-width: 16em; margin-bottom: 1em; }
.band.white { background: #fff; }
.uses { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.uses li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.uses h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; margin: 0; }
.uses p { font-size: 1.1rem; margin: 0; color: #2b3060; max-width: 36em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--sun); font: 700 1.2rem var(--display); margin-bottom: 18px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: var(--ink); opacity: .2; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.25rem; margin-bottom: .35em; } .steps p { margin: 0; color: #2b3060; }
.close { background: var(--sun); padding: 72px 0; }
.close .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.close h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; margin: 0; max-width: 14em; }

/* sign in */
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.authside { background: var(--blue); color: #fff; padding: 40px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.authside h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; line-height: .96; letter-spacing: -.04em; margin: 0 0 .4em; }
.authside p { color: #dfe3ff; font-size: 1.1rem; max-width: 26em; margin: 0; }
.meter { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.meter i { flex: 1; background: var(--sun); border-radius: 6px 6px 0 0; height: var(--h); transform-origin: bottom; animation: level 1.6s ease-in-out infinite alternate; animation-delay: var(--d); }
.meter i:nth-child(n+11) { background: #fff; }
@keyframes level { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.authform { background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.authform form { width: min(380px, 100%); }
.authform h2 { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; margin-bottom: .25em; }
.authform .btn { margin-top: 6px; }
.authform .foothelp { margin-top: 22px; font-size: .9rem; color: var(--muted); }

/* public show page */
.section { font-size: 1.6rem; margin: 8px 0 18px; }
.showhero { background: var(--ink); color: #fff; padding: 48px 0; }
.showhero .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; }
.showhero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--ink-2); }
.showhero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .2em; } .showhero h1 a { color: #fff; }
.showhero .eyebrow { color: var(--sun); } .by { color: #cfd4f5; font-size: 1.05rem; }
.showhero .notes { color: #e1e4fa; max-width: 40em; }
.listen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.showhero .listen .btn:not(.ghost) { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.feature h2 { font-size: 1.8rem; } .feature audio { width: 100%; margin: 6px 0 16px; }
.feature video { width: 100%; max-height: 560px; background: #000; border-radius: 12px; margin: 6px 0 16px; }
.notes p:last-child { margin-bottom: 0; }
.eplist { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.eplist li { display: flex; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.eplist li:last-child { border: 0; } .eplist li.on { background: var(--tint); }
.eplist p { margin: .2em 0 0; } .clip { color: #3b4068; font-size: .93rem; }
.play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.play:hover { background: var(--blue-deep); }
.play svg { width: 22px; height: 22px; fill: #fff; margin-left: 2px; } .play.video { background: var(--ink); } .play.video svg { fill: var(--sun); }
.dock { position: sticky; bottom: 0; background: var(--ink); color: #fff; padding: 12px 0; z-index: 5; border-top: 3px solid var(--sun); }
.dock .wrap { display: flex; align-items: center; gap: 18px; }
.dock strong { flex: 0 1 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); }
.dock audio { flex: 1; height: 40px; min-width: 0; }
.foot { background: var(--ink); color: #aeb3d6; font-size: .88rem; padding: 26px 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot strong { color: #fff; }

/* embed */
.is-embed { background: transparent; display: block; min-height: 0; }
.embed { background: var(--ink); color: #fff; border-radius: 12px; padding: 16px; position: relative; font-size: .95rem; }
.embedhead { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; padding-right: 76px; }
.embedhead img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ink-2); }
.embedhead h1 { font-size: 1.15rem; margin: 2px 0 0; } .embedhead a { color: var(--sun); }
.embed audio { width: 100%; height: 40px; display: block; } .embed video { width: 100%; max-height: 300px; background: #000; border-radius: 8px; display: block; }
.embedlist { list-style: none; margin: 12px 0 0; padding: 0; max-height: 210px; overflow: auto; border-top: 1px solid rgba(255,255,255,.16); }
.embedlist button { width: 100%; display: flex; justify-content: space-between; gap: 12px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #d5d9f5; font: inherit; text-align: left; padding: 10px 4px; cursor: pointer; }
.embedlist button:hover { color: #fff; } .embedlist button.on { color: var(--sun); font-weight: 600; }
.embedlist span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .embedlist em { font-style: normal; opacity: .7; font-variant-numeric: tabular-nums; }
.embedby { position: absolute; top: 16px; right: 16px; font: 700 .8rem var(--display); color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 36px 0 56px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; } .steps li:nth-child(2)::after { display: none; }
  .auth { grid-template-columns: 1fr; min-height: 0; } .authside { gap: 28px; } .meter { height: 70px; } .authform { padding: 40px 24px 64px; }
}
@media (max-width: 760px) {
  .cols, .cols.even, .two, .tiles { grid-template-columns: 1fr; }
  .uses li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .steps { grid-template-columns: 1fr; } .steps li::after { display: none; }
  .band { padding: 56px 0; } .close { padding: 52px 0; }
  .showhero .wrap { grid-template-columns: 1fr; } .showhero img { max-width: 220px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
  .places li, .copyrow { flex-direction: column; align-items: stretch; }
  .dock .wrap { flex-direction: column; align-items: stretch; gap: 6px; } .dock strong { flex: none; }
  .top nav { gap: 12px; font-size: .85rem; } .tabs a.out { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
.brand, .top nav a, .top nav .link { white-space: nowrap; }
@media (max-width: 480px) { .brand em { display: none; } .brand { font-size: 1.15rem; } }
