/* eclipser.app — the product's own palette. No framework, no external font, no network request. */
:root {
  /* Colour tokens live in eclipse.css (four audited palettes); only type and measure stay here. */
  --measure: 62ch;
  --serif: "Iowan Old Style", Baskerville, Georgia, serif;
  --pad: clamp(20px, 4vw, 40px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--frost); scroll-behavior: smooth; }
body {
  margin: 0; line-height: 1.62; -webkit-font-smoothing: antialiased;
  /* The soft colour pools moved to the fixed sky layer (eclipse.css); body stays a solid token. */
  background-color: var(--ink); isolation: isolate;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.022em; line-height: 1.08; }
p { color: var(--body); }
a { color: var(--aqua); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible,
input:focus-visible, label:focus-within { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
  padding: 1px 5px; border-radius: 4px; background: rgb(231 167 93 / .12); color: var(--amber); }
img { max-width: 100%; height: auto; }
ul { padding-left: 0; }

.skip { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 9px 13px;
  background: var(--frost); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }

/* ── shell ─────────────────────────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); border-bottom: 1px solid var(--line-soft);
  background: var(--veil); backdrop-filter: blur(12px);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--frost);
  font-family: var(--serif); font-size: 20px; font-weight: 600; text-decoration: none; }
.wordmark img { width: auto; height: 28px; aspect-ratio: 1; object-fit: contain; }
.masthead nav { display: flex; align-items: center; gap: 10px; }
.lang { min-height: 38px; max-width: 42vw; padding: 0 10px; border: 1px solid var(--line-strong);
  border-radius: 9px; background: var(--graphite); color: var(--frost); font-size: 14px; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px;
  padding: 0 16px; border-radius: 9px; border: 1px solid var(--aqua); color: var(--aqua);
  text-decoration: none; font-weight: 600; white-space: nowrap; }
.cta:hover { background: rgb(115 209 201 / .12); }
.cta.big { min-height: 54px; padding: 0 30px; font-size: 17px; background: var(--aqua-fill);
  color: var(--on-aqua); border-color: var(--aqua-fill); box-shadow: 0 12px 34px rgb(115 209 201 / .22); }
.cta.big:hover { filter: brightness(1.07); }
main { width: min(100%, 1180px); margin: 0 auto; padding: 0 var(--pad); }

/* ── hero + live demonstration ─────────────────────────────────────────────────────────────── */
.changelog-history { margin: 0 0 64px; }
.changelog-release { display: grid; grid-template-columns: minmax(100px, .25fr) minmax(0, 1fr);
  gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-soft); }
.changelog-release h2 { margin: 2px 0 0; font-size: clamp(26px, 3vw, 34px); scroll-margin-top: 90px; }
.changelog-release h2 a { color: var(--frost); text-decoration: none; }
.changelog-release h2 a:hover { text-decoration: underline; }
.changelog-release ul { max-width: 70ch; margin: 0; padding-inline-start: 20px; color: var(--body); }
.changelog-release li { padding-inline-start: 4px; }
.changelog-release li + li { margin-top: 12px; }
@media (max-width: 560px) {
  .changelog-release { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 26px; }
}

.hero { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: clamp(30px, 5vw, 62px);
  align-items: center; padding: clamp(46px, 7vw, 88px) 0 clamp(40px, 6vw, 70px); }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 4.3vw, 56px); }
.lede { max-width: var(--measure); margin: 0 0 30px; color: var(--lede); font-size: clamp(16px, 1.4vw, 19px); }
.actions { margin: 0; }

.demo { display: grid; gap: 12px; }
.demo-window { border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--graphite); box-shadow: 0 30px 70px var(--shadow-deep); }
.demo-chrome { display: flex; gap: 7px; padding: 11px 14px; background: var(--chrome);
  border-bottom: 1px solid var(--line); }
.demo-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--chrome-dot); }

/* One container drives everything, as the extension does: mode switches the palette, --t scales
   type, --d dims media. Media is dimmed independently of text so the difference is visible. */
.demo-page { padding: 24px 22px 26px; font-size: calc(15px * var(--t) / 100);
  background: var(--page-bg); color: var(--page-fg); transition: background .25s, color .25s; }
.demo[data-mode="dark"] .demo-page { --page-bg: #0d1117; --page-fg: #e6ebf2; --card: #161d27; --edge: #273040; }
.demo[data-mode="soft"] .demo-page { --page-bg: #23262b; --page-fg: #dfe3e8; --card: #2c3036; --edge: #3a3f47; }
.demo[data-mode="off"]  .demo-page { --page-bg: #ffffff; --page-fg: #16181d; --card: #f1f3f6; --edge: #dfe3ea; }
.demo-page h3 { margin: 0 0 9px; font-size: 1.45em; color: var(--page-fg); }
.demo-page p { margin: 0 0 15px; color: var(--page-fg); opacity: .84; }
.demo-photo { height: clamp(120px, 17vw, 158px); border-radius: 11px; border: 1px solid var(--edge);
  background: conic-gradient(from 210deg at 30% 30%, #ff9a3c, #ff5f6d, #7b5cff, #23d5ab, #ffd166, #ff9a3c);
  filter: brightness(calc(1 - var(--d) / 100)); transition: filter .25s; }
.demo-card { margin-top: 15px; padding: 11px 13px; border: 1px solid var(--edge); border-radius: 10px;
  background: var(--card); font-size: .9em; color: var(--page-fg); opacity: .9; }

.demo-controls { display: grid; gap: 13px; padding: 15px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--panel); }
.demo-controls fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px;
  margin: 0; padding: 0; border: 0; }
.demo-controls legend { padding: 0 0 8px; color: var(--slate); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; }
.demo-controls fieldset input { position: absolute; opacity: 0; pointer-events: none; }
.demo-controls fieldset span { display: block; padding: 9px 8px; border: 1px solid var(--line-strong);
  border-radius: 9px; background: var(--raise); text-align: center; font-size: 13.5px;
  color: var(--body); cursor: pointer; }
.demo-controls fieldset input:checked + span {
  border-color: var(--aqua); color: var(--aqua); background: rgb(115 209 201 / .1); }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center;
  color: var(--slate); font-size: 12.5px; }
.slider output { color: var(--amber); font-family: ui-monospace, monospace; font-size: 12.5px; }
.slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--aqua); min-height: 24px; }

/* ── differentiator band ───────────────────────────────────────────────────────────────────── */
.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.band > div { padding: 26px 24px; background: var(--graphite); }
.band h2 { margin: 0 0 9px; color: var(--aqua); font-family: inherit; font-size: 13px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.band p { margin: 0; font-size: 15px; }

/* ── product film + before/after proof ────────────────────────────────────────────────────── */
.section-heading { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: 28px; }
.section-heading h2 { max-width: 20ch; margin: 0; font-size: clamp(30px, 4vw, 46px); }
.section-heading > p { max-width: var(--measure); margin: 0; color: var(--slate); font-size: 14.5px; }
.section-eyebrow, .proof-index { margin: 0 0 9px; color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.film-shell { width: min(100%, 1040px); margin: 0 auto; aspect-ratio: 16 / 9;
  border: 1px solid rgb(115 209 201 / .32); border-radius: 18px; overflow: hidden;
  background: #07131e; box-shadow: 0 28px 72px rgb(0 0 0 / .48); }
.film-facade { position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  color: var(--frost); text-decoration: none; isolation: isolate; background:
    radial-gradient(58% 88% at 25% 50%, rgb(115 209 201 / .19), transparent 72%),
    radial-gradient(36% 58% at 78% 30%, rgb(231 167 93 / .09), transparent 74%),
    linear-gradient(135deg, #07121d, #0b1622 54%, #070d15); }
.film-facade::after { content: ""; position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(180deg, transparent 58%, rgb(3 7 12 / .64)); pointer-events: none; }
.film-facade:hover .film-play { transform: translate(-50%, -50%) scale(1.06); background: var(--aqua-fill); }
.film-facade:hover .film-poster { transform: scale(1.006); filter: brightness(.92); }
.film-facade:focus-visible { outline: 3px solid var(--aqua-fill); outline-offset: -6px; }
.film-poster { display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .2s ease, filter .2s ease; }
.film-play { position: absolute; left: 50%; top: 50%; z-index: 6; display: grid; place-items: center;
  width: clamp(62px, 8vw, 88px); aspect-ratio: 1; border: 1px solid rgb(238 242 247 / .72);
  border-radius: 50%; background: rgb(115 209 201 / .88); color: #062522;
  font-size: clamp(20px, 3vw, 31px); line-height: 1; padding-inline-start: .12em;
  box-shadow: 0 12px 38px rgb(0 0 0 / .5); transform: translate(-50%, -50%);
  transition: transform .18s ease, background .18s ease; }
.film-duration { position: absolute; inset-inline-end: 4%; inset-block-end: 4%; z-index: 6;
  padding: 5px 9px; border: 1px solid rgb(115 209 201 / .32); border-radius: 7px;
  background: rgb(11 14 20 / .86); color: var(--aqua-fill); font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: .08em; }
.film-shell iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }

.section-heading--proof h2 span { color: var(--aqua); }
.proof-list { display: grid; gap: 22px; }
.proof-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .65fr);
  gap: clamp(22px, 4vw, 48px); align-items: center; padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line); border-radius: 17px; background: var(--card-veil); }
.proof-copy h3 { margin: 0 0 11px; font-size: clamp(25px, 3vw, 36px); }
.proof-copy > p:last-child { margin: 0; color: var(--slate); font-size: 14px; }
.proof-index span { display: inline-flex; margin-inline-start: 7px; padding: 2px 6px;
  border: 1px solid var(--aqua); color: var(--aqua); letter-spacing: .08em; }

.comparison { --split: 50%; position: relative; overflow: hidden;
  border: 1px solid #334054; border-radius: 13px; background: #0b1017; box-shadow: 0 18px 44px rgb(0 0 0 / .38); }
.comparison--web, .comparison--media { aspect-ratio: 16 / 10; }
.comparison--pdf { aspect-ratio: 815 / 440; }
.comparison-layer { position: absolute; inset: 0; }
.comparison-layer--after { clip-path: inset(0 0 0 var(--split)); }
.proof-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.comparison-label { position: absolute; top: 12px; z-index: 4; padding: 4px 8px;
  border: 1px solid rgb(238 242 247 / .28); border-radius: 6px; background: rgb(6 10 15 / .78);
  color: var(--frost); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.comparison-label--before { left: 12px; }
.comparison-label--after { right: 12px; color: var(--aqua-fill); border-color: rgb(115 209 201 / .4); }
.comparison-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; }
.comparison-divider { position: absolute; left: var(--split); top: 0; bottom: 0; z-index: 5;
  width: 1px; background: linear-gradient(transparent, var(--aqua-fill) 12%, var(--aqua-fill) 88%, transparent);
  transform: translateX(-50%); pointer-events: none; }
.comparison-divider i { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px;
  border: 1px solid var(--aqua-fill); border-radius: 50%; background: #0a1018;
  box-shadow: 0 8px 25px rgb(0 0 0 / .55); transform: translate(-50%, -50%); }
.comparison-divider i::before { content: ""; position: absolute; inset: 8px; border: 3px solid #5c6b7e;
  border-radius: 50%; }
.comparison-divider i::after { content: ""; position: absolute; inset: 8px 7px 8px 15px;
  border-radius: 0 99px 99px 0; background: var(--aqua-fill); }
.comparison:has(.comparison-range:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* ── sections ──────────────────────────────────────────────────────────────────────────────── */
.panel { padding: clamp(48px, 7vw, 84px) 0; }
.panel > h2 { max-width: 20ch; margin: 0 0 28px; font-size: clamp(24px, 2.9vw, 34px); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shot-open { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0;
  border-radius: 13px; background: transparent; color: inherit; cursor: zoom-in; text-align: start; }
.shot-open img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  border: 1px solid var(--line); border-radius: 13px; background: var(--graphite);
  box-shadow: 0 18px 44px var(--shadow); transition: border-color .18s ease, filter .18s ease; }
.shot-open:hover img { border-color: rgb(115 209 201 / .58); filter: brightness(1.05); }
.shot-open__hint { position: absolute; inset-inline-end: 11px; inset-block-end: 11px;
  display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 9px;
  border: 1px solid rgb(115 209 201 / .34); border-radius: 7px;
  background: rgb(11 14 20 / .88); color: var(--aqua-fill); font-size: 11px; font-weight: 650;
  letter-spacing: .02em; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.shot-open:hover .shot-open__hint,
.shot-open:focus-visible .shot-open__hint { opacity: 1; transform: none; }
.shots figcaption { display: grid; gap: 4px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.shots figcaption strong { color: var(--body); font-size: 14px; font-weight: 650; }
.shots figcaption span { color: var(--slate); }

.gallery-dialog { width: min(1320px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: hidden; border: 1px solid rgb(115 209 201 / .32);
  border-radius: 18px; background: #0f141c; color: var(--frost);
  box-shadow: 0 38px 120px rgb(0 0 0 / .76); }
.gallery-dialog::backdrop { background: rgb(3 6 10 / .86); backdrop-filter: blur(9px); }
.gallery-dialog__shell { display: grid; grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 32px); }
.gallery-dialog__header { display: flex; align-items: center; justify-content: space-between;
  min-height: 58px; padding: 9px 12px 9px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(115 209 201 / .055), transparent 48%); }
.gallery-dialog__counter { margin: 0; color: var(--aqua);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  font-weight: 750; letter-spacing: .16em; }
.gallery-dialog__close,
.gallery-dialog__nav { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--graphite); color: var(--body);
  font: inherit; cursor: pointer; }
.gallery-dialog__close { font-size: 24px; line-height: 1; }
.gallery-dialog__nav { font-size: 20px; }
.gallery-dialog__close:hover,
.gallery-dialog__nav:hover { border-color: var(--aqua); color: var(--aqua); }
.gallery-dialog__stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center; gap: clamp(8px, 1.5vw, 20px); min-height: 0; padding: clamp(12px, 2vw, 24px); }
.gallery-dialog__stage > figure { display: grid; min-width: 0; min-height: 0; margin: 0;
  grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.gallery-dialog__stage img { display: block; width: 100%; max-height: calc(100dvh - 190px);
  object-fit: contain; border: 1px solid var(--line); border-radius: 11px; background: var(--ink); }
.gallery-dialog__stage figcaption { display: grid; gap: 4px; padding-inline: 2px; line-height: 1.48; }
.gallery-dialog__stage figcaption strong { color: var(--frost); font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px); font-weight: 600; }
.gallery-dialog__stage figcaption span { max-width: 78ch; color: var(--slate); font-size: 13px; }
body:has(.gallery-dialog[open]) { overflow: hidden; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 34px; margin: 0; list-style: none; }
.features li { padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line-soft);
  color: var(--body); font-size: 15px; position: relative; }
.features li::before { content: ""; position: absolute; left: 2px; top: 25px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); opacity: .75; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── plan comparison ───────────────────────────────────────────────────────────────────────── */
.plan-comparison { position: relative; }
.plan-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: 24px; }
.plan-heading h2 { max-width: 18ch; margin: 0; font-size: clamp(30px, 4vw, 46px); }
.plan-eyebrow { margin: 0 0 8px; color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.plan-trial { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  margin: 0; padding: 18px 20px; border: 1px solid rgb(231 167 93 / .32); border-radius: 13px;
  background: rgb(231 167 93 / .06); color: var(--trial-text); font-size: 14px; }
.plan-trial-number { color: var(--amber); font-family: var(--serif); font-size: 24px; line-height: 1; }

.plan-cards { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 16px; }
.plan-card { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 10px 28px;
  align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); }
.plan-card--pro { border-color: rgb(115 209 201 / .62); background:
  radial-gradient(520px 190px at 100% 0, rgb(115 209 201 / .14), transparent 72%),
  linear-gradient(180deg, rgb(115 209 201 / .055), transparent 50%), var(--graphite); }
.plan-card-head { grid-row: 1 / span 3; }
.tier-name { margin: 0 0 8px; color: var(--slate); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; }
.amount { margin: 0 0 4px; color: var(--frost); font-family: var(--serif); font-size: 42px; line-height: 1; }
.amount small { display: block; margin-top: 8px; font-family: inherit; font-size: 13px; color: var(--slate); }
.plan-card-copy { margin: 0; color: var(--body); font-size: 14.5px; }
.alt { margin: 2px 0 0; color: var(--slate); font-size: 13px; }
.tier-cta { margin: 8px 0 0; }
.tier-cta .cta { min-height: 44px; }

.comparison-shell { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--card-veil); }
.comparison-intro { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 24px;
  align-items: baseline; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.comparison-intro h3 { margin: 0; font-family: inherit; font-size: 15px; color: var(--frost); }
.comparison-intro p { margin: 0; color: var(--slate); font-size: 13.5px; }
.comparison-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; text-align: start; }
.comparison-table col:first-child { width: 58%; }
.comparison-table col:not(:first-child) { width: 21%; }
.comparison-table th, .comparison-table td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft);
  text-align: start; vertical-align: middle; }
.comparison-table thead th { padding-block: 13px; background: var(--thead); color: var(--slate);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; }
.comparison-table thead .pro-column { color: var(--aqua); background: rgb(115 209 201 / .085); }
.comparison-table tbody th { color: var(--frost); font-size: 14px; font-weight: 650; line-height: 1.35; }
.comparison-table tbody th small { display: block; margin-top: 5px; color: var(--slate); font-size: 12px;
  font-weight: 450; line-height: 1.45; }
.comparison-table tbody td { color: var(--body); font-size: 13px; }
.comparison-table tbody td:last-child { background: rgb(115 209 201 / .035); }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table tbody tr:hover > * { background-color: var(--hover-row); }
.comparison-table tbody tr:hover > td:last-child { background-color: rgb(115 209 201 / .065); }
.plan-value { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.plan-value > span { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: var(--raise); color: var(--slate); font-size: 11px; line-height: 1; }
.plan-value.is-included { color: var(--body); }
.comparison-table td:last-child .plan-value { color: var(--aqua); }
.plan-value.is-included > span { background: rgb(115 209 201 / .12); color: var(--aqua); }
.plan-value.is-locked { color: var(--slate); }
.plan-value.is-limited > span { background: rgb(231 167 93 / .12); color: var(--amber); }

details { border-top: 1px solid var(--line-soft); }
details:last-of-type { border-bottom: 1px solid var(--line-soft); }
summary { padding: 17px 0; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--amber); font-family: ui-monospace, monospace; }
details[open] summary::before { content: "\2212"; }
details p { max-width: var(--measure); margin: 0 0 18px 24px; color: var(--slate); font-size: 15px; }

.prose { max-width: var(--measure); padding: 48px 0; }
.prose h2 { font-size: 28px; margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose li { margin: 6px 0 6px 1.2em; color: var(--body); }

footer { width: min(100%, 1180px); margin: 30px auto 0; padding: 26px var(--pad) 48px;
  border-top: 1px solid var(--line-soft); color: var(--slate); font-size: 13.5px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
footer a { color: var(--slate); }
footer a:hover { color: var(--aqua); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .section-heading, .proof-row, .plan-heading, .plan-card, .comparison-intro { grid-template-columns: 1fr; }
  .plan-card-head { grid-row: auto; }
}
@media (max-width: 680px) {
  .plan-cards { grid-template-columns: 1fr; }
  .comparison-table { min-width: 620px; }
  .comparison-table col:first-child { width: 40%; }
  .comparison-table col:not(:first-child) { width: 30%; }
  .comparison-table tbody th, .comparison-table thead th:first-child {
    position: sticky; inset-inline-start: 0; z-index: 1; background: var(--thead);
    border-inline-end: 1px solid var(--line-soft);
  }
  .comparison-table tbody th { background: var(--graphite); }
}
@media (max-width: 520px) {
  /* The hero keeps the install CTA; hiding its duplicate in the compact masthead prevents the
     language picker and wordmark from widening the whole mobile page. */
  .masthead nav .cta { display: none; }
  .gallery-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .gallery-dialog__shell { max-height: calc(100dvh - 16px); }
  .gallery-dialog__stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 5px; padding: 9px; }
  .gallery-dialog__close,
  .gallery-dialog__nav { width: 36px; height: 36px; }
  .gallery-dialog__stage img { max-height: calc(100dvh - 205px); }
  .shot-open__hint { display: none; }
  .film-shell { border-radius: 12px; }
  .proof-row { padding: 12px; }
  .comparison-label { top: 8px; }
  .comparison-label--before { left: 8px; }
  .comparison-label--after { right: 8px; }
  .comparison-divider i { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-page, .demo-photo, .film-poster, .film-play, .shot-open img, .shot-open__hint { transition: none; }
}

/* Store badges: one per browser, identical geometry, so the two stores read as equals. */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.tier-cta .store-badges { margin: 14px 0 0; gap: 8px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-width: 214px; min-height: 58px;
  padding: 8px 18px 8px 14px; border: 1px solid rgb(115 209 201 / .45); border-radius: 12px;
  background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / 0)) , #0e1420;
  color: #eef2f7; text-decoration: none; line-height: 1.15;
  box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 8px 24px rgb(0 0 0 / .28);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store-badge svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--aqua-fill); }
.store-badge__text { display: flex; flex-direction: column; }
.store-badge__text small { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgb(233 241 245 / .62); }
.store-badge__text strong { font-size: 16px; font-weight: 600; }
.store-badge:hover, .store-badge:focus-visible { transform: translateY(-1px); border-color: var(--aqua-fill); box-shadow: 0 0 0 1px rgb(115 209 201 / .35), 0 10px 28px rgb(0 0 0 / .34); }
.store-badge.big { min-width: 236px; min-height: 64px; }
.store-badge.big svg { width: 34px; height: 34px; }
.store-badge.big .store-badge__text strong { font-size: 18px; }
.tier-cta .store-badge { min-width: 0; flex: 1 1 0; min-height: 50px; padding: 6px 12px; }
.tier-cta .store-badge svg { width: 24px; height: 24px; }
.tier-cta .store-badge__text strong { font-size: 14px; }
@media (max-width: 560px) { .store-badges { flex-direction: column; } .store-badge { width: 100%; } }

/* ── the eclipse design language on this page ─────────────────────────────────────────────────
   Tokens and the engine live in eclipse.css; these are the page-level consequences. */
/* The lightbox shows dark screenshots and lives in the top layer: it is dark in every phase. */
.gallery-dialog { color-scheme: dark; --ink: #0b0e14; --graphite: #141a23; --raise: #1b222d; --line: #262f3d;
  --line-soft: #1e2735; --frost: #eef2f7; --body: #b9c3d1; --slate: #7f8b9b; --aqua: #73d1c9; --amber: #e7a75d; }
/* The stage opens the page: the eclipse sits above the headline so the first fold always shows it. */
.hero-copy .eclipse-stage { margin: 0 0 38px; }
/* The hero is pinned for exactly the eclipse's scroll range (eclipse.js RANGE_MAX), so the transit
   plays fully in view; the wrapper's padding is the pin length and the section below follows at once. */
/* The pin length is a real block, not padding: sticky elements are confined to the containing
   block's CONTENT box, so padding would give the hero no room to hold. */
.hero-act::after { content: ""; display: block; height: 420px; }
.hero { position: sticky; top: 72px; }
/* The wordmark is the live eclipse in miniature: the canonical mark stays underneath and is exactly
   what the composition resolves to at totality. */
.wordmark__mark { position: relative; display: inline-block; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; }
.wordmark__mark img { position: absolute; inset: 0; }
/* Sub-page header: the page title beside a medium eclipse stage, so every page opens under the same sky. */
.page-sky { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px);
  align-items: center; padding: clamp(36px, 6vw, 64px) 0 clamp(6px, 2vw, 14px); }
.page-sky h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); }
.page-sky .lede { margin: 0; }
.page-sky .lede + p { margin: 22px 0 0; }
.page-sky .eclipse-stage { --R: 44px; margin: 0; }
.fineprint { color: var(--slate); font-size: 13.5px; }
.prose > h2:first-of-type { margin-top: 18px; }
/* Off-screen sections skip style, layout and paint while the hero is on screen. The film and proof
   panels are excluded: paint containment would clip their shadows. */
.panel--features, .plan-comparison, .panel--faq { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* The fixed gauge sits in the gutter: keep content out from under its hit area. */
@media (max-width: 1340px) { main, footer { padding-inline: max(var(--pad), 72px); } }
@media (max-width: 900px) { main, footer { padding-inline: max(var(--pad), 48px); } .page-sky { gap: 20px; } }
@media (max-width: 680px) { .page-sky { grid-template-columns: 1fr; } .page-sky .eclipse-stage { --R: 40px; } }
@media (max-width: 520px) { .hero-copy .eclipse-stage { --R: 36px; margin: 0 0 32px; } }
@media (prefers-contrast: more) { .masthead { background: var(--ink); backdrop-filter: none; } }
