:root {
  color-scheme: light;
  --paper: #fafbf7;
  --ink: #17221e;
  --muted: #58655c;
  --line: #d3dad1;
  --dark: #101b16;
  --lime: #dcfa84;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, input, video { max-width: 100%; }
img { display: block; max-width: 100%; }
p, figure, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid #638900; outline-offset: 5px; }
.cover :focus-visible, .get :focus-visible, dialog :focus-visible { outline-color: var(--lime); }
.shell { width: min(86%, 85rem); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: 10px; z-index: 10; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast { background: var(--paper); }
.mast-inner { height: 4.75rem; display: flex; align-items: center; gap: 3rem; }
.wordmark { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: 7rem; height: auto; }
.main-nav { display: flex; align-items: center; margin-left: auto; gap: 2.1rem; }
.main-nav a, .nav-try, .footer nav a { font-size: .91rem; font-weight: 580; }
.main-nav a, .footer nav a { padding-block: .6rem; }
.main-nav a:hover, .footer nav a:hover, .download-links a:hover, .alt-film:hover { text-decoration: underline; text-underline-offset: .35em; }
.nav-try { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .45rem 1.3rem; color: #fff; background: var(--dark); border-radius: 2px; }
.nav-try:hover { background: #33483d; }

.cover { overflow: hidden; position: relative; isolation: isolate; background: var(--dark); color: #f8f9f3; }
.cover-inner { display: flex; align-items: center; position: relative; isolation: isolate; min-height: clamp(31rem, 43vw, 42rem); }
.portrait { position: absolute; z-index: -1; inset: 0 -9% 0 auto; width: 63%; overflow: hidden; background: #101b16; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; filter: grayscale(1) contrast(1.06); opacity: .92; }
.portrait::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(90deg,#101b16 0%,rgba(16,27,22,.72) 12%,rgba(16,27,22,.06) 40%,rgba(16,27,22,.02) 78%,rgba(16,27,22,.42)),linear-gradient(0deg,rgba(8,20,13,.65),transparent 26%); }
.hero-copy { width: 53%; padding-block: 4.3rem 5.2rem; }
.eyebrow { display: flex; gap: .7rem; align-items: center; color: #425c48; font-weight: 600; font-size: .875rem; letter-spacing: .06em; }
.eyebrow .keyline { width: 1.8rem; height: 2px; background: #60803e; }
.eyebrow.inverse { color: var(--lime); }
.inverse .keyline { background: var(--lime); }
.slash { opacity: .65; font-family: var(--mono); }
h1 { margin: 1.6rem 0 1.3rem; font: 600 clamp(3.8rem,6.1vw,6.6rem)/1.13 var(--serif); letter-spacing: -.055em; }
h1 span { white-space: nowrap; }
.question { color: var(--lime); }
.deck { width: min(100%, 28em); font-size: clamp(1.02rem,1.25vw,1.19rem); line-height: 1.85; color: #d3ddd5; }
.cover-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.05rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3.35rem; padding: .7rem 1.65rem; border-radius: 2px; font-weight: 680; }
.btn-lime { color: #182719; background: var(--lime); }
.btn-lime:hover { background: #edffbd; }
.play, .mini-play { display: inline-block; clip-path: polygon(13% 0,100% 50%,13% 100%); background: currentColor; width: .84rem; height: .9rem; }
.mini-play { width: .57rem; height: .64rem; }
.alt-film { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; font-weight: 550; color: #f3f6eb; }
.portrait-label { position: absolute; right: 0; bottom: 1.4rem; color: #fff; font-size: .8rem; letter-spacing: .03em; text-shadow: 0 1px 7px #131912; }
.portrait-label span { padding: 0 .3rem; color: var(--lime); }
.film-ledger { color: #e1e7db; background: #1c2a22; }
.ledger-inner { display: flex; align-items: center; min-height: 3.6rem; gap: 2rem; font-size: .9rem; }
.format { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; }
.screen-icon { width: 1.2rem; height: .82rem; border: 1.5px solid #d4dfa9; border-radius: 1px; position: relative; }
.screen-icon::after { content: ""; position: absolute; left: 22%; right: 22%; height: 1px; background: #d4dfa9; bottom: -4px; }
.film-scope { color: #c4d0c3; font-size: .875rem; }
.film-scope span { color: #9aaa98; padding: 0 .65rem; }
.ledger-inner > a { margin-left: auto; color: #ecf4d8; text-decoration: underline; text-decoration-color: #798871; text-underline-offset: .35em; }

.feature-section, .uses { padding-block: clamp(4rem,7.3vw,7.6rem); }
.section-intro { display: grid; grid-template-columns: 1.3fr .8fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.section-intro h2, .get h2 { font-family: var(--serif); font-weight: 660; letter-spacing: -.048em; }
.section-intro h2 { font-size: clamp(2.4rem,3.65vw,4.4rem); line-height: 1.28; margin: .75rem 0 0; }
.section-intro > p { max-width: 27em; justify-self: end; color: var(--muted); }
.explorer { border-block: 1px solid var(--line); }
.shot-select { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.shot-option { min-width: 0; display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
.shot-option:last-child { border-right: 0; }
.kind { font: 550 .85rem/1.4 var(--sans); color: #596b54; }
.shot-option strong { font-size: 1.08rem; font-weight: 600; }
.shot-option[aria-current="true"] { background: #e8f3d0; color: #1d3113; box-shadow: inset 0 -3px #5c7c2d; }
.shot-option:hover { background: #f0f4e8; }
.route-indicator { width: .63rem; height: .63rem; margin-left: auto; border: 1px solid #8c9789; border-radius: 100%; }
.shot-option[aria-current="true"] .route-indicator { background: #526e2e; border-color: #526e2e; box-shadow: inset 0 0 0 2px #e8f3d0; }
.shot-stage { display: grid; grid-template-columns: minmax(0,2.6fr) minmax(14rem,1fr); background: #e9ede4; }
.shot-zoom { display: flex; align-items: center; justify-content: center; padding: clamp(1.1rem,2.6vw,3rem); cursor: zoom-in; background: radial-gradient(ellipse at 45% 45%,#f5f7ed,#dfe6db); }
.shot-zoom img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; object-position: center; box-shadow: 0 9px 20px -10px #31403277; background: #f5f6f0; }
.shot-stage figcaption { background: #26362c; color: white; padding: clamp(1.35rem,2.6vw,3.1rem); display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.shot-stage figcaption h3 { font: 600 clamp(1.45rem,2.1vw,2.3rem)/1.45 var(--serif); margin-bottom: .9rem; text-wrap: balance; }
.shot-stage figcaption p { color: #d6dfd4; line-height: 1.85; }
.expand { align-self: start; color: #e5f5b8; text-decoration: underline; text-underline-offset: .35em; font-size: .9rem; }
.sources { display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.35rem; font-size: .875rem; color: var(--muted); }
.sources h3 { color: var(--ink); font-size: .875rem; font-weight: 650; }
.sources a { text-decoration: underline; text-decoration-color: #acb5a7; text-underline-offset: .24em; }
.sources a time { font: .81rem var(--mono); margin-right: .25rem; }

.uses { background: #eff2e9; border-block: 1px solid var(--line); }
.uses-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.5vw,3rem); }
.uses-grid article { min-width: 0; }
.case-img { display: block; padding: 1.3rem 1.1rem 0; background: #d5e1d7; aspect-ratio: 1.83; overflow: hidden; border: 1px solid #cbd5c9; cursor: zoom-in; }
.uses-grid article:nth-child(2) .case-img { background: #d7dfd0; }
.uses-grid article:nth-child(3) .case-img { background: #e0ded1; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 2px 2px 0 0; box-shadow: 0 2px 10px #223c2226; }
.uses-grid .kind { margin-top: 1.35rem; }
.uses-grid h3 { margin: .4rem 0 .6rem; font-size: clamp(1.3rem,2vw,1.8rem); letter-spacing: -.04em; font-weight: 650; }
.uses-grid article > p:last-child { color: var(--muted); line-height: 1.8; }
.get { color: #f5f6ee; background: var(--dark); }
.get-inner { display: grid; grid-template-columns: 1.3fr .8fr; gap: 3rem; align-items: end; padding-block: clamp(4.8rem,8vw,8rem); }
.get h2 { margin-top: 1.3rem; font-size: clamp(3.2rem,5.8vw,6.3rem); line-height: 1.13; }
.get-actions { max-width: 26rem; }
.get-actions > p { font-size: 1.1rem; color: #d5ded2; margin-bottom: 1.3rem; }
.download-links { display: flex; gap: 1.4rem; color: #ecf4d8; margin-top: 1.4rem; }
.download-links a { text-decoration: underline; text-underline-offset: .35em; }
.get-actions small { display: block; font-size: .8rem; color: #b1bfb0; margin-top: .6rem; }
.footer { padding-block: 1.8rem; }
.footer-line { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.footer .wordmark img { width: 6.3rem; }
.footer nav { display: flex; gap: 1.6rem; align-items: center; }
.credit { margin-top: 1.2rem; font-size: .79rem; line-height: 1.75; color: #616d62; }
.credit a { text-decoration: underline; text-underline-offset: .2em; }

.screening { width: min(74rem,92vw,calc((100svh - 11rem) * 16/9)); max-width: none; max-height: calc(100svh - 1rem); padding: 0; overflow: auto; color: #edf3ea; background: #16201a; border: 1px solid #506450; border-radius: 5px; box-shadow: 0 2rem 6rem #070e0d77; }
.screening::backdrop { background: #0b100eea; }
.player-bar, .player-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.3rem; }
.player-bar > div { display: flex; align-items: baseline; gap: .9rem; }
.player-bar span { color: #d0dcbd; font-size: .82rem; }
.player-bar h2 { font-size: 1.05rem; font-weight: 600; }
.close, .film-switch button { appearance: none; background: transparent; color: #e8eddf; border: 1px solid #616e62; border-radius: 2px; font-size: .9rem; line-height: 1.5; padding: .47rem .85rem; }
.close:hover, .film-switch button:hover { background: #384735; }
.film-stage { aspect-ratio: 16/9; background: #080d09; }
.film-stage video { width: 100%; height: 100%; display: block; object-fit: contain; }
.film-switch { display: flex; gap: .45rem; }
.film-switch button[aria-pressed="true"] { color: #182518; border-color: var(--lime); background: var(--lime); }
.file-link { color: #dae8c6; font-size: .875rem; text-decoration: underline; text-underline-offset: .3em; }
.video-error { font-size: .9rem; padding: 0 1.3rem 1rem; }
body:has(dialog[open]) { overflow: hidden; }

@media (min-width: 99rem) {
  .portrait { right: 0; }
  .portrait::after { background: linear-gradient(90deg,#101b16,transparent 38%,transparent 79%,#101b16),linear-gradient(0deg,#101b167d,transparent 30%); }
}
@media (max-width: 62rem) {
  .shell { width: 90%; }
  .mast-inner { gap: 1.6rem; }
  .main-nav { gap: 1.5rem; }
  .hero-copy { width: 56%; }
  .portrait { right: -6%; width: 62%; }
  .shot-option { gap: .55rem; }
  .shot-option .kind { display: none; }
  .section-intro { grid-template-columns: 1.12fr .88fr; gap: 2rem; }
  .shot-stage { grid-template-columns: minmax(0,2.4fr) minmax(12rem,1fr); }
}
@media (max-width: 46rem) {
  .shell { width: calc(100% - 2.4rem); }
  .mast-inner { height: 3.85rem; gap: .9rem; }
  .wordmark img { width: 5.6rem; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .84rem; }
  .main-nav a:first-child, .main-nav a:nth-child(2) { display: none; }
  .nav-try { min-height: 2.45rem; font-size: .84rem; padding: .4rem .85rem; }
  .cover-inner { min-height: 39rem; align-items: flex-end; }
  .portrait { inset: 0 -1.2rem auto auto; width: 100%; height: 62%; }
  .portrait img { object-position: 48% 22%; }
  .portrait::after { background: linear-gradient(0deg,#101b16 0%,rgba(16,27,22,.73) 18%,rgba(16,27,22,.05) 55%),linear-gradient(90deg,#101b16 0%,rgba(16,27,22,.43) 21%,transparent 62%); }
  .hero-copy { width: 100%; padding: 10rem 0 2.6rem; }
  h1 { font-size: clamp(3.45rem,10vw,4.9rem); line-height: 1.11; margin: 1.1rem 0; }
  .deck { max-width: 31em; font-size: 1.01rem; line-height: 1.78; }
  .cover-actions { margin-top: 1.45rem; gap: 1.55rem; }
  .portrait-label { top: .8rem; bottom: auto; right: -.1rem; font-size: .75rem; }
  .eyebrow { font-size: .82rem; gap: .55rem; }
  .ledger-inner { gap: .4rem; justify-content: space-between; min-height: 3.1rem; font-size: .82rem; }
  .film-scope { display: none; }
  .section-intro { display: block; margin-bottom: 1.4rem; }
  .section-intro h2 { font-size: clamp(2.05rem,7.3vw,2.85rem); }
  .section-intro > p { margin-top: .8rem; max-width: 34em; }
  .shot-option { justify-content: center; padding: .95rem .15rem; }
  .shot-option strong { font-size: .91rem; }
  .route-indicator { display: none; }
  .shot-stage { display: block; }
  .shot-zoom { padding: 1rem; }
  .shot-stage figcaption { flex-direction: row; align-items: end; padding: 1.2rem; gap: 1rem; }
  .shot-stage figcaption h3 { font-size: 1.3rem; margin-bottom: .35rem; text-wrap: initial; }
  .shot-stage figcaption p { font-size: .95rem; }
  .expand { align-self: auto; flex: none; font-size: .82rem; }
  .sources { gap: .5rem 1.1rem; }
  .sources h3 { width: 100%; }
  .uses-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
  .uses-grid article { display: grid; grid-template-columns: minmax(6.4rem, .37fr) 1fr; column-gap: 1rem; align-items: start; border-top: 1px solid #ccd4c7; padding-top: 1.2rem; }
  .case-img { grid-row: 1/4; aspect-ratio: 1.15; align-self: stretch; padding: .65rem .4rem 0; }
  .uses-grid .kind { margin-top: 0; }
  .uses-grid h3 { margin: .15rem 0 .25rem; font-size: 1.2rem; }
  .uses-grid article > p:last-child { font-size: .93rem; }
  .get-inner { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 3.7rem; }
  .get h2 { font-size: 3.5rem; }
  .footer nav { gap: 1rem; }
  .screening { width: 97vw; }
  .player-bar, .player-bottom { padding: .75rem; }
  .player-bar > div { display: block; }
}
@media (max-height: 34rem) and (orientation: landscape) {
  .screening { width: min(95vw,calc((100svh - 7rem) * 16/9)); }
  .player-bar,.player-bottom { padding: .3rem .6rem; }
}
@media (max-width: 23rem) {
  .shell { width: calc(100% - 1.6rem); }
  .shot-option strong { font-size: .84rem; }
  .shot-stage figcaption { display: block; }
  .expand { display: inline-block; margin-top: .75rem; }
  .cover-inner { min-height: 36rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.guide-cover { color: #f5f8ef; background: var(--dark); border-bottom: .4rem solid #c3e37f; }
.guide-cover .shell { padding-block: clamp(3.3rem,6vw,6.2rem); }
.guide-cover h1 { font-size: clamp(2.5rem,5vw,5.2rem); margin: 1.05rem 0; line-height: 1.22; }
.guide-cover h1 + p { max-width: 40em; color: #d4ddd0; line-height: 1.85; font-size: 1.05rem; }
.guide-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.guide-alt, .guide-index a:hover, .guide-body a { text-decoration: underline; text-underline-offset: .28em; }
.guide-alt { color: #e9f4d9; }
.guide-layout { display: grid; grid-template-columns: minmax(12rem,.42fr) minmax(0,1fr); gap: clamp(2.5rem,7vw,7.2rem); align-items: start; padding-block: clamp(3rem,6vw,6rem); border-bottom: 1px solid var(--line); }
.guide-index { border-top: 2px solid #6e8559; padding-top: 1rem; }
.guide-index h2 { font-size: .9rem; color: var(--muted); margin-bottom: .55rem; }
.guide-index a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.guide-body { max-width: 51rem; min-width: 0; }
.guide-body section + section { margin-top: 2.9rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.guide-body h2 { font: 600 clamp(1.7rem,2.5vw,2.45rem)/1.35 var(--serif); letter-spacing: -.03em; margin-bottom: .9rem; }
.guide-body p, .guide-body li { font-size: 1.04rem; color: #39473e; line-height: 1.88; }
.guide-body p + p, .guide-body p + pre, .guide-body pre + p { margin-top: .85rem; }
.guide-body a { color: #305238; }
.guide-body .guide-note { border-left: 3px solid #718650; padding: .85rem 1.15rem; background: #edf2e4; }
.guide-body ol, .guide-body ul { padding-left: 1.6rem; }
.guide-body li { margin-bottom: .7rem; padding-left: .16rem; }
.guide-body code, .guide-body kbd { font: .94em/1.75 var(--mono); overflow-wrap: anywhere; }
.guide-body pre { background: #1d2b22; color: #e5f3d0; border-radius: 2px; padding: 1.1rem 1.35rem; white-space: pre-wrap; word-break: break-word; }
.guide-body kbd { padding: .08em .32em; background: #eff2e9; border: 1px solid #bfc7b9; border-radius: 3px; }
.file-info { background: #eff3e9; padding: .3rem 1.2rem; margin: 1rem 0; }
.file-info > div { display: grid; grid-template-columns: 5.7rem 1fr; gap: .8rem; padding: .7rem 0; }
.file-info > div + div { border-top: 1px solid #cfd8c8; }
.file-info dt { color: #53624f; font-size: .94rem; }
.file-info dd { margin: 0; min-width: 0; }
@media (max-width: 46rem) {
  .guide-layout { display: block; }
  .guide-index { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 2.4rem; }
  .guide-index h2 { width: 100%; margin-bottom: .2rem; }
  .guide-index a { border-bottom: 0; font-size: .94rem; padding: .25rem 0; text-decoration: underline; text-underline-offset: .25em; }
  .guide-cover h1 { font-size: clamp(2.3rem,8vw,3.15rem); }
  .guide-actions { gap: .6rem 1.2rem; }
  .guide-body pre { padding: .85rem; }
  .file-info > div { grid-template-columns: 4.4rem 1fr; gap: .35rem; }
}

.runtime { font: 500 .83rem var(--mono); letter-spacing: -.025em; }
.btn .runtime { margin-left: .05rem; padding-left: .7rem; border-left: 1px solid #96b257; }
.alt-film .runtime { color: #cad7bc; }
.shot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.chapter { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .5rem .75rem; background: var(--lime); color: #19291a; border-radius: 2px; font-size: .88rem; font-weight: 600; }
.chapter:hover { background: #edffbd; }
.shot-actions .expand { align-self: center; }
.all-usecases { margin-top: 1.8rem; }
.all-usecases a { color: #29432e; font-weight: 600; text-decoration: underline; text-underline-offset: .35em; }
@media (max-width: 46rem) {
  .shot-stage figcaption { display: block; }
  .shot-actions { margin-top: .95rem; gap: 1.2rem; }
  .shot-actions .expand { margin: 0; }
  .cover-actions { gap: 1.1rem; }
  .cover-actions .btn { padding-inline: 1rem; }
}
@media (max-width: 23rem) {
  .cover-actions { gap: .7rem; }
  .btn .runtime { padding-left: .35rem; }
  .cover-actions .btn { padding-inline: .7rem; }
}

.player-tools { display: inline-flex; align-items: center; gap: .9rem; }
.chapter-select { appearance: none; border: 1px solid #657462; border-radius: 2px; color: #eff4e9; padding: .45rem 1.65rem .45rem .6rem; font: .9rem/1.5 var(--sans); cursor: pointer; background-color: #263429; background-image: linear-gradient(45deg,transparent 50%,#cdd9c6 51%),linear-gradient(135deg,#cdd9c6 50%,transparent 51%); background-position: right .72rem center,right .47rem center; background-size: .27rem .27rem; background-repeat: no-repeat; }
.chapter-select[hidden] { display: none; }
@media (max-width: 32rem) {
  .player-bottom { flex-wrap: wrap; }
  .player-tools { flex-wrap: wrap; gap: .6rem; }
}
