/* camcutstudio.com. Colours come from the logo (scripts/make-icon.py) and the app's accent. */
@font-face { font-family: "Noto Sans Bengali"; src: url("fonts/NotoSansBengali-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans Bengali"; src: url("fonts/NotoSansBengali-SemiBold.ttf") format("truetype"); font-weight: 600 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0f0e20;
  --ink-2: #14122b;
  --ink-3: #1d1a3a;
  --line: #2d2a50;
  --paper: #f5f3ff;
  --muted: #b5b1cf;
  --movie: #ff6b4a;
  --tutorial: #9d86ff;
  --live: #22d3ee;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Bengali", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--font); }
html[lang="bn"] body { line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { line-height: 1.3; letter-spacing: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(15 14 32 / 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--paper); }
.top nav .lang { color: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
@media (max-width: 680px) { .top nav .jump { display: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) 0; }
.hero h1 { font-size: clamp(40px, 7.2vw, 84px); max-width: 15ch; }
html[lang="bn"] .hero h1 { max-width: 18ch; font-size: clamp(36px, 6.2vw, 72px); }
.hero h1 span { display: block; }
.hero h1 .c-movie { color: var(--movie); }
.hero h1 .c-tutorial { color: var(--tutorial); }
.hero h1 .c-live { color: var(--live); }
.lede { margin-top: 24px; max-width: 60ch; font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.status { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--movie); }
.more { color: var(--paper); font-weight: 600; text-underline-offset: 4px; }
.note { color: var(--muted); font-size: 15px; margin-top: 16px; }

.shot { border-radius: 14px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.55); }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); }

/* The idea of the page: one timeline, three tracks. */
.tracks { position: relative; margin-top: clamp(32px, 5vw, 56px); padding: 12px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; overflow: hidden; }
.track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; border-radius: 10px; text-decoration: none; border-left: 5px solid var(--c); background: color-mix(in srgb, var(--c) 16%, var(--ink-2)); transition: background 0.15s; }
.track:hover { background: color-mix(in srgb, var(--c) 28%, var(--ink-2)); }
.track strong { font-size: 18px; }
.track span { color: var(--muted); font-size: 15px; }
.track.movie { --c: var(--movie); }
.track.tutorial { --c: var(--tutorial); }
.track.live { --c: var(--live); }
@media (min-width: 760px) {
  .track { grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 16px; }
  .track.tutorial { margin-left: 7%; }
  .track.live { margin-left: 14%; }
}
.playhead { position: absolute; top: 0; bottom: 0; left: 8%; width: 2px; background: var(--paper); opacity: 0.75; pointer-events: none; animation: play 14s linear infinite alternate; }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 10px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes play { to { left: 92%; } }
@media (prefers-reduced-motion: reduce) {
  .playhead { animation: none; left: 62%; }
  html { scroll-behavior: auto; }
}

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.eyebrow { font-weight: 600; font-size: 15px; color: var(--c, var(--muted)); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split.flip > :first-child { order: 2; }
  .split.flip { grid-template-columns: 7fr 5fr; }
}
.split p.intro { margin-top: 16px; color: var(--muted); }
ul.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 24px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 4px; border-radius: 2px; background: var(--c, var(--paper)); }
#movie { --c: var(--movie); }
#tutorial { --c: var(--tutorial); }
#live { --c: var(--live); }

/* Go Live: from one app to where people watch */
.signal { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.signal .row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--ink-3); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.signal .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.signal .on { color: var(--ink); background: var(--live); border-color: var(--live); font-weight: 600; }

/* Bands */
.band { background: var(--ink-2); border-block: 1px solid var(--line); }
.grid3 { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid3 h3 { font-size: 20px; margin-bottom: 8px; }
.grid3 p { color: var(--muted); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.faq h2 { margin-bottom: 28px; }

/* Text pages */
.page { padding-block: clamp(40px, 6vw, 72px); }
.page .wrap { width: min(760px, 100%); }
.page h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page p, .page ul { margin: 0 0 12px; color: #d9d6ec; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.page .date { color: var(--muted); font-size: 15px; }
.page a { color: var(--live); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--paper); }
