:root {
  --paper: #f2f0e8;
  --ink: #191919;
  --acid: #e7ff42;
  --blue: #2141eb;
  --line: #bdbdb4;
  --max: 1512px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
.skip-link {
  position: absolute;
  z-index: 20;
  left: 15px;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 14px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: var(--max);
  margin: auto;
  height: 100px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: clamp(1.5rem, 2.35vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}
.brand-star {
  color: var(--blue);
  font-size: 1.3em;
  line-height: 1;
  margin-left: 3px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.site-header nav a:not(.nav-entry) {
  padding: 10px 0;
}
.site-header nav a:not(.nav-entry):hover {
  box-shadow: 0 2px 0 var(--ink);
}
.nav-entry {
  border: 1px solid var(--ink);
  padding: 12px 24px;
  transition: background 0.2s;
}
.nav-entry:hover {
  background: var(--acid);
}
.hero {
  max-width: var(--max);
  margin: auto;
  padding: 30px 4% 0;
}
.hero-kicker,
.hero-foot,
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hero-kicker {
  margin-bottom: 45px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
  gap: 2.5%;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
h1 {
  font-size: clamp(3.3rem, 7.05vw, 7rem);
  line-height: 0.99;
  letter-spacing: -0.075em;
  font-weight: 900;
  text-transform: uppercase;
}
h1 span {
  display: inline-block;
  color: var(--blue);
  position: relative;
}
h1 span:after {
  content: "";
  position: absolute;
  background: var(--acid);
  height: 0.15em;
  bottom: 0.03em;
  left: -0.02em;
  right: -0.03em;
  z-index: -1;
  transform: rotate(-1.5deg);
}
.hero-bottom {
  max-width: 670px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 35px;
}
.hero-bottom p {
  max-width: 440px;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.button {
  min-height: 56px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 17px 27px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-3px);
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: var(--blue);
}
.hero-visual {
  position: relative;
  align-self: center;
  transform: rotate(3deg);
  margin-top: 12px;
}
.photo-frame {
  height: 405px;
  background: #ccc;
  overflow: hidden;
}
.photo-frame img {
  filter: grayscale(1);
  transition:
    filter 0.4s,
    transform 0.5s;
  object-position: center;
}
.hero-visual:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.hero-visual figcaption {
  background: var(--acid);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero-visual figcaption span:last-child {
  align-self: flex-end;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.1em;
}
.image-stamp {
  position: absolute;
  top: -25px;
  right: -12px;
  padding: 16px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  transform: rotate(-9deg);
  line-height: 1.25;
}
.hero-foot {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 48px;
  font-size: 0.75rem;
}
.hero-foot a {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.statement-strip {
  background: var(--acid);
  padding: 23px 4%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}
.statement-strip span[aria-hidden] {
  font-size: 0.85em;
  color: var(--blue);
  font-weight: 400;
}
.section-pad {
  padding: 68px max(4%, calc((100vw - var(--max)) / 2 + 60px)) 84px;
}
.section-label {
  padding-bottom: 24px;
  border-bottom: 1px solid currentColor;
  margin-bottom: 48px;
  font-size: 0.75rem;
}
.context-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12%;
  align-items: end;
}
.context-heading h2,
h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 800;
}
.context-heading h2 em,
h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.context-heading > p {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 375px;
  padding-bottom: 7px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  margin-top: 56px;
}
.process-item {
  border-top: 1px solid var(--ink);
  padding-top: 19px;
}
.step-number {
  font-size: 2.6rem;
  font-family: Georgia, serif;
  font-style: italic;
  display: block;
  margin-bottom: 35px;
}
.process-item h3 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.process-item p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 330px;
}
.demo-section {
  background: var(--blue);
  color: #fff;
}
.demo-section .section-label {
  border-color: #8192fa;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.demo-intro h2 {
  font-size: clamp(2.75rem, 4.3vw, 4.4rem);
}
.demo-intro h2 span {
  color: var(--acid);
}
.demo-intro > p:not(.demo-note) {
  margin-top: 22px;
  max-width: 400px;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.question-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
}
.question {
  border: none;
  border-top: 1px solid #8192fa;
  background: transparent;
  color: #fff;
  padding: 20px 0;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  transition:
    background 0.2s,
    padding 0.2s;
}
.question:last-child {
  border-bottom: 1px solid #8192fa;
}
.question.active {
  background: var(--acid);
  color: var(--ink);
  padding: 20px 18px;
  border-color: var(--acid);
}
.question:hover:not(.active) {
  background: #ffffff15;
  padding-left: 12px;
}
.question:focus-visible {
  outline-color: var(--acid);
  outline-offset: 3px;
  z-index: 1;
}
.question-index {
  font-size: 0.75rem;
  font-weight: 400;
}
.demo-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 24px;
  color: #e0e5ff;
  max-width: 440px;
}
.answer-paper {
  background: var(--paper);
  color: var(--ink);
  padding: 30px 34px 24px;
  box-shadow: 10px 10px 0 #13299f;
  transform: rotate(1deg);
  min-height: 494px;
}
.paper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 28px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.paper-mark {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.1em;
}
.answer-label {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.chosen-question {
  margin-top: 9px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
.answer-value {
  font-size: 6rem;
  letter-spacing: -0.08em;
  font-weight: 800;
  line-height: 1;
  margin: 23px 0 15px;
}
.answer-value span {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  margin-left: 14px;
  font-weight: 600;
}
.answer-value.is-unknown {
  font-size: 2.75rem;
  line-height: 1.05;
  max-width: 310px;
  margin-top: 28px;
}
.answer-body > p {
  font-size: 1rem;
  line-height: 1.6;
  min-height: 78px;
}
.source-area {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px dashed #999;
}
.source-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.source-toggle span {
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
}
.source-excerpt {
  border-left: 3px solid var(--blue);
  padding: 0 14px;
  margin: 12px 0 4px;
}
.source-excerpt p {
  font-size: 0.8125rem;
  line-height: 1.5;
}
.source-excerpt p + p {
  margin-top: 12px;
}
.paper-foot {
  font-size: 0.75rem;
  margin-top: 15px;
  line-height: 1.5;
}
.possibilities-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 10%;
  align-items: center;
}
.work-photo {
  align-self: stretch;
  position: relative;
  min-height: 560px;
}
.work-photo img {
  height: calc(100% - 37px);
  max-height: 660px;
  filter: grayscale(1);
  object-position: center;
}
.work-photo figcaption {
  font-size: 0.75rem;
  padding: 15px 0 0;
}
.use-cases h2 {
  margin-bottom: 36px;
}
.use-cases article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.case-index {
  background: var(--acid);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
}
.use-cases h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 3px 0 11px;
}
.use-cases p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 405px;
}
.questions-section {
  background: #e6e4dc;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
}
.faq-grid h2 {
  font-size: clamp(2.7rem, 4.7vw, 4.8rem);
}
.faqs {
  border-top: 1px solid var(--ink);
}
details {
  border-bottom: 1px solid var(--ink);
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  padding: 22px 0;
  line-height: 1.4;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details > div {
  padding: 0 45px 24px 0;
  line-height: 1.65;
  font-size: 1rem;
}
details > div a {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 14px;
}
.closing {
  background: var(--ink);
  color: var(--paper);
  padding-bottom: 66px;
}
.closing .section-label {
  color: var(--acid);
  border-color: #6b6b64;
  margin-bottom: 37px;
}
.closing .section-label span:last-child {
  font-size: 1.8rem;
  line-height: 0.6;
}
.closing h2 {
  font-size: clamp(4.5rem, 8.8vw, 9rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 800;
}
.closing h2 span {
  color: var(--acid);
}
.closing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-top: 45px;
}
.closing-bottom p {
  font-size: 1.125rem;
  line-height: 1.5;
}
.button-light {
  background: var(--acid);
  color: var(--ink);
}
.button-light:hover {
  background: white;
}
.closing a:focus-visible {
  outline-color: var(--acid);
}
.site-footer {
  padding: 35px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: var(--max);
  margin: auto;
}
.site-footer .wordmark {
  font-size: 1.8rem;
}
.site-footer p {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.site-footer p span {
  color: #57574e;
}
.site-footer > a:last-child {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 1600px) {
  .section-pad {
    padding-left: calc((100vw - 1512px) / 2 + 60px);
    padding-right: calc((100vw - 1512px) / 2 + 60px);
  }
}
@media (max-width: 1000px) {
  .site-header {
    height: 86px;
  }
  .hero {
    padding-top: 25px;
  }
  .hero-kicker {
    margin-bottom: 35px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 31%;
    gap: 2%;
  }
  h1 {
    font-size: 7.1vw;
  }
  .photo-frame {
    height: 340px;
  }
  .hero-visual {
    margin-top: 0;
  }
  .hero-bottom {
    margin-top: 26px;
  }
  .hero-bottom p {
    font-size: 1rem;
    max-width: 350px;
  }
  .image-stamp {
    font-size: 0.75rem;
    right: -5px;
    padding: 12px;
  }
  .hero-visual figcaption {
    font-size: 0.75rem;
    padding: 12px;
  }
  .section-pad {
    padding: 55px 4% 65px;
  }
  .context-heading {
    gap: 7%;
    grid-template-columns: 1.4fr 1fr;
  }
  .context-heading h2 {
    font-size: 3.3rem;
  }
  .context-heading > p {
    font-size: 1rem;
  }
  .demo-grid {
    gap: 7%;
  }
  .answer-paper {
    padding: 25px;
    min-height: 485px;
  }
  .answer-value {
    font-size: 5.5rem;
  }
  .demo-intro h2 {
    font-size: 3rem;
  }
  .question {
    font-size: 0.9375rem;
  }
  .possibilities-grid {
    gap: 7%;
    grid-template-columns: 0.95fr 1.1fr;
  }
  .work-photo {
    min-height: 580px;
  }
  .use-cases h2 {
    font-size: 3.2rem;
  }
  .faq-grid {
    gap: 7%;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer p {
    margin-left: auto;
  }
  .site-footer > a:last-child {
    width: 100%;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 15px;
  }
  .site-header {
    height: 80px;
    padding: 0 5%;
  }
  .wordmark {
    font-size: 1.7rem;
  }
  .site-header nav {
    gap: 0;
  }
  .site-header nav > a:not(.nav-entry) {
    display: none;
  }
  .nav-entry {
    font-size: 0.8125rem;
    padding: 10px 20px;
  }
  .hero {
    padding: 23px 5% 0;
  }
  .hero-kicker {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 30px;
    max-width: 240px;
  }
  .hero-kicker .edition {
    display: none;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: stretch;
  }
  h1 {
    font-size: clamp(2.75rem, 10.2vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.07em;
  }
  .hero-bottom {
    margin-top: 25px;
    gap: 23px;
  }
  .hero-bottom p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 390px;
  }
  .button {
    min-height: 54px;
    padding: 16px 23px;
    font-size: 0.875rem;
  }
  .hero-visual {
    width: 78%;
    max-width: 390px;
    margin: 7px auto 3px;
    transform: rotate(3deg);
  }
  .photo-frame {
    height: 300px;
  }
  .image-stamp {
    font-size: 0.8125rem;
    top: 25px;
    right: -25px;
    padding: 14px;
  }
  .hero-visual figcaption {
    font-size: 0.8125rem;
    padding: 14px;
  }
  .hero-foot {
    margin-top: 32px;
    font-size: 0.75rem;
    gap: 15px;
    align-items: center;
    line-height: 1.5;
  }
  .hero-foot > span:last-child {
    display: none;
  }
  .hero-foot > span:first-child {
    max-width: 170px;
  }
  .hero-foot a {
    white-space: nowrap;
    font-size: 0.75rem;
  }
  .statement-strip {
    padding: 20px 5%;
    gap: 12px;
    font-size: clamp(1.12rem, 4.35vw, 1.6rem);
    justify-content: space-between;
    letter-spacing: -0.045em;
  }
  .statement-strip span[aria-hidden] {
    font-size: 1.1rem;
  }
  .section-pad {
    padding: 43px 5% 50px;
  }
  .section-label {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 30px;
    gap: 15px;
    padding-bottom: 17px;
  }
  .section-label > span:last-child {
    max-width: 140px;
    text-align: right;
  }
  .context-heading {
    display: block;
  }
  .context-heading h2 {
    font-size: clamp(2.5rem, 8.5vw, 3.5rem);
    letter-spacing: -0.06em;
  }
  .context-heading > p {
    margin-top: 25px;
    font-size: 1rem;
    max-width: 430px;
  }
  .process-grid {
    display: block;
    margin-top: 28px;
  }
  .process-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    padding-top: 22px;
    padding-bottom: 23px;
  }
  .step-number {
    grid-row: 1/3;
    font-size: 1.8rem;
    margin: 0;
  }
  .process-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .process-item p {
    grid-column: 2;
    font-size: 0.9375rem;
    max-width: 100%;
  }
  .process-item:last-child {
    padding-bottom: 0;
  }
  .demo-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .demo-intro {
    width: 100%;
  }
  .demo-intro h2 {
    font-size: clamp(2.5rem, 8.5vw, 3.4rem);
  }
  .demo-intro > p:not(.demo-note) {
    font-size: 1rem;
    margin-top: 20px;
    max-width: 430px;
  }
  .question-list {
    margin-top: 26px;
  }
  .question {
    font-size: 0.9375rem;
    padding: 18px 0;
  }
  .question.active {
    padding: 18px 15px;
  }
  .demo-note {
    font-size: 0.75rem;
    margin-top: 18px;
  }
  .answer-paper {
    width: calc(100% - 7px);
    margin: 0 3px;
    padding: 23px;
    min-height: 450px;
    box-shadow: 6px 6px 0 #13299f;
    transform: rotate(0.6deg);
  }
  .answer-body > p {
    min-height: 65px;
  }
  .answer-value {
    font-size: 5rem;
  }
  .answer-value span {
    font-size: 1rem;
  }
  .answer-value.is-unknown {
    font-size: 2.4rem;
  }
  .source-area {
    margin-top: 16px;
  }
  .possibilities-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 28px;
    align-items: stretch;
  }
  .use-cases h2 {
    font-size: clamp(2.7rem, 9vw, 3.5rem);
    margin-bottom: 25px;
  }
  .use-cases article {
    padding: 21px 0;
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }
  .use-cases h3 {
    font-size: 1.125rem;
  }
  .use-cases p {
    font-size: 0.9375rem;
  }
  .work-photo {
    min-height: 0;
    max-height: none;
  }
  .work-photo img {
    height: 330px;
    object-position: center 64%;
  }
  .work-photo figcaption {
    font-size: 0.75rem;
  }
  .faq-grid {
    display: block;
  }
  .faq-grid h2 {
    font-size: 3rem;
    margin-bottom: 30px;
  }
  .faqs summary {
    font-size: 1rem;
    padding: 20px 0;
  }
  details > div {
    font-size: 0.9375rem;
    padding-right: 20px;
  }
  .closing h2 {
    font-size: clamp(3.6rem, 11.2vw, 5rem);
  }
  .closing-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
    margin-top: 30px;
  }
  .closing-bottom p {
    font-size: 1rem;
  }
  .site-footer {
    padding: 30px 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .site-footer .wordmark {
    font-size: 1.7rem;
  }
  .site-footer p {
    margin: 0;
  }
  .site-footer > a:last-child {
    width: auto;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .question.active {
    outline: 2px solid CanvasText;
  }
  .case-index {
    border: 1px solid CanvasText;
  }
  .button {
    border: 1px solid CanvasText;
  }
}
/* Feature-led editorial extension */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) 34%;
  gap: 5%;
}
.hero h1 {
  font-size: clamp(5rem, 10.6vw, 10rem);
  line-height: 0.9;
}
.hero-visual .photo-frame img {
  object-position: center 60%;
}
.hero-visual .photo-frame {
  height: 440px;
}
.hero-bottom {
  margin-top: 31px;
}
.hero-bottom p {
  max-width: 530px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 6%;
  margin-top: 48px;
}
.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  border-top: 1px solid var(--ink);
  padding: 28px 0 32px;
}
.pillar .step-number {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}
.pillar h3 {
  font-size: 2.3rem;
  letter-spacing: -0.055em;
  margin: 9px 0 14px;
  line-height: 1.1;
}
.pillar-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pillar p:not(.pillar-kicker) {
  line-height: 1.6;
  font-size: 1rem;
  max-width: 440px;
}
.feature-tag {
  display: inline-block;
  border: 1px solid var(--ink);
  font-size: 0.75rem;
  padding: 7px 10px;
  margin-top: 20px;
  line-height: 1.25;
}
.journey-paper {
  min-height: 550px;
}
.journey-paper h3 {
  font-size: 2.6rem;
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 800;
  margin-bottom: 30px;
}
.sample-prompt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.45;
  margin-top: 12px;
}
.journey-steps {
  list-style: none;
  counter-reset: journey;
  padding: 0;
  margin: 27px 0 0;
}
.journey-steps li {
  counter-increment: journey;
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.journey-steps li:before {
  content: counter(journey, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
}
.journey-paper .source-area {
  margin-top: 17px;
}
.journey-paper .paper-foot {
  margin-top: 15px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
  margin-top: 60px;
  border-top: 1px solid var(--ink);
}
.platform-grid article {
  padding-top: 24px;
}
.platform-index {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
}
.platform-grid h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 26px 0 15px;
}
.platform-grid p {
  font-size: 0.9375rem;
  line-height: 1.6;
}
.customization-line {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr;
  align-items: center;
  gap: 5%;
  border-top: 1px solid var(--line);
  margin-top: 37px;
  padding-top: 26px;
}
.customization-line h3 {
  font-size: 1.6rem;
  letter-spacing: -0.045em;
}
.customization-line p {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.customization-line .feature-tag {
  margin: 0;
  text-align: center;
  justify-self: end;
}
.closing h2 {
  font-size: clamp(4.3rem, 8.2vw, 8.4rem);
}
.work-photo img {
  object-position: 40% center;
}
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 11vw;
  }
  .hero-visual .photo-frame {
    height: 390px;
  }
  .pillar-grid {
    gap: 0 5%;
  }
  .pillar {
    grid-template-columns: 38px 1fr;
    gap: 13px;
  }
  .pillar h3 {
    font-size: 1.9rem;
  }
  .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 7%;
    padding-top: 0;
  }
  .platform-grid h3 {
    margin-top: 17px;
  }
  .customization-line {
    grid-template-columns: 1fr 1.3fr;
    gap: 5%;
  }
  .customization-line .feature-tag {
    display: none;
  }
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(4.4rem, 18vw, 8rem);
    line-height: 0.9;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-kicker {
    max-width: 270px;
  }
  .hero-visual {
    width: 80%;
    max-width: 360px;
  }
  .hero-visual .photo-frame {
    height: 310px;
  }
  .hero-bottom p {
    max-width: 440px;
  }
  .pillar-grid {
    display: block;
    margin-top: 32px;
  }
  .pillar {
    grid-template-columns: 33px 1fr;
    gap: 15px;
    padding: 23px 0 26px;
  }
  .pillar .step-number {
    font-size: 1.6rem;
  }
  .pillar h3 {
    font-size: 1.85rem;
    margin-top: 7px;
  }
  .pillar-kicker {
    font-size: 0.75rem;
  }
  .pillar p:not(.pillar-kicker) {
    font-size: 0.9375rem;
  }
  .feature-tag {
    font-size: 0.75rem;
    margin-top: 16px;
  }
  .journey-paper {
    min-height: 510px;
  }
  .journey-paper h3 {
    font-size: 2.3rem;
    margin-bottom: 27px;
  }
  .sample-prompt {
    font-size: 1.2rem;
  }
  .journey-steps {
    margin-top: 24px;
  }
  .journey-steps li {
    font-size: 0.875rem;
  }
  .journey-steps li:before {
    font-size: 0.75rem;
    top: 13px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 38px;
  }
  .platform-grid article {
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 10px;
  }
  .platform-index {
    grid-row: 1/3;
    padding-top: 3px;
  }
  .platform-grid h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
  }
  .platform-grid p {
    grid-column: 2;
  }
  .customization-line {
    display: block;
    margin-top: 26px;
    padding-top: 0;
    border: 0;
  }
  .customization-line h3 {
    font-size: 1.7rem;
    margin-bottom: 13px;
  }
  .customization-line p {
    font-size: 0.9375rem;
  }
  .closing h2 {
    font-size: clamp(3rem, 9.4vw, 4.5rem);
    line-height: 1.03;
  }
  .work-photo img {
    object-position: 40% center;
  }
  .statement-strip {
    font-size: clamp(1.1rem, 4.25vw, 1.6rem);
  }
}

/* ==========================================================================
   BUTTON EXTENSIONS & HERO ACTIONS
   ========================================================================== */
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.button-outline:hover {
  background: var(--acid);
}
.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button-ghost:hover {
  border-color: var(--ink);
}
.button-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid #6b6b64;
}
.button-ghost-light:hover {
  background: #ffffff18;
  border-color: var(--paper);
}

/* ==========================================================================
   02. ECOSISTEMA / LA SUITE FUTURAMENTE
   ========================================================================== */
.ecosystem-section {
  background: var(--paper);
  border-top: 1px solid var(--ink);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  padding-top: 36px;
}
.eco-card {
  border: 1px solid var(--ink);
  padding: 24px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink);
}
.eco-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.eco-index {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
}
.eco-role {
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--acid);
  padding: 2px 6px;
}
.eco-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.eco-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #333;
  margin: 0;
}
.eco-card.highlight-eco {
  border: 2px solid var(--blue);
  box-shadow: 6px 6px 0 var(--blue);
  background: #fafbff;
}

/* ==========================================================================
   03. FEATURED PRODUCT: FUTURERELAY & CONECTORES OMNICANAL
   ========================================================================== */
.relay-section {
  background: #f7f6f0;
  border-top: 1px solid var(--ink);
}
.relay-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 48px;
}
.channel-card {
  border: 1px solid var(--ink);
  padding: 32px 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}
.channel-card.active-featured {
  border: 2px solid var(--blue);
  box-shadow: 8px 8px 0 var(--blue);
  background: #fff;
}
.channel-card.highlight-sip {
  background: #fafaf7;
  border: 1px solid var(--ink);
}
.channel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.channel-badge {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.channel-badge.live {
  background: var(--acid);
  color: var(--ink);
}
.channel-badge.sip {
  background: var(--ink);
  color: var(--paper);
}
.channel-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.channel-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.channel-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
.channel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.875rem;
}
.channel-features li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}
.channel-features li:before {
  content: "✳";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-size: 0.9em;
}
.channel-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #57574e;
  border: 1px dashed var(--line);
  padding: 8px 12px;
  background: var(--paper-subtle);
}

/* Roadmap multicanal */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.roadmap-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.roadmap-card:hover {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(-2px);
}
.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.roadmap-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.roadmap-status {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6b6b64;
  border: 1px solid var(--line);
  padding: 2px 6px;
}
.roadmap-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.roadmap-card p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* Arquitectura de agentes e identidad unificada */
.relay-architecture-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 36px;
  box-shadow: 8px 8px 0 var(--ink);
}
.relay-arch-col {
  display: flex;
  flex-direction: column;
}
.arch-kicker {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.relay-arch-col h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.relay-arch-col p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}
.arch-steps {
  list-style: none;
  counter-reset: arch;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arch-steps li {
  counter-increment: arch;
  position: relative;
  padding-left: 30px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.arch-steps li:before {
  content: counter(arch, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
}
.identity-highlight {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.identity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.identity-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.identity-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

/* ==========================================================================
   04. FORMULARIO EXTENSO DE APROVISIONAMIENTO Y APIS DE FUTURECHAT
   ========================================================================== */
.api-section {
  background: #eae8df;
  border-top: 1px solid var(--ink);
}
.api-demo-wrapper {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  margin-top: 48px;
  align-items: start;
}
.api-demo-wrapper [hidden] {
  display: none !important;
}
.api-form-panel {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 32px 36px;
  box-shadow: 8px 8px 0 var(--ink);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  flex-wrap: wrap;
  gap: 12px;
}
.panel-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #57574e;
}
.mode-toggle {
  display: inline-flex;
  border: 1px solid var(--ink);
  background: #fff;
}
.mode-btn {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  color: var(--ink);
}
.mode-btn.active {
  background: var(--ink);
  color: #fff;
}
.action-link {
  background: transparent;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
  color: var(--blue);
  cursor: pointer;
}
.action-link:hover {
  color: var(--ink);
}
.api-connection-box {
  background: #fff;
  border: 1px dashed var(--blue);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.box-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--blue);
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-block {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.form-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}
.form-block legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.block-number {
  width: 24px;
  height: 24px;
  background: var(--acid);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 900;
  border-radius: 50%;
  border: 1px solid var(--ink);
}
.block-title {
  color: var(--ink);
}
.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.input-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.input-grid-2 .field-group,
.input-grid-3 .field-group {
  margin-bottom: 0;
}
.field-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.badge-req {
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  padding: 2px 5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.badge-opt {
  font-size: 0.625rem;
  font-weight: 700;
  color: #6b6b64;
  border: 1px solid var(--line);
  padding: 1px 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.field-group input[type="text"],
.field-group input[type="password"],
.field-group input[type="email"],
.field-group input[type="number"],
.field-group input[type="url"],
.field-group select,
.field-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.field-group textarea {
  resize: vertical;
  min-height: 80px;
}
.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper input {
  padding-right: 42px;
}
.toggle-pwd-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.field-hint {
  font-size: 0.72rem;
  color: #6b6b64;
  line-height: 1.35;
}
.slider-group {
  background: #fff;
  border: 1px solid var(--ink);
  padding: 14px 18px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 8px;
}
.highlight-val {
  color: var(--blue);
  font-weight: 800;
  background: #e0e5ff;
  padding: 2px 6px;
}
.slider-legend {
  font-size: 0.6875rem;
  color: #6b6b64;
  font-weight: 400;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-feedback {
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 4px solid var(--ink);
}
.form-feedback.error {
  background: #ffebeb;
  color: #c00;
  border-left-color: #c00;
}
.form-feedback.info {
  background: #ebf3ff;
  color: #13299f;
  border-left-color: var(--blue);
}
.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Consola de inspección */
.api-console-panel {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 #13299f;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  position: sticky;
  top: 30px;
}
.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #111;
  border-bottom: 1px solid #333;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.ready {
  background: #bdbdb4;
}
.status-dot.sending {
  background: var(--acid);
}
.status-dot.success {
  background: #00e676;
}
.status-dot.error {
  background: #ff5252;
}
.mode-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #222;
  color: #ddd;
  padding: 3px 8px;
  border: 1px solid #444;
}
.mode-badge.live {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.console-tabs {
  display: flex;
  background: #1c1c1c;
  border-bottom: 1px solid #333;
  overflow-x: auto;
}
.console-tab {
  background: transparent;
  border: 0;
  color: #999;
  padding: 12px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.console-tab:hover {
  color: #fff;
}
.console-tab.active {
  color: var(--acid);
  border-bottom-color: var(--acid);
  background: #242424;
}
.console-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 580px;
}
.console-placeholder {
  text-align: center;
  padding: 56px 20px;
  color: #aaa;
}
.placeholder-icon {
  display: block;
  font-size: 2.4rem;
  color: var(--acid);
  margin-bottom: 14px;
}
.console-placeholder h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.console-placeholder p {
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 380px;
  margin: auto;
}
.result-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #1c3322;
  border-left: 4px solid #00e676;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.check-icon {
  font-size: 1.25rem;
  color: #00e676;
  font-weight: 900;
  line-height: 1;
}
.result-banner h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
}
.result-banner p {
  margin: 0;
  font-size: 0.8125rem;
  color: #ccc;
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.result-card {
  background: #242424;
  border: 1px solid #3a3a3a;
  padding: 16px;
}
.card-label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--acid);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.card-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  word-break: break-all;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: #bbb;
  border-top: 1px solid #333;
  padding-top: 8px;
}
.card-meta code {
  color: #e0e5ff;
  font-family: monospace;
}
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-actions .button-dark {
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  justify-content: center;
}
.result-actions .button-dark:hover {
  background: #fff;
}
.result-actions .button-ghost {
  color: #fff;
  border-color: #555;
  text-align: center;
  justify-content: center;
}
.result-actions .button-ghost:hover {
  border-color: #fff;
  background: #ffffff10;
}
.code-box {
  margin: 0;
  background: #111;
  padding: 16px;
  border: 1px solid #333;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #a9ffc5;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 480px;
}
.console-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #141414;
  border-top: 1px solid #333;
  gap: 16px;
  font-size: 0.75rem;
  color: #888;
}
.action-btn {
  background: var(--blue);
  color: #fff;
  border: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.action-btn:hover {
  background: #13299f;
}

/* ==========================================================================
   04. SECCIÓN CREAR EQUIPO & WORKSPACE (ONBOARDING DE EQUIPOS)
   ========================================================================== */
.team-section {
  background: var(--paper);
  border-top: 1px solid var(--ink);
}
.team-creator-card {
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  margin-top: 48px;
  padding: 40px;
}
.team-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
}
.team-col {
  display: flex;
  flex-direction: column;
}
.team-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
.team-fieldset:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.team-fieldset legend {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fieldset-num {
  width: 26px;
  height: 26px;
  background: var(--acid);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 900;
}
.fieldset-intro {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 16px;
}
.agent-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.agent-card {
  border: 1px solid var(--line);
  padding: 16px 14px;
  background: #fafaf7;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  position: relative;
}
.agent-card:hover {
  border-color: var(--ink);
  background: #fff;
}
.agent-card.active {
  border: 2px solid var(--blue);
  background: #fff;
  box-shadow: 4px 4px 0 #8192fa;
}
.agent-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.agent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.agent-badge {
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--acid);
  color: var(--ink);
  padding: 2px 5px;
  letter-spacing: 0.05em;
}
.agent-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.agent-card h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.agent-card p {
  font-size: 0.775rem;
  line-height: 1.45;
  color: #555;
  margin: 0;
}
.agent-custom-prompt {
  margin-top: 10px;
  border: 1px dashed var(--line);
  padding: 10px 14px;
  background: #fff;
}
.agent-custom-prompt summary {
  padding: 0;
  font-size: 0.8125rem;
  color: var(--blue);
}
.prompt-edit-area {
  margin-top: 12px;
}
.prompt-edit-area textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  font-family: inherit;
  font-size: 0.8125rem;
  resize: vertical;
}
.invite-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.invite-input-row input {
  flex-grow: 1;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 10px 12px;
  font-size: 0.875rem;
}
.btn-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.8125rem;
}
.invite-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 34px;
}
.invite-tag {
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-remove-tag {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  color: #888;
}
.btn-remove-tag:hover {
  color: #c00;
}
.invite-bulk-toggle {
  margin-top: 10px;
}
.invite-bulk-toggle label {
  font-size: 0.75rem;
  color: #666;
  display: block;
  margin-bottom: 6px;
}
.invite-bulk-toggle input {
  width: 100%;
  border: 1px dashed var(--line);
  padding: 8px 12px;
  font-size: 0.8125rem;
}
.team-feedback {
  padding: 14px 18px;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 4px solid var(--ink);
}
.team-feedback.error {
  background: #ffebeb;
  color: #c00;
  border-left-color: #c00;
}
.team-feedback.info {
  background: #ebf3ff;
  color: #13299f;
  border-left-color: var(--blue);
}
.team-cta-box {
  margin-top: 16px;
}
.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.team-cta-sub {
  font-size: 0.72rem;
  text-align: center;
  color: #6b6b64;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.team-demo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  border: 1px dashed var(--ink);
  background: var(--acid);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}
.team-demo-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  background: var(--ink);
  color: var(--acid);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
#success-ws-url {
  font-size: 0.8em;
  word-break: break-all;
}

/* Pantalla de éxito del equipo */
.team-success-screen {
  padding: 10px 0;
}
.success-top {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}
.success-star {
  font-size: 3.5rem;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.success-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
}
.success-top h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.success-top p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #444;
}
.success-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.success-card {
  border: 1px solid var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.success-card.primary {
  background: var(--paper);
}
.success-card.highlight {
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 6px 6px 0 #8192fa;
}
.card-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.success-card h4 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.success-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 20px;
}
.share-link-box {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.share-link-box input {
  flex-grow: 1;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 11px 14px;
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--ink);
}
.invited-summary {
  font-size: 0.75rem;
  color: #666;
  font-weight: 600;
}
.success-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.agent-active-badge {
  font-size: 0.875rem;
}
.agent-active-badge span {
  color: #666;
}
.agent-active-badge strong {
  color: var(--blue);
}

/* ==========================================================================
   DRAWER DE HERRAMIENTAS DE DESARROLLADOR / TEST DE API (COLLAPSIBLE)
   ========================================================================== */
.dev-api-drawer {
  margin-top: 48px;
  border: 1px solid var(--ink);
  background: #e6e4dc;
}
.dev-api-summary {
  padding: 18px 24px;
  background: #191919;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
}
.dev-summary-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dev-summary-toggle {
  font-size: 0.8125rem;
  color: var(--acid);
}
.dev-api-content {
  padding: 32px 24px 40px;
  background: #eae8df;
}
.api-drawer-heading {
  margin-bottom: 30px;
}
.api-drawer-heading h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.api-drawer-heading p {
  font-size: 0.9375rem;
  color: #444;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ECOSISTEMA, EQUIPO & API DEMO)
   ========================================================================== */
@media (max-width: 1000px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .relay-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .relay-architecture-box {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 28px;
  }
  .identity-highlight {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
  .team-creator-card {
    padding: 30px 24px;
  }
  .team-form-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .success-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .api-demo-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .api-console-panel {
    position: static;
    min-height: auto;
  }
  .input-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .relay-architecture-box {
    padding: 20px 16px;
  }
  .team-creator-card {
    padding: 24px 18px;
  }
  .agent-cards-grid {
    grid-template-columns: 1fr;
  }
  .api-form-panel {
    padding: 24px 18px;
  }
  .input-row {
    grid-template-columns: 1fr;
  }
  .input-grid-2,
  .input-grid-3 {
    grid-template-columns: 1fr;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .console-body {
    padding: 16px;
  }
  .dev-api-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .share-link-box {
    flex-direction: column;
  }
}
