/* Ethlenos landing, NEXT design (2026-11-07).
   Borrowed systems, not brands (vclyps-web-design references):
   · Runway: the footage IS the interface. A warm-black cinema canvas, zero
     shadows, one typeface (Switzer) at 400 to 600, tight display tracking,
     small uppercase labels as signposts, 4 to 8px corners.
   · Linear: a surface ladder and 1px hairlines carry the hierarchy instead
     of boxes and shadows; facts set as a quiet data grid.
   Senotel's colours stay: crimson is the main button and the playhead and
   nothing else; every neutral is warm. Two dark screens (the offer, the
   show), then warm paper for the reading part, then dark again for the end.
   Anton is only the caption inside the videos (as the app burns it in). */

body[data-screen="home"] { background: #0e0d0c; }
body[data-screen="home"] .topbar { display: none; }
#screen-home {
  overflow-y: auto; overflow-x: hidden;
  background: #0e0d0c; color: #f2efe8;
  scrollbar-width: thin;
  scrollbar-color: #3a3733 #0e0d0c;
  /* landing-show.js keeps the visitor's place itself when the show's height
     changes (a rotation, a resize); the browser's own anchoring would fight it */
  overflow-anchor: none;
}

.lp-root {
  /* the dark ladder (Linear's canvas, surface, hairline), warmed */
  --lp-night: #0e0d0c;
  --lp-s1: #171614;
  --lp-s2: #201e1b;
  --lp-hair: #2b2925;
  --lp-on: #f2efe8;
  --lp-on1: #aaa59b;
  --lp-on2: #7d786f;
  /* the paper (styles.css :root bg0, text, t1, t2, line) */
  --lp-paper: #edeae2;
  --lp-ink: #111210;
  --lp-t1: #55534b;
  --lp-t2: #77746b;
  --lp-line: #cdc7b9;
  --lp-acc: #dc143c;
  --lp-acc-down: #b8102f;
  --lp-gut: max(32px, calc((100vw - 1280px) / 2));
  --lp-ease: cubic-bezier(0.2, 0, 0, 1);
  min-height: 100%;
  /* the screen is a flex column (styles.css .screen): without this the root
     shrank to one screen tall and the sticky nav scrolled away with it (T19-11) */
  flex: 0 0 auto;
  font-family: "Switzer", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.5; letter-spacing: -0.006em;
  color: var(--lp-on);
  background: var(--lp-night);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
.lp-root a { color: inherit; }
.lp-root button, .lp-root a, .lp-root summary { -webkit-tap-highlight-color: transparent; }
.lp-root :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.lp-root h1, .lp-root h2 { text-wrap: balance; }
.lp-wrap { width: 100%; max-width: calc(1280px + 64px); margin: 0 auto; padding: 0 32px; }

/* Runway's signpost: small, uppercase, a little apart */
.lp-eyebrow, .lp-specs dt {
  font-size: 12px; font-weight: 500; line-height: 1.3;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── nav: the same warm black over the whole page, a hairline under it ── */
.lp-nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  height: 60px; padding: 0 max(var(--lp-gut), env(safe-area-inset-right)) 0 max(var(--lp-gut), env(safe-area-inset-left));
  background: rgba(14, 13, 12, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--lp-hair);
  color: var(--lp-on);
}
/* 0.82.0 theme switch: a square icon button, the sun shows in light, the moon in dark */
.lp-theme {
  display: grid; place-items: center; width: 36px; height: 36px; margin-left: -12px;
  border: 0; border-radius: 4px; background: transparent; color: var(--lp-on1); cursor: pointer;
}
.lp-theme:hover { background: var(--lp-s2); color: var(--lp-on); }
.th-moon, body.dark .th-sun { display: none; }
body.dark .th-moon { display: block; }
.lp-links { display: flex; gap: 28px; margin-left: auto; }
.lp-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lp-on1); text-decoration: none;
  transition: color 120ms var(--lp-ease);
}
.lp-links a:hover { color: var(--lp-on); }

/* ── buttons: 4px corners, red is the one main action, no shadow ── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px;
  border: 0; border-radius: 4px;
  background: var(--lp-acc); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: background-color 120ms var(--lp-ease), color 120ms var(--lp-ease), box-shadow 120ms var(--lp-ease), transform 120ms var(--lp-ease);
}
.lp-btn:hover { background: var(--lp-acc-down); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.lp-btn-big { height: 56px; padding: 0 28px; font-size: 16px; font-weight: 600; }
.lp-btn-ghost { background: transparent; color: var(--lp-on); box-shadow: inset 0 0 0 1px #4a4640; }
.lp-btn-ghost:hover { background: var(--lp-s2); box-shadow: inset 0 0 0 1px var(--lp-on1); }
.lp-text-btn {
  border: 0; background: none; padding: 0;
  font: inherit; color: var(--lp-on);
  text-decoration: underline; text-decoration-color: var(--lp-on2); text-underline-offset: 3px;
  cursor: pointer; touch-action: manipulation;
  transition: text-decoration-color 120ms var(--lp-ease);
}
.lp-text-btn:hover { text-decoration-color: currentColor; }
.lp-stack { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.lp-stack-row { justify-content: center; }
.lp-stack-row .lp-btn { min-width: 220px; }
.lp-cta-note { margin-top: 20px; font-size: 14px; color: var(--lp-on2); }

/* ── 1 · hero: the offer left, the wall of real footage right ── */
.lp-hero {
  position: relative; overflow: hidden;
  min-height: min(calc(100vh - 60px), 920px);
  min-height: min(calc(100dvh - 60px), 920px);
  display: flex; align-items: center;
  padding: 72px var(--lp-gut);
  background: var(--lp-night);
}
.lp-hero-copy { position: relative; z-index: 2; width: min(580px, 46%); }
.lp-eyebrow { color: var(--lp-on2); margin-bottom: 28px; }
.lp-title {
  font-size: clamp(48px, 6.2vw, 96px); line-height: 0.96;
  font-weight: 500; letter-spacing: -0.05em;
  color: var(--lp-on);
}
.lp-lede { max-width: 30em; margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--lp-on1); }
.lp-lede strong { display: block; margin-top: 14px; color: var(--lp-on); font-weight: 500; }

/* The wall's columns (landing-show.js buildWall: 3 or 4, the 15 clips each
   once). It melts into the canvas on the left and at its top and bottom:
   both masks are kept and intersected. */
.lp-wall {
  --wall-gap: 12px;
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  display: flex; gap: var(--wall-gap); padding: 0 12px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.lp-wall-col { flex: 1; min-width: 0; overflow: hidden; }
.lp-wall-strip { display: flex; flex-direction: column; gap: var(--wall-gap); animation: lpUp var(--dur, 50s) linear infinite; }
.lp-wall-col.is-down .lp-wall-strip { animation-direction: reverse; }
.lp-root.is-motion-paused .lp-wall-strip { animation-play-state: paused; }
.lp-wall-col:nth-child(2) { margin-top: -60px; }
.lp-wall-col:nth-child(3) { margin-top: -160px; }
.lp-wall-col:nth-child(4) { margin-top: -30px; }
.lp-wall .lp-short { width: 100%; aspect-ratio: 9 / 16; flex: 0 0 auto; }
/* one period = half the strip plus half a gap, whatever the gap is (no seam on phones) */
@keyframes lpUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--wall-gap) / 2)); } }

/* the pause button: square, quiet, always reachable by keyboard (T19-08 / F10) */
.lp-motion {
  position: absolute; z-index: 6; right: 28px; bottom: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid rgba(242, 239, 232, 0.24); border-radius: 4px;
  background: rgba(14, 13, 12, 0.72); color: #fff;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 120ms var(--lp-ease), border-color 120ms var(--lp-ease);
}
.lp-motion:hover { background: rgba(14, 13, 12, 0.92); border-color: rgba(242, 239, 232, 0.5); }
.lp-motion svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.lp-motion .i-play, .lp-motion[aria-pressed="true"] .i-pause { display: none; }
.lp-motion[aria-pressed="true"] .i-play { display: block; }
.lp-root .lp-motion:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }

.lp-drop {
  position: absolute; inset: 16px; z-index: 5;
  display: none; align-items: center; justify-content: center;
  border: 1px dashed var(--lp-on1); border-radius: 8px;
  background: rgba(14, 13, 12, 0.94); color: var(--lp-on);
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
}
.lp-hero.is-dragging .lp-drop { display: flex; }

/* ── a short (wall, show, phone) ── */
.lp-short {
  position: relative; overflow: hidden;
  border-radius: 8px;
  background-size: cover; background-position: center;
  container-type: inline-size;
}
.lp-short::before {   /* the light in the scene */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 30% 18%, rgba(255, 255, 255, 0.22), transparent 60%);
}
.lp-short::after {    /* so the caption reads */
  content: ""; position: absolute; inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}
/* real footage (0.70.0): the loop fills the tile under the caption; no painted light on it */
.lp-short video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-short.has-media { background-color: #1a1a1a; }
.lp-short.has-media::before, .lp-short.lp-atlas::before { display: none; }
.lp-short.lp-atlas { background-color: #1a1a1a; background-repeat: no-repeat; }
.lp-short-cap {
  position: absolute; z-index: 1; left: 8%; right: 8%; top: 56%;
  font-family: "Anton", Impact, sans-serif; font-size: 16px; font-size: 11.5cqw; line-height: 1.04;
  text-transform: uppercase; text-align: center; color: #fff;
  text-shadow: 0 0.06em 0 rgba(0, 0, 0, 0.55), 0 0 0.25em rgba(0, 0, 0, 0.35);
}
.lp-short-cap .hi { color: #ffd23f; }
/* Ten caption styles (0.70.2), the way creators really caption, so no two
   neighbours look alike. Fonts are free (OFL) served by Bunny Fonts. */
.cap-box .lp-short-cap { top: 66%; font-family: "Switzer", sans-serif; font-weight: 700; text-transform: none; font-size: 9.5cqw; line-height: 1.5; text-shadow: none; }
.cap-box .lp-short-cap span { background: #111; padding: 0.06em 0.22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap-box .lp-short-cap .hi { background: #ffd23f; color: #111; }
.cap-serif .lp-short-cap { top: 12%; left: 9%; right: 9%; text-align: left; font-family: "DM Serif Display", Georgia, serif; font-style: italic; text-transform: none; font-size: 13cqw; line-height: 1.02; text-shadow: 0 0.04em 0.3em rgba(0, 0, 0, 0.5); }
.cap-serif .lp-short-cap .hi { color: #fff; }
.cap-outline .lp-short-cap { top: 48%; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 10.5cqw; -webkit-text-stroke: 0.09em #000; paint-order: stroke fill; text-shadow: none; }
.cap-outline .lp-short-cap .hi { color: #3cf281; }
.cap-marker .lp-short-cap { top: 70%; font-family: "Permanent Marker", cursive; text-transform: none; font-size: 12cqw; color: #ffe14a; transform: rotate(-4deg); }
.cap-marker .lp-short-cap .hi { color: #fff; }
.cap-mono .lp-short-cap { top: auto; bottom: 7%; left: 0; right: 0; padding: 0.5em 8%; background: rgba(0, 0, 0, 0.62); font-family: "Space Mono", monospace; font-weight: 700; text-transform: none; font-size: 7.4cqw; line-height: 1.3; text-shadow: none; }
.cap-mono .lp-short-cap .hi { color: #fff; text-decoration: underline; text-underline-offset: 0.18em; }
.cap-karaoke .lp-short-cap { top: 40%; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 10cqw; text-transform: none; line-height: 1.25; }
.cap-karaoke .lp-short-cap .hi { color: #111; background: #ffd23f; padding: 0 0.15em; text-shadow: none; }
.cap-bubble .lp-short-cap { top: 20%; font-family: "Fredoka", sans-serif; font-weight: 700; text-transform: none; font-size: 12cqw; -webkit-text-stroke: 0.1em #1b1b1b; paint-order: stroke fill; text-shadow: 0 0.08em 0 #1b1b1b; }
.cap-bubble .lp-short-cap .hi { color: #7fe3ff; }
.cap-block .lp-short-cap { top: 60%; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 10.5cqw; line-height: 1.32; text-shadow: none; }
.cap-block .lp-short-cap span { background: #111; padding: 0 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap-block .lp-short-cap .hi { color: #ff8a2a; }
.cap-quiet .lp-short-cap { top: auto; bottom: 9%; left: 7%; right: 18%; text-align: left; font-family: "Switzer", sans-serif; font-weight: 500; text-transform: none; font-size: 7.6cqw; line-height: 1.3; text-shadow: 0 0 0.4em rgba(0, 0, 0, 0.7); }
.cap-quiet .lp-short-cap .hi { color: #fff; font-weight: 700; }
.lp-short-bar { position: absolute; z-index: 1; top: 6px; left: 8px; right: 8px; height: 2px; background: rgba(255, 255, 255, 0.3); }
.lp-short-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--done, 40%); background: #fff; }
.lp-live { display: block; font-size: 16px; font-size: 13cqw; }

/* ── 2 · the show ── */
/* the show is the product itself, so it stays on its dark stage in both themes */
.lp-show { position: relative; height: 760vh; background: #0e0d0c; color: #fff; }
.lp-show-pin {
  position: sticky; top: 60px;
  height: calc(100vh - 60px); height: calc(100dvh - 60px);
  overflow: hidden;
}
.lp-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lp-show-stage { position: absolute; left: 0; right: 0; top: 2%; height: 72%; }
.lp-show-pin::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(180deg, rgba(14, 13, 12, 0), rgba(14, 13, 12, 0.94) 58%); pointer-events: none; }
.lp-show-stage > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
/* Layers only for what moves, only while the show is on screen (F16): the
   timeline's pieces while visible, the wall's tiles while the wall moves. */
.lp-show-stage.is-live > .lp-clip, .lp-show-stage.is-live > .lp-word, .lp-show-stage.is-live > .lp-voice,
.lp-show-stage.is-live > .lp-music, .lp-show-stage.is-live > .lp-playhead, .lp-show-stage.is-live > .lp-phone-f,
.lp-show-stage.is-live.is-wall > .lp-tile { will-change: transform, opacity; }
.lp-show-stage > .lp-tile, .lp-show-stage > .lp-clip { contain: layout paint; }
/* a field tile is drawn once into its own small canvas from the decoded page */
.lp-atlas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.lp-lane { background: rgba(255, 255, 255, 0.045); border-radius: 4px; }
.lp-ruler { font-size: 11px; color: #75736d; font-variant-numeric: tabular-nums; }
.lp-ruler span { position: absolute; top: 0; left: 0; white-space: nowrap; }
@media (max-width: 760px) { .lp-ruler span.is-odd { display: none; } }
.lp-clip {
  border-radius: 4px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(0, 0, 0, 0.38) 54px 56px),
    var(--c, #444);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.lp-clip { background-size: 100% 100%, cover; background-position: 0 0, center; background-color: #222; }
.lp-clip b { position: absolute; left: 8px; top: 6px; font-size: 11px; font-size: clamp(10px, calc(var(--th, 30px) * 0.3), 14px); font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); white-space: nowrap; }
.lp-clip em { position: absolute; right: 8px; bottom: 6px; font-size: 11px; font-style: normal; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.lp-word {
  display: flex; align-items: center;
  padding: 0 10px; border-radius: 3px;
  background: #f1efe9; color: #121211;
  font-size: 13px; font-size: clamp(11px, calc(var(--th, 30px) * 0.42), 20px); font-weight: 600; white-space: nowrap;
}
.lp-word.is-filler { background: #3b1a21; color: #ff8fa0; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.lp-voice, .lp-music { display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 4px; overflow: hidden; }
.lp-voice { background: #16303c; }
.lp-music { background: #1d3020; }
.lp-voice span, .lp-music span { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.lp-wave { flex: 1; min-width: 0; height: 64%; display: flex; align-items: center; gap: 2px; overflow: hidden; }
.lp-wave i { flex: 0 0 2px; border-radius: 1px; background: #74b9dc; }
.lp-music .lp-wave i { background: #8fd18a; }
.lp-playhead { background: var(--lp-acc); }
.lp-playhead::before { content: ""; position: absolute; left: -5px; top: -2px; border: 6px solid transparent; border-top: 8px solid var(--lp-acc); }
.lp-phone-f {
  /* 0.82.1: no phone frame; the short fills the screen, then becomes a tile */
  padding: 0; border-radius: 0;
  background: #0e0d0c;
  transition: border-radius 200ms;
}
.lp-phone-f.is-tile { border-radius: 8px; }
.lp-phone-s { width: 100%; height: 100%; border-radius: 0; overflow: hidden; transition: border-radius 200ms; }
.lp-phone-s .lp-short-cap { font-size: min(11.5cqw, var(--capmax, 11.5cqw)); }
.lp-phone-f.is-tile .lp-phone-s { border-radius: 8px; }
.lp-phone-s .lp-short { width: 100%; height: 100%; border-radius: 0; }
.lp-phone-s .lp-short-cap { top: 62%; }

/* the headline leaves room for the pause button at its right */
.lp-show-say { position: absolute; z-index: 2; left: var(--lp-gut); right: calc(var(--lp-gut) + 52px); bottom: 9%; height: 1.2em; font-size: clamp(30px, 4.6vw, 64px); }
.lp-show-pin .lp-motion { z-index: 3; right: var(--lp-gut); bottom: 24px; }
.lp-show-say p {
  position: absolute; inset: 0 auto auto 0;
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.05;
  opacity: 0; transform: translateY(0.35em);
  transition: opacity 140ms, transform 140ms;
}
.lp-show-say p.is-on { opacity: 1; transform: none; transition: opacity 320ms 120ms, transform 420ms 120ms cubic-bezier(0.2, 0, 0, 1); }

.lp-show.is-still { height: auto; }
.lp-show.is-still .lp-show-pin { position: relative; top: 0; height: 640px; }

/* ── 3 · paper: the offer in numbers, then the editor itself ── */
.lp-big {
  padding: 144px var(--lp-gut) 0;
  display: grid; gap: 120px;
  background: var(--lp-paper); color: var(--lp-ink);
  color-scheme: light;
}
.lp-big h2 { max-width: 16ch; font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; font-weight: 500; letter-spacing: -0.05em; }
.lp-big h2 span { color: var(--lp-t2); }
.lp-big p { max-width: 32em; margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--lp-t1); }
.lp-big p a { color: var(--lp-ink); text-underline-offset: 3px; }

/* the free row: the word, then four facts on Linear's hairline grid */
.lp-big-free { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: end; }
.lp-specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--lp-ink);
}
.lp-specs > div { padding: 18px 20px 4px 0; }
.lp-specs > div + div { padding-left: 20px; border-left: 1px solid var(--lp-line); }
.lp-specs dt { color: var(--lp-t2); }
.lp-specs dd { margin: 14px 0 0; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* the editor row: words above, the real screen wide below it (the product UI leads) */
.lp-big-shot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; }
.lp-big-shot > div p { margin-top: 0; }
.lp-big-shot > div { display: contents; }
.lp-big-shot picture {
  grid-column: 1 / -1;
  display: block; overflow: hidden;
  margin-top: 24px;
  border-radius: 8px 8px 0 0;
  background: var(--lp-night);
  padding: clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px) 0;
}
.lp-big-shot img { display: block; width: 100%; height: auto; border-radius: 4px 4px 0 0; background: #111210; }

/* ── 4 · questions (paper) ── */
.lp-section { padding: 144px 0 152px; scroll-margin-top: 60px; background: var(--lp-paper); color: var(--lp-ink); color-scheme: light; }
.lp-h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; font-weight: 500; letter-spacing: -0.04em; }
.lp-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.lp-faq details { border-top: 1px solid var(--lp-line); }
.lp-faq details:first-child { border-top-color: var(--lp-ink); }
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; letter-spacing: -0.015em;
  touch-action: manipulation;
}
.lp-faq summary::-webkit-details-marker { display: none; }
/* plus turns to minus: two hairlines, the upright one folds away */
.lp-faq summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--lp-t1);
  transition: transform 160ms var(--lp-ease);
}
.lp-faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat; transform: rotate(180deg); }
.lp-faq summary:hover::after { color: var(--lp-ink); }
.lp-faq details p { padding: 0 48px 24px 0; max-width: 38em; font-size: 16px; color: var(--lp-t1); }
.lp-faq details a { color: var(--lp-ink); text-underline-offset: 3px; }

/* ── 5 · the end: back to the cinema ── */
.lp-end { padding: 176px var(--lp-gut) 168px; text-align: center; background: var(--lp-night); color: var(--lp-on); }
.lp-end-title { font-size: clamp(48px, 7.6vw, 112px); line-height: 0.96; font-weight: 500; letter-spacing: -0.05em; }
.lp-end .lp-stack { margin: 48px auto 0; }

.lp-foot { background: var(--lp-night); border-top: 1px solid var(--lp-hair); }
.lp-foot .lp-wrap { display: flex; gap: 28px; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--lp-on2); }
.lp-foot span { margin-right: auto; }
.lp-foot a { text-decoration: none; transition: color 120ms var(--lp-ease); }
.lp-foot a:hover { color: var(--lp-on); }

/* ── narrower screens ── */
@media (max-width: 1000px) {
  .lp-hero { flex-direction: column; align-items: stretch; padding-bottom: 0; min-height: 0; }
  .lp-hero-copy { width: 100%; }
  .lp-wall {
    position: relative; width: auto; height: 440px; margin: 48px calc(-1 * var(--lp-gut)) 0; padding: 0 12px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  }
  .lp-hero > .lp-motion { right: 16px; bottom: 16px; }
  .lp-big-free, .lp-big-shot, .lp-split { grid-template-columns: 1fr; gap: 28px; }
  .lp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-specs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .lp-specs > div:nth-child(n + 3) { border-top: 1px solid var(--lp-line); margin-top: 14px; }
}
@media (max-width: 760px) {
  .lp-root { --lp-gut: 20px; }
  .lp-wrap { padding: 0 20px; }
  .lp-links { display: none; }
  .lp-nav .lp-btn-sm { margin-left: auto; }
  .lp-hero { padding-top: 44px; }
  .lp-eyebrow { margin-bottom: 20px; }
  .lp-stack { display: grid; margin-top: 32px; }
  .lp-stack .lp-btn { width: 100%; }
  .lp-wall { height: 380px; --wall-gap: 8px; }
  .lp-show { height: 700vh; }
  .lp-show-stage { height: 70%; }
  .lp-show-say { bottom: 12%; }
  .lp-big { padding-top: 104px; gap: 104px; }
  .lp-big-shot picture { margin-top: 8px; padding: 10px 10px 0; }
  .lp-big-shot img { max-width: 360px; margin: 0 auto; }
  .lp-section { padding: 104px 0 112px; }
  .lp-faq details p { padding-right: 0; }
  .lp-end { padding: 120px 20px 112px; }
  .lp-stack-row .lp-btn { min-width: 0; }
  .lp-foot .lp-wrap { flex-wrap: wrap; gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-wall-strip { animation: none; }
  .lp-root * { transition: none !important; }
  .lp-motion { display: none; }   /* nothing moves by itself, so there is nothing to pause */
}

/* Touch screens (0.71.2): a flick throws the page far, so the show gets about twice
   the scroll room there and the same swipe moves half as much of the story.
   Everything inside is a fraction of the section, so only the pace changes. */
@media (pointer: coarse) {
  .lp-show:not(.is-still) { height: 1400vh; }
}

/* ── New project (the mode choice), the same system ──
   Linear's hairline panels on the app's own tokens (styles.css :root), so it
   follows whatever the editor's theme is. Four kinds of edit, each panel the
   whole tap target: the icon in a square tile, the name, what it does, and
   where it fits as a quiet uppercase label. Lifts 2px on hover, no shadow. */
#screen-modes .modes-wrap { max-width: 1040px; padding-top: clamp(40px, 10vh, 112px); }
#screen-modes .modes-eyebrow {
  margin-bottom: 14px;
  font-size: var(--fs-12); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
#screen-modes .modes-title {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -0.045em;
  margin-bottom: clamp(28px, 5vh, 48px);
}
#screen-modes .mode-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  border-top: 0;
}
#screen-modes .mode-card {
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto 1fr;
  column-gap: 16px; row-gap: 6px;
  padding: 20px 20px 20px 20px;
  border: 1px solid var(--line); border-radius: var(--r-3);
  background: var(--bg1);
  transition: border-color var(--t-state) var(--ease), background-color var(--t-state) var(--ease), transform var(--t-state) var(--ease);
  touch-action: manipulation;
}
#screen-modes .mode-card > * { grid-column: 2; }
#screen-modes .mode-card::after { grid-column: 3; grid-row: 1; align-self: center; margin-left: 0; }
#screen-modes .mode-ico {
  display: inline-flex; align-items: center; justify-content: center;
  grid-column: 1; grid-row: 1 / span 3; align-self: start;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--bg0); color: var(--text);
  transition: color var(--t-state) var(--ease), border-color var(--t-state) var(--ease);
}
#screen-modes .mode-ico svg { width: 22px; height: 22px; }
#screen-modes .mode-name { grid-row: 1; align-self: center; min-height: 40px; display: flex; align-items: center; letter-spacing: -0.02em; }
#screen-modes .mode-desc { grid-row: 2; }
#screen-modes .mode-best {
  grid-row: 3; align-self: end; margin-top: 10px;
  font-size: var(--fs-11); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t2);
}
@media (hover: hover) {
  #screen-modes .mode-card:hover { border-color: var(--t2); background: var(--bg0); transform: translateY(-2px); }
  #screen-modes .mode-card:hover .mode-ico { color: var(--acc); border-color: var(--t2); }
}
#screen-modes .mode-card:active { transform: none; background: var(--bg2); }
@media (max-width: 700px) {
  #screen-modes .mode-grid { grid-template-columns: 1fr; gap: 8px; }
  #screen-modes .mode-card { padding: 16px; }
  #screen-modes .mode-best { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-modes .mode-card, #screen-modes .mode-card:hover { transform: none; transition: none; }
}

/* ── 0.82.0: the light theme (the default; body.dark keeps the night page).
   White page, warm grey hairlines, ink text; crimson stays the one accent.
   The show and the shorts keep their dark stage: they are the product. ── */
body:not(.dark)[data-screen="home"] { background: #fff; }
body:not(.dark) #screen-home { background: #fff; color: #111210; scrollbar-color: #cfcbc2 #fff; }
body:not(.dark) .lp-root {
  --lp-night: #ffffff;
  --lp-s1: #f6f5f2;
  --lp-s2: #eeece7;
  --lp-hair: #e4e1da;
  --lp-on: #111210;
  --lp-on1: #55534b;
  --lp-on2: #77746b;
  --lp-paper: #f6f5f2;
  color-scheme: light;
}
body:not(.dark) .lp-nav { background: rgba(255, 255, 255, 0.88); }
body:not(.dark) .lp-btn-ghost { box-shadow: inset 0 0 0 1px #cfcbc2; }

/* 0.91.0 Ethlenos mark: three clips on three tracks make the E; the crimson clip is the cut */
.brand-mark { display: inline-block; flex: none; width: 1.25em; height: 1.25em; margin-right: 0.38em; vertical-align: -0.27em; }
.brand-mark .bm-cut { transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.brand-word { font-weight: 600; letter-spacing: -0.035em; text-transform: none; }
.lp-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-on); font-size: 18px; text-decoration: none; white-space: nowrap; }
.lp-brand:hover .bm-cut { transform: translateX(1.5px); }
/* the mark assembles once on load: the cut clip slides into its track (after prompt-motion.com logo reveals, kept short) */
@keyframes bm-cut-in { from { transform: translateX(-4px); } }
.lp-brand .bm-cut { animation: bm-cut-in 560ms cubic-bezier(0.2, 0.8, 0.2, 1) 280ms both; }
@media (prefers-reduced-motion: reduce) { .brand-mark rect { animation: none !important; transition: none !important; } }
@media (max-width: 760px) { .lp-brand + .lp-links + .lp-theme { margin-left: auto; } .lp-nav { gap: 8px; } .lp-nav .lp-theme + .lp-btn-sm { margin-left: 0; } }

/* 0.94.0 after the show: dark like the show and the end, the effort names set large */
.lp-modes { padding: 160px 0 40px; background: var(--lp-night); color: var(--lp-on); }
.lp-modes-title { margin: 0 0 56px; font-size: clamp(36px, 5.6vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; }
.lp-modes-list { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 0; padding: 0; list-style: none; font-size: clamp(26px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.035em; color: var(--lp-on2); }
.lp-modes-list li { display: inline-flex; align-items: baseline; gap: 12px; }
.lp-modes-list .is-rec { color: var(--lp-on); }
.lp-modes-list .is-rec span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #dc143c; }
.lp-modes + .lp-end { padding-top: 120px; }
@media (max-width: 760px) { .lp-modes { padding: 104px 0 24px; } .lp-modes-title { margin-bottom: 36px; } .lp-modes-list { gap: 8px 24px; } .lp-modes + .lp-end { padding-top: 88px; } }

/* ── 0.95.0 Menu (menu.js): an iOS grouped list. Popover under the button on a computer,
   a sheet from the bottom on a phone. 44px+ rows, a chevron on each, no glow. ── */
.lp-menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 44px; padding: 0 14px 0 12px;
  border: 0; border-radius: 10px; background: var(--lp-s2); color: var(--lp-on);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 160ms var(--lp-ease), transform 160ms var(--lp-ease);
}
.lp-menu-btn:hover { background: var(--lp-hair); }
.lp-menu-btn:active { transform: scale(0.96); }
.lp-menu-btn svg line { transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1); transform-origin: 12px 12px; }
.lp-menu-btn[aria-expanded="true"] svg .l1 { transform: translateY(3px) rotate(45deg); }
.lp-menu-btn[aria-expanded="true"] svg .l2 { transform: translateY(-3px) rotate(-45deg); }
.lp-links + .lp-theme, .lp-theme + .lp-menu-btn { margin-left: 0; }
.eth-menu-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.32); }
.eth-menu {
  --m-bg: #ffffff; --m-group: #f2f1ee; --m-ink: #111210; --m-sub: #77746b; --m-hair: #e2dfd8;
  position: fixed; z-index: 91; width: 288px; max-height: calc(100dvh - 90px); overflow: auto;
  padding: 8px; border-radius: 14px; background: var(--m-bg); color: var(--m-ink);
  box-shadow: 0 0 0 1px var(--m-hair), 0 18px 40px rgba(0, 0, 0, 0.18);
  font-family: "Switzer", -apple-system, "Segoe UI", Roboto, sans-serif; transform-origin: top right;
}
body.dark .eth-menu { --m-bg: #1c1b19; --m-group: #262421; --m-ink: #f2efe8; --m-sub: #9a958b; --m-hair: #34312c; box-shadow: 0 0 0 1px var(--m-hair), 0 18px 40px rgba(0, 0, 0, 0.5); }
.eth-menu-group { list-style: none; margin: 0; padding: 0; border-radius: 10px; background: var(--m-group); overflow: hidden; }
.eth-menu-group + .eth-menu-group { margin-top: 8px; }
.eth-menu-group li + li { border-top: 1px solid var(--m-hair); }
.eth-menu-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0 12px 0 16px;
  border: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
  transition: background 120ms var(--lp-ease, ease);
}
.eth-menu-row svg { color: var(--m-sub); flex: none; transition: transform 160ms var(--lp-ease, ease); }
.eth-menu-row:hover { background: rgba(127, 120, 110, 0.12); }
.eth-menu-row:hover svg { transform: translateX(2px); }
.eth-menu-row:active { background: rgba(127, 120, 110, 0.22); }
.eth-menu-row:focus-visible { outline: 2px solid #dc143c; outline-offset: -2px; }
.eth-menu.is-sheet {
  left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 86dvh; border-radius: 16px 16px 0 0;
  padding: 6px 16px calc(16px + env(safe-area-inset-bottom));
}
.eth-menu-grab { width: 36px; height: 5px; margin: 2px auto 4px; border-radius: 3px; background: var(--m-hair); }
.eth-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 4px; }
.eth-menu-head b { font-size: 17px; font-weight: 600; }
.eth-menu-close { min-height: 44px; padding: 0 4px; border: 0; background: none; color: #dc143c; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .lp-menu-btn .lp-menu-tx { display: none; } .lp-menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; } }
