/* Shotseer's site: a darkroom under an ultraviolet safelight. Minicine's sibling (same build, same rhythm), with the
   app's own violet, the Burst mark (a burst seen edge-on, the kept frame lit) and Archivo set a little wider than
   Minicine's title cards. */
:root {
  --bg: #0b0b13;
  --panel: #14141d;
  --panel-2: #1b1a26;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1effa;
  --dim: #a3a0b5;
  --accent: #b3a2fa;
  --accent-hi: #c9bdfc;
  --accent-soft: rgba(179, 162, 250, 0.14);
  --sug: #8fb3e8;
  --radius: 14px;
  --shell: 1180px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.62 Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; }
code { overflow-wrap: anywhere; font: 0.86em var(--mono); background: rgba(255, 255, 255, 0.06); padding: 0.1em 0.35em; border-radius: 5px; }
pre { margin: 0; overflow-x: auto; background: #0f0f18; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
pre code { background: none; padding: 0; font-size: 13px; line-height: 1.7; color: #d8d6e4; }
.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.accent { color: var(--accent); }

/* Masthead: clear over the hero, frosted once you scroll. */
.masthead { position: sticky; top: 0; z-index: 20; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.masthead.scrolled { background: rgba(11, 11, 19, 0.74); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: inline-flex; align-items: center; color: var(--text); line-height: 1; }
.wordmark__svg { display: block; height: 26px; width: auto; }
.wordmark:hover { text-decoration: none; }
.wordmark--small .wordmark__svg { height: 21px; }
nav { display: flex; gap: 4px; align-items: center; }
nav a { color: var(--dim); font-size: 14.5px; padding: 7px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); text-decoration: none; }
nav .nav-gh { color: var(--text); border: 1px solid var(--line); }
@media (max-width: 860px) { nav a:not(.nav-gh) { display: none; } }

/* Hero: the darkroom's safelight glows from above; the viewfinder's brackets close in on the window and the
   focus point lights, once, as the page loads. */
.hero { position: relative; padding: 64px 0 40px; text-align: center; overflow: hidden; isolation: isolate; }
.safelight {
  position: absolute; z-index: -1; left: 50%; top: -260px; width: min(1400px, 150vw); height: 1100px; translate: -50% 0;
  background:
    radial-gradient(30% 26% at 50% 24%, rgba(179, 162, 250, 0.30), transparent 70%),
    radial-gradient(55% 45% at 50% 30%, rgba(107, 85, 201, 0.24), transparent 75%);
  filter: blur(10px);
  animation: warm 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
@keyframes warm { from { opacity: 0; } }
h1, h2, h3 { margin: 0; font-stretch: 80%; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.6vw, 104px); font-weight: 840; }
h2 { font-size: clamp(38px, 5.2vw, 66px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 740; font-stretch: 92%; line-height: 1.15; letter-spacing: 0; }
.eyebrow { margin: 0 0 18px; color: #b3a2fa; font-size: 13px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.lede { max-width: 60ch; margin: 26px auto 0; color: #cfcce0; font-size: clamp(17px, 1.5vw, 19.5px); text-wrap: pretty; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1120px; margin: 44px auto 0; padding: 0; text-align: left; }
.pillars li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgb(18 18 27 / 0.7); }
.pillars b { color: #b3a2fa; font-size: 16px; font-weight: 700; }
.pillars span { color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.pillars code { font-size: 0.92em; }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-note { color: var(--dim); font-size: 14px; margin: 14px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: background 0.2s, transform 0.15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #16112b; }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

.screen-wrap { position: relative; margin-top: 58px; animation: warm 1.4s ease-out 0.5s both; }
.finder { position: absolute; inset: -18px 2px -18px 2px; pointer-events: none; z-index: 3; }
.finder i { position: absolute; width: clamp(28px, 4vw, 54px); height: clamp(28px, 4vw, 54px); border: 0 solid var(--accent); animation: focus 1.1s cubic-bezier(0.3, 0.8, 0.2, 1) 0.9s both; }
.finder i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; --dx: -26px; --dy: -26px; }
.finder i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; --dx: 26px; --dy: -26px; }
.finder i:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; --dx: 26px; --dy: 26px; }
.finder i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 3px 3px; --dx: -26px; --dy: 26px; }
@keyframes focus { 0% { opacity: 0; translate: var(--dx) var(--dy); } 70% { opacity: 1; translate: 0 0; } 82% { opacity: 0.35; } 100% { opacity: 1; } }

/* Window frames around screenshots */
.window { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.window__bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 13px; background: linear-gradient(#201f2a, #18181f); border-bottom: 1px solid rgba(0, 0, 0, 0.5); }
.window__bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window__bar i:nth-child(2) { background: #febc2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window--hero { transform: perspective(1800px) rotateX(9deg) scale(0.965); transform-origin: 50% 0; transition: transform 0.2s linear; will-change: transform; }

/* What it reads: the raw formats in violet */
.badges { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badges li { font: 500 12px/1.4 var(--mono); letter-spacing: 0.02em; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.24); color: #e6e3f0; }
.badges li.raw { border-color: rgba(179, 162, 250, 0.7); color: var(--accent); }

/* Sections: one rhythm for all of them. A header, then the thing itself. */
.section { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.apps--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.app span a { color: #b3a2fa; }
.app { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #12121b; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.app:hover, .app:focus-visible { border-color: #b3a2fa; transform: translateY(-2px); }
.app b { font-size: 21px; font-weight: 740; }
.app span:last-child { color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.app__tag { color: #b3a2fa; font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .app { transition: none; } .app:hover { transform: none; } }
.section--alt { background: linear-gradient(180deg, #101019, var(--bg)); }
.section__head { text-align: center; margin: 0 auto clamp(48px, 6vw, 80px); max-width: 900px; }
.section__head p { color: var(--dim); font-size: 18px; margin: 18px auto 0; max-width: 46ch; }
.section__head--left { text-align: left; margin: 0; max-width: 520px; }
.section__head--left p { margin-left: 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } .terminal code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; } }

/* Icons */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Feature lists: three columns, an icon per line */
.fcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.fcol h3 { font-size: 30px; font-weight: 800; font-stretch: 80%; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.fcol li .ic { margin-top: 2px; }
.fcol b { display: block; font-weight: 680; font-size: 16.5px; line-height: 1.3; }
.fcol span { display: block; color: var(--dim); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.fcol span a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.fcol span a:hover { color: var(--text); }
@media (max-width: 900px) { .fcols { grid-template-columns: minmax(0, 1fr); } }

/* Chips: the app's own marks, shown rather than described */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 13.5px; font-weight: 600; color: #dbd8e8; }
.chip .ic { width: 16px; height: 16px; stroke: currentColor; }
.chip--pick { background: var(--accent-soft); color: var(--accent); }
.chip--sug { background: rgba(143, 179, 232, 0.13); color: var(--sug); }

/* Short facts with icons */
.facts { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; color: #cfcce0; font-size: 15.5px; }

/* Cards: the ways in (tethering), the develop tools, the travel laptop. An icon, a title, a few lines. */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { min-width: 0; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.way > .ic { width: 28px; height: 28px; }
.way h3 { font-size: 24px; font-weight: 780; font-stretch: 84%; margin: 16px 0 10px; }
.way p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.way p + p { margin-top: 12px; }
.way a { text-decoration: underline; text-decoration-color: rgba(179, 162, 250, 0.4); text-underline-offset: 3px; }
.way--big { padding: 32px 30px; }
.way--big h3 { font-size: 30px; }
.way--big p { font-size: 16px; }
@media (max-width: 900px) { .ways { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) and (max-width: 1100px) { .ways--six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* At the shoot: under the three ways, the tethered day beside live publishing */
.shoot__more { margin-top: clamp(48px, 6vw, 80px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
@media (max-width: 900px) { .shoot__more { grid-template-columns: minmax(0, 1fr); } }
.sub { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; font-stretch: 80%; }
.sub .ic { width: 28px; height: 28px; }
.sub__p { color: #cfcce0; font-size: 17px; margin: 16px 0 0; max-width: 46ch; }

/* The phone library: three numbered steps */
.away__grid { align-items: start; }
.how { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 18px; }
.how li { counter-increment: how; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.how li::before { content: counter(how); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--mono); color: var(--accent); border: 1.5px solid rgba(179, 162, 250, 0.6); }
.how b { font-size: 18px; font-weight: 700; line-height: 1.3; padding-top: 6px; }
.how span { color: var(--dim); font-size: 15px; line-height: 1.5; }
.away__more { margin: 0; font-size: 15px; }

/* What Lightroom sees */
.picks { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; font-size: 14.5px; }
.picks__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; padding: 12px 14px; border-radius: 9px; align-items: center; }
.picks__row:not(.picks__head):hover { background: rgba(255, 255, 255, 0.035); }
.picks__row + .picks__row { border-top: 1px solid var(--line); }
.picks__head { color: var(--dim); font-size: 13.5px; font-weight: 650; }
.picks i { font: normal 11px var(--mono); color: var(--dim); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 3px; padding: 0 4px; margin-left: 2px; }
.picks b { color: var(--accent); font-weight: 700; }
.picks .warn { color: var(--sug); }
.picks__foot { margin: 6px 14px 10px; color: var(--dim); font-size: 13px; }

/* Tour: chapters scroll normally on the left; the window on the right stays pinned and crossfades between them. */
.tour { padding: 40px 0 clamp(60px, 8vw, 100px); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 72px; }
.step { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s; }
.step.is-on { opacity: 1; }
.step h2 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 20px; }
.step p { color: #cac7da; max-width: 42ch; margin: 0; font-size: 18px; }
.step p + p { margin-top: 14px; }
.step .aside { color: var(--dim); font-size: 15px; }
.step__shot { display: none; }
.tour__stage { isolation: isolate; position: sticky; top: calc(50vh - min(22vw, 270px)); align-self: start; margin-top: 16vh; }
.tour__glow { position: absolute; inset: 8% 6%; z-index: -1; border-radius: 40%; background: #6b55c9; opacity: 0.3; filter: blur(90px); transition: background-color 1.2s ease; }
.tour__shots { position: relative; aspect-ratio: 1380 / 880; background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.025); transition: opacity 0.7s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot.is-on { opacity: 1; transform: none; }
.tour__dots { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; margin: 22px 0 0; }
.tour__dots li { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); transition: width 0.4s, background 0.4s; }
.tour__dots li.is-on { width: 22px; background: var(--accent); }
@media (max-width: 900px) {
  .tour__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; }
  .step__shot { display: block; margin-top: 26px; }
}

.terminal { margin: 0; border-radius: 12px; background: #0c0c14; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 100px -40px rgba(179, 162, 250, 0.25); }
.terminal pre { background: none; border: 0; padding: 26px 28px; }
.terminal code { font-size: 14px; line-height: 1.9; color: #9e9bb0; }
.terminal .p { color: var(--accent); user-select: none; }
.terminal .c { color: var(--text); }
.terminal .k { color: #6f6c82; }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .platforms { grid-template-columns: 1fr; } }
.platform { min-width: 0; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.platform.current { border-color: rgba(179, 162, 250, 0.55); box-shadow: 0 0 60px -20px rgba(179, 162, 250, 0.35); }
.platform h3 { font-size: 30px; font-stretch: 80%; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.platform .os { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.platform__sub { margin: -8px 0 0; color: var(--dim); font-size: 14px; }
.platform__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.platform__btns .btn { padding: 10px 18px; font-size: 14.5px; }
.platform pre code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; }
.platform__note { margin: 0; color: var(--dim); font-size: 13.5px; }
.platform__note code { font-size: 0.85em; }
.download__more { text-align: center; color: var(--dim); font-size: 14px; margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 14px; }
.footer__inner { display: grid; gap: 8px; justify-items: center; text-align: center; }
.footer p { margin: 0; }
.footer__credits { font-size: 12.5px; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .safelight, .screen-wrap, .finder i { animation: none; }
  .window--hero { transform: none !important; }
  .btn, .step, .shot, .tour__dots li { transition: none; }
}
