html{-webkit-text-size-adjust:100%}body{margin:0}img{max-width:100%}[hidden]{display:none!important}

/* Layout: trade-floor directory. Wide editorial hero beside a live sample listing, then a rights matrix, ecosystem map, market calendar and a join form. */
:root {
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #0E1330;
  --muted: #566080;
  --line: #DAE0EE;
  --accent: #2B45F5;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6EAFF;
  --c-film: #E5484D;
  --c-book: #B36F00;
  --c-game: #0E9F8E;
  --c-anim: #8E4EC6;
  --c-audio: #0B84E8;
  --c-ip: #D6336C;
  --ok: #0A6B49;
  --ok-soft: #DDF4EA;
  --held-soft: #EEF0F7;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0E22; --surface: #121835; --ink: #EDF0FF; --muted: #9BA5C9; --line: #252D55;
    --accent: #8493FF; --accent-ink: #0A0E22; --accent-soft: #1B2350;
    --c-film: #FF7A7F; --c-book: #F5B043; --c-game: #38CDB9; --c-anim: #C08BF0; --c-audio: #5DB4FF; --c-ip: #FF7FAE;
    --ok: #4FD9A4; --ok-soft: #10332A; --held-soft: #1A2143;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0E22; --surface: #121835; --ink: #EDF0FF; --muted: #9BA5C9; --line: #252D55;
  --accent: #8493FF; --accent-ink: #0A0E22; --accent-soft: #1B2350;
  --c-film: #FF7A7F; --c-book: #F5B043; --c-game: #38CDB9; --c-anim: #C08BF0; --c-audio: #5DB4FF; --c-ip: #FF7FAE;
  --ok: #4FD9A4; --ok-soft: #10332A; --held-soft: #1A2143;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; padding-inline: 16px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); margin-inline: -16px; padding-inline: 16px; }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.blocks { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.blocks i { width: 9px; height: 9px; display: block; border-radius: 2px; }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 0.9rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; padding: 11px 18px; border-radius: 8px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { padding-block: 56px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-top: 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--dot, var(--accent)); }
@media (max-width: 940px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 56px; } }

/* sample listing */
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(14, 19, 48, 0.35); min-width: 0; }
.tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { font-family: inherit; font-size: 0.85rem; font-weight: 600; background: none; border: 0; color: var(--muted); padding: 10px 14px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.l-body { padding: 22px; display: grid; gap: 18px; }
.l-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.l-head h3 { font-size: 1.6rem; font-weight: 700; }
.l-tag { color: var(--tagc); border: 1px solid currentColor; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.l-log { color: var(--muted); font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; min-width: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; font-size: 0.92rem; overflow-wrap: anywhere; }
.rights-wrap { overflow-x: auto; }
table.rights { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 0.8rem; }
.rights th, .rights td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.rights thead th { font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.rights tbody th { text-align: left; font-weight: 600; padding-left: 0; white-space: nowrap; }
.st { display: inline-block; min-width: 62px; padding: 3px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 0.68rem; }
.st.open { background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.st.lic { background: var(--accent-soft); color: var(--accent); }
.st.held { background: var(--held-soft); color: var(--muted); }
.st.na { color: var(--muted); opacity: 0.6; }
.l-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } .l-body { padding: 16px; } }

/* sections */
section { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; margin-bottom: 40px; align-items: end; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.05rem; max-width: 36rem; }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } section { padding-block: 52px; } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.pane h3 { font-size: 1.35rem; font-weight: 700; }
.pane p { color: var(--muted); font-size: 0.97rem; }
.pane ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.92rem; }
.pane li { display: flex; gap: 9px; }
.pane li::before { content: "\2192"; color: var(--accent); flex: none; }
.lab { color: var(--accent); }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* who */
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.role { padding: 10px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-weight: 500; }
.role small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.rule { margin-top: 28px; padding: 16px 20px; background: var(--accent-soft); border-radius: 10px; max-width: 46rem; }

/* ecosystem */
.eco { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.node h3 { font-size: 1.4rem; font-weight: 700; }
.node p { color: var(--muted); font-size: 0.95rem; }
.node.root { grid-column: span 12; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.node.root p { color: var(--bg); opacity: 0.78; max-width: 46rem; }
.node.root h3 { font-size: 1.8rem; }
.node.s4 { grid-column: span 4; }
.node.s6 { grid-column: span 6; }
.slogan { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent); }
.node.ckff { border-style: dashed; }
@media (max-width: 860px) { .node.s4, .node.s6 { grid-column: span 12; } }

/* market watch */
.cal { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.cal-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cal-row .d { font-family: var(--font-mono); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.cal-row h3 { font-size: 1.25rem; font-weight: 700; }
.cal-row p { color: var(--muted); font-size: 0.93rem; margin-top: 2px; }
.cal-row .w { color: var(--muted); text-align: right; }
@media (max-width: 720px) { .cal-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .cal-row .w { text-align: left; } }
.note { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }

/* world */
.world { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reg { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.reg b { font-family: var(--font-display); font-size: 1.1rem; }
.reg span { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 860px) { .world { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .world { grid-template-columns: minmax(0, 1fr); } }

/* programs */
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.prog { padding: 22px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.prog h3 { font-size: 1.3rem; font-weight: 700; }
.prog p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .progs { grid-template-columns: minmax(0, 1fr); } .prog { padding-right: 0; } }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.join h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.join .lede { color: var(--muted); font-size: 1.05rem; margin-top: 20px; max-width: 30rem; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 0.9rem; }
input, select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; min-width: 0; }
input:focus, select:focus { border-color: var(--accent); }
.form-msg { padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); font-size: 0.9rem; }
@media (max-width: 860px) { .join { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

footer { border-top: 1px solid var(--line); padding-block: 40px 56px; display: grid; gap: 14px; color: var(--muted); font-size: 0.88rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer .fine { max-width: 46rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .tab, .chip { transition: filter 0.15s, color 0.15s, border-color 0.15s; }
}

/* ---------- shared: multi-page additions ---------- */
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.page-head { padding-block: 48px 28px; display: grid; gap: 14px; max-width: 52rem; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.sample-note { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 5px 10px; width: fit-content; }
main.page section { padding-block: 40px; border-top: 0; }

.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.filters label { font-size: 0.75rem; }
.filters .count { grid-column: 1 / -1; color: var(--muted); }
@media (max-width: 860px) { .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .filters label:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .filters { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.card .sub { color: var(--muted); font-size: 0.9rem; }
.card .line { color: var(--muted); font-size: 0.88rem; }
.card .line b { color: var(--ink); font-weight: 600; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--av, var(--accent)); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.seek { color: var(--ok); border-color: var(--ok); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.btn.small { padding: 7px 12px; font-size: 0.85rem; border-radius: 7px; }
.btn[aria-pressed="true"] { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.thumb { aspect-ratio: 16 / 7; max-width: 100%; border-radius: 8px; background: var(--tc, var(--accent)); display: flex; align-items: flex-end; padding: 12px 14px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.05; text-wrap: balance; position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; right: -24px; top: -24px; width: 110px; height: 110px; border-radius: 28px; background: rgba(255,255,255,0.16); transform: rotate(18deg); }
.rights-toggle { justify-self: start; }
.rights-panel[hidden] { display: none; }
.rights-panel { overflow-x: auto; }
.empty { padding: 40px 0; color: var(--muted); }

.tabs2 { display: flex; gap: 6px; margin-top: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs2 .tab { font-size: 1rem; }

.wanted { display: grid; margin-top: 24px; border-top: 1px solid var(--ink); }
.w-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.w-row h3 { font-size: 1.1rem; font-weight: 700; }
.w-row p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .w-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.benefits { display: grid; gap: 14px; margin-top: 24px; }
.benefit { border-top: 1px solid var(--line); padding-top: 12px; }
.benefit h3 { font-size: 1.1rem; font-weight: 700; }
.benefit p { color: var(--muted); font-size: 0.95rem; }
form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { form .row2 { grid-template-columns: minmax(0, 1fr); } }

.feed { display: grid; border-top: 1px solid var(--ink); margin-top: 24px; }
.f-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 160px; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.f-row .d { font-family: var(--font-mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.f-row h3 { font-size: 1.1rem; font-weight: 700; }
.f-row p { color: var(--muted); font-size: 0.9rem; }
.f-row .k { color: var(--muted); text-align: right; }
@media (max-width: 720px) { .f-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .f-row .k { text-align: left; } }
.mix { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.mix div { border-top: 3px solid var(--mc, var(--accent)); padding-top: 8px; }
.mix b { font-family: var(--font-display); font-size: 1.8rem; display: block; line-height: 1; }
.mix span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 480px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: 1rem; gap: 8px; min-width: 0; }
  .top .btn { padding: 9px 12px; font-size: 0.85rem; white-space: nowrap; }
}
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--ink); }

/* menu, skip link, tables, legal, textarea */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 16px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 18px 40px -20px rgba(14, 19, 48, 0.4); }
.menu nav a { padding: 10px 12px; text-decoration: none; border-radius: 8px; font-weight: 500; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--accent-soft); }
.menu nav .btn { margin-top: 6px; justify-content: center; color: var(--accent-ink); }
.menu nav .btn:hover { background: var(--accent); }
@media (max-width: 1100px) { .nav { gap: 14px; font-size: 0.85rem; } }
@media (max-width: 980px) { .nav { display: none; } .top .btn { margin-left: auto; } .menu { display: block; } }
@media (max-width: 480px) { .top .wrap > .btn { display: none; } .menu { margin-left: auto; } }
.table-wrap { overflow-x: auto; margin-top: 20px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; border-bottom: 1px solid var(--ink); }
.compare tbody th { color: var(--muted); font-weight: 500; font-size: 0.85rem; width: 110px; }
.legal { max-width: 46rem; display: grid; gap: 10px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin-top: 18px; }
.legal p { color: var(--muted); }
textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; min-width: 0; resize: vertical; }
textarea:focus { border-color: var(--accent); }
main.page section.legal { border-top: 1px solid var(--line); }
.card p.sub { margin: 0; }

.recap-note { font-size: 0.75rem; color: var(--muted); }
.recap-note a { color: var(--muted); }
.grecaptcha-badge { visibility: visible; }
