:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #0f1b2a;
  --muted: #5b6878;
  --line: #e3e8ef;
  --accent: #0a9bff;
  --accent-ink: #ffffff;
  --soft: #eef5fc;
  --shadow: 0 1px 2px rgba(15, 27, 42, .05), 0 8px 24px rgba(15, 27, 42, .06);
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b121b; --paper: #121c28; --ink: #e9eef5; --muted: #95a3b4; --line: #223042;
    --accent: #3db0ff; --accent-ink: #06121f; --soft: #14263a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b121b; --paper: #121c28; --ink: #e9eef5; --muted: #95a3b4; --line: #223042;
  --accent: #3db0ff; --accent-ink: #06121f; --soft: #14263a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* header / footer */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { text-decoration: none; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.mark b { color: var(--accent); font-weight: 500; }
.follow { display: flex; gap: 6px; }
.follow a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.follow a:hover { background: var(--soft); color: var(--ink); }
.follow svg { width: 19px; height: 19px; }
.foot { border-top: 1px solid var(--line); margin-top: 72px; padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot a { color: var(--ink); }
.foot .fine { font-size: 13px; max-width: 760px; }

/* index */
.hero { padding: 56px 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.hero h1 { font-size: clamp(44px, 9vw, 88px); font-weight: 500; letter-spacing: -.045em; }
.hero h1 span { color: var(--accent); }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 32px 0 0; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tools { position: sticky; top: 60px; z-index: 5; background: var(--bg); padding: 16px 0 12px; }
#q { width: 100%; max-width: 420px; font: inherit; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
#q:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; font: 500 13px/1 Inter, sans-serif; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip i { font-style: normal; color: var(--muted); margin-left: 3px; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.on i { color: inherit; opacity: .7; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 12px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.amt { position: absolute; left: 12px; bottom: 12px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 8px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.empty { color: var(--muted); padding: 40px 0; }

/* company */
.co-band { --b-bg: var(--ink); --b-ink: var(--bg); --b-accent: var(--accent); --b-muted: var(--muted); --b-line: transparent;
  background: var(--b-bg); color: var(--b-ink); padding: 28px 0 40px; border-bottom: 1px solid var(--b-line); }
.back { display: inline-block; font-size: 14px; color: var(--b-muted); text-decoration: none; margin-bottom: 24px; }
.back:hover { color: var(--b-ink); }
.logo { max-height: 40px; max-width: 180px; width: auto; margin-bottom: 18px; background: rgba(255, 255, 255, .92); padding: 6px 10px; border-radius: 10px; }
.co-band h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; max-width: 900px; }
.co-band h1 span { color: var(--b-accent); display: block; }
.tagline { font-size: 19px; margin: 14px 0 0; color: var(--b-ink); opacity: .85; max-width: 680px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cats span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--b-ink) 30%, transparent); }

.co-grid { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 900px) { .co-grid { grid-template-columns: 340px 1fr; gap: 48px; margin-top: -24px; } .co-side { position: sticky; top: 84px; align-self: start; } }
.player { position: relative; display: block; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow); cursor: pointer; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 0; right: 0; bottom: 14%; margin: 0 auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); transition: transform .15s; }
.play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #0f1b2a; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.player:hover .play { transform: scale(1.07); }
.watch { display: grid; gap: 8px; max-width: 340px; margin: 16px auto 0; }
.btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; background: var(--paper); border: 1px solid var(--line); }
.btn:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

.block { margin-top: 40px; }
.co-main .block:first-child { margin-top: 0; }
@media (min-width: 900px) { .co-main { padding-top: 56px; } }
.block h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.block .sub { color: var(--muted); margin: -6px 0 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--paper); padding: 14px 16px; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.about { display: grid; gap: 18px; }
.about-item h3 { font-size: 17px; margin-bottom: 4px; }
.about-item p { margin: 0; color: var(--muted); }
.product { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; box-shadow: var(--shadow); }
.product-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.product-head span { font-size: 12px; font-weight: 600; background: var(--soft); color: var(--accent); padding: 4px 9px; border-radius: 999px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row small { grid-column: 1 / -1; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.row em { font-style: normal; font-size: 12px; color: var(--accent); font-weight: 600; align-self: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.proof { display: grid; gap: 18px; }
@media (min-width: 640px) { .proof { grid-template-columns: auto 1fr; align-items: center; } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; display: grid; gap: 2px; }
.stat b { font-size: 34px; letter-spacing: -.03em; color: var(--accent); }
.stat small { color: var(--muted); font-size: 12.5px; }
.proof h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--soft); padding: 6px 11px; border-radius: 999px; font-size: 14px; }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.browser { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser span { margin-left: 10px; font-size: 12.5px; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 6px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.investors { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.investors li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.investors a { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }

/* script storyboard */
.script { margin-top: 64px; }
.scenes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .scenes { grid-template-columns: 1fr 1fr; } }
.scene { display: grid; grid-template-columns: 112px 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
@media (min-width: 560px) { .scene { grid-template-columns: 150px 1fr; } }
.scene-img { aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--soft); }
.scene-img img { width: 100%; height: 100%; object-fit: cover; }
.scene-txt { min-width: 0; }
.scene-meta { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.scene-meta .n { color: var(--accent); }
.scene-meta .t { margin-left: auto; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; font-weight: 500; }
.scene blockquote { margin: 8px 0 12px; font-size: 17px; line-height: 1.45; font-weight: 500; }
.onscreen { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.onscreen small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 4px; }
.onscreen p { margin: 0 0 4px; }
.onscreen strong { color: var(--ink); }
.onscreen ul, .onscreen ol { margin: 4px 0; padding-left: 18px; }

.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.2fr 1fr; } }
.caption { white-space: pre-wrap; font: 14.5px/1.6 Inter, sans-serif; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 0; }
.sources { padding-left: 18px; margin: 0; display: grid; gap: 6px; font-size: 14.5px; overflow-wrap: anywhere; }
.sources a { color: var(--accent); }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; }
.pager a { text-decoration: none; font-weight: 600; font-size: 17px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); max-width: 48%; }
.pager a:hover { border-color: var(--ink); }
.pager small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.pager .next { text-align: right; }
@media (max-width: 559px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13px; }
  .amt { left: 8px; bottom: 8px; font-size: 13px; }
}
