/* OpenCinema landing page. One visual system with the launch film:
   off-white world, graphite type, mint used sparingly, dark product panels. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F7F7F4; --paper2: #EFEFEA; --ink: #101315; --ink2: rgba(16,19,21,.64); --ink3: rgba(16,19,21,.42);
  --line: rgba(16,19,21,.10); --mint: #4FDBC8; --mintInk: #15756A; --panel: #121316; --panel2: #20232A;
  --sans: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --wrap: 1120px; --wide: 1280px; --radius: 18px;
  --shadow: 0 30px 80px rgba(16,19,21,.14), 0 2px 6px rgba(16,19,21,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, pre { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrapWide { width: min(var(--wide), 100% - 48px); }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,247,244,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.nav.scrolled { border-bottom-color: var(--line); }
.navRow { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 28px; width: auto; }
.navLinks { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--ink2); }
.navLinks a { padding: 6px 0; transition: color .2s; }
.navLinks a:hover { color: var(--ink); }
.navActions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-size: 14px; color: var(--ink2); padding: 6px 10px; border-radius: 8px; }
.lang:hover { color: var(--ink); background: var(--paper2); }
.iconLink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); padding: 6px 8px; border-radius: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.iconLink svg { width: 20px; height: 20px; }
.iconLink:hover { background: var(--paper2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1; transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btnInk { background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(16,19,21,.18); }
.btnInk:hover { background: #1c2024; }
.btnGhost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(16,19,21,.16); }
.btnGhost:hover { box-shadow: inset 0 0 0 1.5px rgba(16,19,21,.4); }
.btnSm { padding: 10px 16px; font-size: 14px; }
.stars { font-family: var(--mono); font-size: 13px; letter-spacing: 0; opacity: .75; }
.stars::before { content: "·"; margin-right: 8px; }
.textLink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.textLink svg { width: 18px; height: 18px; }
.textLink:hover { border-color: var(--ink); }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 0; }
.heroText { text-align: center; max-width: 880px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(79,219,200,.2); }
.heroTitle { font-weight: 600; font-size: clamp(44px, 8.2vw, 100px); line-height: 1.0; letter-spacing: -.035em; }
.heroTitle .line { display: block; }
.heroTitle .line:nth-child(3) { color: var(--ink); position: relative; }
.lede { margin: 30px auto 0; max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink2); }
.ctaRow { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: var(--ink3); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 14px; height: 14px; color: var(--mintInk); }
.heroShot { margin-top: clamp(44px, 6vw, 80px); }

/* product window frame */
.window { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.windowBar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #1A1D23; border-bottom: 1px solid rgba(255,255,255,.06); }
.windowBar i { width: 10px; height: 10px; border-radius: 50%; background: #343941; }
.windowBar i:first-child { background: #4FDBC8; }
.windowBar span { margin-left: 10px; color: rgba(255,255,255,.4); letter-spacing: .1em; }
.window img { width: 100%; }
.windowFit { background: #1A1D23; }
.windowFit img { width: auto; max-width: min(100%, 540px); max-height: 560px; margin: 36px auto; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }

/* works with */
.works { padding: clamp(40px, 6vw, 72px) 0 0; }
.worksRow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.worksLabel { margin: 0; }
.worksList { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.worksList li { font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.worksNote { color: var(--ink3); font-size: 14px; text-align: right; }

/* sections */
section { scroll-margin-top: 80px; }
.label { margin-bottom: 14px; color: var(--mintInk); }
.h2 { font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.03em; max-width: 820px; }
.sectionLede { margin-top: 20px; max-width: 680px; color: var(--ink2); font-size: 18px; }
.how, .features, .review, .film, .start, .community { padding: clamp(72px, 10vw, 140px) 0 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.step { background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 24px 28px; }
.stepMedia { border-radius: 12px; overflow: hidden; background: var(--panel); aspect-ratio: 16 / 10; margin: -4px -8px 22px; box-shadow: var(--shadow); }
.stepMedia img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.stepN { color: var(--mintInk); margin-bottom: 8px; }
.step h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--ink2); font-size: 16px; }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.featureFlip .featureText { order: 2; }
.featureFlip .featureMedia { order: 1; }
.kicker { color: var(--mintInk); margin-bottom: 14px; }
.feature h3 { font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.feature p { margin-top: 16px; color: var(--ink2); }
.points { margin-top: 22px; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.points svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--mintInk); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; margin-bottom: 36px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; }
.card h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--ink2); font-size: 15.5px; }
.cardN { color: var(--mintInk); margin-bottom: 18px; }
.cardDark { background: var(--panel); color: #fff; box-shadow: none; }
.cardDark h3 { color: #fff; }
.cardDark p { color: rgba(255,255,255,.66); }

/* film */
.filmFrame { margin-top: 48px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.filmFrame video { width: 100%; }
.filmLink { margin-top: 20px; text-align: center; }

/* start */
.codeGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.codeCard { background: var(--panel); color: #fff; border-radius: var(--radius); padding: 24px 26px 22px; }
.codeTitle { color: rgba(255,255,255,.5); margin-bottom: 14px; }
pre { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: #E6E9ED; white-space: pre-wrap; word-break: break-word; }
.codeNote { margin-top: 14px; color: rgba(255,255,255,.5); font-size: 14px; }
.docLinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.docLinks a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; transition: box-shadow .2s; }
.docLinks a:hover { box-shadow: inset 0 0 0 1.5px rgba(16,19,21,.4); }
.docLinks svg { width: 16px; height: 16px; }

/* honest strip */
.honest { padding: clamp(56px, 8vw, 96px) 0 0; }
.honestList { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.6; color: var(--ink2); }

/* footer */
.footer { padding: 64px 0 40px; }
.footerGrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footerBrand img { height: 26px; width: auto; }
.footerBrand p { margin: 16px 0 12px; color: var(--ink2); max-width: 320px; font-size: 15px; }
.footerBrand .lang { padding: 0; }
.footerCol p { margin-bottom: 14px; }
.footerCol li { margin-bottom: 8px; font-size: 15px; color: var(--ink2); }
.footerCol a:hover { color: var(--ink); }
.footerLegal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink3); font-size: 13px; }

/* dialog */
.filmDialog { border: 0; padding: 0; background: #000; border-radius: var(--radius); width: min(1100px, 92vw); max-width: none; box-shadow: var(--shadow); overflow: visible; }
.filmDialog::backdrop { background: rgba(16,19,21,.72); backdrop-filter: blur(8px); }
.filmDialog video { width: 100%; border-radius: var(--radius); }
.dialogClose { position: absolute; right: -8px; top: -48px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.dialogClose svg { width: 18px; height: 18px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.heroTitle .line { opacity: 0; transform: translateY(24px); filter: blur(6px); animation: land .7s var(--ease) forwards; animation-delay: calc(.08s + var(--i) * .1s); }
.heroTitle.in .line { animation-play-state: running; }
@keyframes land { to { opacity: 1; transform: none; filter: none; } }
.heroShot.in img { animation: settle 1.1s var(--ease); }
@keyframes settle { from { transform: scale(1.015); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .heroTitle .line { opacity: 1; transform: none; filter: none; animation: none; }
  .heroShot.in img { animation: none; }
  .btn:hover { transform: none; }
}
.noJs .reveal, .noJs .heroTitle .line { opacity: 1; transform: none; filter: none; animation: none; }

/* responsive */
@media (max-width: 1000px) {
  .steps, .cards { grid-template-columns: 1fr; }
  .honestList { grid-template-columns: 1fr 1fr; }
  .footerGrid { grid-template-columns: 1fr 1fr; }
  .worksRow { grid-template-columns: 1fr; text-align: center; }
  .worksNote { text-align: center; }
}
@media (max-width: 820px) {
  .navLinks { display: none; }
  .navActions .lang { display: none; }
  .feature, .featureFlip { grid-template-columns: 1fr; }
  .featureFlip .featureText { order: 1; }
  .featureFlip .featureMedia { order: 2; }
  .codeGrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap, .wrapWide { width: calc(100% - 32px); }
  .navRow { height: 60px; gap: 12px; }
  .brand img { height: 24px; }
  .btnSm { display: none; }
  .ctaRow .btn { width: 100%; justify-content: center; }
  .honestList, .footerGrid { grid-template-columns: 1fr; }
  .windowBar span { display: none; }
  .dialogClose { right: 0; top: -46px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .08em; padding: 7px 12px; }
}

.heroTitle .line:nth-child(1) { --i: 0; }
.heroTitle .line:nth-child(2) { --i: 1; }
.heroTitle .line:nth-child(3) { --i: 2; }
