/* Wrapped in a cascade layer.

   Unlayered CSS beats every layered rule, and Tailwind puts all of its own in
   layers. Loaded flat, this file's bare `h2` rule therefore won against the
   utility classes on the site's own chrome, and every column heading in the
   footer came out as a 45px display heading. Inside `preview` it still styles
   the ported sections, where nothing competes with it, and loses to the
   utilities on the header and footer, where something does.

   The layer order is declared in src/app/globals.css. */
@layer preview {
/* The four @font-face blocks that were here have been removed.

   Plus Jakarta Sans and DM Mono are already served by next/font in
   root-shell.tsx, subset and with font-display set; declaring them again here
   would fetch the same faces a second time.

   29LT Bukra is commercial. The plan is explicit that its webfont file is not
   committed until the licence for this site's volume is confirmed, so there is
   no @font-face for it and --font-display falls through to Jakarta, exactly as
   it does on every other page of this site. One next/font/local instance and
   one variable turns it on the day the licence lands. */
/* RankWit website styles
   Tokens follow the brand guidelines v1.0 (tokens.css in report-italia-it).
   Dark sections re-map the same tokens, so every component works on both. */

:root {
  color-scheme: light;
  --page: #f7f6fe;
  --surface: #ffffff;
  --surface-2: #f0eeff;
  --ink: #09041d;
  --ink-2: #3a3566;
  --ink-3: #625c99;
  --line: #e6e4f8;
  --line-2: #d2cffc;
  --ring: rgba(9, 4, 29, 0.1);
  --accent: #706ef8;
  --accent-ink: #5350d6;
  --accent-strong: #3c3aab;
  --accent-soft: #eeedfe;
  --up: #22d987;
  --up-ink: #0b7f51;
  --up-soft: #e4faf0;
  --down: #ff4d6d;
  --down-ink: #d21f41;
  --down-soft: #ffeaee;
  --amber: #f5a623;
  --amber-ink: #9a5f00;
  --amber-soft: #fff3dc;
  --seq-2: #d2cffc;
  --seq-3: #b5b1fa;
  --seq-4: #9390f9;
  --seq-6: #5350d6;
  --seq-7: #3c3aab;
  --shadow: 0 1px 2px rgba(9, 4, 29, 0.04), 0 12px 40px -12px rgba(9, 4, 29, 0.14);
  --shadow-lg: 0 2px 4px rgba(9, 4, 29, 0.05), 0 40px 90px -30px rgba(9, 4, 29, 0.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "29LT Bukra", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --r-lg: 26px;
  --nav-h: 68px;
}

.light {
  color: var(--ink);
  color-scheme: light;
  --page: #f7f6fe;
  --surface: #ffffff;
  --surface-2: #f0eeff;
  --ink: #09041d;
  --ink-2: #3a3566;
  --ink-3: #625c99;
  --line: #e6e4f8;
  --line-2: #d2cffc;
  --ring: rgba(9, 4, 29, 0.1);
  --accent: #706ef8;
  --accent-ink: #5350d6;
  --accent-strong: #3c3aab;
  --accent-soft: #eeedfe;
  --up: #22d987;
  --up-ink: #0b7f51;
  --up-soft: #e4faf0;
  --down: #ff4d6d;
  --down-ink: #d21f41;
  --down-soft: #ffeaee;
  --amber: #f5a623;
  --amber-ink: #9a5f00;
  --amber-soft: #fff3dc;
  --seq-2: #d2cffc;
  --seq-3: #b5b1fa;
  --seq-4: #9390f9;
  --seq-6: #5350d6;
  --seq-7: #3c3aab;
  --shadow: 0 1px 2px rgba(9, 4, 29, 0.04), 0 12px 40px -12px rgba(9, 4, 29, 0.14);
  --shadow-lg: 0 2px 4px rgba(9, 4, 29, 0.05), 0 40px 90px -30px rgba(9, 4, 29, 0.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "29LT Bukra", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --r-lg: 26px;
  --nav-h: 68px;
}

.dark,
[data-theme="dark"] {
  color-scheme: dark;
  --page: #09041d;
  --surface: #110a37;
  --surface-2: #19114d;
  --ink: #f0eeff;
  --ink-2: #c9c4ee;
  --ink-3: #9d97d0;
  --line: #231b5e;
  --line-2: #342a7e;
  --ring: rgba(240, 238, 255, 0.1);
  --accent: #706ef8;
  --accent-ink: #a3a1fb;
  --accent-strong: #c0bdfb;
  --accent-soft: #1d165c;
  --up-ink: #22d987;
  --up-soft: #0f3a2a;
  --down-ink: #ff4d6d;
  --down-soft: #4a1524;
  --amber-ink: #f5a623;
  --amber-soft: #3d2a05;
  --seq-2: #281f81;
  --seq-3: #3c3aab;
  --seq-4: #5350d6;
  --seq-6: #9390f9;
  --seq-7: #b5b1fa;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 50px 100px -30px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2 * var(--gutter), 820px);
  margin-inline: auto;
}

section {
  position: relative;
  background: var(--page);
  color: var(--ink);
}

.sec {
  padding-block: clamp(72px, 10vw, 136px);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow.plain::before {
  display: none;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h4 {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 56ch;
}

.muted {
  color: var(--ink-3);
}

.mono {
  font-family: var(--font-mono);
}

.quiet {
  color: var(--ink-3);
  font-size: 0.9rem;
}

.sec-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.sec-head .lead {
  max-width: 60ch;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* Inline metric chips inside running text (Peec device, brand colours) */
.kw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.08em 0.5em 0.1em 0.42em;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  vertical-align: 0.02em;
  white-space: nowrap;
}

.kw svg {
  width: 0.85em;
  height: 0.85em;
  color: var(--accent-ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: #5f5cf0;
  color: #fff;
  box-shadow:
    0 0 0 0 rgba(112, 110, 248, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: #5350d6;
  box-shadow: 0 10px 30px -8px rgba(112, 110, 248, 0.6);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
  background: var(--surface);
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}

.link {
  color: var(--accent-ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.link:hover svg {
  transform: translateX(3px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  color: #09041d;
  border-bottom: 1px solid transparent;
}

.nav.on-dark {
  color: #f0eeff;
}

.nav.on-dark.is-scrolled {
  background: rgba(9, 4, 29, 0.72);
  border-bottom-color: rgba(240, 238, 255, 0.08);
}

.nav.is-scrolled {
  background: rgba(247, 246, 254, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(9, 4, 29, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.brand svg {
  height: 22px;
  width: auto;
  fill: currentColor;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.82;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  background: rgba(127, 127, 160, 0.14);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.nav .btn-ghost {
  border-color: currentColor;
  color: inherit;
  opacity: 0.85;
}

.nav .btn-ghost:hover {
  opacity: 1;
  background: rgba(127, 127, 160, 0.14);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-right .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--page);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .nav.is-open .nav-links a {
    font-size: 1.1rem;
    padding: 12px 10px;
  }
}

/* Six menu links: just above the mobile menu the bar is tighter, so the logo keeps its size */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-inner {
    gap: 14px;
  }
  .nav-links {
    gap: 0;
    margin-left: 0;
  }
  .nav-links a {
    padding: 8px 8px;
  }
  .nav-right {
    gap: 6px;
  }
  .nav-right .btn {
    padding: 0 12px;
  }
}

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

.hero {
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 128px));
  padding-bottom: clamp(48px, 6vw, 96px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 90%;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(60% 55% at 50% 100%, rgba(112, 110, 248, 0.26), rgba(112, 110, 248, 0.06) 45%, transparent 70%);
}

.dark .hero-grid {
  background-image:
    linear-gradient(to right, rgba(240, 238, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 238, 255, 0.045) 1px, transparent 1px);
}

.dark .hero-glow {
  background: radial-gradient(60% 55% at 50% 100%, rgba(112, 110, 248, 0.38), rgba(112, 110, 248, 0.08) 45%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(9, 4, 29, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 4, 29, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}

/* Floating answer cards behind the headline (Suno's drifting covers, but with AI answers) */

.hero-body {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3vw, 32px);
}

.hero h1 {
  max-width: 14ch;
}

.hero h1 .soft {
  color: var(--ink-3);
}

.hero .lead {
  text-align: center;
  max-width: 62ch;
  color: var(--ink-2);
}

/* The prompt box: the hero's working element */
.promptbox {
  width: min(100%, 760px);
  padding: 10px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(112, 110, 248, 0.06),
    var(--shadow-lg);
  text-align: left;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dark .promptbox {
  background: rgba(17, 10, 55, 0.82);
  border-color: rgba(240, 238, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(112, 110, 248, 0.08),
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.promptbox .ask {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-height: 54px;
}

.promptbox .ask > svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent-ink);
}

.promptbox input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.promptbox input::placeholder {
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .promptbox .ask {
    min-height: 48px;
  }
}

/* ---------- Product panel (the UI "screens") ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dark .panel {
  border-color: rgba(240, 238, 255, 0.1);
}

.panel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.panel-bar .pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.panel-bar .pill svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.panel-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px var(--up-soft);
}

.panel-bar .right {
  margin-left: auto;
  display: inline-flex;
  gap: 8px;
}

.panel-body {
  padding: clamp(16px, 2.4vw, 28px);
}

/* Hero explorer: prompt on the left, answer on the right, metrics below */
.explorer {
  margin-top: clamp(40px, 6vw, 72px);
  width: min(100%, 1120px);
  margin-inline: auto;
}

.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  min-height: 420px;
}

.explorer-answer {
  padding: clamp(18px, 2.6vw, 30px);
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 18px;
}

.qline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.qline .avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink-3);
}

.qline .avatar svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.qline .avatar.engine {
  background: var(--ink);
  color: var(--page);
}

.qtext {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  min-height: 1.4em;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: -0.15em;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.answer {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  display: grid;
  gap: 10px;
}

.answer p {
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.4s ease, translate 0.4s ease;
}

.answer.is-live p {
  opacity: 1;
  translate: 0 0;
}

.answer p:nth-child(2) { transition-delay: 0.25s; }
.answer p:nth-child(3) { transition-delay: 0.5s; }
.answer p:nth-child(4) { transition-delay: 0.75s; }
.answer p:nth-child(5) { transition-delay: 1s; }

.answer .name {
  font-weight: 700;
  color: var(--ink);
  padding: 0 3px;
  border-radius: 4px;
  background: var(--surface-2);
}

.answer .name.you {
  background: var(--accent);
  color: #fff;
}

.answer .name.you::after {
  content: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7em;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.answer .miss {
  color: var(--down-ink);
  font-weight: 600;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-2);
  font-size: 0.78rem;
}

.sources .lbl {
  font-family: var(--font-mono);
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-right: 4px;
  align-self: center;
}

.src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--ink-2);
}

.src i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--seq-4);
}

.src.hot i {
  background: var(--amber);
}

.explorer-side {
  padding: clamp(18px, 2.6vw, 30px);
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--page);
}

.metric {
  display: grid;
  gap: 4px;
}

.metric .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}

.metric .val {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.metric .val small {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0;
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0;
  vertical-align: middle;
}

.delta.up {
  color: var(--up-ink);
  background: var(--up-soft);
}

.delta.down {
  color: var(--down-ink);
  background: var(--down-soft);
}

.delta.flat {
  color: var(--ink-3);
  background: var(--surface-2);
}

.bars {
  display: grid;
  gap: 8px;
}

.bar {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.bar .who {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}

.bar.you .who {
  color: var(--accent-ink);
  font-weight: 700;
}

.bar .track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar .fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--seq-3);
  width: 0;
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bar.you .fill {
  background: var(--accent);
}

.bar .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: right;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .explorer-grid {
    grid-template-columns: 1fr;
  }
  .explorer-answer {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Proof strip ---------- */

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Prompt ticker ---------- */

.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: ticker 70s linear infinite;
}

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

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Metric cards (Visibility / Position / Sources) ---------- */

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  gap: 16px;
  align-content: start;
  box-shadow: var(--shadow);
}

.card .vis {
  margin-top: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--page);
  border: 1px solid var(--line);
  min-height: 170px;
  display: grid;
  align-content: center;
}

.card p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .three {
    grid-template-columns: 1fr;
  }
}

/* Position ladder */

/* Source list */

.tag.ok {
  color: var(--up-ink);
  background: var(--up-soft);
}

.tag.warn {
  color: var(--amber-ink);
  background: var(--amber-soft);
}

.tag.bad {
  color: var(--down-ink);
  background: var(--down-soft);
}

/* ---------- Scenes (how it works, as product screens) ---------- */

.scene {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
}

.scene + .scene {
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .scene {
    grid-template-columns: 1fr;
  }
}

/* Mini UI inside scenes */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td:first-child {
  white-space: normal;
  min-width: 160px;
}

.table th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.table td.num {
  font-family: var(--font-mono);
  text-align: right;
}

.table tr.you td {
  background: var(--accent-soft);
}

.table tr.you td:first-child {
  color: var(--accent-ink);
  font-weight: 700;
}

.table tr:last-child td {
  border-bottom: 0;
}

.cell-eng {
  display: inline-flex;
  gap: 6px;
}

.cell-eng span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-3);
}

.cell-eng span.on {
  background: var(--up-soft);
  color: var(--up-ink);
}

.cell-eng span.off {
  background: var(--down-soft);
  color: var(--down-ink);
}

.cell-eng svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.promptlist {
  display: grid;
  gap: 8px;
}

.prow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.88rem;
}

/* Narrow screens: the question takes the whole line, tag and engines go under it */
@media (max-width: 560px) {
  .prow {
    grid-template-columns: auto 1fr;
    row-gap: 8px;
  }
  .prow > :first-child {
    grid-column: 1 / -1;
  }
  .prow .tagline {
    justify-self: start;
  }
  .prow .vol {
    justify-self: end;
  }
}

.prow .tagline {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--page);
  border: 1px solid var(--line);
}

.prow .vol {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-2);
  min-width: 56px;
  text-align: right;
}

.prow.ghost {
  border-style: dashed;
  color: var(--ink-3);
}

.action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  align-items: start;
}

.action + .action {
  margin-top: 10px;
}

.action .pri {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

.action .pri.p1 {
  background: var(--down-soft);
  color: var(--down-ink);
}

.action .pri.p2 {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.action .pri.p3 {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.action .t {
  font-weight: 700;
  font-size: 0.92rem;
}

.action .why {
  color: var(--ink-3);
  font-size: 0.82rem;
  margin-top: 3px;
}

/* ---------- Audience split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.aud {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 20px;
  align-content: start;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.aud.dark {
  background: var(--page);
  color: var(--ink);
  border-color: rgba(240, 238, 255, 0.1);
}

.aud ul {
  display: grid;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.aud li {
  display: flex;
  gap: 10px;
}

.aud li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent-ink);
  margin-top: 2px;
}

.aud .mini {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  padding: 16px;
}

.aud.dark .mini {
  background: var(--surface);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Area list for destinations */
.areas {
  display: grid;
  gap: 8px;
}

.area {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.84rem;
}

.area .name {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}

.area .seg {
  display: flex;
  gap: 3px;
  height: 8px;
  width: 120px;
}

.area .seg i {
  flex: 1;
  border-radius: 2px;
  background: var(--line);
}

.area .seg i.f {
  background: var(--accent);
}

.area .seg i.h {
  background: var(--amber);
}

/* ---------- Observatory band ---------- */

.obs {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(240, 238, 255, 0.1);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(240, 238, 255, 0.04), rgba(240, 238, 255, 0.01));
  display: grid;
  gap: 8px;
  align-content: start;
}

.obs .big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.obs .what {
  font-size: 1rem;
  color: var(--ink-2);
}

.obs .foot {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------- Engines ---------- */

.engine {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.engine svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.engine .n {
  font-weight: 700;
  font-size: 0.95rem;
}

.engine .s {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

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

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 1.08rem;
}

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

.faq summary .plus {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq summary .plus svg {
  width: 13px;
  height: 13px;
}

.faq details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--page);
  border-color: var(--ink);
}

.faq .a {
  padding: 0 0 24px;
  color: var(--ink-2);
  max-width: 68ch;
  font-size: 1rem;
}

/* ---------- Articles ---------- */

.post {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.post .date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

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

.final {
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.final .hero-glow {
  inset: auto 0 -50% 0;
}

.final-body {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.final h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.final .lead {
  text-align: center;
}

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

.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  background: var(--page);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer .brand svg {
  height: 20px;
}

.footer .col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer .col .h {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.footer .col a {
  color: var(--ink-2);
}

.footer .col a:hover {
  color: var(--ink);
}

.footer-tag {
  color: var(--ink-3);
  max-width: 34ch;
  margin-top: 14px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.footer-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Reveal on scroll (only when JS runs, so the text is there without it) ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease, translate 0.7s ease;
}

.reveal.in {
  opacity: 1;
  translate: 0 0;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .ticker-track {
    animation: none;
  }
  .caret {
    animation: none;
  }
  .bar .fill {
    transition: none;
  }
}

/* ---------- Page-level helpers ---------- */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 112px));
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-glow {
  inset: auto 0 -60% 0;
  height: 100%;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-hero-grid h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  max-width: 14ch;
}

.page-hero-text {
  display: grid;
  gap: 22px;
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

.list-check {
  display: grid;
  gap: 12px;
}

.list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}

.list-check li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent-ink);
}

.list-check li b {
  color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Form (audit page) */
.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  min-height: 48px;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form .note {
  font-size: 0.8rem;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .form .row {
    grid-template-columns: 1fr;
  }
}

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

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li > b,
.steps li > span {
  grid-column: 2;
}

.steps li::before {
  grid-row: 1 / span 2;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-ink);
  padding-top: 4px;
}

.steps li b {
  display: block;
  margin-bottom: 4px;
}

.steps li span {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .nav-inner {
    gap: 10px;
  }
  .brand svg {
    height: 18px;
  }
  .nav-right {
    margin-left: auto;
  }
  .nav-right .btn {
    padding: 0 13px;
    font-size: 0.84rem;
    min-height: 38px;
  }
  .nav-toggle {
    margin-left: 0;
    width: 38px;
    height: 38px;
  }
  .hero {
    min-height: 0;
  }
  .hero h1 {
    max-width: none;
  }
  .promptbox .btn-lg {
    width: 100%;
  }
  .bar {
    grid-template-columns: 96px 1fr 40px;
  }
}

/* ---------- Simplified homepage (v2) ---------- */
.hero-simple {
  padding-top: calc(var(--nav-h) + clamp(64px, 11vw, 150px));
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-simple .hero-body {
  gap: clamp(20px, 2.6vw, 28px);
}

.hero-simple h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 6.8vw, 5.6rem);
}

.hero-simple .lead {
  max-width: 54ch;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.hero-simple .cta-row {
  justify-content: center;
}

/* Explorer, reduced: question, answer, three numbers */
.explorer.simple {
  margin-top: clamp(48px, 7vw, 88px);
  width: min(100%, 980px);
}

.explorer.simple .explorer-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.6fr);
  min-height: 0;
}

.explorer.simple .panel-bar {
  padding: 12px 22px;
  font-size: 0.72rem;
  gap: 8px;
}

.explorer.simple .panel-bar .pill {
  border: 0;
  background: transparent;
  padding: 0;
}

.explorer.simple .explorer-side {
  background: var(--page);
  gap: 22px;
  justify-content: start;
}

.explorer.simple .metric .val {
  display: grid;
  gap: 2px;
  font-size: 2.4rem;
}

.explorer.simple .metric .val small {
  display: block;
  font-size: 0.82rem;
  margin-top: 2px;
}

.explorer.simple .metric .lbl {
  justify-content: flex-start;
}

/* Three plain columns, no cards */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.col-plain {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.col-plain .big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.col-plain h3 {
  font-size: 1.25rem;
}

.col-plain p {
  color: var(--ink-2);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .cols-3 {
    grid-template-columns: 1fr;
  }
}

/* How it works: steps beside one panel */
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 860px) {
  .how {
    grid-template-columns: 1fr;
  }
}

/* Two audience columns, text first */
.aud.plain {
  box-shadow: none;
  gap: 14px;
}

.aud.plain p {
  color: var(--ink-2);
}

/* Inline statistics, one row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}

.stat-row .big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-row .what {
  color: var(--ink-2);
  margin-top: 8px;
  max-width: 28ch;
}

@media (max-width: 720px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

.final.simple h2 {
  max-width: 16ch;
}

.final.simple .lead {
  max-width: 48ch;
}

@media (max-width: 860px) {
  .explorer.simple .explorer-grid {
    grid-template-columns: 1fr;
  }
  .explorer.simple .explorer-side {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .explorer.simple .metric .val {
    font-size: 1.7rem;
  }
}

/* ---------- Dark base ---------- */
body.dark {
  background: var(--page);
}

body.dark .nav {
  color: #f0eeff;
}

body.dark .nav.is-scrolled {
  background: rgba(9, 4, 29, 0.72);
  border-bottom-color: rgba(240, 238, 255, 0.08);
}

body.dark .panel {
  border-color: rgba(240, 238, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

body.dark .col-plain {
  border-top-color: rgba(240, 238, 255, 0.22);
}

body.dark .aud {
  background: rgba(240, 238, 255, 0.03);
  border-color: rgba(240, 238, 255, 0.1);
}

body.dark .btn-ghost {
  border-color: rgba(240, 238, 255, 0.22);
}

body.dark .btn-ghost:hover {
  background: rgba(240, 238, 255, 0.06);
  border-color: rgba(240, 238, 255, 0.4);
}

body.dark .faq summary .plus {
  border-color: rgba(240, 238, 255, 0.25);
}

body.dark .answer .name {
  background: rgba(240, 238, 255, 0.1);
}

body.dark .qline .avatar.engine {
  background: #f0eeff;
  color: #09041d;
}

body.dark .table tr.you td {
  background: rgba(112, 110, 248, 0.14);
}

body.dark .hero-glow {
  background: radial-gradient(55% 50% at 50% 100%, rgba(112, 110, 248, 0.22), rgba(112, 110, 248, 0.05) 45%, transparent 70%);
}

.hero-simple .hero-glow {
  inset: auto 0 0 0;
  height: 70%;
}

/* Answer line under the headline: competitors as redaction bars, "your hotel" typed into the answer */
.answer-line {
  width: fit-content;
  max-width: min(100%, 860px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  text-align: left;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink-2);
  transition: opacity 0.45s ease;
}

.answer-line.is-out {
  opacity: 0;
}

.al-eng {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--page);
}

.al-eng svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.al-text {
  min-width: 0;
  text-wrap: balance;
}

.al-nw,
.al-slot,
.al-you {
  white-space: nowrap;
}

@media (min-width: 1000px) {
  .al-text {
    white-space: nowrap;
  }
}

.al-bar {
  display: inline-block;
  width: var(--w);
  height: 0.62em;
  border-radius: 4px;
  vertical-align: 0.02em;
  background: linear-gradient(90deg, var(--line-2) 0%, var(--surface-2) 50%, var(--line-2) 100%) 0 0 / 200% 100%;
  animation: al-shimmer 1.8s linear infinite;
}

@keyframes al-shimmer {
  to {
    background-position: -200% 0;
  }
}

.al-you {
  font-weight: 700;
  color: var(--ink);
  padding: 1px 6px;
  margin-left: -2px;
  border-radius: 6px;
  white-space: nowrap;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 0% 100%;
  transition: background-size 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease 0.15s;
}

.answer-line.is-lit .al-you {
  background-size: 100% 100%;
  color: #fff;
}

/* The slot: "your hotel" appears whole, then is either lit (named) or struck out and replaced */
.al-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
}

.answer-line .al-you {
  opacity: 0;
  filter: blur(4px);
  text-decoration: line-through transparent;
  text-decoration-thickness: 2px;
  transition: opacity 0.4s ease, filter 0.4s ease, text-decoration-color 0.3s ease, background-size 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease 0.15s;
}

.answer-line.is-in .al-you {
  opacity: 1;
  filter: none;
}

.answer-line.is-strike .al-you {
  opacity: 0.45;
  text-decoration-color: var(--down);
}

.answer-line .al-bar3 {
  width: 0;
}

.answer-line.is-dropped .al-bar3 {
  width: var(--w);
}

.answer-line.is-dropped .al-you {
  display: none;
}

.answer-line.is-dropped {
  border-color: rgba(255, 77, 109, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.08), var(--shadow);
}

.answer-line {
  transition: opacity 0.45s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.al-caption {
  min-height: 1.5em;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.al-caption.is-show {
  opacity: 1;
  translate: 0 0;
}

.al-caption.bad {
  color: var(--down-ink);
}

.al-caption.ok {
  color: var(--up-ink);
}

/* Bars grow in each cycle */
.answer-line.is-reset .al-bar {
  width: 0;
}

.answer-line .al-bar {
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.answer-line .al-bar + .al-bar {
  transition-delay: 0.12s;
}

@media (max-width: 640px) {
  .answer-line {
    border-radius: 18px;
    align-items: flex-start;
  }
  .al-eng {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-bar {
    animation: none;
  }
}

/* Scene tabs above the demo */
.scene-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.scene-tabs .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font-size: 0.82rem;
  background: transparent;
  border-color: rgba(127, 127, 160, 0.35);
  color: var(--ink-2);
}

.scene-tabs .chip:hover {
  border-color: var(--ink-3);
}

.scene-tabs .chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--page);
  border-color: var(--ink);
}

.scene-tabs .chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Typed question styled as a prompt bar (Suno) */
.explorer.simple .qline.ask-bar {
  padding: 12px 14px;
  border: 1px solid rgba(127, 127, 160, 0.3);
  border-radius: 14px;
  background: var(--surface-2);
  align-items: center;
}

.explorer.simple .qline.ask-bar .avatar {
  background: transparent;
  color: var(--accent-ink);
}

.proofline {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.95rem;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Loss line in the demo ---------- */
.loss {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--down-soft);
  color: var(--down-ink);
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

.loss.is-live {
  opacity: 1;
  translate: 0 0;
}

.loss svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.explorer.simple .metric .val .delta {
  font-size: 0.72rem;
  justify-self: start;
}

.explorer.simple .metric .val small.warn {
  color: var(--down-ink);
}

/* ---------- Section transitions ---------- */
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes pop {
  to {
    scale: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-simple .hero-body > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-simple .hero-body > :nth-child(2) { animation-delay: 0.12s; }
  .hero-simple .hero-body > :nth-child(3) { animation-delay: 0.22s; }
  .hero-simple .hero-body > :nth-child(4) { animation-delay: 0.3s; }
  .hero-simple .explorer {
    animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.42s both;
  }

  .sec .sec-head > *,
  .sec .cols-3 > *,
  .sec .steps > li,
  .sec .split > *,
  .sec .stat-row > *,
  .sec .faq details,
  .sec .how > .panel,
  .sec .flow-row,
  .sec .grid-2 > *,
  .sec .duty > * {
    transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .sec:not(.in) .sec-head > *,
  .js .sec:not(.in) .cols-3 > *,
  .js .sec:not(.in) .steps > li,
  .js .sec:not(.in) .split > *,
  .js .sec:not(.in) .stat-row > *,
  .js .sec:not(.in) .faq details,
  .js .sec:not(.in) .flow-row,
  .js .sec:not(.in) .grid-2 > *,
  .js .sec:not(.in) .duty > * {
    opacity: 0;
    translate: 0 28px;
  }
  .js .sec:not(.in) .how > .panel {
    opacity: 0;
    translate: 0 28px;
    scale: 0.985;
  }
  .sec.in .sec-head > :nth-child(2) { transition-delay: 0.1s; }
  .sec.in .sec-head > :nth-child(3) { transition-delay: 0.2s; }
  .sec.in .cols-3 > :nth-child(2),
  .sec.in .split > :nth-child(2),
  .sec.in .stat-row > :nth-child(2),
  .sec.in .grid-2 > :nth-child(2),
  .sec.in .steps > :nth-child(2),
  .sec.in .faq details:nth-child(2) { transition-delay: 0.12s; }
  .sec.in .cols-3 > :nth-child(3),
  .sec.in .stat-row > :nth-child(3),
  .sec.in .steps > :nth-child(3),
  .sec.in .faq details:nth-child(3) { transition-delay: 0.24s; }
  .sec.in .steps > :nth-child(4),
  .sec.in .faq details:nth-child(4) { transition-delay: 0.36s; }
  .sec.in .faq details:nth-child(5) { transition-delay: 0.48s; }
  .sec.in .how > .panel,
  .sec.in .flow-row:first-child { transition-delay: 0.2s; }

  .col-plain {
    border-top: 0;
    position: relative;
  }
  .col-plain::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
  }
  .sec.in .col-plain::before {
    transform: scaleX(1);
  }
}

/* ---------- How it works: three static rows, each step beside its own panel ---------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(56px, 8vw, 104px);
}

.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.flow-text .n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  margin-bottom: 14px;
}

.flow-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

.flow-text p {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 14px 0 0;
  max-width: 40ch;
}

/* Each panel plays once when it comes into view. Without JS everything is simply shown. */
@media (prefers-reduced-motion: no-preference) {
  .flow.js-on .flow-pane .prow,
  .flow.js-on .flow-pane .table tr td,
  .flow.js-on .flow-pane .action,
  .flow.js-on .flow-pane .tally {
    opacity: 0;
  }
  .flow.js-on .flow-pane .cell-eng span {
    scale: 0;
  }
  .flow-pane.play .prow {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: calc(var(--i) * 120ms);
  }
  .flow-pane.play .table tr td {
    animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: calc(var(--i) * 110ms);
  }
  .flow-pane.play .cell-eng span {
    animation: pop 0.35s cubic-bezier(0.2, 0.7, 0.3, 1.25) forwards;
    animation-delay: calc(var(--i) * 110ms + var(--j) * 70ms + 150ms);
  }
  .flow-pane.play .action {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: calc(var(--i) * 160ms);
  }
  .flow-pane.play .tally {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s forwards;
  }
}

.tally {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.tally .big {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tally .delta {
  margin-left: auto;
}

@media (max-width: 860px) {
  .flow-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Phones: the answers table fits the panel without sideways scrolling */
@media (max-width: 560px) {
  .flow-pane .table th,
  .flow-pane .table td {
    padding: 9px 8px;
  }
  .flow-pane .table th {
    white-space: normal;
    line-height: 1.3;
  }
  .flow-pane .table td:first-child {
    min-width: 0;
  }
  .flow-pane .cell-eng {
    gap: 3px;
  }
  .flow-pane .tally {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .flow-pane .tally .big {
    white-space: nowrap;
  }
}

/* ---------- What we do for you: your part, our part, what you always see ---------- */
.duty-h span {
  display: inline-block;
}

.duty {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.duty-card {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 22px;
  align-content: start;
}

.duty-you {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.duty-us {
  background: var(--ink);
  color: var(--page);
}

.duty-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.duty-us .duty-kicker {
  color: #b9b7ff;
}

.duty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.duty-you .duty-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
}

.duty-you .duty-list span {
  display: block;
  margin-top: 4px;
  color: var(--ink-2);
}

.duty-us .duty-list {
  gap: 14px;
}

.duty-us .duty-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.05rem;
  line-height: 1.45;
}

.duty-us .duty-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: #b9b7ff;
  fill: none;
  stroke: currentColor;
}

.duty-edge {
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 243, 255, 0.72);
}

.duty-edge b {
  color: #fff;
}

.duty-see {
  margin: clamp(48px, 6vw, 72px) 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.015em;
}

@media (max-width: 860px) {
  .duty {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hotel page ---------- */
.three-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ans-col {
  padding: 18px 20px 20px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
}

.ans-col:last-child {
  border-right: 0;
}

.ans-col .eng {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.ans-col .eng svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ans-col .eng .q {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.ans-col ol {
  display: grid;
  gap: 8px;
  counter-reset: a;
}

.ans-col ol li {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.ans-col ol li::before {
  counter-increment: a;
  content: counter(a);
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  display: grid;
  place-items: center;
}

.ans-col ol li.you {
  color: var(--ink);
  font-weight: 700;
}

.ans-col ol li.you::before {
  background: var(--accent);
  color: #fff;
}

.ans-col .verdict {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  font-size: 0.84rem;
  font-weight: 600;
}

.ans-col .verdict.bad {
  color: var(--down-ink);
}

.ans-col .verdict.warn {
  color: var(--amber-ink);
}

.ans-col .verdict.ok {
  color: var(--up-ink);
}

@media (max-width: 860px) {
  .three-answers {
    grid-template-columns: 1fr;
  }
  .ans-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ans-col:last-child {
    border-bottom: 0;
  }
}

/* Morning digest */
.digest {
  display: grid;
}

.digest .row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.digest .row:last-child {
  border-bottom: 0;
}

.digest .row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--seq-4);
}

.digest .row.down i { background: var(--down); }
.digest .row.warn i { background: var(--amber); }
.digest .row.up i { background: var(--up); }

.digest .row b {
  color: var(--ink);
}

.digest .row.todo {
  background: var(--accent-soft);
}

.digest .row.todo i {
  background: var(--accent);
}

/* Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: clamp(18px, 2.4vw, 28px);
}

.calc-in {
  display: grid;
  gap: 18px;
}

.calc-in label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.calc-in label .l {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-in output {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-weight: 500;
}

.calc-in input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  margin: 0;
}

.calc-out {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  border-radius: 16px;
  background: var(--page);
  border: 1px solid var(--line);
}

.calc-out .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.calc-out .big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.calc-out .sub {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.calc-out .year {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-3);
}

@media (max-width: 760px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

/* The demo shows its question already written: nothing is ever spelled out letter by letter */
.explorer .caret {
  display: none;
}

/* Language switch in the nav */
.nav .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.nav .lang:hover {
  opacity: 1;
  background: rgba(127, 127, 160, 0.14);
}

/* =====================================================================
   Product window, page rhythm, details
   ===================================================================== */

:root {
  --ink-3: #56508c;
}

/* ---------- Product window (hero) ---------- */
.app-stage {
  margin-top: clamp(40px, 6vw, 72px);
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
  perspective: 1600px;
}

.app {
  --rise: 1;
  position: relative;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 6px rgba(9, 4, 29, 0.05),
    0 60px 120px -40px rgba(60, 58, 171, 0.35),
    0 30px 60px -30px rgba(9, 4, 29, 0.25);
  overflow: hidden;
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--rise) * 16deg)) scale(calc(1 - var(--rise) * 0.06)) translateY(calc(var(--rise) * 24px));
  transition: transform 0.18s ease-out;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .app {
    transform: none;
  }
}

.app-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--page));
}

.app-brand {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  flex: none;
}

.app-brand svg {
  width: 16px;
  height: 13px;
  fill: currentColor;
}

.app-crumb {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.app-crumb i {
  font-style: normal;
  color: var(--ink-3);
  margin: 0 6px;
}

.app-top .scene-tabs {
  margin: 0 auto;
  flex-wrap: nowrap;
}

.app-top .scene-tabs .chip {
  min-height: 32px;
  font-size: 0.8rem;
}

.app-week {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
}

.app-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
}

.app-side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: grid;
  gap: 2px;
  align-content: start;
  background: var(--page);
}

.app-side span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.app-side span svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ink-3);
}

.app-side span.on {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(9, 4, 29, 0.06), 0 0 0 1px var(--line);
}

.app-side span.on svg {
  color: var(--accent-ink);
}

.app-side .sep {
  height: 1px;
  background: var(--line);
  margin: 10px 6px;
  padding: 0;
}

.app-side .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
}

.app-main {
  min-width: 0;
}

.app-main .explorer-grid {
  border-bottom: 1px solid var(--line);
}

.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.app-card {
  padding: 18px 22px 20px;
  min-width: 0;
}

.app-card + .app-card {
  border-left: 1px solid var(--line);
}

.app-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-card-head b {
  font-size: 0.86rem;
}

.legend {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.legend i {
  display: inline-block;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
}

.chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart .grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .grid text,
.chart .weeks text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--ink-3);
}

.chart path.series {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.chart.is-drawn path.series {
  stroke-dashoffset: 0;
}

.chart path.series.you {
  stroke-width: 3;
}

.chart path.area {
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}

.chart.is-drawn path.area {
  opacity: 1;
}

.chart circle.end {
  opacity: 0;
  transition: opacity 0.3s ease 1.3s;
}

.chart.is-drawn circle.end {
  opacity: 1;
}

.share .bar {
  grid-template-columns: 1fr 1.2fr 40px;
}

.share .bar .who {
  font-size: 0.82rem;
}

@media (max-width: 1000px) {
  .app-body {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
}

@media (max-width: 860px) {
  .app-row {
    grid-template-columns: 1fr;
  }
  .app-card + .app-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .app-top {
    flex-wrap: wrap;
  }
  .app-top .scene-tabs {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    margin: 0;
    padding-bottom: 2px;
  }
  .app-week {
    margin-left: auto;
  }
}

/* Engine strip under the product window */
.engine-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  margin-top: clamp(32px, 4vw, 48px);
  color: var(--ink-3);
}

.engine-strip .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engine-strip span.e {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-2);
}

.engine-strip span.e svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Giant answer: the editorial moment ---------- */
.giant {
  padding-block: clamp(96px, 14vw, 200px);
}

.giant .ask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-3);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.giant .ask svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.giant-answer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}

.g-bar {
  display: inline-block;
  width: var(--w, 4em);
  height: 0.62em;
  border-radius: 0.14em;
  vertical-align: 0.04em;
  background: var(--line-2);
}

.g-slot {
  display: inline-grid;
  vertical-align: baseline;
}

.g-slot > * {
  grid-area: 1 / 1;
}

.g-slot .g-bar {
  width: 4.6em;
  align-self: center;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.g-you {
  color: #fff;
  background: var(--accent);
  border-radius: 0.16em;
  padding: 0 0.16em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.18em);
  transition: opacity 0.5s ease 0.15s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}

.giant.is-yours .g-slot .g-bar {
  opacity: 0;
  transform: scaleX(0.4);
}

.giant.is-yours .g-you {
  opacity: 1;
  transform: none;
}

.giant .lead {
  margin-top: clamp(24px, 3vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
  .giant .g-slot .g-bar {
    display: none;
  }
  .g-you {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Dark band with one giant number ---------- */
.band-number {
  overflow: hidden;
  isolation: isolate;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.huge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9rem, 26vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--accent);
  display: inline-flex;
  align-items: flex-start;
}

.huge .unit {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  margin-top: 0.12em;
  color: var(--accent-strong);
}

.band-number h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.band-number .lead {
  margin-top: 18px;
  color: var(--ink-2);
}

.band-facts {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.band-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.band-facts span {
  font-size: 0.88rem;
  color: var(--ink-3);
}

.band-number .hero-glow {
  inset: auto -20% -60% 20%;
  height: 120%;
}

@media (max-width: 860px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Audience panels with their own visual ---------- */
.aud.big {
  padding: 0;
  gap: 0;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.aud.big .aud-text {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 8px;
  display: grid;
  gap: 14px;
}

.aud.big .aud-visual {
  margin: 18px clamp(24px, 3vw, 40px) 0;
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--page);
  transform: translateY(8px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.aud.big:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.aud.big:hover .aud-visual {
  transform: translateY(0);
}

.aud.big .mini-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

/* ---------- Closing statement ---------- */
.final.statement h2 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  max-width: 14ch;
  line-height: 1.02;
}

.final.statement h2 .soft {
  color: var(--accent);
}

/* ---------- Hover and focus polish ---------- */
.btn-primary:hover {
  transform: translateY(-1px);
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.link {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1.5px;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.link:hover {
  background-size: 100% 1.5px;
}

.nav-links a {
  position: relative;
}

.faq summary {
  transition: color 0.15s ease;
}

.faq summary:hover {
  color: var(--accent-ink);
}

.faq summary:hover .plus {
  border-color: var(--accent);
  color: var(--accent-ink);
}

.faq details .a {
  animation: faq-open 0.35s ease;
}

@keyframes faq-open {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}

.col-plain {
  transition: transform 0.3s ease;
}

.scene-tabs .chip:focus-visible,
.btn:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Full-screen mobile menu ---------- */
.nav-menu-extra {
  display: none;
}

@media (max-width: 900px) {
  .nav.is-open {
    background: var(--page);
    color: var(--ink);
    /* backdrop-filter would make the nav the containing block of the fixed menu panel */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav.is-open .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px var(--gutter) 40px;
    background: var(--page);
    border-bottom: 0;
    overflow-y: auto;
    animation: menu-in 0.3s ease;
  }
  .nav.is-open .nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -0.02em;
    padding: 10px 0;
    opacity: 1;
    background: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav.is-open .nav-menu-extra {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
  }
  .nav.is-open .nav-menu-extra .btn {
    font-family: var(--font);
    font-size: 1rem;
    border-bottom: 0;
    padding: 0 20px;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
  }
  .nav.is-open .nav-menu-extra .btn-ghost {
    border: 1px solid var(--line-2);
  }
  body.menu-open {
    overflow: hidden;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
}

.app-side em {
  font-style: normal;
}

/* The product window reuses the demo layout */
.app .explorer-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.6fr);
  min-height: 0;
}

.app .explorer-side {
  background: var(--page);
  gap: 22px;
  justify-content: start;
}

.app .metric .lbl {
  justify-content: flex-start;
}

.app .metric .val {
  display: grid;
  gap: 2px;
  font-size: 2.2rem;
}

.app .metric .val small {
  display: block;
  font-size: 0.8rem;
  margin-top: 2px;
}

.app .metric .val small.warn {
  color: var(--down-ink);
}

.app .metric .val .delta {
  font-size: 0.72rem;
  justify-self: start;
}

.app .qline.ask-bar {
  padding: 12px 14px;
  border: 1px solid rgba(127, 127, 160, 0.3);
  border-radius: 14px;
  background: var(--surface-2);
  align-items: center;
}

.app .qline.ask-bar .avatar {
  background: transparent;
  color: var(--accent-ink);
}

.app .scene-tabs .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(127, 127, 160, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.app .scene-tabs .chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--page);
  border-color: var(--ink);
}

.app .scene-tabs .chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

@media (max-width: 860px) {
  .app .explorer-grid {
    grid-template-columns: 1fr;
  }
  .app .explorer-side {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .app .metric .val {
    font-size: 1.6rem;
  }
}

/* Engine badge next to the answer: keep the logo from collapsing to zero width */
.qline .avatar svg {
  width: 14px;
  min-width: 14px;
  height: 14px;
  max-width: none;
}

.qline .avatar.engine svg {
  width: 15px;
  min-width: 15px;
  height: 15px;
}

.g-nw {
  white-space: nowrap;
}

.band-number .eyebrow {
  margin-bottom: 16px;
}

.app-center {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-label {
  font-size: 0.84rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-q {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  white-space: nowrap;
}

.app .areas {
  padding: 22px 24px;
}

.app .three-answers {
  background: var(--surface);
}

@media (max-width: 860px) {
  .app-center {
    order: 3;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .nav.is-open .nav-menu-extra .btn-ghost {
    background: transparent;
    color: var(--ink);
  }
}

/* Text for screen readers and crawlers only */
.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: hidden until focused with the keyboard */
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.audit-done h2 { font-size: 1.25rem; margin-top: 10px; }
.example-note { margin-top: 18px; color: var(--ink-3); font-family: "DM Mono", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.04em; }
.example-note.in-panel { margin: 0; padding: 10px 18px 14px; }
.dark .example-note { color: rgba(255, 255, 255, 0.6); }

/* ---------- Audit page: the request form in steps ---------- */
[hidden] {
  display: none !important;
}

.audit-form .fstep {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.audit-form legend {
  padding: 0;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.js .audit-form .fstep:not(.is-on) {
  display: none;
}

.audit-form .opt {
  font-weight: 400;
  color: var(--ink-3);
}

.audit-form .choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.audit-form .choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.audit-form .choice::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.audit-form .choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.audit-form .choice:hover {
  border-color: var(--accent);
}

.audit-form .choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.audit-form .choice:has(input:checked)::before {
  border-color: var(--accent-ink);
  background: radial-gradient(var(--accent-ink) 42%, var(--surface) 48%);
}

.audit-form .choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.audit-form .fnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.audit-form .fnav [data-next],
.audit-form .fnav [data-send] {
  margin-left: auto;
}

.audit-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.audit-form .note a {
  color: inherit;
  text-decoration: underline;
}

.audit-form .err {
  color: var(--down-ink);
}

@media (max-width: 640px) {
  .audit-form .choices {
    grid-template-columns: 1fr;
  }
}

/* ---------- Home: AI Visibility Lab ---------- */
.lab-grid {
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.lab-panel .steps li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.lab-panel .steps li:last-child {
  padding-bottom: 4px;
}

/* Audit form: the error paragraph shown after a form post without JavaScript (/audit?error=1#audit-error) */
.target-only { display: none; }
.target-only:target { display: block; }

/* Demo window on phones: the example questions scroll sideways instead of being cut by the window */
@media (max-width: 600px) {
  .app-top { flex-wrap: wrap; }
  .app-top .scene-tabs { order: 9; width: 100%; max-width: none; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .app-top .scene-tabs::-webkit-scrollbar { display: none; }
  .app-top .scene-tabs .chip { flex: none; }
}

/* ==========================================================================
   Photo stage, pinned answer scene and a wider page
   ========================================================================== */

/* ---------- A wider page, and one step up in scale on large screens ---------- */
:root,
.light {
  --wrap: 1480px;
}

@media (min-width: 1500px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1900px) {
  html {
    font-size: 18px;
  }
}

h2,
.h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
}

.sec-head {
  max-width: 980px;
}

.col-plain .big {
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
}

.col-plain h3 {
  font-size: 1.4rem;
}

.col-plain p {
  font-size: 1.05rem;
  max-width: 42ch;
}

.band-number h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
}

/* ---------- Hero: the headline, then a real place with one answer on it ---------- */
.hero.hero-photo {
  display: block;
  min-height: 0;
  padding-top: calc(var(--nav-h) + clamp(28px, 4.4vw, 68px));
  padding-bottom: clamp(40px, 5vw, 72px);
}

.hero-photo .lead {
  max-width: 74ch;
}

.hero-photo > .hero-glow {
  display: none;
}

.hero-photo .hero-body {
  position: relative;
  z-index: 2;
}

.hero-photo h1 {
  font-size: clamp(2.7rem, 7.6vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-photo .cta-row .btn-ghost {
  background: var(--surface);
}

.stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: min(100% - 2 * clamp(8px, 1.6vw, 24px), 1600px);
  min-height: clamp(560px, 56vw, 900px);
  margin: clamp(-190px, -11vw, -48px) auto 0;
  border-radius: 0 0 clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px);
  overflow: hidden;
}

/* The photo rises out of the page colour, so the headline stays on a clean ground */
.stage-photos {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.3) 20%, #000 46%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.3) 20%, #000 46%);
}

.stage-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  scale: 1.05;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), scale 9s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-photos img.is-on {
  opacity: 1;
  scale: 1;
}

.stage-photos [data-stage-photo="florence"] {
  object-position: 50% 68%;
}

.stage-photos [data-stage-photo="dolomites"] {
  object-position: 50% 46%;
}

.stage-photos [data-stage-photo="amalfi"] {
  object-position: 50% 72%;
}

.stage-inner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(12px, 2.6vw, 40px);
  padding-top: clamp(200px, 24vw, 400px);
}

.stage-card {
  width: min(100%, 37rem);
  display: grid;
  gap: 12px;
}

.stage .scene-tabs {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(9, 4, 29, 0.1), 0 18px 40px -18px rgba(9, 4, 29, 0.5);
  overflow-x: auto;
  scrollbar-width: none;
}

.stage .scene-tabs::-webkit-scrollbar {
  display: none;
}

.stage .scene-tabs .chip {
  flex: none;
  min-height: 38px;
  border-color: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
}

.stage .scene-tabs .chip:hover {
  background: var(--surface-2);
  border-color: transparent;
}

.stage .scene-tabs .chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

html:not(.js) .stage .scene-tabs {
  display: none;
}

.acard {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 1.8vw, 26px);
  border-radius: clamp(18px, 1.8vw, 26px);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(9, 4, 29, 0.1), 0 44px 80px -32px rgba(9, 4, 29, 0.6);
}

.acard > * {
  transition: opacity 0.26s ease, translate 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.acard.is-swap > :not(.acard-top) {
  opacity: 0;
  translate: 0 8px;
}

.acard-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.acard-eng {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.acard-eng svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.acard-week {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.acard-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.acard-picks {
  display: grid;
  border-top: 1px solid var(--line);
}

.acard-picks li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.pk-n {
  flex: none;
  width: 1.2em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.pk-t {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}

.pk-t b {
  font-weight: 700;
}

.pk-t > span {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.acard-picks li.you .pk-t b {
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

.acard-picks li.miss .pk-n,
.acard-picks li.miss .pk-t b {
  color: var(--down-ink);
}

.acard-verdict {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
}

.acard-verdict svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.acard-verdict.warn {
  background: var(--amber-soft);
}

.acard-verdict.warn svg {
  color: var(--amber-ink);
}

.acard-verdict.bad {
  background: var(--down-soft);
}

.acard-verdict.bad svg {
  color: var(--down-ink);
}

.stage-place {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.stage-place > span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(9, 4, 29, 0.74);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage-place > .stage-note {
  background: rgba(9, 4, 29, 0.5);
  color: rgba(255, 255, 255, 0.86);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo .stage {
    animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-photos img {
    scale: 1;
    transition: none;
  }
  .acard > * {
    transition: none;
  }
}

@media (max-width: 760px) {
  .stage {
    min-height: 0;
    margin-top: -20px;
  }
  .stage-photos {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  }
  .stage-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 58vw;
  }
  .stage-card {
    width: 100%;
  }
  .stage-place {
    flex-direction: row;
    justify-content: space-between;
  }
  .stage .scene-tabs .chip {
    min-height: 44px;
  }
}

/* ---------- The product window, now under "You always see what is happening" ---------- */
.app-stage.in-flow {
  width: 100%;
  margin: clamp(20px, 3vw, 36px) 0 0;
}

.app-note {
  margin-bottom: clamp(36px, 5vw, 72px);
}

/* ---------- The pinned scene: one sentence, three things an answer can do to you ---------- */
.sec.gscene {
  padding-block: 0;
  background: #09041d;
}

.scene-pin {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(110px, 13vw, 180px) clamp(84px, 9vw, 130px);
}

.scene-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.scene-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 26%;
}

.scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 4, 29, 0.86) 0%, rgba(9, 4, 29, 0.52) 58%, rgba(9, 4, 29, 0.66) 100%),
    linear-gradient(180deg, rgba(9, 4, 29, 0.4) 0%, rgba(9, 4, 29, 0) 32%, rgba(9, 4, 29, 0.9) 100%);
}

.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}

.gscene .ask {
  color: rgba(240, 238, 255, 0.8);
}

.gscene .giant-answer {
  max-width: 13ch;
  font-size: clamp(2.4rem, 6.4vw, 7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
}

.gscene .g-bar {
  background: rgba(240, 238, 255, 0.36);
}

.gscene .g-slot .g-bar {
  width: 100%;
}

.gscene .lead {
  max-width: 46ch;
  color: rgba(240, 238, 255, 0.88);
}

html:not(.js) .giant .g-slot .g-bar {
  display: none;
}

html:not(.js) .giant .g-you {
  opacity: 1;
  transform: none;
}

.scene-cards {
  display: grid;
  gap: 14px;
}

.scard {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(240, 238, 255, 0.16);
  border-radius: 20px;
  background: rgba(17, 10, 55, 0.9);
  color: #f0eeff;
}

.scard-who {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: rgba(240, 238, 255, 0.76);
}

.scard-who svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.scard-q {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.4;
  quotes: "\201C" "\201D";
}

.scard-q::before {
  content: open-quote;
}

.scard-q::after {
  content: close-quote;
}

:lang(it) .scard-q {
  quotes: "\00AB" "\00BB";
}

.scard-q .g-bar {
  width: 2.6em;
  height: 0.6em;
  vertical-align: 0.02em;
}

.scard-tag {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.scard.up .scard-tag {
  background: var(--up);
  color: #06281a;
}

.scard.warn .scard-tag {
  background: var(--amber);
  color: #2b1a00;
}

.scard.down .scard-tag {
  background: var(--down);
  color: #3b0611;
}

.scard-src {
  font-size: 0.86rem;
  color: rgba(240, 238, 255, 0.72);
}

.scene-note {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  margin: 0;
}

/* Pinned only when the script says the screen is large enough and motion is welcome */
.js .gscene.is-pinned {
  height: 280vh;
}

.js .gscene.is-pinned .scene-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  padding-block: calc(var(--nav-h) + 24px) 56px;
}

.gscene.is-pinned .giant-answer {
  font-size: clamp(2.4rem, min(6.4vw, 10.5vh), 7rem);
}

.gscene.is-pinned .gw {
  opacity: 0.2;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gscene.is-pinned .gw.is-lit {
  opacity: 1;
}

.gscene.is-pinned .scard {
  opacity: 0;
  translate: 0 28px;
  filter: blur(8px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.gscene.is-pinned .scard.is-in {
  opacity: 1;
  translate: none;
  filter: none;
}

.gscene.is-pinned .scene-say .lead {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gscene.is-pinned.is-done .scene-say .lead {
  opacity: 1;
  translate: none;
}

@media (max-width: 999px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .scene-note {
    position: static;
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: 24px auto 0;
  }
}

/* ---------- The 9% band: where the answer sends the traveler ---------- */
.paths-wrap {
  margin-top: clamp(48px, 7vw, 104px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.paths-h {
  margin-bottom: clamp(20px, 3vw, 36px);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

.paths {
  display: grid;
  gap: 14px;
}

.path {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 3fr);
  align-items: center;
  gap: 12px 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.path-own {
  border-color: var(--accent);
}

.path-label {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}

.path-steps li {
  position: relative;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.path-steps li + li {
  margin-left: 46px;
}

.path-steps li + li::before {
  content: "";
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  width: 28px;
  height: 2px;
  margin-top: -1px;
  background: var(--line-2);
}

.path-steps li + li::after {
  content: "";
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: 2px solid var(--line-2);
  border-right: 2px solid var(--line-2);
  rotate: 45deg;
}

.path-steps .path-other {
  border-color: transparent;
  background: var(--down-soft);
  color: var(--down-ink);
}

.path-steps .path-yours {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.path-note {
  grid-column: 2;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.paths-foot {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .path {
    grid-template-columns: 1fr;
  }
  .path-note {
    grid-column: 1;
  }
  .path-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .path-steps li {
    white-space: normal;
  }
  .path-steps li + li {
    margin: 26px 0 0;
  }
  .path-steps li + li::before {
    right: auto;
    left: 22px;
    top: -20px;
    width: 2px;
    height: 14px;
    margin: 0;
  }
  .path-steps li + li::after {
    right: auto;
    left: 18px;
    top: -14px;
    margin: 0;
    rotate: 135deg;
  }
}

/* ---------- Audience panels: a place, with the small chart on it ---------- */
.aud.big.has-photo .aud-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.aud.big.has-photo .aud-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: scale 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.aud.big.has-photo:hover .aud-photo img {
  scale: 1.04;
}

.aud.big.has-photo .aud-visual {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  width: min(100% - 2 * clamp(14px, 2vw, 28px), 26rem);
  margin: 0;
  padding: 16px 18px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(9, 4, 29, 0.1), 0 30px 60px -26px rgba(9, 4, 29, 0.6);
  transform: none;
}

.aud.big.has-photo:hover .aud-visual {
  transform: translateY(-4px);
}

.aud.big.has-photo .aud-text {
  padding: clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 40px) clamp(26px, 3vw, 40px);
}

@media (max-width: 560px) {
  .aud.big.has-photo .aud-photo {
    aspect-ratio: 4 / 3.6;
  }
}

/* ---------- Closing statement over the blue hour ---------- */
.final-photo {
  background: #09041d;
}

.final-photo.sec {
  padding-block: clamp(120px, 16vw, 240px);
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.final-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 58%;
}

.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 58% at 50% 44%, rgba(9, 4, 29, 0.9) 0%, rgba(9, 4, 29, 0.8) 48%, rgba(9, 4, 29, 0.42) 100%),
    linear-gradient(180deg, rgba(9, 4, 29, 0.85) 0%, rgba(9, 4, 29, 0) 26%, rgba(9, 4, 29, 0) 72%, rgba(9, 4, 29, 0.9) 100%);
}

.final.statement h2 {
  font-size: clamp(2.8rem, 8vw, 7.5rem);
}

/* ---------- Source charts: labels that may wrap, a mono sub-heading, the note under the Observatory number ---------- */
.bars-src .bar {
  grid-template-columns: minmax(0, 13.5em) 1fr 2.4em;
}

.bars-src .bar .who {
  white-space: normal;
  line-height: 1.25;
}

.bars-src.bars-short .bar {
  grid-template-columns: minmax(0, 6.5em) 1fr 2.4em;
}

.src-head {
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.band-src {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.stat-row.stat-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 560px) {
  .bars-src .bar {
    grid-template-columns: minmax(0, 9.5em) 1fr 2.2em;
  }
}

/* ---------- Hotel and destinations pages on the home staging ---------- */
/* The product window keeps its distance from the columns under it now that the note between them is gone */
.app-stage.in-flow {
  margin-bottom: clamp(36px, 5vw, 72px);
}

/* A row of the answer card that starts with an assistant's mark */
.pk-eng {
  flex: none;
  align-self: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.pk-eng svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.acard .bars-src {
  gap: 11px;
  padding-block: 4px;
}

.src-head.src-first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* The dark photo section without the pinned sentence: a heading and three cards */
.scene-pin.scene-short {
  min-height: 0;
}

.scene-h {
  max-width: 15ch;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.scard-t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}

.scard-p {
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(240, 238, 255, 0.82);
}

.scene-h.scene-h-2 {
  max-width: 17ch;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.scene-h.scene-h-2 span {
  display: block;
}

.scene-h.scene-h-2 span + span {
  color: var(--accent-strong, #a3a1fb);
}

@media (max-width: 760px) {
  .stage-place {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ---------- Home: the row of logos under the hero ---------- */
.logos {
  margin-top: clamp(14px, 2vw, 26px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* The moving row is its own layer: it needs the page colour so the logos can blend their white boxes into it */
  background: var(--page);
  animation: logos-slide 60s linear infinite;
}

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

.logos-track li {
  flex: none;
  display: flex;
  align-items: center;
  height: 78px;
  margin-right: clamp(40px, 5vw, 76px);
}

.logos-track img {
  display: block;
  width: auto;
  max-width: none;
  height: var(--h, 48px);
  mix-blend-mode: multiply;
}

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

@media (max-width: 560px) {
  .logos-track li {
    height: 62px;
  }
  .logos-track img {
    height: calc(var(--h, 48px) * 0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logos-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }
  .logos-track li[aria-hidden] {
    display: none;
  }
}

/* ---------- Audit page on the home staging: the form is the card on the photo ---------- */
.stage.stage-form {
  min-height: 0;
  margin-top: clamp(-90px, -5vw, -24px);
}

.stage-form .stage-inner {
  padding-top: clamp(96px, 8.5vw, 150px);
}

.stage-form .stage-card > .panel {
  box-shadow: 0 2px 6px rgba(9, 4, 29, 0.1), 0 44px 80px -32px rgba(9, 4, 29, 0.6);
}

.hero-after {
  margin-top: clamp(32px, 4.4vw, 64px);
  text-align: left;
}

.scard-tag.plain {
  background: rgba(240, 238, 255, 0.14);
  color: #f0eeff;
  font-family: var(--font-mono);
  font-weight: 400;
}

@media (max-width: 760px) {
  .stage.stage-form {
    margin-top: -20px;
  }
  .stage-form .stage-inner {
    padding-top: 34vw;
  }
}

/* ==========================================================================
   About and media kit (12 November 2026)
   ========================================================================== */

/* ---------- A page that opens with words only: no photo stage under the headline ---------- */
.hero-page h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}

/* ---------- About: four real photos in one row under the headline ---------- */
.mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 0.85fr;
  gap: clamp(8px, 1.2vw, 18px);
  height: clamp(240px, 30vw, 520px);
  margin-top: clamp(36px, 5vw, 72px);
}

.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: clamp(14px, 2vw, 26px);
}

.mosaic .m-founders {
  object-position: 50% 30%;
}

.mosaic .m-fair {
  object-position: 50% 44%;
}

@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .mosaic img {
    aspect-ratio: 1;
    height: auto;
  }
}

/* The story: the sentence on the left, the two paragraphs beside it */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.story-text {
  display: grid;
  gap: 18px;
}

.story-text .lead {
  max-width: 60ch;
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
}

/* A quote on the dark ground */
.quote-band {
  overflow: hidden;
  isolation: isolate;
}

.quote {
  width: min(100% - 2 * var(--gutter), 1040px);
  margin-inline: auto;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  justify-items: center;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.quote figcaption {
  display: grid;
  gap: 2px;
  color: var(--ink-2);
}

.quote figcaption b {
  color: var(--ink);
  font-size: 1.05rem;
}

/* Mission and vision: two cards, one light and one dark */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pair-card {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 48px);
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pair-card h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.1;
}

.pair-card p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 58ch;
}

.pair-card.pair-dark {
  background: var(--ink);
  color: var(--page);
  border-color: transparent;
}

.pair-dark p {
  color: rgba(244, 243, 255, 0.78);
}

.pair-dark .duty-kicker {
  color: #b9b7ff;
}

@media (max-width: 860px) {
  .pair {
    grid-template-columns: 1fr;
  }
}

/* The journey: four dated steps on one line */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: tl;
}

.timeline li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  counter-increment: tl;
}

.timeline li::before {
  content: counter(tl, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-ink);
}

.timeline .t-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.timeline h3 {
  font-size: 1.4rem;
}

.timeline p {
  color: var(--ink-2);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* The team: square portraits, name and role */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
}

.team li {
  display: grid;
  gap: 4px;
  align-content: start;
}

.team img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  background: var(--surface-2);
}

.team b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
}

.team span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 760px) {
  .team {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Media kit: a list of sections on the left, the document on the right ---------- */
.kit-sec {
  padding-top: clamp(16px, 3vw, 40px);
}

.kit {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.kit-nav {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: grid;
  gap: 0;
  font-size: 0.95rem;
}

.kit-nav .h {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.kit-nav a {
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.kit-nav a:hover {
  color: var(--ink);
  border-left-color: var(--accent);
}

.kit-body {
  display: grid;
  gap: clamp(56px, 7vw, 104px);
  max-width: 800px;
  min-width: 0;
}

.kit-block {
  display: grid;
  gap: 20px;
  scroll-margin-top: calc(var(--nav-h) + 28px);
}

.kit-block > h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  margin-bottom: 4px;
}

.kit-block p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 72ch;
}

.kit-block p b {
  color: var(--ink);
}

.kit-block .kit-big {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
}

.kit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.kit-card h3 {
  font-size: 1.3rem;
}

.kit-card p {
  font-size: 1rem;
  max-width: none;
}

.kit-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.kit-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.kit-copy {
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--accent-ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.kit-copy:hover {
  border-color: var(--accent);
}

.kit-copy.is-done {
  color: var(--up-ink);
  border-color: var(--up);
  background: var(--up-soft);
}

html:not(.js) .kit-copy {
  display: none;
}

.kit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kit-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.kit-mark svg {
  width: 16px;
  height: 16px;
}

.kit-mark.yes {
  background: var(--up-soft);
  color: var(--up-ink);
}

.kit-mark.no {
  background: var(--down-soft);
  color: var(--down-ink);
}

/* The facts: label and value on one line */
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: 1px solid var(--line);
}

.facts th {
  width: 32%;
  padding: 17px 20px 14px 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Founders: portrait, name, role, a short biography */
.founder {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.founder img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--surface-2);
}

.founder > div {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.founder h3 {
  font-size: 1.4rem;
}

/* Logos: each one on its ground, with its file */
.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.logo-tile {
  display: grid;
  gap: 10px;
}

.logo-box {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  padding: 12%;
}

.logo-box.on-dark {
  background: #09041d;
  border-color: #09041d;
}

.logo-box img {
  width: 100%;
  height: auto;
}

.logo-box.is-mark img {
  width: 30%;
}

.logo-tile figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* Colours and type */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.swatches li {
  display: grid;
  gap: 4px;
  align-content: start;
}

.sw {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  margin-bottom: 8px;
}

.sw-line {
  border: 1px solid var(--line-2);
}

.swatches code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-2);
}

.type-list li {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.type-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.type-list b {
  font-size: 1.15rem;
}

.type-list li > span:not(.kit-label) {
  grid-column: 2;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.type-display {
  font-family: var(--font-display);
}

.type-mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* In the press: one line per article */
.press a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 20px;
  gap: 6px 20px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.press li:last-child a {
  border-bottom: 1px solid var(--line);
}

.press b {
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.press svg {
  width: 18px;
  height: 18px;
  align-self: center;
  color: var(--ink-3);
  transition: translate 0.2s ease, color 0.2s ease;
}

.press a:hover b,
.press a:hover svg {
  color: var(--accent-ink);
}

.press a:hover svg {
  translate: 3px 0;
}

.kit-contact {
  justify-items: start;
}

.kit-contact b {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

@media (max-width: 900px) {
  .kit {
    grid-template-columns: 1fr;
  }

  .kit-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .kit-nav .h {
    flex-basis: 100%;
    margin-bottom: 2px;
  }

  .kit-nav a {
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.85rem;
  }

  .swatches {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .kit-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .swatches {
    grid-template-columns: 1fr 1fr;
  }

  .facts th,
  .facts td {
    display: block;
    width: 100%;
  }

  .facts th {
    padding-bottom: 2px;
  }

  .facts td {
    border-top: 0;
    padding-top: 0;
  }

  .facts tr:last-child th {
    border-bottom: 0;
  }

  .founder {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .type-list li {
    grid-template-columns: 1fr;
  }

  .type-list li > span:not(.kit-label) {
    grid-column: 1;
  }

  .press a {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .press .kit-label {
    grid-column: 1 / -1;
  }
}

/* Home, Resources band: three figures from the dataset, each a link to its own page (written by cms/resources.py) */
.res-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.res-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.res-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.res-fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.04em; color: #5f5cf0; }
.res-card b { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.res-src { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 860px) { .res-cards { grid-template-columns: 1fr; } }

/* ---------- Home, 13 November 2026: words instead of empty bars, your name first, slower answer line ---------- */
/* Answer line: the other names are written out, quieter than yours. The third appears only when yours is dropped. */
.al-word {
  color: var(--ink-3);
  transition: opacity 0.9s ease;
}
.al-nw + .al-nw .al-word {
  transition-delay: 0.25s;
}
.answer-line.is-reset .al-word {
  opacity: 0;
}
.al-word3 {
  display: none;
}
.answer-line.is-dropped .al-word3 {
  display: inline;
}
.answer-line .al-you {
  transition-duration: 0.9s, 0.9s, 0.65s, 1.2s;
}
.answer-line {
  transition-duration: 1s, 0.75s, 0.75s;
}
.al-caption {
  transition-duration: 0.75s;
}
/* Giant answer: your name comes first. It starts as quiet as the others, then lights up. */
.g-word {
  color: rgba(240, 238, 255, 0.5);
}
.scard-q .g-word {
  color: inherit;
  opacity: 0.6;
}
.giant .g-you {
  opacity: 1;
  transform: none;
  margin-left: -0.16em;
  margin-right: -0.08em;
  color: rgba(240, 238, 255, 0.5);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 0% 100%;
  transition: color 0.5s ease 0.1s, background-size 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.giant.is-yours .g-you,
html:not(.js) .giant .g-you {
  color: #fff;
  background-size: 100% 100%;
}
@media (prefers-reduced-motion: reduce) {
  .giant .g-you {
    color: #fff;
    background-size: 100% 100%;
    transition: none;
  }
}
/* The traveler's question: larger, white, in a dark bubble so it reads on the photo */
.gscene .ask {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.gscene .ask-who {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 238, 255, 0.9);
}
.gscene .ask-q {
  max-width: 44ch;
  padding: 12px 18px;
  border-radius: 18px 18px 18px 6px;
  border: 1px solid rgba(240, 238, 255, 0.24);
  background: rgba(9, 4, 29, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.3;
  color: #fff;
}
/* More air between the lines of the giant answer, so the lit name does not touch the line above */
.gscene .giant-answer,
.gscene.is-pinned .giant-answer {
  line-height: 1.28;
}
/* On short screens the pinned scene must still fit: the taller lines are paid back with a slightly smaller size */
.gscene.is-pinned .giant-answer {
  font-size: clamp(2.4rem, min(6.4vw, 9.4vh), 7rem);
}

/* 17 November 2026: who is speaking in the demos, and the "what we work on" section */
.al-who { margin: 0 0 10px; font-size: 17px; font-weight: 700; letter-spacing: 0; opacity: 1; }

/* ── The five assistants, above the sentence ─────────────────────────────
   Replaces `.al-who` above, which named one engine at a time ("Gemini
   answers") and said nothing about the other four, while the whole claim of
   the sentence below it is that the same question goes to all five.

   Nothing new scripts this. `site.js` already points the mark inside the
   pill at `#m-<engine>` on every turn of the sentence, so these rules follow
   that one attribute with `:has()` and the highlight moves on its own. The
   rules live here rather than in `globals.css` because this stylesheet owns
   these three pages — a second copy of their styles cost us the whole pill
   once already. */
.al-engines {
  margin: 0 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.al-engine {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  /* Legible, not decorative: the row is there to show that the same question
     goes to five assistants, so the four that are not answering still have to
     read as their own logos. */
  opacity: 0.55;
  transform: scale(0.88);
  transition: opacity 460ms ease, transform 460ms ease, background-color 460ms ease, color 460ms ease, box-shadow 460ms ease;
}

.al-engine svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Scoped to the row and the sentence next to it, not to a wrapper class, so
   the same five rules serve any answer line on the site. */
.al-engines:has(~ .answer-line .al-eng use[href="#m-openai"]) .al-engine[data-al-engine="openai"],
.al-engines:has(~ .answer-line .al-eng use[href="#m-gemini"]) .al-engine[data-al-engine="gemini"],
.al-engines:has(~ .answer-line .al-eng use[href="#m-perplexity"]) .al-engine[data-al-engine="perplexity"],
.al-engines:has(~ .answer-line .al-eng use[href="#m-claude"]) .al-engine[data-al-engine="claude"],
.al-engines:has(~ .answer-line .al-eng use[href="#m-google"]) .al-engine[data-al-engine="google"] {
  opacity: 1;
  transform: scale(1);
  background: var(--ink);
  color: var(--page);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 9%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .al-engine { transition: none; }
}

@media (max-width: 560px) {
  .al-engines { gap: 7px; }
  .al-engine { width: 27px; height: 27px; }
  .al-engine svg { width: 14px; height: 14px; }
}
.gscene .answer-ask { margin: 18px 0 6px; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; }
.work-grid li { border-top: 1px solid rgba(9, 4, 29, 0.14); padding-top: 18px; }
.work-grid .n { font-size: 13px; font-weight: 600; opacity: 0.55; }
.work-grid h3 { margin: 10px 0 8px; font-size: 20px; }
.work-grid p { margin: 0; font-size: 15.5px; line-height: 1.55; opacity: 0.8; }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }
.scard-who { font-size: 1.02rem; font-weight: 700; color: #fff; }
.scard-who svg { width: 19px; height: 19px; }

/* 17 November 2026: the giant block is now a plain statement. The lit part is a whole clause, so it must wrap
   like the rest of the sentence, and the text stays in front of the answer cards. */
.gscene .scene-say { position: relative; z-index: 2; }
.giant .g-you { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; margin-left: 0; margin-right: 0; padding: 0 0.12em; }
.gscene .giant-answer { max-width: 15ch; }
.gscene.is-pinned .giant-answer { font-size: clamp(2.2rem, min(5.6vw, 8.6vh), 6.2rem); }
/* The larger speaker labels make the cards taller: tighter cards while the scene is pinned, so three still fit. */
.gscene.is-pinned .scard { padding: 14px 18px 15px; gap: 7px; }
.gscene.is-pinned .scard-who { font-size: 0.95rem; }
.gscene.is-pinned .scene-cards { gap: 10px; }

}
