/* Static prelaunch landing — base reset, self-hosted fonts and brand tokens.
   The section styles below are the approved landing stylesheet
   (frontend/src/components/landing/landing.module.css), unchanged. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; -webkit-tap-highlight-color: transparent; }
body { line-height: inherit; background: #f2f0eb; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
ul, ol, menu { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/*
 * Public landing styles (#738).
 *
 * Ported from the approved vault mock (`UI/landing-1.0-draft/index.html`),
 * scoped to the page so the authenticated app and auth screens keep their own
 * tokens. The landing is deliberately theme-independent: it always renders the
 * approved jet/paper composition, even when the user's shell is in dark mode.
 */

.root {
  --landing-ink: #2d2c2f;
  --landing-paper: #f2f0eb;
  --landing-line: rgba(45, 44, 47, 0.14);
  --landing-text: #2d2c2f;
  --landing-mute: #6e6a66;
  --landing-on-dark: #f2f0eb;
  --landing-on-dark-mute: rgba(242, 240, 235, 0.7);
  --landing-wine: #6c1d45;
  --landing-rose: #d9a7be;
  --landing-warm: #b6ada5;
  --landing-pad: clamp(20px, 5vw, 64px);
  --landing-max: 1180px;
  --landing-radius: 999px;
  --landing-font-display: var(--font-sans);
  --landing-font-body: var(--font-sans);
  --landing-font-mono: var(--font-mono);

  position: relative;
  min-height: 100vh;
  background: var(--landing-paper);
  color: var(--landing-text);
  font-family: var(--landing-font-body);
  -webkit-font-smoothing: antialiased;
}

.root ::selection {
  background: #f8bbd0;
  color: #111;
}

.root :focus-visible {
  outline: 2px solid var(--landing-wine);
  outline-offset: 3px;
  border-radius: 4px;
}

.header :focus-visible,
.hero :focus-visible,
.sectionDark :focus-visible,
.ctaBand :focus-visible,
.footer :focus-visible {
  outline-color: var(--landing-on-dark);
}

.wrap {
  width: 100%;
  max-width: var(--landing-max);
  margin: 0 auto;
  padding: 0 var(--landing-pad);
}

.mono {
  font-family: var(--landing-font-mono);
  font-variant-numeric: tabular-nums;
}

.accent {
  color: var(--landing-wine);
}

.accentRose {
  color: var(--landing-rose);
}

.eyebrow {
  margin: 0;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--landing-mute);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fbf9f5;
  color: var(--landing-text);
  padding: 12px 18px;
  border-radius: 8px;
}

.skip:focus {
  left: 16px;
  top: 16px;
}

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  color: var(--landing-on-dark);
  background: var(--landing-ink);
  border-bottom: 1px solid rgba(217, 167, 190, 0.24);
}

.header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.brandLogo {
  display: block;
  height: 34px;
  width: 93.85px;
}

.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  color: var(--landing-on-dark-mute);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav a:hover {
  color: var(--landing-on-dark);
}

.headerActions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.loginLink {
  font-size: 14px;
  color: var(--landing-on-dark-mute);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.2s ease;
}

.loginLink:hover {
  color: var(--landing-on-dark);
}

.menuButton {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(242, 240, 235, 0.26);
  background: transparent;
  color: var(--landing-on-dark);
  cursor: pointer;
}

.menuButton:hover {
  border-color: rgba(242, 240, 235, 0.52);
}

.mobileMenu {
  display: none;
}

@media (max-width: 920px) {
  .header .wrap {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .menuButton {
    display: inline-flex;
  }

  .mobileMenu {
    position: fixed;
    inset: 68px 0 auto;
    z-index: 49;
    display: flex;
    flex-direction: column;
    padding: 4px var(--landing-pad) 20px;
    background: var(--landing-ink);
    border-bottom: 1px solid rgba(242, 240, 235, 0.14);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.8);
  }

  .mobileMenu[hidden] {
    display: none;
  }

  .mobileMenu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    color: var(--landing-on-dark-mute);
    text-decoration: none;
    border-top: 1px solid rgba(242, 240, 235, 0.1);
  }

  .mobileMenu a:first-child {
    border-top: 0;
  }

  .mobileMenu a:hover {
    color: var(--landing-on-dark);
  }
}

@media (max-width: 520px) {
  .headerActions {
    gap: 10px;
  }

  .menuButton {
    width: 36px;
    height: 36px;
  }

  .loginLink {
    font-size: 13px;
  }

  .brandLogo {
    height: 30px;
    width: 82.8px;
  }
}

@media (max-width: 380px) {
  .loginLink {
    font-size: 12px;
  }

  .brandLogo {
    height: 28px;
    width: 77.3px;
  }

  .headerActions .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--landing-radius);
  font-family: var(--landing-font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btnPrimary {
  background: var(--landing-paper);
  color: var(--landing-wine);
  padding: 13px 24px;
  box-shadow: inset 0 0 0 1px rgba(108, 29, 69, 0.12), 0 12px 30px -20px rgba(0, 0, 0, 0.9);
}

.btnPrimary:hover {
  background: #e7e2da;
  transform: translateY(-1px);
}

.btnGhost {
  color: var(--landing-rose);
  padding: 13px 22px;
  border: 1px solid rgba(217, 167, 190, 0.45);
}

.btnGhost:hover {
  border-color: rgba(217, 167, 190, 0.7);
  color: var(--landing-paper);
  transform: translateY(-1px);
}

.btnSm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--landing-ink);
  color: var(--landing-on-dark);
  overflow: hidden;
  isolation: isolate;
}

.heroBg {
  position: absolute;
  inset: 0;
  z-index: -2;
  filter: blur(60px);
  background:
    radial-gradient(58% 72% at 10% 92%, rgba(108, 29, 69, 0.62), rgba(108, 29, 69, 0) 66%),
    radial-gradient(46% 55% at 90% 8%, rgba(217, 167, 190, 0.17), rgba(217, 167, 190, 0) 72%),
    linear-gradient(180deg, rgba(242, 240, 235, 0.05), rgba(242, 240, 235, 0) 42%);
  animation: driftA 26s ease-in-out infinite alternate;
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(6vw, 4vw, 0);
  }
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.heroInner {
  position: relative;
  padding-top: 96px;
  padding-bottom: 120px;
  text-align: center;
}

@keyframes rise {
  from {
    transform: translateY(16px);
  }
  to {
    transform: none;
  }
}

.heroInner > * {
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.heroTitle {
  animation-delay: 0.06s;
  margin: 0 auto;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.heroTitle em {
  font-style: normal;
  color: var(--landing-warm);
}

.marker {
  display: inline-block;
  padding: 0.02em 0.08em 0.12em;
  border-radius: 0.1em 0.14em 0.09em 0.12em;
  background: var(--landing-rose);
  color: var(--landing-ink);
}

.heroTail {
  display: inline;
}

.heroLead {
  animation-delay: 0.16s;
  margin: 26px auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.6;
  color: var(--landing-on-dark-mute);
  text-wrap: pretty;
}

.heroActions {
  animation-delay: 0.24s;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
}

.heroNote {
  animation-delay: 0.32s;
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(242, 240, 235, 0.68);
}

.hero .heroNote {
  color: rgba(182, 173, 165, 0.82);
}

.marquee {
  position: relative;
  border-top: 1px solid rgba(108, 29, 69, 0.6);
  background: rgba(35, 33, 37, 0.55);
  overflow: hidden;
  padding: 14px 0;
}

.marqueeTrack {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

/* WCAG 2.2.2: the ticker pauses on hover/focus and through the explicit
   control, so nobody has to wait out a moving band they cannot stop. */
.marquee:hover .marqueeTrack,
.marquee:focus-within .marqueeTrack,
.marquee[data-paused="true"] .marqueeTrack {
  animation-play-state: paused;
}

.marqueeControl {
  position: absolute;
  top: 50%;
  right: max(10px, calc(var(--landing-pad) - 22px));
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(217, 167, 190, 0.3);
  background: var(--landing-ink);
  color: var(--landing-on-dark);
  cursor: pointer;
}

.marqueeControl:hover {
  border-color: rgba(217, 167, 190, 0.55);
}

/* The controls sit over the moving band: keep its last words readable. */
.marquee::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 72px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(35, 33, 37, 0), rgba(35, 33, 37, 0.92));
}

.marquee span {
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(182, 173, 165, 0.9);
  padding-right: 28px;
  white-space: nowrap;
}

.marquee span::before {
  content: "·";
  margin-right: 14px;
  color: var(--landing-rose);
}

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

@media (max-width: 700px) {
  /* `balance` keeps the claim in even lines; making the tail a block forced
     "Nosotros," onto an orphan line at 390 px (#777). */
  .heroTitle {
    text-wrap: balance;
  }

  .heroActions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .heroActions .btn {
    width: 100%;
  }
}

/* ---------- sections ---------- */
.section {
  padding: clamp(72px, 10vw, 138px) 0;
  scroll-margin-top: 68px;
}

.sectionDark {
  background: var(--landing-ink);
  color: var(--landing-on-dark);
}

.sectionDark .eyebrow {
  color: var(--landing-on-dark-mute);
}

.sectionHead {
  max-width: 900px;
}

.sectionHead h2 {
  margin: 18px 0 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sectionHead p:not(.eyebrow) {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--landing-mute);
}

.sectionDark .sectionHead p:not(.eyebrow) {
  color: var(--landing-on-dark-mute);
}

/* steps */
.steps {
  margin-top: 58px;
  border-top: 1px solid var(--landing-line);
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr 1.25fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 30px 0;
  border-bottom: 1px solid var(--landing-line);
  align-items: start;
}

.stepNum {
  font-family: var(--landing-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--landing-mute);
  padding-top: 7px;
}

.step h3 {
  margin: 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--landing-mute);
  line-height: 1.6;
  font-size: 15.5px;
  max-width: 44ch;
}

@media (max-width: 760px) {
  .step {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "num title"
      ". copy";
    row-gap: 8px;
  }

  .stepNum {
    grid-area: num;
  }

  .step h3 {
    grid-area: title;
  }

  .step p {
    grid-area: copy;
  }
}

/* manifesto */
.manifesto {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 90px);
}

.manifesto h2 {
  margin: 18px 0 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 0.99;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.manifestoBody p {
  color: var(--landing-on-dark-mute);
  line-height: 1.7;
  margin: 0 0 18px;
  font-size: 16px;
}

.manifestoBody p:last-child {
  margin-bottom: 0;
}

.noList {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.noList li {
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--landing-warm);
  border: 1px solid rgba(182, 173, 165, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
}

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

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 56px;
}

.panel {
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  padding: clamp(24px, 3.4vw, 38px);
  background: #fbf9f5;
}

.panelUs {
  border-color: rgba(108, 29, 69, 0.28);
  background: #f7eef2;
}

.panel h3 {
  margin: 14px 0 22px;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.panel li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--landing-text);
}

.panel li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-mute);
  transform: translateY(-2px);
}

.panelUs li::before {
  background: var(--landing-wine);
}

.panelUs .eyebrow {
  color: var(--landing-wine);
}

.splitNote {
  margin: 22px 0 0;
  color: var(--landing-mute);
  font-size: 14px;
}

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

/* price */
.priceGrid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.priceTitle {
  margin: 18px 0 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.receipt {
  background: #fbf9f5;
  border: 1px solid var(--landing-line);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
  margin: 0;
  box-shadow: 0 1px 0 rgba(17, 17, 20, 0.03), 0 18px 50px -30px rgba(17, 17, 20, 0.25);
}

.receiptHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--landing-line);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.receiptHead .mono {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-mute);
}

.receiptHead strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--landing-mute);
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(45, 44, 47, 0.07);
  font-size: 14.5px;
}

.line span:last-child {
  font-family: var(--landing-font-mono);
  font-variant-numeric: tabular-nums;
}

.lineMuted span {
  color: var(--landing-mute);
}

.lineTotal {
  border-bottom: 0;
  border-top: 1px solid var(--landing-line);
  margin-top: 6px;
  padding-top: 20px;
  font-size: 17px;
  font-weight: 600;
}

.lineTotal span:last-child {
  font-size: 19px;
  color: var(--landing-wine);
}

.receiptFoot {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--landing-mute);
}

.priceCopy {
  margin-top: 24px;
}

.priceCopy p {
  color: var(--landing-mute);
  line-height: 1.65;
  margin: 0 0 16px;
  font-size: 15.5px;
}

.priceCopy .big {
  font-family: var(--landing-font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--landing-text);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}

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

/* ---------- product stage ---------- */
.stage {
  position: relative;
  height: 240vh;
  padding: 0;
  scroll-margin-top: 68px;
}

.stagePin {
  position: sticky;
  top: 68px;
  height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stageHead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
  margin-bottom: 40px;
}

.stageHead h2 {
  margin: 16px 0 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.stageSteps {
  position: relative;
  min-height: 104px;
}

.stageStep {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.stageNum {
  margin: 0 0 6px;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--landing-mute);
}

.stageStep h3 {
  margin: 0 0 6px;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.stageStep p:not(.stageNum) {
  margin: 0;
  max-width: 48ch;
  color: var(--landing-mute);
  font-size: 14.5px;
  line-height: 1.55;
}

.stageScene {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stagePanel {
  background: #232125;
  border: 1px solid rgba(242, 240, 235, 0.1);
  border-radius: 16px;
  padding: 20px;
  color: var(--landing-on-dark);
  box-shadow: 0 40px 80px -50px rgba(45, 44, 47, 0.65);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease, box-shadow 0.5s ease;
}

/* Inactive screens stay readable: 0.85 is the floor that keeps the dimmest
   label (rgba white 0.62) at 4,84:1 over the darkened panel, above WCAG AA.
   0.6 dropped it to 2,96–3,31:1 (#777). */
.stageScene > .stagePanel:nth-child(1) {
  flex: 0 1 300px;
  z-index: 1;
  transform: translateY(6px) scale(0.93);
  filter: brightness(0.85) saturate(0.95);
  margin-right: -22px;
}

.stageScene > .stagePanel:nth-child(2) {
  flex: 0 1 480px;
  z-index: 2;
  transform: translateY(6px) scale(0.93);
  filter: brightness(0.85) saturate(0.95);
}

.stageScene > .stagePanel:nth-child(3) {
  flex: 0 1 300px;
  z-index: 1;
  transform: translateY(6px) scale(0.93);
  filter: brightness(0.85) saturate(0.95);
  margin-left: -22px;
}

.stage[data-active="0"] .stageStep:nth-child(1),
.stage[data-active="1"] .stageStep:nth-child(2),
.stage[data-active="2"] .stageStep:nth-child(3) {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.stage[data-active="0"] .stageScene > .stagePanel:nth-child(1),
.stage[data-active="1"] .stageScene > .stagePanel:nth-child(2),
.stage[data-active="2"] .stageScene > .stagePanel:nth-child(3) {
  transform: translateY(-6px) scale(1.02);
  filter: none;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(242, 240, 235, 0.18), 0 50px 90px -40px rgba(0, 0, 0, 0.55);
}

.stageNote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--landing-mute);
}

.pcardHead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.62);
}

.pcardHead::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-wine);
  box-shadow: 0 0 0 3px rgba(108, 29, 69, 0.28);
}

.briefFields {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.briefFields dt {
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.62);
}

.briefFields dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--landing-on-dark);
}

.briefFoot {
  margin-top: 18px;
}

.btnLine {
  display: inline-flex;
  border: 1px solid rgba(242, 240, 235, 0.26);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--landing-on-dark);
}

.campaignHead {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.campaignHead .pcardHead {
  margin-bottom: 6px;
}

.campaignTitle {
  margin: 0;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--landing-on-dark);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e7c6d4;
  background: rgba(108, 29, 69, 0.34);
  border: 1px solid rgba(217, 167, 190, 0.3);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.chipLive {
  color: var(--landing-on-dark);
  background: rgba(242, 240, 235, 0.05);
  border-color: rgba(242, 240, 235, 0.18);
}

.chipLive::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2e7d32;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.kpi {
  border: 1px solid rgba(242, 240, 235, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
}

.kpi span {
  display: block;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.62);
}

.kpi strong {
  display: block;
  margin-top: 4px;
  font-family: var(--landing-font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--landing-on-dark);
}

.pieces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.piece {
  border: 1px solid rgba(242, 240, 235, 0.1);
  border-radius: 10px;
  padding: 10px;
  background: rgba(242, 240, 235, 0.02);
}

.piece small {
  display: block;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  color: rgba(242, 240, 235, 0.62);
}

.piece p {
  margin: 5px 0 7px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--landing-on-dark);
}

.windowFoot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(242, 240, 235, 0.1);
}

.costLines {
  font-family: var(--landing-font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(242, 240, 235, 0.68);
}

.costLines span {
  display: block;
}

.costTotal span {
  display: block;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.62);
}

.costTotal strong {
  font-family: var(--landing-font-mono);
  font-weight: 500;
  font-size: 18px;
  color: var(--landing-on-dark);
}

.windowActions {
  display: flex;
  justify-content: end;
  margin-top: 12px;
}

.btnApp {
  display: inline-flex;
  background: var(--landing-wine);
  color: var(--landing-on-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(242, 240, 235, 0.3);
}

.liveChart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(242, 240, 235, 0.08);
}

.liveChart span {
  flex: 1;
  height: var(--h);
  background: #8a2a5a;
  border-radius: 3px 3px 0 0;
}

.liveLabel {
  margin: 8px 0 0;
  font-family: var(--landing-font-mono);
  font-size: 11px;
  color: rgba(242, 240, 235, 0.62);
}

.liveBudget {
  margin-top: 18px;
}

.liveBudgetHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(242, 240, 235, 0.62);
}

.liveBudgetHead strong {
  font-family: var(--landing-font-mono);
  font-weight: 500;
  color: var(--landing-on-dark);
}

.ovBar {
  height: 4px;
  border-radius: 2px;
  background: rgba(242, 240, 235, 0.12);
  margin-top: 10px;
  overflow: hidden;
}

.ovBar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--landing-wine);
}

@media (max-width: 900px) {
  .stage {
    height: auto;
    padding: clamp(72px, 10vw, 138px) 0;
  }

  .stagePin {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .stageHead {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 26px;
  }

  .stageSteps {
    min-height: 0;
  }

  .stage[data-active] .stageStep:nth-child(n) {
    position: static;
    opacity: 1;
    transform: none;
    padding: 14px 0;
    border-top: 1px solid var(--landing-line);
    pointer-events: auto;
  }

  .stageStep:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .stageScene {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .stage[data-active] .stageScene > .stagePanel:nth-child(n) {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    transform: none;
    filter: none;
    opacity: 1;
    margin: 0;
  }

  .stageNote {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .campaignHead {
    flex-direction: column;
    gap: 10px;
  }

  .pieces {
    grid-template-columns: 1fr;
  }

  .windowFoot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .windowActions {
    justify-content: stretch;
  }

  .btnApp {
    width: 100%;
    justify-content: center;
  }
}

/* No-JS fallback: the scroll driver never runs, so the pinned stage becomes a
   normal stacked section instead of leaving two dimmed screens behind. */
@media (scripting: none) {
  .stage {
    height: auto;
    padding: clamp(72px, 10vw, 138px) 0;
  }

  .stagePin {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }

  .stageHead {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 26px;
  }

  .stageSteps {
    min-height: 0;
  }

  .stage[data-active] .stageStep:nth-child(n) {
    position: static;
    opacity: 1;
    transform: none;
    padding: 14px 0;
    border-top: 1px solid var(--landing-line);
    pointer-events: auto;
  }

  .stageStep:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .stageScene {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .stage[data-active] .stageScene > .stagePanel:nth-child(n) {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    transform: none;
    filter: none;
    opacity: 1;
    margin: 0;
  }

  .stageNote {
    position: static;
    margin-top: 18px;
  }
}

/* ---------- final CTA ---------- */
.ctaBand {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--landing-ink);
  color: var(--landing-on-dark);
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(88px, 13vw, 150px) 0;
  text-align: center;
  scroll-margin-top: 68px;
}

.ctaBand::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: -40%;
  width: 1100px;
  height: 1100px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(108, 29, 69, 0.3), rgba(108, 29, 69, 0) 62%);
  filter: blur(70px);
}

.ctaBand h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--landing-font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.ctaBand p {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--landing-on-dark-mute);
  line-height: 1.6;
  font-size: 16px;
}

.ctaBand .btn {
  margin-top: 36px;
}

.ctaBand .heroNote {
  margin-top: 16px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--landing-ink);
  color: var(--landing-on-dark);
  padding: 44px 0 54px;
  border-top: 1px solid rgba(242, 240, 235, 0.1);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: rgba(242, 240, 235, 0.62);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer nav a {
  font-size: 13px;
  color: rgba(242, 240, 235, 0.72);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--landing-on-dark);
}

/* ---------- reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroBg,
  .marqueeTrack {
    animation: none;
  }

  .marqueeControl {
    display: none;
  }

  .heroInner > * {
    animation: none;
  }

  .stageStep,
  .stagePanel {
    transition: none;
  }

  .btn,
  .nav a::after,
  .nav a,
  .loginLink {
    transition: none;
  }

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


/* ---------- prelaunch access (added for the static bridge site) ---------- */
.ctaAccess { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.ctaAccessHint { margin: 0; font-size: 13px; color: var(--landing-on-dark-mute); }
.ctaAccessRow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ctaEmail { font-family: var(--landing-font-mono); font-size: 14px; color: var(--landing-on-dark); background: rgba(242, 240, 235, 0.08); border: 1px solid rgba(242, 240, 235, 0.18); border-radius: 999px; padding: 8px 14px; }
.copyBtn { border: 1px solid rgba(242, 240, 235, 0.28); background: transparent; color: var(--landing-on-dark); border-radius: 999px; font: inherit; font-size: 13px; padding: 8px 14px; transition: border-color 0.18s ease, color 0.18s ease; }
.copyBtn:hover { border-color: rgba(242, 240, 235, 0.55); }
.copyBtn[data-copied="true"] { border-color: rgba(217, 167, 190, 0.65); color: var(--landing-rose); }
.srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Static build: chart values live in the stylesheet, so the page has no inline
   style attributes and the edge can keep a strict style-src 'self' policy. */
.liveChart span:nth-child(1) { --h: 32%; }
.liveChart span:nth-child(2) { --h: 46%; }
.liveChart span:nth-child(3) { --h: 38%; }
.liveChart span:nth-child(4) { --h: 58%; }
.liveChart span:nth-child(5) { --h: 52%; }
.liveChart span:nth-child(6) { --h: 70%; }
.liveChart span:nth-child(7) { --h: 64%; }
.ovBar span { width: 36%; }
