@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #faf6ee;
  --paper-deep: #f2eee5;
  --ink: #102722;
  --ink-soft: #3f514a;
  --muted: #5d6c66;
  --line: rgba(16, 39, 34, 0.15);
  --line-strong: rgba(16, 39, 34, 0.27);
  --gold: #8a6615;
  --gold-light: #d9bd67;
  --water: #2f6f67;
  --water-dark: #245a53;
  --display: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --header-height: 82px;
}

body.ficha-launch {
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

body.ficha-launch::selection,
body.ficha-launch *::selection {
  color: #fffdf8;
  background: var(--water);
}

.ficha-launch #atlas-bg {
  opacity: 0.3;
  filter: grayscale(0.25) saturate(0.72) contrast(0.82);
}

.ficha-launch h1,
.ficha-launch h2,
.ficha-launch h3,
.ficha-launch h4 {
  font-family: var(--display);
  letter-spacing: -0.025em;
}

.ficha-launch .tn-header {
  position: fixed;
  inset: 0 0 auto;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 238, 0.97);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.ficha-launch .tn-brand {
  width: auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  gap: 1px 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.ficha-launch .tn-brand-mark {
  grid-column: 1;
  grid-row: 1 / 3;
  font: 700 2rem/1 var(--display);
}

.ficha-launch .tn-brand-copy {
  display: contents;
}

.ficha-launch .tn-brand-copy strong {
  grid-column: 2;
  grid-row: 1;
  color: var(--ink);
  font: 700 1.48rem/1 var(--display);
  letter-spacing: -0.025em;
}

.ficha-launch .tn-brand-copy small {
  grid-column: 2;
  grid-row: 2;
  color: #52635c;
  font: 700 0.61rem/1 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ficha-launch .tn-nav {
  gap: 24px;
  font-size: 0.75rem;
}

.ficha-launch .tn-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: #31443d;
  border-bottom: 1px solid transparent;
}

.ficha-launch .tn-nav .tn-nav-primary {
  min-height: 42px;
  padding: 0 17px;
  color: #fffdf8;
  border: 1px solid #0f352f;
  border-radius: 5px;
  background: #0f352f;
}

.ficha-launch .tn-nav .tn-nav-primary:hover {
  border-color: var(--water-dark);
  background: var(--water-dark);
}

.ficha-launch .brief-hero {
  min-height: 0;
  padding: clamp(56px, 6vw, 88px) 24px clamp(58px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(128deg, rgba(250, 246, 238, 0.94), rgba(229, 237, 214, 0.68));
}

.ficha-launch .brief-hero-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.62fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: center;
}

.ficha-launch .eyebrow {
  margin-bottom: 15px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.ficha-launch .brief-hero h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(4.4rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.ficha-launch .brief-hero h1 small {
  margin-top: 18px;
  color: var(--water-dark);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0;
}

.ficha-launch .brief-deck {
  max-width: 58ch;
  margin-top: 25px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.57;
}

.ficha-launch .territory-picker {
  max-width: 720px;
  margin-top: 31px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ficha-launch .territory-picker > label {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ficha-launch .territory-picker-row {
  gap: 10px;
}

.ficha-launch .territory-picker input {
  min-height: 51px;
  border-color: rgba(16, 39, 34, 0.27);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.86);
  font-size: 0.95rem;
  backdrop-filter: none;
}

.ficha-launch .territory-picker button,
.ficha-launch .button {
  min-height: 48px;
  border-radius: 5px;
  padding: 0 19px;
  font-size: 0.86rem;
}

.ficha-launch .field-note {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.ficha-launch .hero-actions {
  margin-top: 19px;
  gap: 10px;
}

.ficha-launch .button-secondary {
  border-color: rgba(15, 53, 47, 0.28);
  background: rgba(255, 253, 248, 0.56);
}

.ficha-launch .button-secondary:hover {
  border-color: #0f352f;
  background: #fffdf8;
}

.ficha-launch .hero-register {
  align-self: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 24px 60px rgba(24, 47, 40, 0.08);
}

.ficha-launch .hero-register-head {
  padding: 24px 26px 20px;
  border-bottom-color: var(--line);
}

.ficha-launch .hero-register-head span {
  color: var(--water-dark);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ficha-launch .hero-register-head strong {
  margin-top: 5px;
  font-size: 1.72rem;
  letter-spacing: -0.025em;
}

.ficha-launch .hero-facts {
  padding: 0 26px;
}

.ficha-launch .hero-facts > div {
  grid-template-columns: minmax(120px, 1fr) auto;
  padding: 14px 0;
}

.ficha-launch .hero-facts dt {
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.ficha-launch .hero-facts dd {
  color: var(--ink);
  font-size: 0.76rem;
}

.ficha-launch .hero-register > p {
  margin: 0;
  padding: 18px 26px 22px;
  color: var(--muted);
  background: rgba(242, 238, 229, 0.56);
  font-size: 0.78rem;
  line-height: 1.55;
}

.ficha-launch .evidence-band {
  grid-template-columns: repeat(3, 1fr);
  color: #fffdf8;
  border: 0;
  background: #0f352f;
  backdrop-filter: none;
}

.ficha-launch .evidence-band > div {
  min-height: 126px;
  grid-template-columns: auto 1fr;
  padding: 25px clamp(28px, 4vw, 70px);
  border-right-color: rgba(255, 255, 255, 0.17);
}

.ficha-launch .evidence-band span {
  min-width: 56px;
  padding: 0;
  border: 0;
  color: var(--gold-light);
  font-size: 1.12rem;
}

.ficha-launch .evidence-band strong {
  color: #fffdf8;
  font-family: var(--sans);
  font-size: 1.02rem;
}

.ficha-launch .evidence-band small {
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.76rem;
}

.ficha-launch .story-intro {
  padding: clamp(62px, 7vw, 104px) 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ficha-launch .story-intro > * {
  width: min(1320px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.ficha-launch .story-intro > div {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(340px, 0.7fr);
  justify-content: space-between;
  gap: 60px;
  align-items: end;
}

.ficha-launch .story-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  line-height: 0.95;
}

.ficha-launch .story-intro div > p {
  max-width: 50ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.62;
}

.ficha-launch .story {
  border-top: 0;
  background: #f4f1e9;
}

.ficha-launch .story-layout {
  grid-template-columns: minmax(0, 1.22fr) minmax(430px, 0.78fr);
}

.ficha-launch .story-map {
  min-height: 640px;
  border-right-color: var(--line-strong);
}

.ficha-launch .story-reader {
  min-width: 0;
  background: rgba(250, 246, 238, 0.94);
}

.ficha-launch .story-scene-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(250, 246, 238, 0.97);
  backdrop-filter: blur(10px);
}

.ficha-launch .story-scene-nav button {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.72rem;
}

.ficha-launch .story-scene-nav button:nth-child(3n) {
  border-right: 0;
}

.ficha-launch .story-scene-nav button span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.ficha-launch .story-scene-nav button.is-active {
  color: #fffdf8;
  border-color: #0f352f;
  background: #0f352f;
}

.ficha-launch .story-scene-nav button.is-active span {
  color: var(--gold-light);
}

.ficha-launch .story-steps {
  padding: 0 clamp(28px, 4vw, 62px);
}

.ficha-launch .story-step {
  min-height: calc(100svh - var(--header-height) - 103px);
  scroll-margin-top: 92px;
  padding: clamp(62px, 7vw, 92px) 8px clamp(64px, 7vw, 96px) 25px;
  border-left-width: 2px;
}

.ficha-launch .story-step h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.25rem);
  line-height: 1;
}

.ficha-launch .story-step > p:not(.source-note) {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}

.ficha-launch .step-index {
  color: var(--water-dark);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.ficha-launch .source-note {
  color: #627069;
  font-size: 0.58rem;
}

.ficha-launch .decision-output,
.ficha-launch .sources,
.ficha-launch .product-cta {
  padding: clamp(72px, 8vw, 116px) max(24px, calc((100vw - 1320px) / 2));
}

.ficha-launch .decision-output {
  color: #fffdf8;
  background: #0f352f;
}

.ficha-launch .decision-output h2,
.ficha-launch .sources h2,
.ficha-launch .product-cta h2 {
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  line-height: 0.98;
}

.ficha-launch .decision-output-grid {
  gap: clamp(28px, 4vw, 54px);
}

.ficha-launch .decision-output article {
  border-top-color: rgba(217, 189, 103, 0.55);
}

.ficha-launch .decision-output article h3 {
  color: #fffdf8;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.ficha-launch .decision-output article p {
  color: rgba(255, 253, 248, 0.74);
}

.ficha-launch .sources {
  background: var(--paper);
  backdrop-filter: none;
}

.ficha-launch .sources-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 70px;
}

.ficha-launch .source-table-wrap {
  border-top-color: var(--ink);
}

.ficha-launch table {
  font-size: 0.8rem;
}

.ficha-launch th {
  color: #53645d;
  font-size: 0.58rem;
}

.ficha-launch .product-cta {
  border-top: 0;
  color: #fffdf8;
  background: var(--water-dark);
}

.ficha-launch .product-cta h2,
.ficha-launch .product-cta .eyebrow {
  color: #fffdf8;
}

.ficha-launch .product-cta .eyebrow {
  color: var(--gold-light);
}

.ficha-launch .product-cta p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.76);
}

.ficha-launch .product-cta .button-primary {
  color: var(--ink);
  border-color: #fffdf8;
  background: #fffdf8;
}

.ficha-launch .product-cta .button-primary:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.ficha-launch .product-cta .button-secondary {
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.ficha-launch .product-cta .button-secondary:hover {
  border-color: #fffdf8;
  background: rgba(255, 255, 255, 0.08);
}

.ficha-launch .ficha-footer {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 30px max(24px, calc((100vw - 1320px) / 2));
  color: var(--ink-soft);
  background: var(--paper);
}

.ficha-launch .ficha-footer-brand {
  display: grid;
}

.ficha-launch .ficha-footer-brand strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.ficha-launch .ficha-footer-brand span {
  font-size: 0.75rem;
}

.ficha-launch .ficha-footer nav {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.ficha-launch .ficha-footer a {
  margin: 0;
  color: var(--water-dark);
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
}

.ficha-launch .ficha-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ficha-launch .loading-state strong {
  font-size: 1.8rem;
}

@media (max-width: 1100px) {
  :root { --header-height: 72px; }

  .ficha-launch .brief-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
    gap: 42px;
  }

  .ficha-launch .brief-hero h1 {
    font-size: clamp(4rem, 7.8vw, 5.8rem);
  }

  .ficha-launch .story-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  }

  .ficha-launch .story-step {
    padding-left: 20px;
  }

  .ficha-launch .ficha-footer {
    grid-template-columns: auto 1fr;
  }

  .ficha-launch .ficha-footer-email {
    grid-column: 2;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }

  .ficha-launch .tn-header {
    padding: 0 16px;
  }

  .ficha-launch .tn-brand {
    grid-template-columns: 27px auto;
    gap: 0 8px;
  }

  .ficha-launch .tn-brand-mark {
    font-size: 1.55rem;
  }

  .ficha-launch .tn-brand-copy strong {
    font-size: 1.18rem;
  }

  .ficha-launch .tn-brand-copy small {
    font-size: 0.49rem;
  }

  .ficha-launch .tn-nav {
    gap: 7px;
  }

  .ficha-launch .tn-nav a:not(:first-child):not(.tn-nav-primary) {
    display: none;
  }

  .ficha-launch .tn-nav a:first-child {
    min-height: 36px;
    font-size: 0.68rem;
  }

  .ficha-launch .tn-nav .tn-nav-primary {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .ficha-launch .brief-hero {
    min-height: 0;
    padding: 42px 20px 48px;
  }

  .ficha-launch .brief-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ficha-launch .brief-hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.6rem);
  }

  .ficha-launch .brief-hero h1 small {
    margin-top: 12px;
  }

  .ficha-launch .brief-deck {
    margin-top: 20px;
    font-size: 1rem;
  }

  .ficha-launch .territory-picker {
    margin-top: 25px;
    padding-top: 20px;
  }

  .ficha-launch .territory-picker-row {
    grid-template-columns: 1fr;
  }

  .ficha-launch .territory-picker button {
    width: 100%;
  }

  .ficha-launch .hero-actions .button {
    width: 100%;
    flex: none;
  }

  .ficha-launch .hero-register {
    padding: 0;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
  }

  .ficha-launch .evidence-band {
    grid-template-columns: 1fr;
  }

  .ficha-launch .evidence-band > div {
    min-height: 92px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .ficha-launch .story-intro {
    padding: 58px 20px;
  }

  .ficha-launch .story-intro > div {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .ficha-launch .story-intro h2 {
    font-size: 3.15rem;
  }

  .ficha-launch .story-intro div > p {
    font-size: 0.95rem;
  }

  .ficha-launch .story-layout {
    display: block;
  }

  .ficha-launch .story-map {
    height: auto;
    min-height: 0;
  }

  .ficha-launch #territory-map {
    height: 52svh;
    min-height: 360px;
  }

  .ficha-launch .story-reader {
    min-width: 0;
  }

  .ficha-launch .story-scene-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    top: var(--header-height);
    padding: 0;
    scrollbar-width: thin;
  }

  .ficha-launch .story-scene-nav button {
    min-width: 106px;
    min-height: 52px;
    flex: 0 0 auto;
    justify-content: center;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .ficha-launch .story-steps {
    padding: 0 20px;
  }

  .ficha-launch .story-step {
    min-height: 0;
    scroll-margin-top: 40px;
    padding: 58px 0 64px 17px;
  }

  .ficha-launch .story-step h2 {
    font-size: 2.35rem;
  }

  .ficha-launch .decision-output,
  .ficha-launch .sources,
  .ficha-launch .product-cta {
    padding: 68px 20px;
  }

  .ficha-launch .decision-output h2,
  .ficha-launch .sources h2,
  .ficha-launch .product-cta h2 {
    font-size: 3rem;
  }

  .ficha-launch .decision-output-grid {
    grid-template-columns: 1fr;
  }

  .ficha-launch .sources-head,
  .ficha-launch .product-cta {
    grid-template-columns: 1fr;
  }

  .ficha-launch .product-cta-actions {
    justify-content: flex-start;
  }

  .ficha-launch .product-cta-actions .button {
    width: 100%;
    flex: none;
  }

  .ficha-launch .ficha-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 20px;
  }

  .ficha-launch .ficha-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .ficha-launch .ficha-footer-email {
    grid-column: auto;
    justify-self: start;
  }
}

@media print {
  body.ficha-launch {
    padding-top: 0;
  }

  .ficha-launch .story-intro,
  .ficha-launch .story-scene-nav {
    display: none !important;
  }

  .ficha-launch .story-reader {
    background: #fff !important;
  }

  .ficha-launch .brief-hero {
    background: #fff !important;
  }
}
