/* OpenInstaCine landing: the OpenPocketCine product layout with Luna yellow. */
:root {
  --yellow: #FFDD00; --night: #0B0B0B; --paper: #F4F6F7;
  --bg: var(--night); --ink: #F4F6F8; --muted: #A0A5A5;
  --accent: var(--yellow); --hairline: rgba(244,246,248,.14);
  --sans: 'IBM Plex Sans', -apple-system, 'SF Pro Text', system-ui, sans-serif;
  --display: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
main[id], main [id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
.container { width: 100%; max-width: 1160px; padding: 0 clamp(20px,5vw,48px); margin-inline: auto; }
.container--wide { max-width: 1360px; }
.section { padding: clamp(72px,9vw,120px) 0; }
.band { background: var(--bg); color: var(--ink); }
.band--dark { --bg: var(--night); --ink: #F4F6F8; --muted: #A0A5A5; --accent: var(--yellow); --hairline: rgba(244,246,248,.14); }
.band--light { --bg: var(--paper); --ink: #16181A; --muted: #5E6262; --accent: #786200; --hairline: rgba(22,24,26,.12); }
.band--white { --bg: #FFF; }
h1,h2,h3 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(40px,6.4vw,80px); line-height: 1.04; letter-spacing: -.038em; }
h2 { font-size: clamp(28px,4vw,46px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.lead { font-size: clamp(16px,1.8vw,20px); line-height: 1.55; color: var(--muted); max-width: 48ch; }
.kicker { display: block; font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); }
.feature-note { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 48ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--accent); font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; min-height: 48px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: background .2s,border-color .2s; }
.btn--primary { background: var(--yellow); color: #141414; }
.btn--primary:hover { background: #E8CB00; }
.btn--ghost { border-color: rgba(244,246,248,.25); color: #F4F6F8; }
.btn--ghost:hover { border-color: var(--yellow); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 14px; background: var(--yellow); color: #141414; border-radius: 6px; font-weight: 600; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation follows the light and dark feature sections. */
.nav { position: sticky; top: 0; z-index: 90; height: var(--nav-h); background: var(--night); color: #F4F6F8; border-bottom: 1px solid transparent; transition: background .2s,color .2s,border-color .2s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1200px; gap: 16px; }
.nav__brand,.footer__brand { display: inline-flex; align-items: center; gap: 9px; font: 600 16px/1.25 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.nav__brand img,.footer__brand img { border-radius: 6px; }
.nav__links { display: none; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; }
.nav__links a { padding-block: 12px; opacity: .8; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: none; min-height: 42px; padding: 8px 16px; font-size: 13px; }
.nav.scrolled { background: rgba(11,11,11,.94); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.nav.scrolled.nav--light { background: rgba(244,246,247,.96); color: #16181A; border-bottom-color: rgba(22,24,26,.1); --accent: #786200; }
.nav__menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(160,165,165,.35); border-radius: 8px; font-size: 14px; list-style: none; cursor: pointer; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu-icon { width: 14px; height: 8px; border-block: 1px solid currentColor; }
.nav__menu[open] .nav__menu-icon { height: 1px; border-bottom: 0; }
.nav__panel { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: flex; flex-direction: column; gap: 4px; padding: 12px; max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; background: #141414; color: #F4F6F8; border: 1px solid rgba(160,165,165,.25); border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.nav--light .nav__panel { background: #FFF; color: #16181A; }
.nav__panel > a { min-height: 44px; padding: 10px 16px; border-radius: 6px; }
.nav__panel > a:not(.btn):hover { background: rgba(160,165,165,.12); }
.nav__panel .btn { margin-top: 8px; }

.hero { padding-top: clamp(56px,8vh,96px); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 4px 0 20px; }
.hero .lead { margin-inline: auto; max-width: 48ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero__cta .btn { min-width: 184px; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: 13px; text-wrap: balance; }
.hero__note a { color: #C9CDCF; white-space: nowrap; }
.hero__note a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__stage { margin-top: 24px; }
.hero__mock { width: min(1200px,100%); margin-inline: auto; padding: 0 clamp(28px,5vw,64px) 48px; }
.hero__mock img { width: 100%; filter: drop-shadow(0 36px 64px rgba(0,0,0,.55)); }
.spec-bar { overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.08); background: #141414; mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker-roll 40s linear infinite; }
.ticker__group { display: flex; align-items: center; color: #A0A5A5; font: 400 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker__group span { padding: 0 18px; }
.ticker__group i { width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.spec-bar:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }

/* Generous device presentations, using the approved Photoshop exports. */
.feat-section { padding: clamp(56px,7vw,96px) 0; }
.feat-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(28px,5vw,72px); }
.feat-row--reverse { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.feat-row--reverse .feat-row__copy { order: 2; }
.feat-row--reverse .feat-row__visual { order: 1; }
.feat-row__copy { max-width: 34rem; }
.feat-row__copy h2 { margin: 4px 0 18px; }
.feat-row__copy .lead { max-width: 42ch; }
.feat-row__visual { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 8px 32px; }
.feat-row__visual img { width: 100%; filter: drop-shadow(0 28px 48px rgba(0,0,0,.22)); }
.feat-row__visual img.is-portrait { width: auto; max-width: min(420px,100%); max-height: min(72vh,680px); }
.feat-row--stack { grid-template-columns: 1fr; text-align: center; gap: 32px; }
.feat-row--stack .feat-row__copy { max-width: 40rem; margin-inline: auto; }
.feat-row--stack .lead { margin-inline: auto; }
.feat-row__visual--ipad { max-width: 1040px; margin-inline: auto; padding: 0; }
.feat-row__visual--ipad img { filter: none; }
.media-bleed { position: relative; isolation: isolate; min-height: max(640px,min(100svh,980px)); display: grid; place-items: end center; overflow: hidden; }
.media-bleed__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 38%; }
.media-bleed__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(11,11,11,.1) 0%,rgba(11,11,11,.08) 42%,rgba(11,11,11,.5) 72%,rgba(11,11,11,.9) 100%); }
.media-bleed__copy { position: relative; text-align: center; max-width: 40rem; padding: 0 clamp(20px,5vw,48px) clamp(64px,10vh,120px); }
.media-bleed__copy h2 { margin: 4px 0 16px; text-shadow: 0 8px 28px rgba(0,0,0,.45); }
.media-bleed__copy .lead { margin-inline: auto; color: #EEE; text-shadow: 0 4px 18px rgba(0,0,0,.4); }

.centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.centered h2 { margin-bottom: 18px; }
.centered .lead { margin-inline: auto; }
.source-section { background: radial-gradient(ellipse 80% 100% at 50% 0%,rgba(255,221,0,.045),transparent 70%),var(--night); }
.source-section .hero__cta { margin-top: 40px; }
.camera { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.camera__details { max-width: 38rem; }
.badge { display: inline-flex; padding: 6px 12px; border-radius: 100px; margin-bottom: 20px; background: rgba(120,98,0,.08); color: var(--accent); border: 1px solid rgba(120,98,0,.2); font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cta-final { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-final h2 { margin-bottom: 12px; }
.download-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; width: 100%; max-width: 680px; margin-top: 36px; }
.download-option { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 28px; border: 1px solid var(--hairline); border-radius: 14px; background: #141414; transition: border-color .2s ease,background .2s ease; }
.download-option:hover,.download-option:focus-visible { border-color: var(--yellow); background: #181D20; }
.download-option__meta { color: var(--muted); font-size: 12px; }
.download-option strong { margin: 10px 0 28px; font: 500 25px/1.2 var(--display); letter-spacing: -.025em; }
.download-option__action { display: flex; justify-content: space-between; gap: 16px; width: 100%; color: var(--yellow); font-weight: 500; font-size: 15px; }
.cta-final__help { margin-top: 28px; font-size: 14px; color: var(--muted); }
.cta-final__help a { color: #D6D9DA; }
.cta-final__help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.coffee-cta { display: flex; justify-content: center; margin-top: 32px; }
.coffee-cta .btn { padding: 12px 24px; min-height: 52px; font-size: 18px; gap: 12px; }
.coffee-cta__icon { font-size: 26px; line-height: 1; }
.footer { padding: 48px 0; background: #070707; border-top: 1px solid var(--hairline); }
.footer__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__links a { padding-block: 8px; }
.footer a:hover { color: var(--yellow); }
.footer__meta { color: #A0A5A5; font-size: 14px; }
.footer__coffee { color: #A0A5A5; font-size: 13px; }
.footer__disclaimer { max-width: 85ch; color: #929696; font-size: 12px; }

@media (min-width: 960px) { .nav__links,.nav__cta { display: flex; } .nav__menu { display: none; } }
@media (max-width: 860px) {
  .feat-row,.feat-row--reverse,.camera { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .feat-row--reverse .feat-row__copy,.feat-row--reverse .feat-row__visual { order: unset; }
  .feat-row__copy,.camera__details { margin-inline: auto; }
  .feat-row__copy .lead,.feature-note { margin-inline: auto; }
  .feat-row__visual { padding: 8px 12px 32px; }
  .feat-row__visual img { filter: drop-shadow(0 14px 18px rgba(0,0,0,.22)); }
  .feat-row__visual--ipad img { filter: none; }
  .feat-row__visual img.is-portrait { max-width: min(320px,68vw); max-height: min(68vh,560px); }
  .media-bleed { min-height: 0; display: flex; flex-direction: column; }
  .media-bleed__photo { position: relative; inset: auto; height: auto; aspect-ratio: 3 / 2; object-position: 50% 42%; }
  .media-bleed__veil { display: none; }
  .media-bleed__copy { padding: 32px 24px 48px; margin-inline: auto; }
  .media-bleed__copy h2,.media-bleed__copy .lead { text-shadow: none; }
}
@media (max-width: 560px) {
  .hero__cta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 400px; gap: 10px; }
  .hero__cta .btn { min-width: 0; padding: 12px 10px; font-size: 14px; }
  .hero__mock { padding: 0 20px 36px; }
  .hero__note a { display: block; margin-top: 8px; }
  .download-options { grid-template-columns: 1fr; gap: 12px; max-width: 400px; }
  .download-option { padding: 24px; }
  .nav__brand { font-size: 14px; }
}
@media (max-width: 360px) { .hero__cta { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
