/* WebGrip product theme.
   One design system with jhneves.com: Inter, the black/white token set, 28px cells.
   Only colors from the tokens below; no accent color. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #6e6e6e;
  --line: rgba(0, 0, 0, 0.08);
  --cell: #f5f5f5;
  --cell-glow: #fcfcfd;
  --field: #ffffff;
  --field-line: rgba(0, 0, 0, 0.22);
  --radius-cell: 28px;
  --radius-media: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #8e8e8e;
    --line: rgba(255, 255, 255, 0.12);
    --cell: #121212;
    --cell-glow: #1f1f22;
    --field: #000000;
    --field-line: rgba(255, 255, 255, 0.28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; width: 100%; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -48px; z-index: 30; padding: 8px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; }
.skip:focus { top: 10px; }

/* Header: app identity left, sections and the one CTA right. */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav .btn { color: var(--bg); }

/* App icon: an image, or a monogram tile in the jhneves placeholder style. */
.icon { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex: none; }
.monogram {
  display: grid;
  place-items: center;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 13px;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.btn:hover { opacity: 0.82; }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--field-line); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 1; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transform: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.more { font-size: 15px; font-weight: 500; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.badge {
  display: inline-block;
  padding: 0.28em 0.7em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--field-line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--fg);
  vertical-align: middle;
}

/* Mosaic */
.page { max-width: 1240px; margin: 0 auto; padding: 8px 20px 0; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.mosaic + .mosaic, .mosaic + section, section + .mosaic { margin-top: 16px; }
.cell {
  position: relative;
  background: var(--cell);
  border-radius: var(--radius-cell);
  overflow: hidden;
  padding: 56px 40px;
}
.span-6 { grid-column: span 6; }
.span-3 { grid-column: span 3; }
.cell h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.cell .copy { margin-top: 12px; font-size: 17px; color: var(--muted); text-wrap: pretty; max-width: 46ch; }
.copy p + p { margin-top: 10px; }
.copy a, .prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--fg) 35%, transparent); color: var(--fg); }
.copy strong { color: var(--fg); font-weight: 600; }
.copy code, .prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; padding: 0.1em 0.35em; border-radius: 6px; background: color-mix(in srgb, var(--fg) 7%, transparent); }

/* Hero: icon, the promise as the one headline, the film, then the one call to action. */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 32px 64px; }
.hero-icon { width: 72px; height: 72px; border-radius: 17px; font-size: 30px; margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 18ch;
  text-wrap: balance;
}
/* Turning words (hero.rotate, animated by webgrip.js): each slot clips its words top and bottom. */
.rotate { display: inline-block; position: relative; white-space: nowrap; clip-path: inset(0 -2em -0.14em -2em); }
.rotate-word { display: inline-block; }
.rotate-word.is-incoming { position: absolute; left: 0; top: 0; }
.hero h1[data-rotate] { max-width: none; }
@media (max-width: 700px) {
  /* On a phone: small enough that the first line always fits, and room for both lines whatever
     the words, so nothing below moves as they turn (two lines from 360 px up, three below). */
  .hero h1[data-rotate] { font-size: clamp(24px, 7.6vw, 36px); min-height: 2.08em; }
}
@media (max-width: 359px) { .hero h1[data-rotate] { min-height: 3.12em; } }
.brand .badge { margin-left: 2px; padding: 2px 7px; font-size: 11px; letter-spacing: 0.02em; }
.lede { margin-top: 14px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.lede p + p { margin-top: 8px; }
.get { margin-top: 40px; display: grid; justify-items: center; gap: 18px; width: 100%; }
.downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platform-glyph { width: 15px; height: 15px; }

.notify { display: grid; gap: 8px; width: min(100%, 420px); text-align: left; }
.notify label:not(.visually-hidden) { font-size: 13px; color: var(--muted); padding-left: 18px; }
.notify-row {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--field);
  box-shadow: inset 0 0 0 1px var(--field-line);
  transition: box-shadow 0.2s;
}
.notify-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--fg); }
.notify input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}
.notify input::placeholder { color: var(--muted); opacity: 1; }
.notify .btn { padding: 9px 18px; }
.status { min-height: 1.4em; font-size: 13px; color: var(--muted); padding-left: 18px; }
.status[data-state="error"] { color: var(--fg); font-weight: 500; }
.status[data-state="done"] { color: var(--fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hero-media { width: min(100%, 1080px); margin-top: 48px; }
.hero-media .media { box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.10); }

/* Media: reserved aspect ratio, light and dark sources, or a marked slot. */
.media { position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 10); overflow: hidden; background: var(--bg); border-radius: var(--radius-media); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.media .only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .media .only-dark { display: block; }
  .media .only-light { display: none; }
}
/* A film's poster button: a frosted play circle (or a pill with a label) over the poster.
   Nothing plays until it is pressed. */
.film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 76px;
  height: 76px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.5);
  color: #fff;
  font: 600 17px/1 Inter, -apple-system, system-ui, sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.film-play:not(.has-label) { width: 76px; padding: 0; }
.film-play { white-space: nowrap; }
@media (max-width: 700px) {
  .film-play { min-width: 56px; height: 56px; padding: 0 20px; font-size: 15px; }
  .film-play:not(.has-label) { width: 56px; }
  .film-play svg { width: 18px; height: 18px; }
}
.film-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.film-play.has-label svg { width: 18px; height: 18px; margin-left: 0; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film:hover .film-play { background: rgba(20, 20, 20, 0.62); }
.is-playing .film-play { display: none; }
.film video { background: var(--bg); }
.film .media { cursor: pointer; }

/* The film's own bar sits UNDER the picture: nothing is ever drawn over the film. Its room is
   always kept, so pressing play only fades it in and nothing on the page moves. */
.film-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  margin-top: 12px;
  padding: 0 10px 0 6px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  color: var(--fg);
  font: 500 13px/1 Inter, -apple-system, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.film.is-playing .film-bar { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.film-bar button {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.film-bar button:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.film-bar svg { width: 16px; height: 16px; fill: currentColor; }
.film-toggle svg:last-child { display: none; }
.is-paused .film-toggle svg:first-child { display: none; }
.is-paused .film-toggle svg:last-child { display: block; }
/* The track: a wide hit area around a thin line, so it is easy to grab and drag. */
.film-track {
  --at: 0;
  position: relative;
  flex: 1;
  height: 32px;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.film-track::before, .film-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--fg) 16%, transparent);
}
.film-fill { right: auto; width: calc(var(--at) * 100%); background: var(--fg); }
.film-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--at) * 100%);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transform: scale(0.7);
  transition: transform 0.15s var(--ease);
}
.film-track:hover .film-knob, .film-track:focus-visible .film-knob, .is-seeking .film-knob { transform: none; }
.film-track:focus-visible::before { box-shadow: 0 0 0 2px color-mix(in srgb, var(--fg) 40%, transparent); }
.film-time { min-width: 76px; text-align: right; color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) {
  .film-bar { height: 40px; margin-top: 10px; }
  .film-bar { gap: 8px; }
  .film-time { min-width: 0; font-size: 12px; }
}
/* Full screen: the picture fills the screen, the bar stays under it. */
.film:fullscreen { display: flex; flex-direction: column; padding: 16px; background: #000; --fg: #fff; --muted: #a1a1a6; }
.film:fullscreen .media { flex: 1; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #000; }
.film:fullscreen video { object-fit: contain; object-position: center; background: #000; }

.media-slot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--fg) 4%, transparent) 11px 12px),
    var(--bg);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 18%, transparent);
}
.media-slot strong { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.media-slot span { font-size: 12px; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }

/* Features: wide cells split text and media, half cells stack them. */
.feature { display: flex; flex-direction: column; }
.feature.span-6 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 56px; }
.feature.span-6.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.span-6.flip .feature-text { order: 2; }
.feature.span-3 { padding: 48px 40px 0; }
/* A stage: centred headline and line, then the picture large underneath, lit from the middle so the
   card's edges fall off like a vignette and a cutout still melts into it. */
.feature.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 56px 24px;
  text-align: center;
  background: radial-gradient(ellipse 75% 70% at 50% 62%, var(--cell-glow) 0%, var(--cell) 100%);
}
.feature.stage .copy { margin-inline: auto; max-width: 52ch; }
.feature.stage h2 { max-width: 22ch; margin-inline: auto; }
.feature.stage .feature-media { width: min(100%, 1060px); margin-top: 44px; }
/* Every stage picture gets the same height at most, whatever its shape (--ratio is "w / h"). */
.feature.stage .media.is-cutout { width: min(100%, calc(620px * var(--ratio))); margin-inline: auto; }
.feature.span-3.text-only { padding-bottom: 48px; }
.feature.span-3 .feature-media { margin-top: 36px; margin-inline: -1px; }
.feature.span-3 .media { border-radius: var(--radius-media) var(--radius-media) 0 0; }
.feature-media .media { box-shadow: 0 0 0 1px var(--line); }
.feature-media .media.is-cutout, .media.is-cutout { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.media.is-cutout img { object-fit: contain; object-position: center; }

/* Steps */
.steps h2 { margin-bottom: 36px; }
.steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--fg);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.steps li:has(.step-media)::before { display: none; }
.step-media { margin-bottom: 18px; }
.step-media .media { border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.steps li:has(.step-media) h3::before { content: counter(step) "  "; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps .copy { margin-top: 0; font-size: 15px; }

/* Pricing and requirements */
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; color: var(--muted); }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.reqs { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
.reqs h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.reqs h3 svg { width: 16px; height: 16px; }
.reqs li { font-size: 15px; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; padding: 88px 0 0; }
.faq h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .copy { margin: 0 0 20px; max-width: 62ch; font-size: 16px; }

/* Reading pages: changelog, privacy, terms, support. */
.article { max-width: 760px; margin: 0 auto; padding: 64px 20px 0; }
.article-title { font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
.article-lede { margin-top: 14px; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.prose { margin-top: 40px; }
.prose h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.prose h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose blockquote { margin: 0 0 16px; padding: 4px 0 4px 18px; box-shadow: inset 2px 0 0 var(--line); color: var(--muted); }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: var(--cell); font-size: 14px; }
.prose pre code { padding: 0; background: none; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.releases { margin-top: 48px; display: grid; gap: 16px; }
.release { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; padding: 32px; border-radius: var(--radius-cell); background: var(--cell); }
.release h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.release time { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.release .prose { margin-top: 0; }
.release .prose > :last-child { margin-bottom: 0; }
.empty { margin-top: 48px; padding: 56px 32px; border-radius: var(--radius-cell); background: var(--cell); text-align: center; }
.empty p { color: var(--muted); }
.empty p:first-child { color: var(--fg); font-size: 19px; font-weight: 600; margin-bottom: 6px; }

/* Gated download dialog */
.dialog {
  width: min(calc(100% - 24px), 440px);
  padding: 36px 32px 28px;
  border: 0;
  border-radius: var(--radius-cell);
  background: var(--cell);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.25);
}
.dialog::backdrop { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dialog h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.dialog p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.dialog .notify { margin-top: 24px; width: 100%; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.dialog-close:hover { color: var(--fg); }

/* Footer: the jhneves mark and the legal links. */
.footer {
  max-width: 1240px;
  margin: 96px auto 0;
  padding: 28px 20px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.maker { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 500; }
.maker .icon { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; letter-spacing: -0.04em; }
.maker:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a:hover { color: var(--fg); }

/* Entrance and reveal: motion explains arrival, nothing loops. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* Transform only: hero text and media stay painted, so LCP is not delayed. */
  .hero-media { animation: rise 0.9s var(--ease) both; }
  @keyframes rise { from { transform: translateY(32px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .span-3 { grid-column: span 6; }
  .feature.span-6, .feature.span-6.flip { grid-template-columns: 1fr; gap: 32px; padding: 48px 32px 0; }
  .feature.span-6.flip .feature-text { order: 0; }
  .feature.span-6 .media { border-radius: var(--radius-media) var(--radius-media) 0 0; }
  .feature.span-6.text-only { padding-bottom: 48px; }
  .faq { grid-template-columns: 1fr; padding-top: 64px; }
}

@media (max-width: 700px) {
  .bar { gap: 12px; padding: 0 16px; }
  .nav { gap: 14px; }
  .nav .nav-link { display: none; }
  .page { padding: 4px 12px 0; }
  .mosaic { gap: 12px; }
  .mosaic + .mosaic, .mosaic + section, section + .mosaic { margin-top: 12px; }
  .cell { padding: 44px 22px; border-radius: 22px; }
  .hero { padding: 52px 20px 44px; }
  .hero-icon { width: 60px; height: 60px; border-radius: 14px; font-size: 26px; margin-bottom: 20px; }
  .hero-media { margin-top: 40px; }
  .feature.span-6, .feature.span-6.flip, .feature.span-3 { padding: 40px 22px 0; }
  .feature.stage { padding: 44px 18px 12px; }
  .feature.stage .feature-media { margin-top: 28px; }
  .feature.span-6.text-only, .feature.span-3.text-only { padding-bottom: 40px; }
  .feature.span-3 .feature-media { margin-top: 28px; }
  .cell .copy { font-size: 16px; }
  .faq { padding: 56px 8px 0; }
  .article { padding: 48px 16px 0; }
  .release { grid-template-columns: 1fr; gap: 12px; padding: 24px 22px; border-radius: 22px; }
  .footer { margin-top: 72px; padding: 24px 16px 40px; }
}

@media (max-width: 380px) {
  .notify-row { flex-direction: column; border-radius: 22px; }
  .notify input[type="email"] { padding: 10px 14px; }
}
