/* Scene Planner website — "Quiet set" look.
   Layout: plain neutral page, left-aligned headings, the clips do the talking.
   The app shows up in three small places only: camera blue on labels and links,
   a patch of plan grid behind the hero that fades out, and slate-style mono labels. */

:root {
  --bg: #F7F8F9;          /* near-white, a touch cool */
  --surface: #FFFFFF;
  --ink: #26292D;         /* charcoal, not black */
  --ink-2: #555D66;
  --heading: #0F3A5C;     /* the app's navy, for the big headings only */
  --line: #E1E5E9;
  --grid: #E3E9EF;
  --accent: #2462AE;      /* the app's camera blue, used sparingly */
  --btn: #404346;         /* soft charcoal */
  --btn-hover: #0F3A5C;   /* the app navy */
  --on-btn: #FFFFFF;
  --stage: #0B0D0F;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, system-ui, sans-serif;
  --ds: 1.22;               /* Bebas is narrow, so headings run larger */
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 10px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1214; --surface: #161A1E; --ink: #EEF1F3; --ink-2: #98A3AD; --line: #262C32;
    --grid: #1A2026; --heading: #EEF1F3; --accent: #7FB3EE; --btn: #D9DEE3; --btn-hover: #7FB3EE; --on-btn: #0F1214; --stage: #000000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1214; --surface: #161A1E; --ink: #EEF1F3; --ink-2: #98A3AD; --line: #262C32;
  --grid: #1A2026; --heading: #EEF1F3; --accent: #7FB3EE; --btn: #D9DEE3; --btn-hover: #7FB3EE; --on-btn: #0F1214; --stage: #000000;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2 { color: var(--heading); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lockup-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lockup-light { display: none; }
  :root:not([data-theme="light"]) .lockup-dark { display: block; }
}
:root[data-theme="dark"] .lockup-light { display: none; }
:root[data-theme="dark"] .lockup-dark { display: block; }

/* small mono labels, like the writing on a slate */
.eyebrow, .step, .clip figcaption {
  font: 500 12px/1 var(--font-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  background: var(--btn); color: var(--on-btn);
  font: 600 15px/1 var(--font-body);
  padding: 14px 22px; border-radius: 8px;
  text-decoration: none;
}
.btn { transition: background-color .2s ease; }
.btn:hover { background: var(--btn-hover); }
.btn-small { padding: 9px 14px; font-size: 14px; }
.link { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--ink); }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - var(--max)) / 2));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* cover the strip above the sticky header (the phone's status-bar area) so the page
   never shows scrolling above it */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 11;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
}
.top { background: var(--bg); }
.brand .lockup { height: 32px; width: auto; }

main {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { max-width: var(--max); margin: 0 auto; }

/* hero: the one place the plan grid appears, fading out from the top */
.hero {
  position: relative;
  padding-block: 96px 56px;
  isolation: isolate;
}
/* plan grid patches: one behind the hero, then one across each section break,
   fading in and back out, alternating sides */
.hero::before, .feature::before, .band::before, .get::before {
  content: ""; position: absolute; z-index: -1;
  left: calc(-1 * max(16px, (100vw - var(--max)) / 2));
  right: calc(-1 * max(16px, (100vw - var(--max)) / 2));
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center top;
  pointer-events: none;
}
.hero::before {
  top: 0; bottom: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 0% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 90% at 0% 0%, #000 0%, transparent 70%);
}
/* no isolation here: the patches sit at the page's back layer, so they pass under the
   previous section's clips instead of over them */
.feature, .band, .get { position: relative; }
.feature::before, .band::before, .get::before {
  top: -160px; height: 360px;
  --fade-x: 100%;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at var(--fade-x) 50%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 55% 50% at var(--fade-x) 50%, #000 0%, transparent 100%);
}
/* sides alternate down the page: hero top left, then right, left, right, ... */
#animate::before, #use-cases::before, #highlights::before, #roadmap::before, .get::before { --fade-x: 0%; }
/* the bottom mirrors the top: a patch rising from the bottom right corner */
.foot { position: relative; }
.foot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: 0; bottom: 0; height: 520px;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center bottom;
  -webkit-mask-image: radial-gradient(ellipse 75% 100% at 100% 100%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 100% at 100% 100%, #000 0%, transparent 75%);
}
.eyebrow { color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: calc(clamp(40px, 7vw, 76px) * var(--ds, 1)); line-height: .92; max-width: 13ch; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 44ch; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* feature rows: heading on the left, one line of text beside it */
.feature { padding-block: 72px 8px; border-top: 1px solid var(--line); }
.hero + .feature { border-top: 0; }
.feature-head {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 32px; align-items: baseline;
  margin-bottom: 36px;
}
.step { color: var(--accent); }
.step::before { content: "Sc. "; }
.feature h2 { font-size: calc(clamp(28px, 3.6vw, 40px) * var(--ds, 1)); line-height: 1.1; }
.feature-head p { color: var(--ink-2); margin: 0; max-width: 46ch; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.link-mark { display: none; }
.clip { margin: 0; min-width: 0; }
.clip figcaption { margin-top: 12px; color: var(--ink-2); }
.frame {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.frame-lens { background: var(--stage); border-color: var(--stage); }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.frame.ready video { opacity: 1; }
.frame.ready .placeholder { display: none; }

.crop { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255, 255, 255, .55); pointer-events: none; }
.crop.tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop.tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop.bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop.br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; color: var(--ink-2); font-size: 14px;
}
.placeholder code { font: 12px/1 var(--font-label); opacity: .75; }

/* PDF pages: flat, side by side */
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.page { margin: 0; }
.sheet {
  position: relative; aspect-ratio: 792 / 612; max-width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -16px rgba(0, 0, 0, .25);
}
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sheet img + .placeholder { display: none; }
.page figcaption { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.page figcaption b { display: block; color: var(--ink); font: 600 16px/1.3 var(--font-body); margin-bottom: 2px; }

/* sections below the three clip rows share one head style */
.band { padding-block: 88px 8px; }
.band-head { max-width: 720px; margin-bottom: 36px; }
.band-head h2 { font-size: calc(clamp(28px, 3.6vw, 40px) * var(--ds, 1)); line-height: 1.1; }
.band-head p:not(.eyebrow) { color: var(--ink-2); margin: 14px 0 0; max-width: 60ch; }
.band-head .eyebrow { margin-bottom: 14px; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.015em; margin: 0; }

.more-link {
  display: inline-block; margin-top: 16px;
  font: 500 13px/1 var(--font-label); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--accent);
}
.more-link::after { content: " →"; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.note { color: var(--ink-2); font-size: 15px; max-width: 70ch; margin: 28px 0 0; }

/* use cases: three short lines side by side */
.trio {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px;
}
.trio li { border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink-2); }
.trio b { display: block; color: var(--ink); font: 600 20px/1.3 var(--font-body); letter-spacing: -0.01em; margin-bottom: 4px; }

/* locations: a row of tabs, one group showing */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px; margin-bottom: 24px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  font: 500 14px/1 var(--font-body); color: var(--ink-2);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; cursor: pointer;
}
.tabs button:hover { color: var(--ink); border-color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.loc { border-top: 1px solid var(--line); padding-top: 20px; }
.loc + .loc { margin-top: 32px; }
.loc[hidden] + .loc, .loc + .loc[hidden] { margin-top: 0; }
.loc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.loc-head h3 { font-size: 24px; }
.loc-meta { margin: 0; font: 500 12px/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.loc > p { color: var(--ink-2); margin: 8px 0 18px; max-width: 60ch; }
.loc-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.loc-shots figure { margin: 0; min-width: 0; }
.loc-shots img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 8px; background: var(--line); }
.loc-shots figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-list {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 32px;
}
.loc-list li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

/* feature highlights: title on the left, words on the right */
.rows article {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: center;
  border-top: 1px solid var(--line); padding-block: 32px;
}
.rows article:nth-child(even) .copy { order: 2; }
.rows .copy h3 { margin-bottom: 12px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stage); }
.shot img, .shot video { width: 100%; height: auto; display: block; }
.rows h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.rows p { color: var(--ink-2); margin: 0; max-width: 60ch; }
.rows .more-link { margin-top: 12px; }

/* pricing: the one place cards are used, Pro set apart with an outline */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; min-width: 0;
}
.plan-pro { border: 1.5px solid var(--accent); }
.plan-name { margin: 0; font: 500 12px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.price { margin: 14px 0 2px; font: 400 52px/1 var(--font-display); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.plan-sub { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.plan > p:not([class]) { margin: 0 0 14px; }
.plan ul { margin: 0 0 22px; padding: 0; list-style: none; }
.plan li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border: solid var(--accent); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.plan .btn { margin-top: auto; text-align: center; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-quiet:hover { background: transparent; border-color: var(--btn-hover); color: var(--btn-hover); }

.compare { margin-top: 56px; }
.compare h3 { font-size: 24px; margin-bottom: 16px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
col, th, td { min-width: 0; }
thead th {
  text-align: center; width: 24%; padding: 18px 8px 14px; border-bottom: 1px solid var(--line);
  font: 600 16px/1.2 var(--font-body); color: var(--ink);
}
thead th:first-child { width: 52%; }
thead th span { display: block; margin-top: 4px; font: 500 12px/1 var(--font-label); letter-spacing: .06em; color: var(--ink-2); }
thead th.pro, tbody td:last-child { background: color-mix(in srgb, var(--accent) 7%, transparent); }
thead th.pro { color: var(--accent); }
tbody th { text-align: left; font-weight: 500; color: var(--ink); padding: 14px 16px; }
tbody th small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; font-weight: 400; color: var(--ink-2); }
tbody td { text-align: center; vertical-align: middle; padding: 14px 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
tbody tr + tr th, tbody tr + tr td { border-top: 1px solid var(--line); }
td.span { color: var(--ink-2); background: transparent !important; }
.yes { color: var(--accent); font-weight: 700; font-size: 17px; }
.no { color: var(--ink-2); opacity: .6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.roadmap li { border-top: 1px solid var(--line); padding: 20px 0; color: var(--ink-2); display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; }
.roadmap b { display: block; color: var(--ink); font: 600 20px/1.3 var(--font-body); letter-spacing: -0.01em; margin-bottom: 4px; }
.roadmap .tag { grid-row: span 2; align-self: start; margin-top: 5px; font: 500 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 5px 8px; justify-self: start; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 18px 0; font: 600 18px/1.35 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--font-body); color: var(--ink-2); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 65ch; }

/* closing call to action */
.get { text-align: center; padding-block: 104px 96px; }
.get-icon { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 24px; }
.get h2 { font-size: calc(clamp(30px, 4.4vw, 48px) * var(--ds, 1)); line-height: 1.08; }
.get p { color: var(--ink-2); margin: 14px auto 28px; max-width: 44ch; }

/* footer */
.foot {
  padding-block: 48px 28px;
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - var(--max)) / 2));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px;
}
.foot-title { margin: 0 0 20px; font: 500 12px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
.foot-links a { display: block; color: var(--ink); font-weight: 600; text-decoration: none; margin-bottom: 4px; }
.foot-links a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-base nav { display: flex; gap: 20px; }
.foot-base a { color: var(--ink-2); text-decoration: none; }
.foot-base a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding-block: 56px 32px; }
  .feature { padding-block: 48px 4px; }
  .feature-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pages { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .band { padding-block: 56px 8px; }
  .trio, .plans { grid-template-columns: minmax(0, 1fr); }
  .rows article { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rows article:nth-child(even) .copy { order: 0; }
  .loc-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-list { columns: 1; }
  .foot-links { grid-template-columns: minmax(0, 1fr); }
  .get { padding-block: 64px; }
  .get-icon { width: 64px; height: 64px; border-radius: 15px; }
  .brand .lockup { height: 28px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .feature-head { grid-template-columns: 64px minmax(0, 1fr); }
  .feature-head p { grid-column: 2; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .loc-list { columns: 2; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* jumping to a section clears the sticky header */
section[id], .compare { scroll-margin-top: 72px; }

@media (max-width: 640px) {
  tbody th { padding: 12px 10px; font-size: 14px; }
  tbody td { padding: 12px 4px; font-size: 14px; }
  thead th { font-size: 14px; }
  .roadmap li { grid-template-columns: minmax(0, 1fr); }
  .roadmap .tag { grid-row: auto; margin: 0 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Share: video and PDF side by side, as equals */
.sub-label { margin: 0 0 8px; font: 500 12px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.share-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.share-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 24px; min-width: 0;
}
.share-col h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; margin-bottom: 10px; }
.share-col > p:not(.sub-label) { color: var(--ink-2); margin: 0 0 16px; }
.share-visual {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 8px; overflow: hidden;
  margin-bottom: 20px;
}
.share-visual-video { background: var(--stage); aspect-ratio: 16 / 9; }
.share-visual-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.share-visual-pdf {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
}
.fan {
  position: absolute; width: 58%; aspect-ratio: 792 / 612; height: auto; object-fit: cover; object-position: top;
  background: #FFFFFF; border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 12px 28px -12px rgba(0, 0, 0, .45);
}
.fan-1 { left: 6%; top: 18%; transform: rotate(-6deg); }
.fan-2 { right: 6%; top: 18%; transform: rotate(6deg); }
.fan-3 { left: 21%; top: 30%; }
.tag-file {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font: 500 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase;
  color: #FFFFFF; background: rgba(0, 0, 0, .55); padding: 6px 8px; border-radius: 4px;
}
.share-col .ways { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ways li { border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink-2); font-size: 15px; }
.ways b { display: block; color: var(--ink); font: 600 16px/1.3 var(--font-body); margin-bottom: 2px; }
@media (max-width: 760px) {
  .share-split { grid-template-columns: minmax(0, 1fr); }
}

/* more grid: a patch beside the words of each feature highlight, on the side away from the picture */
.rows article { position: relative; }
.rows article::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -40px; bottom: -40px; left: calc(-1 * max(16px, (100vw - var(--max)) / 2)); width: 60%;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 0%, transparent 75%);
}
.rows article:nth-child(even)::before { left: auto; right: calc(-1 * max(16px, (100vw - var(--max)) / 2)); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 0%, transparent 75%); }
@media (max-width: 760px) {
  .rows article::before { width: auto; right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); top: -20px; bottom: 40%; }
  .rows article:nth-child(even)::before { left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }
}

/* light / dark switch in the header */
.top-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.theme-toggle:hover { border-color: var(--ink-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* use cases: a frame from the app above each */
.trio li { border-top: 0; padding-top: 0; }
.trio img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 14px; background: var(--line); }

/* which devices, right under the download button */
.platforms { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 9px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 14px/1 var(--font-body); color: var(--ink);
}
.platforms li span { color: var(--ink-2); font-size: 12px; }
.platforms svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.1; stroke-linecap: round; }

/* Collections: above the Video and PDF cards, as the way they're organized */
.collect {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 40px; align-items: center;
  margin-bottom: 24px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.collect h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; margin-bottom: 10px; }
.collect .copy > p:not(.sub-label) { color: var(--ink-2); margin: 0 0 16px; }
.collect .shot { margin: 0; }
@media (max-width: 760px) { .collect { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* scroll reveal: only things below the fold at load get .pre; they fade and rise in once */
.pre { opacity: 0; transform: translateY(28px); }
.reveal-on .rv { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0ms); }
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1; transform: none; } }

/* pictures and clips fade in once they've loaded, instead of popping in */
.fade-media { opacity: 0; transition: opacity .8s ease; }
.fade-media.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fade-media { opacity: 1; transition: none; } }

/* location tabs: the chosen group eases in, photos one after another */
@keyframes locIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.loc.loc-in { animation: locIn .45s cubic-bezier(.2,.7,.2,1) both; }
.loc-shots figure.wait { opacity: 0; transform: translateY(10px); }
.loc-shots figure.arrive { transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .loc.loc-in { animation: none; } .loc-shots figure.wait { opacity: 1; transform: none; } }

.pro-tag { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 3px 7px; border: 1px solid currentColor; border-radius: 999px; font: 500 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* condensed footer: one line pointing to Instagram, legal links beside it */
.foot { padding-block: 28px 24px; }
.foot-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; }
.foot-ig { margin: 0; color: var(--ink-2); }
.foot-ig a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.foot-ig a:hover { color: var(--accent); border-color: var(--accent); }
.foot-row nav { display: flex; gap: 20px; }
.foot-row nav a { color: var(--ink-2); text-decoration: none; }
.foot-row nav a:hover { color: var(--ink); }
.foot-copy { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }

/* header: big logo at the very top, shrinks to the compact bar once you scroll */
.top { transition: padding .35s ease; }
.brand .lockup { transition: height .35s cubic-bezier(.2,.7,.2,1); }
.top:not(.scrolled) { padding-block: 28px; }
.top:not(.scrolled) .brand .lockup { height: 96px; }
@media (max-width: 760px) { .top:not(.scrolled) .brand .lockup { height: 64px; } .top:not(.scrolled) { padding-block: 20px; } }
@media (prefers-reduced-motion: reduce) { .top, .brand .lockup { transition: none; } }

/* main calls to action lift a little on hover and press down when tapped */
.btn:not(.btn-quiet) { transition: background-color .2s ease, transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease; }
.btn:not(.btn-quiet):hover { transform: translateY(-2px); box-shadow: 0 6px 16px -6px rgba(15, 58, 92, .45); }
.btn:not(.btn-quiet):active { transform: translateY(0) scale(.98); box-shadow: 0 1px 3px rgba(15, 58, 92, .3); transition-duration: .08s; }
@media (prefers-reduced-motion: reduce) { .btn:not(.btn-quiet):hover, .btn:not(.btn-quiet):active { transform: none; } }

/* bigger app icon in the closing section */
.get .get-icon { width: 144px; height: 144px; border-radius: 32px; margin-bottom: 28px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 18px 40px -16px rgba(15, 58, 92, .45); }
@media (max-width: 760px) { .get .get-icon { width: 112px; height: 112px; border-radius: 25px; } }

/* privacy and terms drawers, closed by default */
.legal { padding-block: 8px 48px; display: grid; gap: 0; max-width: 820px; }
.drawer { border-top: 1px solid var(--line); }
.drawer:last-child { border-bottom: 1px solid var(--line); }
.drawer summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font: 500 12px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  scroll-margin-top: 80px;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font: 400 20px/1 var(--font-body); }
.drawer[open] summary::after { content: "–"; }
.drawer summary:hover { color: var(--ink); }
.drawer { scroll-margin-top: 80px; }
.drawer-body { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; max-width: 68ch; }
.drawer-body h3 { font: 600 15px/1.3 var(--font-body); color: var(--ink); margin: 18px 0 4px; }
.drawer-body p { margin: 0 0 8px; }
.legal-date { font-size: 13px; }

/* Instagram glyph link in the footer */
.foot-ig { display: flex; align-items: center; gap: 12px; }
.foot-ig a.ig { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); transition: color .2s ease, border-color .2s ease, transform .18s ease; }
.foot-ig a.ig:hover { color: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-2px); }
.foot-ig a.ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.foot-ig a.ig svg .dot { fill: currentColor; stroke: none; }

/* hand-drawn pencil arrow from the footer line to the Instagram button */
.pencil-arrow { width: 54px; height: 22px; flex: none; margin: 0 2px 0 4px; overflow: visible; color: var(--ink-2); }
.pencil-arrow .stroke { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pencil-arrow .stroke:not(.head) { stroke-dasharray: 60; stroke-dashoffset: 60; }
.pencil-arrow .head { stroke-dasharray: 40; stroke-dashoffset: 40; }
.foot.drawn .pencil-arrow .stroke:not(.head) { animation: pencilDraw .45s cubic-bezier(.5,0,.2,1) forwards; }
.foot.drawn .pencil-arrow .head { animation: pencilDraw .3s ease-out .42s forwards; }
@keyframes pencilDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pencil-arrow .stroke, .pencil-arrow .head { stroke-dashoffset: 0 !important; animation: none !important; } }
@media (max-width: 420px) { .pencil-arrow { width: 44px; } }

/* closing call to action: plan grid fading in from all four corners */
.get { isolation: isolate; }
.get::before {
  top: 0; bottom: 0; height: auto;
  left: calc(-1 * max(16px, (100vw - var(--max)) / 2)); right: calc(-1 * max(16px, (100vw - var(--max)) / 2));
  -webkit-mask-image:
    radial-gradient(ellipse 34% 52% at 0% 0%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 100% 0%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 0% 100%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 100% 100%, #000 0%, transparent 100%);
          mask-image:
    radial-gradient(ellipse 34% 52% at 0% 0%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 100% 0%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 0% 100%, #000 0%, transparent 100%),
    radial-gradient(ellipse 34% 52% at 100% 100%, #000 0%, transparent 100%);
}
@media (max-width: 760px) {
  .get::before {
    -webkit-mask-image: radial-gradient(ellipse 60% 40% at 0% 0%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 100% 0%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 0% 100%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 100% 100%, #000 0%, transparent 100%);
            mask-image: radial-gradient(ellipse 60% 40% at 0% 0%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 100% 0%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 0% 100%, #000 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 100% 100%, #000 0%, transparent 100%);
  }
}

/* design row: the Layout recording is a full iPad screen, so both frames are 4:3 */
#design .frame-plan { aspect-ratio: 4 / 3; }
#design .frame-lens { aspect-ratio: 16 / 9; }
#design .pair { align-items: center; }

/* Design: stacked on a phone, the camera's view comes first, then the layout */
@media (max-width: 760px) {
  #design .pair .clip:last-child { order: -2; }
  #design .pair .link-mark { order: -1; }
}

/* Share: works on every device */
.sync { max-width: 760px; margin: 0 0 40px; }
.sync h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; margin-bottom: 10px; }
.sync p:not(.sub-label) { color: var(--ink-2); margin: 0; max-width: 62ch; }

/* Header floats over the page; the space for its full size is reserved below it, so
   shrinking it doesn't move the page (that moved the scroll and flipped it back: jitter). */
.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
body { padding-top: calc(var(--top-h, 153px) + env(safe-area-inset-top, 0px)); }
@media (max-width: 760px) { body { --top-h: 105px; } }
