/* Filmode — filmode-presets.web.app
   The editor's own sheet. Nothing here is copied from web-groundglass/ or
   web-camera/: those apps are sold separately and the three sites must not read
   as re-skins of one another. The palette is the launcher icon's — near-black,
   the cream film frame, its three preset swatches (yellow, orange, teal) — plus
   the orange gradient the app uses for Pro. Dark only, system fonts only, and
   nothing is fetched from anywhere but this site. Mobile first: the base rules
   are the phone layout, the min-width queries add columns. */

:root {
  color-scheme: dark;
  --bg:      #0B0B0C;
  --bg-2:    #101012;
  --panel:   #151517;
  --panel-2: #1B1B1E;
  --line:    #26262A;
  --line-2:  #3A3A40;
  --head:    #F7F5F0;
  --text:    #DEDBD4;
  --muted:   #A09D96;
  --faint:   #85827C;
  --cream:   #F3EFE8;
  --yellow:  #FFD34E;
  --orange:  #F08A3C;
  --teal:    #57E3CF;
  --pro-a:   #FFB347;
  --pro-b:   #FF6A3D;
  --pro: linear-gradient(135deg, var(--pro-a), var(--pro-b));
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --r: 20px;
  --wrap: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 600px) { :root { --gutter: 28px; } }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Sections that exist in the markup but must not show yet (the screenshots rail). */
.is-pending { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--head); margin: 0; font-weight: 750; }
h1 { font-size: clamp(38px, 10vw, 74px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(16.5px, 2.4vw, 19px); color: var(--muted); max-width: 60ch; }
.hl { color: var(--yellow); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hl {
    background: linear-gradient(100deg, var(--yellow) 15%, var(--orange) 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
code { font-family: var(--mono); font-size: .9em; color: var(--cream); }

/* The three swatches of the icon, used as a small repeated motif. */
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 14px; border-radius: 2px; background: var(--yellow); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: var(--teal); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--cream); background: var(--panel);
  margin-bottom: 22px;
}

/* ---------- nav ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 12, .84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; border-radius: 6px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.top nav a:hover { color: var(--head); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--head); }
.top nav .wide { display: none; }
@media (min-width: 820px) { .top nav .wide { display: inline; } .top nav { gap: 24px; } }

/* ---------- buttons + store badge ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  font-weight: 650; font-size: 15.5px; border: 1px solid var(--line-2);
  color: var(--head); background: var(--panel);
}
.btn:hover { text-decoration: none; border-color: var(--faint); }
.btn-solid { background: var(--yellow); border-color: var(--yellow); color: #16140E; }
.btn-solid:hover { background: #FFDD73; border-color: #FFDD73; }

/* Store badges (Google Play, App Store). Add .is-soon to a <span> for a listing that is not live yet: dashed, not clickable. */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px;
  background: #000; border: 1px solid var(--line-2); color: var(--head);
}
.play-badge.is-soon { border-style: dashed; border-color: var(--faint); cursor: default; }
a.play-badge:hover { text-decoration: none; border-color: var(--yellow); }
.play-badge svg { flex: none; }
.play-badge .pb-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-badge small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.play-badge strong { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px);
}
.hero::before { width: 520px; height: 520px; top: -260px; right: -160px;
  background: radial-gradient(closest-side, rgba(255, 211, 78, .16), transparent); }
.hero::after { width: 420px; height: 420px; bottom: -240px; left: -180px;
  background: radial-gradient(closest-side, rgba(87, 227, 207, .10), transparent); }
.hero .wrap { position: relative; display: grid; gap: 44px; padding-top: 44px; padding-bottom: 52px; }
.hero .lede { margin: 20px 0 28px; }
.hero .fine { margin-top: 20px; color: var(--muted); font-size: 14.5px; max-width: 58ch; }
@media (min-width: 940px) {
  .hero .wrap { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
}

/* The hero picture: drawn in CSS so the site needs no screenshot yet. A painted
   scene, split for before/after, with a strip of looks and an intensity slider. */
.sheet {
  width: 100%; max-width: 440px; margin: 0 auto; padding: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.scene { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--panel-2); }
.paint {
  background:
    radial-gradient(130% 55% at 18% 108%, #29342A 0 44%, transparent 45%),
    radial-gradient(95% 48% at 88% 112%, #3B4834 0 47%, transparent 48%),
    radial-gradient(60% 22% at 50% 92%, #4C5A43 0 50%, transparent 51%),
    radial-gradient(circle at 66% 44%, #FFF3D1 0 5%, rgba(255, 236, 190, .55) 9%, rgba(255, 236, 190, 0) 24%),
    linear-gradient(180deg, #5E93BD 0%, #A9C6D6 42%, #F1CFA6 74%, #E39C69 100%);
}
.scene .after, .scene .before { position: absolute; inset: 0; }
.scene .after { clip-path: inset(0 0 0 50%); }
.split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--cream); }
.split::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--cream); box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.tagline {
  position: absolute; top: 12px; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 8px; background: rgba(11, 11, 12, .62); color: var(--cream);
}
.tagline.l { left: 12px; } .tagline.r { right: 12px; }
.match {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 999px; background: rgba(11, 11, 12, .72);
  font-size: 12.5px; font-weight: 600; color: var(--cream);
}
.match::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.strip span { display: block; font-size: 11px; color: var(--muted); text-align: center; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .thumb { aspect-ratio: 1; border-radius: 10px; border: 2px solid transparent; }
.strip .on .thumb { border-color: var(--yellow); }
.strip .on span { color: var(--yellow); }
.slider { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; background: var(--panel-2); border-radius: 12px; font-size: 13px; }
.slider b { color: var(--head); font-weight: 600; }
.slider .track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); }
.slider .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 78%; border-radius: 4px; background: var(--yellow); }
.slider .track i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); }
.slider output { font-family: var(--mono); color: var(--yellow); min-width: 2ch; text-align: right; }

/* The looks, as CSS filters over the same painted scene. */
.lk-none { filter: none; }
.lk-warm { filter: sepia(.38) saturate(1.35) contrast(1.06) hue-rotate(-8deg); }
.lk-teal { filter: hue-rotate(-14deg) saturate(1.25) contrast(1.12) brightness(.94); }
.lk-fade { filter: contrast(.8) brightness(1.1) saturate(.78) sepia(.16); }
.lk-mono { filter: grayscale(1) contrast(1.22) brightness(1.02); }

/* facts strip under the hero */
.facts { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts ul {
  list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px;
}
.facts li { font-size: 14px; color: var(--muted); line-height: 1.4; }
.facts li b { display: block; color: var(--head); font-size: 15px; font-weight: 650; }
@media (min-width: 820px) { .facts ul { grid-template-columns: repeat(4, 1fr); padding: 22px 0; } }

/* ---------- blocks ---------- */
.block { padding: 64px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .block { padding: 96px 0; } }
.block-head { max-width: 720px; margin-bottom: 36px; }
.block-head .lede { margin-top: 14px; }
.label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c, var(--yellow));
}
.label::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: var(--c, var(--yellow)); }
.c-y { --c: var(--yellow); } .c-o { --c: var(--orange); } .c-t { --c: var(--teal); } .c-c { --c: var(--cream); }

/* feature tiles: a coloured top edge in the group's swatch */
.tiles { display: grid; gap: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tile {
  position: relative; padding: 24px 22px 24px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
}
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c, var(--yellow)); opacity: .9; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .pro-chip { position: absolute; top: 18px; right: 18px; }
.tile.wide { grid-column: 1 / -1; }

.pro-chip {
  display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--pro);
  color: #1A0E06; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}

/* editor tool sets */
.toolsets { display: grid; gap: 14px; }
@media (min-width: 720px) { .toolsets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .toolsets { grid-template-columns: repeat(3, 1fr); } }
.toolset { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.toolset h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolset h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--yellow)); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2);
  font-size: 14px; color: var(--text); line-height: 1.3;
}
.toolset p { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* camera strip */
.aside-card {
  display: grid; gap: 20px; padding: 26px 22px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(87, 227, 207, .08), rgba(87, 227, 207, 0) 60%), var(--panel);
  border: 1px solid var(--line);
}
.aside-card p { color: var(--muted); }
.aside-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.aside-card li { margin: 6px 0; }
@media (min-width: 860px) { .aside-card { grid-template-columns: 1.1fr .9fr; padding: 34px; gap: 34px; align-items: start; } }

/* ---------- screenshots (pending) ---------- */
.rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .rail { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.rail figure { margin: 0; }
.rail img, .shot-slot { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.shot-slot { aspect-ratio: 9 / 20; display: grid; place-items: center; color: var(--faint); font-size: 13px; }
.rail figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- privacy band ---------- */
.band { background: var(--cream); color: #2A2824; border-bottom: 0; }
.band h2 { color: #121110; }
.band .lede { color: #55514A; }
.band a { color: #7A4A00; font-weight: 650; }
.band code { color: #3A2A10; background: rgba(18,17,16,.07); border-radius: 4px; padding: 0 4px; }
.flows { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 820px) { .flows { grid-template-columns: 1fr 1fr; gap: 18px; } }
.flow { padding: 24px 22px; border-radius: var(--r); background: #FFFDF8; border: 1px solid #E2DCCF; }
.flow h3 { color: #121110; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.flow h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.flow.stay { --c: #2BB7A3; }
.flow.net { --c: #E0A100; }
.flow ul { margin: 0; padding-left: 18px; }
.flow li { margin: 7px 0; font-size: 15px; color: #3C3934; }
.flow li b { color: #121110; }
.nevers { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; padding: 0; list-style: none; }
.nevers li { padding: 7px 13px; border-radius: 999px; background: #121110; color: var(--cream); font-size: 14px; font-weight: 600; }

/* ---------- free vs pro ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th { background: var(--panel-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare thead th.col-pro { color: var(--head); }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare tbody th small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.compare td { width: 64px; text-align: center; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 211, 78, .16); color: var(--yellow); font-weight: 800; font-size: 14px; }
.compare .col-pro .yes, .compare td.col-pro .yes { background: var(--pro); color: #1A0E06; }
.compare .no { color: var(--faint); }
.compare tr.pro-row th { color: var(--head); }
@media (min-width: 640px) { .compare th, .compare td { padding: 15px 20px; } .compare td { width: 110px; } }
.price-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 70ch; }

/* ---------- faq ---------- */
.qa { display: grid; gap: 10px; max-width: 820px; }
.qa details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.qa details[open] { border-color: var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 20px; font-weight: 650; color: var(--head); font-size: 16.5px; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg);
  transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa details > div { padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }
.qa details > div p + p { margin-top: 10px; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta .lede { margin: 14px auto 28px; }
.cta .actions { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot .row { display: grid; gap: 26px; }
@media (min-width: 760px) { .foot .row { grid-template-columns: 1fr auto; align-items: start; } }
.foot .pkg { margin-top: 8px; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: var(--muted); font-size: 15px; }
.foot nav a:hover { color: var(--head); }
.foot .fine { margin-top: 28px; color: var(--faint); font-size: 13.5px; line-height: 1.65; }

/* ---------- legal + help pages ---------- */
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(32px, 7vw, 46px); }
.doc .upd { margin: 10px 0 26px; color: var(--muted); font-size: 14.5px; }
.doc h2 { font-size: clamp(20px, 4.2vw, 23px); letter-spacing: -0.015em; margin: 40px 0 12px; scroll-margin-top: 76px; }
.doc h3 { margin: 22px 0 8px; font-size: 16.5px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 20px; margin: 12px 0; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--head); }
.doc code { background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: 13.5px; overflow-wrap: anywhere; }
.doc .summary {
  padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}
.doc .toc { margin: 22px 0 8px; padding: 16px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.doc .toc p { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.doc .toc ol { margin: 10px 0 0; columns: 1; }
@media (min-width: 640px) { .doc .toc ol { columns: 2; column-gap: 32px; } }
.doc .toc li { margin: 4px 0; font-size: 15px; break-inside: avoid; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--head); font-weight: 650; }
.doc .table-wrap { margin: 16px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.doc .table-wrap table { margin: 0; }
.doc .table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
