@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --mineral: #101012;
  --cream: #fff1e5;
  --light-copy: #eddae4;
  --paper-ink: #321128;
  --paper-copy: #513347;
  --mauve: #e9bbd3;
  --action: #60153e;
  --font: Manrope, Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 5vw, 72px);
  --content: 1240px;
  --fibers: url("assets/papel-fibras.webp") left top / 460px auto;
  --side-light: url("assets/luz-lateral.webp");
  --paper: linear-gradient(130deg, #fff1e0b0, #e1c5b8a8), var(--fibers), #f7eae0;
  --plum: linear-gradient(127deg, #622846ea, #321224fb 81%), var(--fibers), #4a1a35;
  --shadow: 1px 2px 4px #07040780, 11px 16px 26px -8px #050205ba;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
body { color: var(--cream); background: var(--mineral); font: 500 1rem/1.5 var(--font); }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid #f4bddf; outline-offset: 4px; }
:where(.case-feature, .faq-sheet) :focus-visible { outline-color: var(--action); }
.wrap { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  z-index: 2;
  inset: 12px auto auto 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  clip-path: none;
  background: var(--action);
}

.site-header { background: var(--mineral); }
.masthead, .masthead nav { display: flex; align-items: center; }
.masthead { min-height: clamp(58px, 5.6vw, 80px); justify-content: space-between; gap: 14px; }
.masthead nav { gap: clamp(14px, 2.9vw, 42px); }
.masthead nav a, .brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a { font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 800; }
.masthead nav a:hover { text-decoration: underline; }
.masthead .scope-link { display: none; }
.brand { font: 800 clamp(1.3rem, 2.15vw, 1.88rem)/1 var(--font); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(19px, 5.5vw, 28px);
  padding: clamp(20px, 6vw, 32px) clamp(12px, 3.5vw, 28px) clamp(13px, 3.5vw, 25px);
  border-top: 1px solid #eec4d04a;
  background: #241825;
  box-shadow: var(--shadow);
}
.hero::before, .scope::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: var(--side-light) left center / cover no-repeat;
  filter: grayscale(1) contrast(1.65) brightness(.44) sepia(.82) saturate(1.5) hue-rotate(335deg);
  mix-blend-mode: screen;
  mask-image: linear-gradient(115deg, #000, #0003 52%, transparent 82%);
  opacity: .48;
}
.hero-copy {
  min-width: 0;
  align-self: center;
  padding-inline: 3px;
  container-type: inline-size;
}
.hero-copy h1 {
  font: 700 clamp(2.02rem, 12.75cqi, 5.45rem)/.98 var(--display);
  letter-spacing: -.054em;
}
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { color: #f0cddd; font-weight: 500; }
.hero-copy > p {
  max-width: 38ch;
  margin-top: clamp(10px, 3.75vw, 25px);
  color: var(--light-copy);
  font-size: clamp(.93rem, 2.65vw, 1.25rem);
  line-height: 1.46;
  text-wrap: pretty;
}
.hero-lead {
  min-width: 0;
  padding: clamp(13px, 3.6vw, 22px) clamp(12px, 3.8vw, 24px) clamp(15px, 3.8vw, 22px);
  border-top: 1px solid #f4cbdb63;
  background: var(--plum);
  background-blend-mode: multiply, normal;
  box-shadow: var(--shadow);
}
.hero-lead h2 {
  font: 800 clamp(1.37rem, 5.75vw, 2.06rem)/1.13 var(--font);
  letter-spacing: -.044em;
}
.form-intro { margin: 7px 0 12px; color: var(--light-copy); font-size: .86rem; line-height: 1.4; text-wrap: pretty; }
.fields { display: grid; gap: 8px 13px; }
.field { display: grid; align-content: start; gap: 3px; min-width: 0; }
.field label, .media-field legend { font-size: .85rem; font-weight: 800; line-height: 1.33; }
.field input, .field select {
  width: 100%;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid #d9b8c7;
  border-radius: 2px;
  color: var(--paper-ink);
  background: #fff4ea;
  font: 600 1rem/1.3 var(--font);
}
.field [aria-invalid="true"] { border-color: #e06699; box-shadow: inset 0 0 0 1px #e06699; }
.media-field { min-width: 0; margin: 9px 0 6px; padding: 0; border: 0; }
.media-options { display: flex; flex-wrap: wrap; gap: 0 clamp(17px, 5vw, 31px); }
.media-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .91rem; cursor: pointer; }
.media-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--mauve); }
.budget-field { margin-bottom: 11px; }
.form-note, .status { margin-top: 7px; font-size: .82rem; line-height: 1.4; }
.form-note { color: var(--light-copy); }
.status { font-weight: 800; }
.field-error { color: #ffcde3; font-size: .81rem; line-height: 1.35; }
.field-error:empty, .status:empty { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font: 800 clamp(.89rem, 2.45vw, 1.05rem)/1.25 var(--font);
  text-decoration: none;
}
.button span { font-size: 1.25em; line-height: 1; }
.button:disabled { cursor: default; opacity: .6; }
.button-light { width: 100%; color: var(--paper-ink); background: linear-gradient(105deg, #fff0df, #edc9d7); }
.button-light:hover { background: var(--cream); }
.button-dark { color: var(--cream); background: var(--action); }
.button-dark:hover { background: var(--paper-ink); }
.button-outline { color: var(--cream); background: transparent; border-color: #b1789b; }
.button-outline:hover { background: #432139; }

.proof { padding-block: clamp(30px, 6.9vw, 59px) clamp(25px, 5.6vw, 44px); }
.proof h2, .scope h2, .before h2 {
  font: 700 clamp(2.05rem, 8.9vw, 4.2rem)/1 var(--display);
  letter-spacing: -.054em;
  text-wrap: balance;
}
.case-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(81vw, 430px);
  gap: 12px;
  padding: 5px var(--gutter) 17px;
  margin-top: clamp(12px, 3.1vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.case-track::-webkit-scrollbar { display: none; }
.case-track:focus-visible { outline-offset: -4px; }
.case-sheet {
  min-width: 0;
  padding: clamp(15px, 4vw, 25px) clamp(14px, 4.15vw, 36px) clamp(18px, 4.7vw, 29px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid #ffeadb88;
  box-shadow: var(--shadow);
}
.case-feature { color: var(--paper-ink); background: var(--paper); }
.case-secondary { color: var(--cream); background: var(--plum); background-blend-mode: multiply, normal; }
.case-sheet h3 { font-size: clamp(1.23rem, 4.95vw, 1.91rem); font-weight: 800; line-height: 1.12; letter-spacing: -.055em; }
.case-disclosure { margin-bottom: 8px; font-size: .76rem; font-weight: 800; line-height: 1.35; }
.case-feature :is(.case-disclosure, .case-context) { color: var(--paper-copy); }
.case-secondary :is(.case-disclosure, .case-context) { color: var(--light-copy); }
.case-metric { margin-top: 15px; font-size: clamp(.86rem, 2.4vw, 1.02rem); font-weight: 800; }
.case-value {
  display: flex;
  gap: 1px .29em;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: clamp(1.47rem, 5vw, 2.86rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.case-value > span { white-space: nowrap; }
.case-value b { font-weight: 600; }
.case-secondary .case-value { color: #ffdccb; }
.case-context { max-width: 49ch; margin-top: 9px; font-size: clamp(.87rem, 2.35vw, 1.02rem); line-height: 1.45; }
.case-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0 auto 11px; }
.case-nav button {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid #9f698b;
  border-radius: 2px;
  color: var(--cream);
  background: #362034;
  cursor: pointer;
  font: 800 1.1rem/1 var(--font);
}
.case-nav button:not([aria-disabled="true"]):hover { background: var(--action); }
.case-nav button[aria-disabled="true"] { cursor: default; opacity: .5; }
.case-position { min-width: 42px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.proof-action { display: flex; justify-content: center; }

.scope {
  position: relative;
  isolation: isolate;
  padding-block: clamp(24px, 6vw, 55px) clamp(20px, 4.8vw, 43px);
  background: linear-gradient(110deg, #231725, #171418 72%);
}
.scope::before { mask-image: linear-gradient(110deg, transparent, #0004 40%, #000 88%); opacity: .37; }
.scope-grid { display: grid; align-items: center; gap: clamp(11px, 3.3vw, 40px); }
.scope dl { max-width: 52ch; display: grid; gap: clamp(14px, 4.4vw, 24px); margin-top: clamp(13px, 3.8vw, 24px); }
.scope dt { font-size: clamp(1.08rem, 4.4vw, 1.54rem); font-weight: 800; line-height: 1.15; letter-spacing: -.045em; }
.scope dd { margin-top: 3px; color: var(--light-copy); font-size: clamp(.93rem, 2.65vw, 1.12rem); line-height: 1.47; }
.scope-art { width: min(100%, 520px); justify-self: center; }
.scope-art img { filter: drop-shadow(5px 12px 13px #050207be); }

.before { padding-block: clamp(25px, 6.3vw, 56px) clamp(22px, 4.5vw, 41px); }
.faq-sheet {
  display: grid;
  grid-template-areas: "title" "questions" "action";
  gap: 15px;
  padding: clamp(16px, 4.35vw, 36px) clamp(14px, 4.65vw, 52px) clamp(20px, 5vw, 38px);
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: var(--shadow);
}
.before h2 { grid-area: title; }
.faq-items { grid-area: questions; min-width: 0; }
.faq-items details + details { border-top: 1px solid #a17b8c73; }
.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(.95rem, 2.75vw, 1.24rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.025em;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.faq-items details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq-items summary:hover { text-decoration: underline; }
.faq-items p { max-width: 61ch; padding: 0 20px 14px 0; color: var(--paper-copy); font-size: clamp(.89rem, 2.45vw, 1.05rem); }
.faq-return { grid-area: action; align-self: end; justify-self: start; }
.site-footer { padding-block: 0 13px; }

@media (min-width: 540px) {
  .masthead .scope-link { display: inline-flex; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}

@media (540px <= width < 900px) {
  .hero-copy h1 { font-size: clamp(2.75rem, 9.8vw, 4rem); }
}

@media (min-width: 760px) {
  .case-track {
    width: min(var(--content), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    padding: 2px 0 21px;
    gap: 17px;
    grid-auto-columns: minmax(0, 1fr);
    overflow: visible;
  }
  .case-feature { transform: rotate(-.65deg); }
  .case-secondary { transform: rotate(.65deg); }
  .scope-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
  .scope h2, .before h2 { font-size: clamp(2.42rem, 4.75vw, 4.2rem); }
  .faq-sheet {
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "title questions" "action questions";
    gap: 10px clamp(23px, 3.15vw, 49px);
  }
  .before h2 { text-wrap: initial; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    align-items: center;
    gap: clamp(24px, 4.2vw, 62px);
    padding: clamp(26px, 2.65vw, 40px) clamp(27px, 3.6vw, 53px);
  }
  .hero-copy { padding: 0; }
  .hero-copy > p { font-size: clamp(1.05rem, 1.55vw, 1.34rem); }
  .hero-lead { padding: clamp(17px, 2.05vw, 30px) clamp(18px, 2.45vw, 35px) clamp(18px, 2.13vw, 30px); }
  .hero-lead h2 { font-size: clamp(1.55rem, 2.3vw, 2.1rem); }
  .form-intro { margin: 8px 0 15px; font-size: .93rem; }
  .fields { gap: 11px 14px; }
  .field input, .field select { min-height: 47px; }
  .button-light { min-height: 49px; }
  .case-track { gap: 22px; }
}

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