/* =====================================================================
   Focol.io - landing v2
   Design system: dark "editor room", brand gradient blue → teal,
   glass cards, NLE motifs. Self-contained (does not need styles.css).
   ===================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #07080b;
  --bg-soft: #0b0d12;
  --fg: #eef1f6;
  --muted: rgba(238, 241, 246, 0.62);
  --faint: rgba(238, 241, 246, 0.42);

  --blue: #4d8af0;
  --blue-deep: #2f6ede;
  --teal: #4fd1c5;
  --amber: #f0b64d;
  --violet: #8b7bf0;

  --grad: linear-gradient(100deg, #4d8af0 0%, #4d8af0 55%, #55c3e8 100%);
  --grad-soft: linear-gradient(100deg, rgba(77, 138, 240, 0.16), rgba(79, 209, 197, 0.14));

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.032);
  --glass-2: rgba(255, 255, 255, 0.055);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.4);

  --wide: 78rem;
  --text: 46rem;
  /* Home modules (titles, leads, compare, cards): one measure, laptop-sized. */
  --measure: 62rem;

  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Bridge for the legacy variable names: inner pages (features, videos,
     what-is, legal) still load styles.css for their content markup, and
     its rules read these. Mapped to v2 values so they repaint themselves. */
  --accent: #4d8af0;
  --accent-glow: rgba(77, 138, 240, 0.32);
  --panel: rgba(255, 255, 255, 0.032);
  --panel-border: rgba(255, 255, 255, 0.08);
  --content-max: 46rem;
  --wide-max: 78rem;
  --text-max: 46rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* beats any component display rule when JS hides a block */
[hidden] { display: none !important; }

::selection { background: rgba(77, 138, 240, 0.35); }

.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;
}

/* skip link: visible once focused */
a.sr-only:focus {
  position: fixed;
  top: 0.6rem; left: 0.6rem;
  z-index: 100;
  width: auto; height: auto;
  margin: 0; padding: 0.6rem 1rem;
  clip: auto;
  border-radius: 999px;
  background: var(--grad);
  color: #04121f;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------------------------------------------ *
   Ambient background
 * ------------------------------------------------------------------ */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.ambient::before {
  width: 70vw; height: 70vw;
  top: -32vw; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77, 138, 240, 0.22), transparent 62%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.ambient::after {
  width: 55vw; height: 55vw;
  top: 45vh; right: -18vw;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.13), transparent 60%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 22%, #000 10%, transparent 72%);
}

@keyframes drift-a {
  from { transform: translateX(-52%) translateY(0) scale(1); }
  to   { transform: translateX(-46%) translateY(4vh) scale(1.08); }
}
@keyframes drift-b {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-8vh) scale(1.12); }
}

/* ------------------------------------------------------------------ *
   Scroll progress + nav
 * ------------------------------------------------------------------ */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 40;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  background: rgba(7, 8, 11, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.is-stuck {
  background: rgba(7, 8, 11, 0.92);
  border-bottom-color: var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.nav-brand img { width: 1.4rem; height: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover { color: var(--fg); background: var(--glass-2); }
.nav-links a.is-active { color: var(--fg); }
.nav-links a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin: 0.28rem 0.2rem -0.15rem;
  border-radius: 2px;
  background: var(--grad);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.lang a { text-decoration: none; padding: 0.2rem 0.3rem; border-radius: 5px; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { color: var(--teal); }
.lang span { opacity: 0.35; }

/* small screens: the links wrap under the brand and scroll sideways
   instead of disappearing */
@media (max-width: 979px) {
  .nav { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
  .nav-links {
    order: 3;
    flex: 1 1 100%;
    margin: 0;
    padding-bottom: 0.15rem;
  }
  .nav-links a { font-size: 0.78rem; padding: 0.35rem 0.55rem; }
}

/* ------------------------------------------------------------------ *
   Buttons
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.76rem; }

.btn-primary {
  color: #04121f;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(77, 138, 240, 0.28);
}

/* Beat legacy styles.css (.btn-primary { color:#fff }) and
   body.legal-page a { color: teal } so the CTA stays dark on the pill. */
a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
.nav-end .btn-primary,
.nav-end a.btn-primary,
body.legal-page a.btn-primary,
body.legal-page .nav-end .btn-primary {
  color: #04121f;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(77, 138, 240, 0.42);
  color: #04121f;
}

.btn-ghost {
  color: var(--fg);
  background: var(--glass);
  border-color: var(--line-2);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: var(--glass-2);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.btn .ico { width: 1rem; height: 1rem; flex: none; }

/* ------------------------------------------------------------------ *
   Layout & shared type
 * ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2rem);
}

section { position: relative; }

.section {
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

/* A section's top padding is the rhythm between sections, not a landing gap.
   On an anchor target it stacks on top of scroll-padding-top and you arrive
   on a screenful of emptiness, so absorb it: the eyebrow then lands at a
   constant 5.5rem from the top of the viewport at every breakpoint. */
.section[id] {
  scroll-margin-top: calc(-1 * clamp(3.25rem, 6.5vw, 5.5rem));
}

.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .section-lead {
  margin: 0.85rem 0 0;
  max-width: var(--measure);
  font-size: clamp(1rem, 1.55vw, 1.1rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.section-head.is-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}

.is-center .eyebrow::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

h2, h3 { letter-spacing: -0.03em; line-height: 1.12; font-weight: 700; }

h2 { font-size: clamp(1.65rem, 3.15vw, 2.42rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

.lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ------------------------------------------------------------------ *
   Cards (glass + cursor spotlight)
 * ------------------------------------------------------------------ */

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

/* ---- cursor spotlight ----------------------------------------------
   The framed blocks that are not .card get it too. This selector list is
   mirrored by SPOT_SELECTOR in v2.js: a block listed here but not there
   would glow from a fixed point instead of following the pointer.
   -------------------------------------------------------------------- */

.price-card,
.faq-item,
.scenario-card,
.whatis-direct,
.video-card,
.features-final {
  position: relative;
}

.card::before,
.price-card::before,
.faq-item::before,
.scenario-card::before,
.whatis-direct::before,
.video-card::before,
.features-final::before {
  content: "";
  position: absolute;
  inset: 0;
  /* rounds the glow with the frame, so no overflow: hidden is needed and
     nothing that legitimately overflows a card gets clipped */
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.28s ease;
  background: radial-gradient(
    16rem 16rem at var(--mx, 50%) var(--my, 0%),
    rgba(79, 209, 197, 0.13),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.card:hover { border-color: var(--line-2); }

.card:hover::before,
.price-card:hover::before,
.faq-item:hover::before,
.scenario-card:hover::before,
.whatis-direct:hover::before,
.video-card:hover::before,
.features-final:hover::before { opacity: 1; }

/* ------------------------------------------------------------------ *
   Hero
 * ------------------------------------------------------------------ */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1rem, 3vw, 2rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  border: 1px solid rgba(79, 209, 197, 0.28);
  border-radius: 999px;
  background: rgba(79, 209, 197, 0.06);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(238, 241, 246, 0.88);
}

.hero-badge b {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--grad);
  color: #04121f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 1.35rem 0 0.7rem;
  font-size: clamp(1.75rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--fg);
}

/* the SEO H1 keeps the keyword line, but the slogan carries the hero */
.hero h1 {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(238, 241, 246, 0.86);
}

.hero-sub {
  margin-top: 1.1rem;
  max-width: 48rem;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-sub strong { color: var(--fg); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.15rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--faint);
}

.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; }

.hero-trust li::before {
  content: "";
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(79, 209, 197, 0.8);
}

/* ---- Hero stage: layered app windows ---- */

.stage {
  position: relative;
  perspective: 1400px;
}

.win {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, #14171e, #0a0c10);
  box-shadow: var(--shadow);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.win-dots { display: flex; gap: 0.3rem; }
.win-dots i {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.win-dots i:first-child { background: rgba(240, 100, 100, 0.55); }
.win-dots i:nth-child(2) { background: rgba(240, 182, 77, 0.55); }
.win-dots i:nth-child(3) { background: rgba(79, 209, 197, 0.55); }

.win-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-back { display: none; }

.stage-front {
  position: relative;
  z-index: 2;
  width: min(21rem, 78vw);
  margin: 0 auto;
}

.stage-front video,
.stage-front img { width: 100%; height: auto; }

@media (min-width: 1000px) {
  .stage { min-height: 30rem; }

  .stage-back {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: -1rem;
    width: 88%;
    transform: rotateY(9deg) rotateX(3deg) rotate(-1.2deg);
    transform-origin: left center;
  }

  .stage-back .win-body {
    height: 21rem;
    overflow: hidden;
    /* soften the crop so the window reads as "more below" */
    mask-image: linear-gradient(180deg, #000 62%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  }

  .stage-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0.9;
  }

  .stage-front {
    margin: 0 0 0 auto;
    width: 58%;
    transform: translateY(2.5rem) rotate(0.6deg);
  }
}

.stage-glow {
  position: absolute;
  inset: 8% 4% 2%;
  z-index: 0;
  border-radius: 40%;
  background: radial-gradient(closest-side, rgba(77, 138, 240, 0.32), transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}

/* ---- Camera brand marquee ---- */

.marquee-wrap { padding: clamp(1.5rem, 4vw, 2.75rem) 0 0; }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-label {
  margin-bottom: 1rem;
  text-align: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  /* margin, not gap: keeps both halves exactly equal so the loop is seamless */
  margin-right: 2.6rem;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(238, 241, 246, 0.34);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.marquee-track span:hover { color: var(--fg); }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ *
   Before / after: two synced panel captures
 * ------------------------------------------------------------------ */

/* Full .wrap width, like the other section blocks. */
.compare-shell {
  max-width: none;
}

.compare-shell--resolve {
  margin-top: 2.75rem;
}

.compare-nle {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.compare-pair {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

@media (min-width: 820px) {
  .compare-pair {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
  }
}

.compare-win {
  width: 100%;
}

.compare-win video {
  width: 100%;
  /* portrait panel captures: crop to a readable height instead of a
     900px tall column, and fade the cut */
  height: 20rem;
  object-fit: cover;
  object-position: top center;
  mask-image: linear-gradient(180deg, #000 84%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent);
}

/* Wider panels: keep the capture readable by giving it more height. */
@media (min-width: 820px) {
  .compare-win video { height: 26rem; }
}

.compare-win.is-after {
  border-color: rgba(79, 209, 197, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(79, 209, 197, 0.12);
}

.compare-tag {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-tag.is-before {
  color: rgba(240, 182, 77, 0.95);
  border-color: rgba(240, 182, 77, 0.35);
  background: rgba(240, 182, 77, 0.08);
}

.compare-tag.is-after {
  color: var(--teal);
  border-color: rgba(79, 209, 197, 0.4);
  background: rgba(79, 209, 197, 0.08);
}

.compare-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.compare-arrow-badge {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--grad);
  color: #04121f;
  box-shadow: 0 0 26px rgba(77, 138, 240, 0.45);
}

.compare-arrow-badge svg { width: 1.15rem; height: 1.15rem; }

.compare-arrow-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--faint);
}

@media (max-width: 819px) {
  .compare-arrow-badge { transform: rotate(90deg); }
}

.compare-foot {
  margin-top: 1.25rem;
  text-align: center;
}

.compare-foot .mono-note {
  margin: 0 auto;
  color: var(--teal);
}

@media (min-width: 820px) {
  .compare-foot .mono-note {
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------ *
   Fake NLE timeline (media types)
 * ------------------------------------------------------------------ */

.scope-grid {
  display: grid;
  gap: 1.25rem;
}

.nle {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #101319, #090b0f);
  box-shadow: var(--shadow-sm);
}

.nle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.nle-head b { color: rgba(238, 241, 246, 0.8); font-weight: 500; }

.nle-body {
  position: relative;
  padding: 0.9rem 1rem 1.1rem;
}

.nle-ruler {
  height: 0.9rem;
  margin: 0 0 0.6rem 3.2rem;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 1px,
    transparent 1px 6.25%
  );
}

.nle-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.nle-tag {
  width: 2.65rem;
  flex: none;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.nle-lane {
  position: relative;
  flex: 1;
  height: 2rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.028);
}

.nle-clip {
  position: absolute;
  top: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  padding: 0 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: rgba(6, 12, 20, 0.85);
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  animation: clip-in 0.5s both;
}

.nle-clip.k-blue  { background: linear-gradient(180deg, #6ea3f6, #3f78dd); }
.nle-clip.k-teal  { background: linear-gradient(180deg, #6fdccf, #34ad9f); }
.nle-clip.k-amber { background: linear-gradient(180deg, #f3c76e, #d99b2c); }
.nle-clip.k-violet{ background: linear-gradient(180deg, #a396f5, #7362e0); }
.nle-clip.k-audio {
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.22), rgba(79, 209, 197, 0.1));
  border-color: rgba(79, 209, 197, 0.4);
  color: rgba(79, 209, 197, 0.9);
  padding: 0;
}

.nle-clip.k-audio svg { width: 100%; height: 100%; }

@keyframes clip-in {
  from { opacity: 0; transform: translateY(4px) scaleX(0.94); }
  to { opacity: 1; transform: none; }
}

/* The playhead lives in a box spanning the lanes, so the sweep is a plain
   0 -> 100% of that box and needs no magic pixel value. */
.nle-scrub {
  position: absolute;
  top: 0.9rem;
  bottom: 1rem;
  left: 4.2rem;
  right: 1rem;
  pointer-events: none;
}

.nle-play {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  animation: playhead 9s linear infinite;
}

.nle-play::before {
  content: "";
  position: absolute;
  top: -3px; left: -4px;
  width: 9px; height: 7px;
  border-radius: 2px;
  background: #fff;
}

@keyframes playhead {
  from { left: 0; }
  to { left: 100%; }
}

.type-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
}

@media (min-width: 640px) {
  .type-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .type-list { grid-template-columns: 1fr 1fr 1fr; }
}

.type-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 0.6rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.3rem;
  align-items: start;
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
}

.type-list i {
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.4rem;
  border-radius: 3px;
  grid-column: 1;
  grid-row: 1;
}

.type-list b {
  grid-column: 2;
  grid-row: 1;
  font-weight: 600;
}

.type-list span {
  grid-column: 2;
  grid-row: 2;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------------ *
   Steps
 * ------------------------------------------------------------------ */

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  padding: 1.5rem 1.4rem 1.6rem;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(79, 209, 197, 0.35);
  background: rgba(79, 209, 197, 0.08);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
}

.step h3 { font-size: 1.06rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.step p { font-size: 0.9rem; color: var(--muted); }

.step-kbd {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(238, 241, 246, 0.75);
}

.panel-shot {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .panel-shot { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}

.panel-notes { max-width: 34rem; }

.panel-shot .win { max-width: 15rem; margin: 0 auto; }
.panel-shot .win img { width: 100%; height: auto; }

.panel-notes { display: grid; gap: 0.75rem; }

.panel-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-note b {
  flex: none;
  min-width: 4.6rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 0.2rem;
}

/* ------------------------------------------------------------------ *
   Feature bento
 * ------------------------------------------------------------------ */

.bento {
  display: grid;
  gap: 1rem;
}

/* 760 - 1079px: the 8 tiles are a plain 2 x 4 grid, every tile the same
   size (no full-width b-a / b-h). The 6-column bento resumes at 1080px. */
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .b-a { grid-column: span 4; }
  .bento .b-b { grid-column: span 2; }
  .bento .b-c { grid-column: span 2; }
  .bento .b-d { grid-column: span 2; }
  .bento .b-e { grid-column: span 2; }
  /* last row, 3 across like the middle one: 4 + 2, then 2+2+2, then 2+2+2 */
  .bento .b-f { grid-column: span 2; }
  .bento .b-g { grid-column: span 2; }
  .bento .b-h { grid-column: span 2; }
}

.tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.tile-copy { padding: 1.35rem 1.35rem 1.1rem; }

.tile-kicker {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.tile h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.tile p {
  font-size: 0.89rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Grows into whatever height the grid row gives the tile, so a short card
   next to a tall one shows more screenshot instead of an empty gap. */
.tile-media {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  /* definite height so the img height:100% resolves; flex still lets it
     grow when the grid row is taller */
  flex: 1 1 auto;
  height: 11rem;
  min-height: 11rem;
  mask-image: linear-gradient(180deg, #000 62%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* these are tall panel captures: the content of interest sits above
     the middle, never at the very top */
  object-position: center 38%;
  transform: scale(1.01);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile:hover .tile-media img { transform: scale(1.07); }

.tile-media.is-tall { height: 14rem; min-height: 14rem; }
.tile-media.is-top img { object-position: top center; }
.tile-media.is-mid img { object-position: center; }

/* wide UI capture: show it whole instead of slicing it */
.tile-media.is-contain {
  padding: 0 1.35rem 1.35rem;
  mask-image: none;
  -webkit-mask-image: none;
}

.tile-media.is-contain img { object-fit: contain; object-position: center; }

.tile-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
}

.tile:hover .tile-more { color: var(--teal); }
.tile-more svg { width: 0.85rem; height: 0.85rem; transition: transform 0.2s ease; }
.tile:hover .tile-more svg { transform: translateX(3px); }

/* pair layout inside a wide tile */
.tile.is-split { }

@media (min-width: 1080px) {
  .tile.is-split { flex-direction: row; align-items: stretch; }
  .tile.is-split .tile-copy { flex: 1 1 46%; align-self: center; }
  .tile.is-split .tile-media {
    flex: 0 0 54%;
    /* fixed, so the tallest tile does not blow up the whole bento row */
    height: 19rem;
    min-height: 0;
    margin-top: 0;
    mask-image: linear-gradient(90deg, transparent, #000 22%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chip:hover { color: var(--fg); border-color: var(--line-2); background: var(--glass-2); }

.features-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ------------------------------------------------------------------ *
   Proof band: privacy + payback quote
 * ------------------------------------------------------------------ */

.proof {
  display: grid;
  gap: 1rem;
  max-width: var(--measure);
}

.proof-quote {
  max-width: var(--measure);
  text-align: center;
}

.proof-quote .quote-cite {
  display: block;
}

.proof-stat {
  margin: 1.65rem auto 0;
  max-width: 32rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-stat .stat-v {
  font-size: clamp(2.1rem, 4.6vw, 2.75rem);
}

.proof-stat .stat-l {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.proof-quote .proof-line {
  margin: 1rem auto 0;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.proof-card { padding: clamp(1.5rem, 3vw, 2.2rem); }

.community-card .community-actions {
  margin-top: 1.25rem;
}

.shield {
  display: inline-grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(79, 209, 197, 0.3);
  background: rgba(79, 209, 197, 0.08);
  color: var(--teal);
}

.shield svg { width: 1.3rem; height: 1.3rem; }

.proof-card h3 { margin-bottom: 0.75rem; }
.proof-card p { color: var(--muted); font-size: 0.94rem; }
.proof-card p + p { margin-top: 0.7rem; }

.proof-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 209, 197, 0.35);
}

.stats { display: grid; gap: 1rem; }

.stat {
  padding: 1.4rem 1.35rem;
}

.stat-v {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-l {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.stat-src {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(238, 241, 246, 0.34);
}

.stat-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.stat-src a:hover { color: var(--muted); }

/* ------------------------------------------------------------------ *
   Quote
 * ------------------------------------------------------------------ */

.quote-wrap {
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 3.5rem;
  line-height: 0.6;
  font-weight: 700;
  color: rgba(79, 209, 197, 0.35);
}

.quote-text {
  margin: 1.25rem 0 1.25rem;
  font-size: clamp(1.2rem, 2.9vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.quote-tr {
  font-size: 0.92rem;
  color: var(--faint);
  font-style: italic;
}

.quote-cite {
  display: block;
  margin-top: 1.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

.quote-cite a { color: var(--teal); text-decoration: none; }
.quote-cite a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ *
   Pricing
 * ------------------------------------------------------------------ */

/* Same width and same column rhythm as .price-solo-grid below, so the
   packshot + card row lines up with the two Solo cards. */
.price-grid {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

/* Three columns like .price-solo-grid: the packshot takes the first two,
   the card sits in the third and lines up with the Studios card. */
@media (min-width: 1000px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-grid > .pack { grid-column: span 2; }
  .price-grid.is-single { grid-template-columns: minmax(0, 30rem); justify-content: center; }
}

/* Packshot */
.pack {
  position: relative;
  display: grid;
  place-items: center;
}

.pack::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 138, 240, 0.3), transparent 72%);
  filter: blur(45px);
  z-index: 0;
}

/* The render already carries its own dark background and shadow: no radius
   and no drop-shadow here, they would outline the image rectangle. */
.pack img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  /* alpha cut-out: no frame, and the shadow follows the silhouette */
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.55));
}

.price-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #14171e, #0c0e13) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-sm);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.6rem 0 0.15rem;
}

.price-tag b {
  font-size: clamp(2.3rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-tag span { color: var(--faint); font-size: 0.9rem; }

.price-note { font-size: 0.8rem; color: var(--faint); }

.price-list { margin: 1.35rem 0; display: grid; gap: 0.6rem; }

.price-list li {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(238, 241, 246, 0.82);
}

.price-list svg { width: 1.05rem; height: 1.05rem; flex: none; color: var(--teal); margin-top: 0.12rem; }

.price-actions { display: grid; gap: 0.6rem; }
.price-actions .btn { width: 100%; }

.price-actions .link-plain {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem;
}

.price-actions .link-plain:hover { color: var(--fg); }

/* 07 / pricing: this lead is short enough for one line on a wide screen. */
#beta > .wrap > .section-head,
#beta > .wrap > .section-head .lead {
  max-width: none;
}

.price-launch {
  margin: 0 auto 1.75rem;
  max-width: var(--measure);
  text-align: center;
}

.price-launch .mono-note { margin-bottom: 0.85rem; }

.price-countdown { margin: 0 auto 1rem; }

/* Offer label + end date share one line above the digits. */
.price-countdown-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  margin: 0 0 0.85rem;
}

.price-countdown-head .mono-note { margin: 0; }

.price-countdown-label {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.price-countdown-digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.price-countdown-cell {
  padding: 0.65rem 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
}

.price-countdown-value {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.price-countdown-unit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.price-countdown-end {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal);
}

.price-launch-anchor {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.price-solo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

/* Solo perpetual / Studios: one row, two equal columns.
   Below 900px there is not enough room, so they stack. */
@media (min-width: 900px) {
  .price-solo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
}

.price-card .price-tag { margin: 0.35rem 0 0.25rem; }

.price-was {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.875rem;
  color: var(--faint);
}

.price-strike {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.price-strike::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 52%;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-22deg);
  pointer-events: none;
}

.price-keep {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.price-bill {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

/* Align Solo / Studios CTAs on the same row (desktop) via shared subgrid rows. */
.price-solo-grid > .price-card {
  display: flex;
  flex-direction: column;
}

.price-card-top {
  display: flex;
  flex-direction: column;
}

.price-card-top > .price-actions {
  margin-top: 0.15rem;
}

.price-card-body {
  margin-top: 1rem;
  flex: 1 1 auto;
}

.price-card-badge-spacer,
.price-was--spacer {
  margin: 0;
  min-height: 1.15rem;
  visibility: hidden;
  pointer-events: none;
}

.price-solo-grid > .price-card > .price-actions { margin-top: 0; }

.price-solo-grid > .price-card:not(.price-card--studio) > .price-actions {
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .price-solo-grid {
    /* title, subtitle, badge, price, was, bill, actions, body */
    grid-template-rows: auto auto auto auto auto auto auto 1fr;
    align-items: stretch;
  }

  .price-solo-grid > .price-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 8;
    align-items: start;
  }

  /* Lift top children into the card subgrid so both cards share row heights. */
  .price-solo-grid > .price-card > .price-card-top {
    display: contents;
  }

  .price-solo-grid > .price-card > .price-card-body {
    margin-top: 1.05rem;
    align-self: stretch;
  }

  .price-solo-grid > .price-card > .price-card-top > .price-actions,
  .price-solo-grid > .price-card .price-actions {
    margin-top: 0;
    width: 100%;
  }
}

.price-renew-band {
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(16, 28, 40, 0.72), rgba(10, 14, 22, 0.55));
}

.price-renew-band .mono-note {
  margin: 0 0 0.85rem;
}

.price-renew-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 1.25rem;
  margin: 0 0 0.85rem;
}

@media (min-width: 720px) {
  .price-renew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-renew-col {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.18);
}

.price-renew-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.price-renew-value {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--fg);
}

.price-renew-value b {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.price-renew-ex {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--faint);
}

.price-renew-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.price-renew-band p:last-child {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.price-card--studio {
  margin-bottom: 0;
  text-align: center;
}

.price-card--studio .price-tag {
  justify-content: center;
}

.price-card--studio .price-list {
  justify-items: center;
}

.price-card--studio .price-list li {
  justify-content: center;
}

.price-card--studio .price-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
}

/* Solo aligne comme Studios (grille 2 cartes) */
.price-solo-grid > .price-card {
  text-align: center;
}

.price-solo-grid > .price-card .price-tag {
  justify-content: center;
}

.price-solo-grid > .price-card .price-list {
  justify-items: center;
}

.price-solo-grid > .price-card .price-list li {
  justify-content: center;
}

.price-solo-grid > .price-card .mono-note.pricing-beta {
  color: var(--teal);
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.price-quote-fallback {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.price-quote-fallback--spacer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.price-quote-fallback a {
  color: #8eb6f8;
  text-decoration: none;
}

.price-quote-fallback a:hover {
  color: #b7d0fb;
  text-decoration: underline;
}

.price-card--studio .price-studio-fold {
  text-align: left;
  /* breathing room between the fold and the CTA below it */
  margin-bottom: 1.15rem;
}

.price-card--studio .price-studio-fold > summary { text-align: center; }

/* The Solo cards have no sub-line under the plan name: reserve its height when
   the three cards sit side by side, so the three prices share one line. */
.price-pack-spacer { display: none; }

@media (min-width: 1000px) {
  .price-pack-spacer { display: block; }
}

.price-studio-pack {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

h3.price-studio-pack {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
}

p.price-studio-pack {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-studio-fold {
  margin-top: 1.15rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.price-studio-fold > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.price-studio-fold > summary::-webkit-details-marker { display: none; }

.price-studio-fold > summary:hover { color: var(--fg); }

.price-studio-note {
  margin: 0.75rem 0 0.85rem;
  font-size: 0.8125rem;
  color: var(--faint);
}

.price-table-wrap { overflow-x: auto; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.price-table th,
.price-table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.price-table-featured td {
  background: rgba(77, 138, 240, 0.12);
  color: var(--fg);
}

.price-table td .price-strike {
  margin-left: 0.5em;
  opacity: 0.55;
  font-weight: 500;
  white-space: nowrap;
}

.price-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.price-foot-actions .link-plain {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.price-foot-actions .link-plain:hover { color: var(--fg); }

/* ------------------------------------------------------------------ *
   FAQ
 * ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] { border-color: rgba(79, 209, 197, 0.28); background: rgba(79, 209, 197, 0.035); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.9rem; height: 0.9rem;
  background:
    linear-gradient(var(--teal), var(--teal)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 1.5px 100% no-repeat;
  transition: transform 0.24s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.faq-item[open] summary::after { transform: rotate(45deg); opacity: 1; }
.faq-item summary:hover::after { opacity: 1; }

.faq-body {
  padding: 0 1.15rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  animation: faq-in 0.26s ease;
}

.faq-body p + p { margin-top: 0.6rem; }
.faq-body a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(79, 209, 197, 0.35); }
.faq-body strong { color: rgba(238, 241, 246, 0.9); }

.faq-cams {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
}

.faq-cams li { list-style: none; }
.faq-cams b { color: rgba(238, 241, 246, 0.88); font-weight: 600; }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ *
   Final CTA
 * ------------------------------------------------------------------ */

.final {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.35rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(77, 138, 240, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  text-align: center;
}

.final::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.final h2 { max-width: var(--measure); margin: 0 auto; }
.final .lead { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.final .btn { margin-top: 1.75rem; }
.final .mono-note { margin-top: 1rem; }

/* ------------------------------------------------------------------ *
   Footer
 * ------------------------------------------------------------------ */

.footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--faint);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  text-decoration: none;
}

.footer-brand img { width: 1.25rem; height: 1.25rem; }

.footer h4 {
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238, 241, 246, 0.5);
}

.footer-links { display: grid; gap: 0.45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--fg); }

.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-social a:hover { color: var(--fg); border-color: var(--line-2); background: var(--glass-2); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.footer-bottom img { height: 1.6rem; width: auto; opacity: 0.55; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--fg); }
.footer-bottom .spacer { margin-left: auto; }

/* ------------------------------------------------------------------ *
   Trial modal (driven by main.js)
 * ------------------------------------------------------------------ */

body.trial-modal-open { overflow: hidden; }
.trial-modal[hidden] { display: none !important; }

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.trial-modal-panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  padding: 1.85rem 1.6rem 1.45rem;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, #14171e, #0a0c10);
  box-shadow: var(--shadow);
  animation: trial-modal-in 0.28s ease-out;
  font-family: var(--font);
}

@keyframes trial-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.trial-modal-x {
  position: absolute;
  top: 0.65rem; right: 0.7rem;
  width: 2rem; height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.trial-modal-x:hover { color: var(--fg); background: var(--glass-2); }

.trial-modal-title {
  margin: 0 1.5rem 0.7rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.trial-modal-lead {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.trial-modal-steps {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(238, 241, 246, 0.82);
}

.trial-modal-steps li { margin: 0.4rem 0; }

.trial-modal-scan {
  margin: 0 0 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(110, 168, 254, 0.22);
  border-radius: 10px;
  background: rgba(110, 168, 254, 0.06);
}

.trial-modal-scan.is-clean {
  border-color: rgba(74, 192, 132, 0.38);
  background: rgba(74, 192, 132, 0.1);
}

.trial-modal-scan.is-flagged {
  border-color: rgba(230, 168, 70, 0.42);
  background: rgba(230, 168, 70, 0.1);
}

.trial-modal-scan-title {
  margin: 0 0 0.28rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(240, 242, 245, 0.58);
}

.trial-modal-scan-result {
  margin: 0 0 0.28rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: rgba(240, 242, 245, 0.95);
}

.trial-modal-scan.is-clean .trial-modal-scan-result {
  color: #7dd3a8;
}

.trial-modal-scan.is-flagged .trial-modal-scan-result {
  color: #e8c07a;
}

.trial-modal-scan-body {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(240, 242, 245, 0.58);
}

.trial-modal-scan-body a {
  color: rgba(180, 210, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trial-modal-scan.is-clean .trial-modal-scan-body a {
  color: rgba(160, 220, 190, 0.95);
}

.trial-modal-scan-body a:hover {
  color: var(--fg);
}

.trial-modal-block-note {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(240, 242, 245, 0.48);
}

.trial-modal-form { margin: 0; }

.trial-modal-field { display: block; margin: 0 0 0.85rem; }

.trial-modal-os {
  border: 0;
  margin: 0 0 0.95rem;
  padding: 0;
  min-inline-size: 0;
}

.trial-modal-os-legend {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #8b93a7);
}

.trial-modal-os-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.trial-modal-os-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.72rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg, #f0f2f5);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

.trial-modal-os-option:has(input:checked) {
  border-color: rgba(77, 138, 240, 0.75);
  background: rgba(77, 138, 240, 0.14);
}

.trial-modal-os-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trial-modal-field input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0c0e12;
  color: var(--fg);
  font: inherit;
  font-size: 0.92rem;
}

.trial-modal-field input[type="email"]:focus {
  outline: 2px solid #4d8af0;
  outline-offset: 1px;
}

.trial-modal-optin {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}

.trial-modal-optin input { margin-top: 0.2rem; flex-shrink: 0; }

.trial-modal-optin-micro {
  margin: 0 0 1rem;
  padding-left: 1.55rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--faint);
}

.trial-modal-error {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: #f0a0a0;
}

.trial-modal-actions .btn { width: 100%; }

.trial-modal-mail-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted, rgba(240, 242, 245, 0.72));
  text-align: center;
}

.trial-modal-mail-note[hidden] {
  display: none !important;
}

/* Ghost CTA in the trial modal only — does not change landing .btn-ghost. */
.trial-modal-panel .trial-modal-actions .btn.btn-ghost.trial-modal-download {
  background: transparent;
  background-image: none;
  border: 1px solid var(--blue);
  color: #8eb6f8;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
  transform: none;
}

.trial-modal-panel .trial-modal-actions .btn.btn-ghost.trial-modal-download:hover:not(:disabled) {
  background: rgba(77, 138, 240, 0.1);
  border-color: #6ea0f5;
  color: #b7d0fb;
  transform: none;
  filter: none;
  box-shadow: none;
}

.trial-modal-actions .btn[disabled] {
  opacity: 0.55;
  cursor: wait;
  box-shadow: none;
}

.trial-modal-download.is-disabled,
.trial-modal-download[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: auto;
}

.trial-modal-legal {
  margin-top: 1rem;
  font-size: 0.74rem;
  color: var(--faint);
}

.trial-modal-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.trial-modal-legal a:hover { color: var(--fg); }

/* ------------------------------------------------------------------ *
   Reveal on scroll
 * ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ *
   Reduced motion
 * ------------------------------------------------------------------ */

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

  .reveal { opacity: 1; transform: none; transition: none; }

  .ambient::before,
  .ambient::after,
  .marquee-track,
  .nle-play,
  .nle-clip,
  .trial-modal-panel {
    animation: none !important;
  }

  .btn:hover,
  .tile:hover .tile-media img { transform: none; }
}

/* ==================================================================== *
   INNER PAGES (features / videos / what-is / legal)
   These pages keep their legacy content markup and load styles.css
   first, then this file. Everything below either restyles that markup
   with v2 tokens or adds the v2 page chrome.
 * ==================================================================== */

/* legacy button alias */
.btn-secondary {
  color: var(--fg);
  background: var(--glass);
  border-color: var(--line-2);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--glass-2);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

/* ---- page hero (shared by every inner page) ---- */

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}

.page-back:hover { color: var(--teal); }

/* ---- inner page main wrappers ---- */

.features-main,
.videos-main,
.whatis-main {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2rem) 2rem;
}

.features-hero,
.videos-hero,
.whatis-hero {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  display: block;
}

.features-hero h1,
.videos-hero h1,
.whatis-hero h1 {
  max-width: 65rem;
  font-size: clamp(1.95rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.features-kicker,
.videos-kicker,
.whatis-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.features-kicker::before,
.videos-kicker::before,
.whatis-kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}

.features-intro,
.videos-intro,
.whatis-lead {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  color: var(--muted);
}

/* ---- features page: sticky table of contents ---- */

.features-layout {
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

body.features-page .features-detail {
  padding-bottom: min(42vh, 22rem);
}

body.features-page .fd-section {
  scroll-margin-top: 5.75rem;
}

.features-toc {
  position: sticky;
  top: 5rem;
  padding: 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

/* One scroll box only: the desktop nav. Do not also overflow .features-toc
   or the last links (Simple sort / Tri simple) stay clipped until unstick. */
.features-toc-nav--desktop {
  max-height: calc(100vh - 6.75rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding-right: 0.2rem;
}

.features-toc-nav--desktop::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.features-toc-nav {
  display: grid;
  gap: 0.1rem;
}

.features-toc-nav a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  color: var(--faint);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.35;
  border-left: 2px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.features-toc-nav a:hover {
  color: var(--fg);
  background: var(--glass-2);
}

.features-toc-nav a.is-active,
.features-toc-nav a[aria-current="true"] {
  color: var(--fg);
  background: rgba(79, 209, 197, 0.08);
  border-left-color: var(--teal);
  font-weight: 600;
}

.features-toc-nav .features-toc-home {
  margin-bottom: 0.35rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.features-toc-mobile summary {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  list-style: none;
}

.features-toc-mobile summary::-webkit-details-marker { display: none; }

@media (max-width: 920px) {
  .features-layout { grid-template-columns: minmax(0, 1fr); }
  .features-toc {
    position: static;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
  }
  .features-toc-nav--desktop {
    max-height: none;
    overflow: visible;
  }
}

/* ---- feature detail sections ---- */

/* the workflow cards of what-is are anchor targets too, and styles.css gives
   them +5rem, which stacks the same way */
.scenario-card { scroll-margin-top: -1.15rem; }

.fd-section {
  /* same rule as .section[id]: this used to be +5.5rem, which stacked on the
     5.5rem scroll-padding-top for 11rem of offset before its own padding */
  scroll-margin-top: calc(-1 * clamp(2rem, 4vw, 3rem));
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.fd-section h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fd-lead {
  max-width: 44rem;
  margin-top: 0.7rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.fd-body {
  max-width: 44rem;
  margin-top: 1.25rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(238, 241, 246, 0.78);
}

.fd-body p + p,
.fd-body ul,
.fd-body ol { margin-top: 0.75rem; }

.fd-body ul,
.fd-body ol { padding-left: 1.15rem; }

.fd-body li { margin: 0.3rem 0; }

.fd-body strong { color: var(--fg); font-weight: 600; }

.fd-body a,
.fd-lead a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 209, 197, 0.35);
}

.fd-media { margin-top: 1.25rem; }

.media-frame {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: var(--shadow-sm);
}

/* ---- carousel built by features.js ---- */

.fd-carousel-stage {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.fd-carousel-nav {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(8px);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.fd-carousel-nav:hover {
  background: rgba(79, 209, 197, 0.14);
  border-color: rgba(79, 209, 197, 0.4);
}

.fd-carousel-thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: border-color 0.18s ease, opacity 0.18s ease;
  opacity: 0.65;
}

.fd-carousel-thumb:hover { opacity: 1; }

.fd-carousel-thumb.is-active,
.fd-carousel-thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.35);
}

.fd-zoomable { cursor: zoom-in; }

/* ---- lightbox ---- */

.fd-lightbox {
  z-index: 1300;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(10px);
}

.fd-lightbox-img {
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

.fd-lightbox-cap {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-align: center;
}

.fd-lightbox-close,
.fd-lightbox-prev,
.fd-lightbox-next {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.82);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.fd-lightbox-close:hover,
.fd-lightbox-prev:hover,
.fd-lightbox-next:hover {
  background: rgba(79, 209, 197, 0.16);
  border-color: rgba(79, 209, 197, 0.45);
}

/* ---- videos page ---- */

.videos-section { padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }

.videos-section h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
}

.videos-section-lead {
  max-width: 42rem;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: none;
}

.videos-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.videos-toc a {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.videos-toc a:hover { color: var(--fg); border-color: var(--line-2); background: var(--glass-2); }

.videos-channel,
.videos-final {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.videos-channel-note { color: var(--faint); font-size: 0.82rem; margin-top: 0.5rem; }

/* ---- what-is page ---- */

.whatis-block {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}

.whatis-block h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.whatis-block p,
.whatis-block li { color: var(--muted); font-size: 0.96rem; line-height: 1.65; }
.whatis-block p + p { margin-top: 0.7rem; }

.whatis-direct {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(79, 209, 197, 0.28);
  border-radius: var(--radius);
  background: rgba(79, 209, 197, 0.05);
}

.whatis-how-list { display: grid; gap: 0.75rem; margin-top: 1rem; padding-left: 1.15rem; }

.whatis-dna-note,
.whatis-free-note { color: var(--faint); font-size: 0.85rem; }

.whatis-final {
  margin-top: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(77, 138, 240, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  text-align: center;
}

/* ---- legal / doc pages ---- */

.legal-block,
.doc-main {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.15rem, 4vw, 2rem) 3rem;
}

.legal-block h1,
.doc-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.legal-block h2,
.doc-main h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-block h3,
.doc-main h3 {
  margin: 1.35rem 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.legal-block p,
.legal-block li,
.doc-main p,
.doc-main li {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(238, 241, 246, 0.76);
}

.legal-block p + p,
.doc-main p + p { margin-top: 0.7rem; }

.legal-block ul,
.legal-block ol,
.doc-main ul,
.doc-main ol { margin: 0.7rem 0; padding-left: 1.25rem; }

.legal-block li,
.doc-main li { margin: 0.35rem 0; }

.legal-block a,
.doc-main a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 209, 197, 0.35);
}

.legal-block strong,
.doc-main strong { color: var(--fg); font-weight: 600; }

.legal-block table,
.doc-main table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-block th,
.legal-block td,
.doc-main th,
.doc-main td {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  text-align: left;
}

.legal-block th,
.doc-main th {
  background: var(--glass-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* the legacy .lang-switch is position:fixed; inside the v2 nav it must sit
   in flow next to the CTA */
.nav .lang,
.lang.lang-switch {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang button {
  padding: 0.2rem 0.3rem;
  border: 0;
  border-radius: 5px;
  background: none;
  font: inherit;
  color: var(--faint);
  cursor: pointer;
}

.lang button:hover { color: var(--fg); }

.lang button.is-active,
.lang button[aria-pressed="true"] { color: var(--teal); }

.lang .lang-sep { color: rgba(238, 241, 246, 0.25); }

/* ---- overrides that must beat the legacy page-scoped rules ---- */

/* legacy heroes are centered; v2 inner pages read left aligned */
.features-intro,
.videos-intro,
.whatis-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 42rem;
}

.videos-toc {
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.videos-channel {
  justify-content: flex-start;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.videos-hero,
.whatis-hero { margin-bottom: 0; }

/* ---- legal pages: styles.css scopes everything under body.legal-page ---- */

body.legal-page main.legal {
  max-width: 52rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

body.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

body.legal-page h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

body.legal-page p,
body.legal-page li {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(238, 241, 246, 0.76);
}

body.legal-page a { color: var(--teal); }

/* ...but the v2 chrome keeps its own colors */
body.legal-page .nav a,
body.legal-page .nav-links a,
body.legal-page .footer a,
body.legal-page .footer-links a,
body.legal-page .nav-brand,
body.legal-page .footer-brand { color: inherit; }

body.legal-page .nav-links a { color: var(--muted); }
body.legal-page .nav-links a:hover { color: var(--fg); }
body.legal-page .footer-links a { color: var(--faint); }
body.legal-page .footer-links a:hover { color: var(--fg); }
body.legal-page .lang a[aria-current="true"],
body.legal-page .lang button.is-active { color: var(--teal); }

body.legal-page .back-home {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

body.legal-page .back-home:hover { color: var(--teal); text-decoration: none; }


/* ---- hero copy: full content of the legacy hero, v2 type scale ---- */

.hero-logo {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 12px 34px var(--accent-glow));
}

.hero-brandmark {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

/* both accented words of the slogan, like the legacy hero */
.title-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-name {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 241, 246, 0.92);
}

.hero-camera-line {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--teal);
}

.hero-seat-line {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(238, 241, 246, 0.88);
}

.workflow-badge {
  display: inline-block;
  margin: 0.65rem 0 0.15rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(77, 138, 240, 0.4);
  border-radius: 999px;
  background: rgba(77, 138, 240, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #8fb6f7;
}

.platform-line {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

/* the privacy promise is a claim, not a caption: give it a frame */
.hero-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(79, 209, 197, 0.32);
  border-radius: 14px;
  background: rgba(79, 209, 197, 0.07);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(238, 241, 246, 0.95);
}

.hero-privacy svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  color: var(--teal);
}

.coverage {
  margin-top: 1.25rem;
  max-width: 56rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.coverage-l1,
.coverage-l2 { display: block; }
.coverage-l1 { color: rgba(238, 241, 246, 0.9); font-weight: 600; }

.cta-tagline {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--faint);
}

.hero-trial {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}


/* ---- brand lockup: Focol.io | PROJECT ARCHITECT ---- */

.nav-brand-sep {
  width: 1px;
  height: 1.05rem;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}

.nav-brand-product {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 700px) {
  .nav-brand-sep,
  .nav-brand-product { display: none; }
}


/* privacy promise (section 02) */
.proof-card.is-wide { max-width: none; }

.privacy-note {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 0.88rem;
  color: var(--teal);
}

.privacy-note a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 209, 197, 0.35);
}

.privacy-note a:hover {
  color: #7ee0d6;
}

/* second, shorter pull quote: same voice, lower volume */
.quote-wrap.is-compact { max-width: var(--measure); }

.quote-wrap.is-compact .quote-mark { font-size: 2.6rem; }

.quote-wrap.is-compact .quote-text {
  margin: 1rem 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

/* the quote sits right under the pricing block, both visible at once */
.section.is-tight { padding-top: 0; }

#beta { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }


/* ---- 04 / how it works: the panel illustrates the three clicks ---- */

.how-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    align-items: stretch;
  }

  /* the panel keeps its natural height, the steps column fills the row */
  .how-panel { align-self: start; }

  .how-steps {
    height: 100%;
    grid-template-rows: auto auto auto 1fr;
  }
}

.how-panel {
  max-width: 17rem;
  margin: 0;
  position: sticky;
  top: 5.5rem;
}

.how-panel img { width: 100%; height: auto; }

@media (max-width: 899px) {
  .how-panel { position: static; margin: 0 auto; }
}

.how-steps {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
}

.step-row .step-n { margin-bottom: 0; flex: none; }

.step-row h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.step-row p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.step-row .step-kbd { margin-top: 0.7rem; }

.how-extras {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 620px) {
  .how-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.how-extra { padding: 1.15rem 1.2rem; }

.how-extra p { font-size: 0.88rem; line-height: 1.55; color: var(--muted); }

.how-extra-label {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.how-extra-label::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-bottom: 0.6rem;
  border-radius: 2px;
  background: var(--grad);
}

/* Beta layout */

.beta-banner {
  position: relative;
  z-index: 20;
  padding: 0.55rem 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--fg);
  background: rgba(45, 212, 191, 0.08);
  border-bottom: 1px solid rgba(45, 212, 191, 0.22);
}

.beta-banner p {
  margin: 0;
  max-width: 52rem;
  margin-inline: auto;
}

.beta-panel,
.beta-shot {
  display: none !important;
}

.price-solo-grid {
  display: grid !important;
}

/* Beta: single card. */
.price-card--studio {
  display: none !important;
}

@media (min-width: 900px) {
  .price-solo-grid {
    grid-template-columns: minmax(0, 30rem) !important;
    justify-content: center;
    grid-template-rows: none !important;
  }
}

.price-foot-actions,
.price-renew-band {
  display: block !important;
}

.price-foot-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.price-hero-shot {
  max-width: none;
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 1rem;
  background: #07080b;
}

.price-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.price-studio-grid {
  margin: 1rem 0 1.15rem;
  text-align: left;
}

.price-studio-grid > .mono-note {
  margin: 0 0 0.65rem;
  text-align: center;
}

.price-table--studio th:last-child,
.price-table--studio td:last-child {
  min-width: 8.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 500;
}

.price-table--studio td:last-child {
  color: var(--fg);
  opacity: 0.92;
}

@media (max-width: 720px) {
  .price-table--studio th:last-child,
  .price-table--studio td:last-child {
    min-width: 0;
  }
}

.price-card-top > .price-bill {
  margin-bottom: 0.85rem;
}

.price-actions .beta-note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--faint);
  text-align: center;
}

/* Beta Solo: pas de sous-ligne caméras (le bullet bas suffit). */
.price-bill.pricing-beta {
  display: none !important;
}


/* Beta: single card, no shared subgrid rows */
@media (min-width: 900px) {
  .price-solo-grid > .price-card {
    display: flex;
    grid-template-rows: none;
    grid-row: auto;
  }
  .price-solo-grid > .price-card > .price-card-top {
    display: flex;
  }
}
