/* Tokens y tipografía de la plataforma (web/src/app.css): claro neutro/terracota y oscuro verde/coral. */
@font-face {
  font-family: Geist;
  src: url("../assets/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f4f5f7;
  --surface: #f1f3f5;
  --card: #ffffff;
  --ink: #1b1e23;
  --muted: #545a63;
  --line: #e3e6ea;
  --line-strong: #c6ccd3;
  --accent: #a94328;
  --accent-hover: #87331f;
  --accent-soft: #f6dcd3;
  --button: var(--accent);
  --button-text: #ffffff;
  --hover: #e8eaee;
  --warn: #8a5a00;
  --warn-soft: #f6ead0;
  --ok: #216c47;
  --ok-soft: #dcefe4;
  --radius: 14px;
  --dark: var(--surface);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121613;
  --surface: #171b18;
  --card: #202622;
  --ink: #f0eee6;
  --muted: #b7bcb6;
  --line: #383f3a;
  --line-strong: #58615a;
  --accent: #ef886b;
  --accent-hover: #ffa087;
  --accent-soft: #47281f;
  --button-text: #25130e;
  --hover: #272d29;
  --warn: #e7bf67;
  --warn-soft: #3a3019;
  --ok: #7bd0a2;
  --ok-soft: #1b3829;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Geist", Arial, sans-serif;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(34px, 4vw, 55px);
}
h3 {
  font-size: 26px;
}
p {
  color: var(--muted);
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
.wrap {
  width: min(1320px, calc(100% - 104px));
  margin-inline: auto;
}
.micro,
.eyebrow,
.section-label,
.principle-number,
.guide-number,
.bench-top,
.deck-top,
.slide-diagram {
  font-family: "Geist Mono", "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.micro {
  font-size: 10px;
  letter-spacing: 0.13em;
}
.eyebrow {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  background: var(--card);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 28px;
  letter-spacing: -1.5px;
  font-weight: 700;
  line-height: 1;
}
.brand-mark {
  font-family: "Geist", sans-serif;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-right: 10px;
}
.brand-period {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}
.site-header nav a {
  color: var(--muted);
  padding: 8px 0;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--ink);
}
.site-header nav a[aria-current] {
  box-shadow: 0 1px 0 var(--ink);
}
.preferences {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 15px;
}
.language {
  display: flex;
  gap: 1px;
}
.language button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 5px;
}
.language button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 800;
}
.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  font-size: 20px;
  display: grid;
  place-content: center;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
}
.hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 55px;
  padding-top: 72px;
  padding-bottom: 74px;
  align-items: center;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(65px, 6.6vw, 98px);
  line-height: 0.99;
  letter-spacing: -0.06em;
  margin-top: 28px;
  margin-bottom: 26px;
}
.accent-text {
  color: var(--accent);
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 500px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 49px;
  background: var(--button);
  color: var(--button-text);
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s,
    opacity 0.15s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
  opacity: 0.9;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 23px;
}
.workbench {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 22px 45px -22px #0f172a14;
  transform: none;
  position: relative;
}
.workbench::before {
  display: none;
  content: "";
  position: absolute;
  inset: 15px -11px -13px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  z-index: -1;
}
.bench-top {
  height: 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 23px;
  font-size: 9px;
  color: var(--muted);
}
.mini-brand {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 13px;
  color: var(--accent);
}
.bench-dots {
  margin-left: auto;
  letter-spacing: 3px;
}
.bench-heading {
  padding: 25px 25px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bench-heading .micro {
  color: var(--muted);
  font-size: 8px;
}
.bench-heading h2 {
  font-size: 27px;
  letter-spacing: -0.025em;
  margin-top: 7px;
}
.example-pill {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 9px;
  color: var(--accent);
}
.bench-content {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 17px;
  padding: 0 22px 25px;
}
.flow-path {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}
.flow-step {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-height: 72px;
}
.flow-step:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 13px;
  background: var(--line-strong);
  position: absolute;
  left: 24px;
  bottom: -14px;
}
.flow-step strong {
  font:
    500 11px/1.35 "Geist",
    sans-serif;
  display: block;
}
.flow-step small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  margin-top: 4px;
}
.step-number {
  font:
    9px "Geist Mono",
    monospace;
  color: var(--muted);
}
.step-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.flow-step.selected {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: var(--warn-soft);
}
.flow-step.selected small,
.flow-step.selected .step-number,
.flow-step.selected .step-arrow {
  color: var(--warn);
}
.flow-step:hover:not(.selected) {
  background: var(--hover);
}
.step-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px 17px;
  min-width: 0;
}
.detail-eyebrow {
  font:
    8px/1.6 "Geist Mono",
    monospace;
  letter-spacing: 0.08em;
  color: var(--warn);
  display: flex;
  gap: 6px;
  align-items: center;
}
.review-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warn);
  flex: none;
}
.step-detail h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 17px 0 13px;
}
.step-detail p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.detail-rule {
  height: 1px;
  background: var(--line);
  margin: 20px 0 15px;
}
.step-detail .micro {
  font-size: 8px;
  color: var(--muted);
}
.step-detail .detail-foot {
  font-size: 10px;
  margin-top: 8px;
  color: var(--muted);
}
.bench-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 22px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.tiny-square {
  width: 4px;
  height: 4px;
  background: var(--accent);
}
.bench-bottom-right {
  margin-left: auto;
  font:
    8px "Geist Mono",
    monospace;
  letter-spacing: 0.06em;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 32px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 37px;
}
.principles > div {
  padding-right: 22px;
}
.principles > div + div {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.principle-number {
  color: var(--accent);
}
.principles h3 {
  font-size: 20px;
  margin: 10px 0 8px;
  letter-spacing: -0.025em;
}
.principles p {
  font-size: 13px;
}
.product-section,
.connect-section {
  padding-block: 92px;
}
.section-label {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 26px;
}
.section-label > span:first-child {
  color: var(--accent);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 65px;
  margin-bottom: 42px;
}
.section-heading h2 {
  max-width: 650px;
}
.section-heading > p {
  max-width: 300px;
  font-size: 16px;
}
.feature-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 23px;
}
.feature-main {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 37px 40px;
}
.feature-main > .micro {
  color: var(--accent);
}
.feature-main h3 {
  font-size: 35px;
  margin: 17px 0;
}
.feature-main p {
  font-size: 15px;
  max-width: 490px;
}
.project-visual {
  margin-top: 33px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  overflow: hidden;
}
.project-visual-head {
  padding: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.project-visual-head > .micro {
  margin-left: auto;
  color: var(--muted);
  font-size: 8px;
}
.folder-icon {
  font-size: 23px;
  color: var(--accent);
  line-height: 1;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-size: 12px;
}
.project-row + .project-row {
  border-top: 1px solid var(--line);
}
.project-row > span:first-child {
  color: var(--muted);
  font:
    9px "Geist Mono",
    monospace;
}
.project-row small {
  margin-left: auto;
  font:
    8px "Geist Mono",
    monospace;
  color: var(--muted);
}
.feature-aside {
  display: flex;
  flex-direction: column;
}
.feature-aside article {
  padding: 30px 25px;
  flex: 1;
}
.feature-aside article + article {
  border-top: 1px solid var(--line);
}
.feature-aside .micro {
  color: var(--accent);
}
.feature-aside h3 {
  font-size: 30px;
  margin: 13px 0;
}
.feature-aside p {
  font-size: 15px;
}
.govern-section {
  background: var(--surface);
  color: var(--ink);
  padding: 80px 0;
}
.govern-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 105px;
}
.govern-layout .section-label {
  color: var(--muted);
}
.govern-layout .section-label > span:first-child {
  color: var(--accent);
}
.govern-layout h2 {
  max-width: 450px;
}
.govern-layout > div > p {
  margin: 23px 0 27px;
  color: var(--muted);
  font-size: 16px;
  max-width: 490px;
}
.govern-layout .text-link {
  color: var(--accent);
}
.decision-list article {
  display: flex;
  gap: 25px;
  padding: 25px 0;
}
.decision-list article + article {
  border-top: 1px solid var(--line);
}
.decision-list article > span {
  font:
    11px "Geist Mono",
    monospace;
  color: var(--accent);
  margin-top: 5px;
}
.decision-list h3 {
  font-size: 25px;
  letter-spacing: -0.025em;
}
.decision-list p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.connect-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.connect-icon {
  font:
    30px/1 "Geist Mono",
    monospace;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}
.connect-grid h3 {
  font-size: 26px;
  margin-bottom: 15px;
}
.connect-grid p {
  font-size: 15px;
}
.closing {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 43px 48px;
  margin-bottom: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}
.closing h2 {
  font-size: 42px;
  margin: 12px 0 15px;
}
.closing p {
  max-width: 650px;
  font-size: 16px;
  color: var(--ink);
  opacity: 0.8;
}
.closing .button {
  flex: none;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding-bottom: 25px;
}
.site-footer .brand {
  font-size: 32px;
}
.site-footer p {
  font-size: 13px;
  margin-top: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
}
.page-intro {
  padding-top: 70px;
  padding-bottom: 62px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font-size: clamp(50px, 6vw, 80px);
  max-width: 920px;
  margin: 25px 0;
}
.page-intro .lead {
  max-width: 730px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  padding-top: 60px;
  padding-bottom: 80px;
}
.guide-nav {
  align-self: start;
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 14px;
  color: var(--muted);
}
.guide-nav a:hover {
  color: var(--accent);
}
.guide-section {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 20px;
  padding-bottom: 50px;
  scroll-margin-top: 40px;
}
.guide-section + .guide-section {
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.guide-number {
  color: var(--accent);
  padding-top: 10px;
}
.guide-section h2 {
  font-size: 32px;
  margin-bottom: 22px;
}
.guide-section p + p {
  margin-top: 18px;
}
.guide-section p {
  font-size: 16px;
}
.guide-section .text-link {
  margin-top: 25px;
}
.code-block {
  background: var(--dark);
  color: var(--ink);
  border-radius: 12px;
  margin: 25px 0;
  overflow: hidden;
}
.code-block > div {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font:
    9px "Geist Mono",
    monospace;
  color: var(--muted);
}
.code-block pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  line-height: 1.8;
  font-size: 13px;
}
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 70px;
}
.about-story h2 {
  font-size: 44px;
  max-width: 420px;
}
.large-copy {
  font-size: 21px;
}
.about-now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 45px;
  gap: 65px;
  margin-bottom: 85px;
}
.about-now h2 {
  font-size: 36px;
  margin-top: 20px;
}
.about-now p {
  font-size: 16px;
}
.about-now p + p {
  margin-top: 20px;
}
.about-story + .connect-section .principle-number {
  display: block;
  margin-bottom: 18px;
}
.deck {
  margin-block: 40px 85px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px 35px;
}
.deck-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.slide {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 45px;
  align-items: start;
  min-height: 355px;
  padding: 55px 20px;
}
.slide[hidden] {
  display: none;
}
.slide-index {
  font:
    100px/0.9 "Geist",
    sans-serif;
  color: var(--accent);
  letter-spacing: -0.08em;
}
.slide h2 {
  font-size: 47px;
  max-width: 780px;
}
.slide p {
  font-size: 19px;
  max-width: 730px;
  margin-top: 23px;
}
.slide-diagram {
  margin-top: 30px;
  font-size: 11px;
  color: var(--accent);
}
.deck-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.slide-dots {
  display: flex;
  gap: 10px;
}
.slide-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
}
.slide-dots button[aria-pressed="true"] {
  background: var(--accent);
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 95px;
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: 104px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    gap: 20px;
  }
  .site-header nav {
    gap: 18px;
  }
  .hero {
    gap: 30px;
    grid-template-columns: 0.88fr 1.12fr;
  }
  .hero h1 {
    font-size: 72px;
  }
  .lead {
    font-size: 16px;
  }
  .hero .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .bench-content {
    gap: 10px;
    padding-inline: 16px;
  }
  .bench-heading {
    padding-inline: 18px;
  }
  .flow-step {
    padding: 13px 8px;
    gap: 7px;
  }
  .step-detail {
    padding: 15px 12px;
  }
  .step-detail h3 {
    font-size: 21px;
  }
  .govern-layout {
    gap: 60px;
  }
  .guide-layout {
    grid-template-columns: 200px 1fr;
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .site-header nav {
    font-size: 12px;
    gap: 15px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 19px;
    margin-right: 7px;
  }
  .preferences {
    margin-left: 0;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    gap: 50px;
  }
  .hero h1 {
    font-size: 85px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero .lead {
    max-width: 600px;
    font-size: 18px;
  }
  .hero .actions {
    flex-direction: row;
    align-items: center;
  }
  .workbench {
    max-width: 670px;
    justify-self: center;
    width: 100%;
    transform: none;
  }
  .workbench::before {
    display: none;
    display: none;
  }
  .bench-content {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 0 24px 25px;
  }
  .bench-heading {
    padding: 25px;
  }
  .flow-step {
    padding: 15px;
    min-height: 72px;
  }
  .flow-step strong {
    font-size: 13px;
  }
  .flow-step small {
    font-size: 10px;
  }
  .step-detail {
    padding: 25px;
  }
  .step-detail h3 {
    font-size: 25px;
  }
  .step-detail p {
    font-size: 12px;
  }
  .principles {
    gap: 18px;
  }
  .principles > div + div {
    padding-left: 20px;
  }
  .principles h3 {
    font-size: 18px;
  }
  .feature-layout,
  .govern-layout {
    grid-template-columns: 1fr;
  }
  .feature-aside {
    flex-direction: row;
  }
  .feature-aside article {
    padding: 20px;
  }
  .feature-aside article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: 550px;
    margin-top: 20px;
  }
  .govern-layout {
    gap: 30px;
  }
  .govern-layout h2 {
    max-width: 600px;
  }
  .govern-layout > div > p {
    max-width: 600px;
  }
  .connect-grid {
    gap: 20px;
  }
  .connect-grid article + article {
    padding-left: 20px;
  }
  .connect-grid h3 {
    font-size: 22px;
  }
  .connect-grid p {
    font-size: 14px;
  }
  .closing {
    padding: 35px;
    display: block;
  }
  .closing .button {
    margin-top: 25px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .about-story,
  .about-now {
    gap: 30px;
  }
  .slide {
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding-inline: 0;
  }
  .slide-index {
    font-size: 70px;
  }
  .slide h2 {
    font-size: 40px;
  }
  .slide p {
    font-size: 17px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
    gap: 12px;
  }
  .brand {
    font-size: 25px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    z-index: 10;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    font-size: 17px;
    gap: 12px;
  }
  .site-header nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }
  .preferences {
    margin-left: auto;
    gap: 10px;
  }
  .language button {
    font-size: 10px;
    padding: 4px;
  }
  .theme-toggle {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 35px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .hero h1 {
    font-size: clamp(61px, 15vw, 88px);
    margin-top: 25px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .hero .actions {
    gap: 17px;
    flex-wrap: wrap;
    margin-top: 23px;
  }
  .button {
    font-size: 12px;
    padding: 12px 17px;
    gap: 20px;
  }
  .text-link {
    font-size: 12px;
  }
  .hero-note {
    font-size: 10px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .workbench {
    border-radius: 12px;
  }
  .bench-top {
    padding-inline: 17px;
    height: 38px;
  }
  .bench-heading {
    padding: 18px 16px;
  }
  .bench-heading h2 {
    font-size: 24px;
  }
  .bench-content {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 0 16px 18px;
  }
  .flow-path {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .flow-step {
    padding: 11px 8px;
    min-height: 69px;
    gap: 8px;
  }
  .flow-step strong {
    font-size: 11px;
  }
  .flow-step small {
    font-size: 9px;
  }
  .flow-step:not(:last-child)::after {
    display: none;
  }
  .step-arrow {
    display: none;
  }
  .step-detail {
    padding: 17px 18px;
    min-height: 195px;
  }
  .step-detail h3 {
    font-size: 25px;
    margin: 10px 0;
  }
  .step-detail p {
    font-size: 12px;
    line-height: 1.5;
  }
  .detail-rule {
    margin: 15px 0 11px;
  }
  .step-detail .detail-foot {
    font-size: 10px;
  }
  .bench-bottom {
    padding: 12px 16px;
    font-size: 8px;
  }
  .bench-bottom-right {
    font-size: 7px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 0;
  }
  .principles > div {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 25px 1fr;
    column-gap: 10px;
  }
  .principles > div + div {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }
  .principles h3 {
    margin: 0 0 7px;
    font-size: 20px;
  }
  .principles p {
    grid-column: 2;
  }
  .principle-number {
    padding-top: 4px;
  }
  .product-section,
  .connect-section {
    padding-block: 58px;
  }
  .section-label {
    font-size: 10px;
    margin-bottom: 23px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .section-heading > p {
    font-size: 16px;
  }
  .feature-main {
    padding: 27px 23px;
  }
  .feature-main h3 {
    font-size: 30px;
  }
  .feature-main p {
    font-size: 15px;
  }
  .project-visual {
    margin-top: 25px;
  }
  .project-row {
    padding: 13px;
    font-size: 11px;
    gap: 10px;
  }
  .project-visual-head {
    padding: 15px 13px;
    font-size: 12px;
  }
  .project-visual-head > .micro {
    font-size: 7px;
  }
  .feature-aside {
    display: block;
  }
  .feature-aside article {
    padding: 27px 3px;
  }
  .feature-aside article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .feature-aside h3 {
    font-size: 29px;
  }
  .govern-section {
    padding-block: 53px;
  }
  .govern-layout h2 {
    font-size: 42px;
  }
  .govern-layout {
    gap: 15px;
  }
  .govern-layout > div > p {
    font-size: 16px;
  }
  .decision-list article {
    gap: 19px;
    padding: 24px 0;
  }
  .decision-list h3 {
    font-size: 25px;
  }
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .connect-grid article {
    padding: 25px 0;
  }
  .connect-grid article:first-child {
    padding-top: 0;
  }
  .connect-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .connect-grid h3 {
    font-size: 27px;
  }
  .connect-grid p {
    font-size: 16px;
  }
  .connect-icon {
    margin-bottom: 18px;
    font-size: 27px;
  }
  .closing {
    padding: 28px 24px;
    margin-bottom: 60px;
  }
  .closing h2 {
    font-size: 37px;
  }
  .closing p {
    font-size: 15px;
  }
  .closing .micro {
    font-size: 9px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 18px;
  }
  .footer-bottom > span:last-child {
    text-align: right;
  }
  .page-intro {
    padding-top: 42px;
    padding-bottom: 36px;
  }
  .page-intro h1 {
    font-size: 49px;
    margin: 21px 0;
  }
  .page-intro .lead {
    font-size: 17px;
  }
  .guide-layout {
    padding-top: 30px;
    gap: 25px;
    padding-bottom: 45px;
  }
  .guide-nav {
    font-size: 12px;
  }
  .guide-section {
    grid-template-columns: 24px 1fr;
    gap: 10px;
    padding-bottom: 33px;
  }
  .guide-section h2 {
    font-size: 29px;
  }
  .guide-section p {
    font-size: 15px;
  }
  .code-block pre {
    font-size: 11px;
    padding: 15px;
  }
  .about-story {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 25px;
  }
  .about-story h2 {
    font-size: 39px;
  }
  .large-copy {
    font-size: 18px;
  }
  .about-now {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 25px;
    margin-bottom: 60px;
  }
  .about-now h2 {
    font-size: 34px;
  }
  .deck {
    margin-block: 25px 60px;
    padding: 18px;
  }
  .slide {
    display: block;
    padding: 30px 0;
    min-height: 400px;
  }
  .slide-index {
    font-size: 60px;
    margin-bottom: 25px;
  }
  .slide h2 {
    font-size: 36px;
  }
  .slide p {
    font-size: 16px;
  }
  .slide-diagram {
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .deck-controls {
    gap: 12px;
  }
  .deck-controls .button {
    padding: 10px;
    gap: 8px;
    font-size: 11px;
    min-height: 42px;
  }
  .slide-dots {
    gap: 7px;
  }
  .slide-dots button {
    width: 7px;
    height: 7px;
  }
  .deck-top {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* La web conserva el vocabulario de la app: serif editorial, datos mono y controles discretos. */
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}
.hero h1 {
  font-weight: 400;
  line-height: 1.01;
}
.brand {
  letter-spacing: -1.1px;
  font-weight: 650;
}
.brand-period {
  display: none;
}
.brand-mark {
  border: 0;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 9px;
  padding: 7px;
  width: 38px;
  height: 38px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.brand .wordmark {
  font-size: 25px;
}
.mini-brand {
  border: 0;
  color: var(--accent);
  width: 20px;
  height: 20px;
}
.mini-brand svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.button {
  border-radius: 6px;
}
.button:hover:not(:disabled) {
  transform: none;
}
.button:not(.secondary):hover {
  background: var(--accent-hover);
}
.bench-heading h2 {
  font-family: Geist, Arial, sans-serif;
  font-weight: 500;
}
.workbench {
  box-shadow: 0 10px 30px #0f172a14;
  border-radius: 14px;
}
.example-pill {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
  border-radius: 99px;
}
.step-detail {
  background: var(--card);
}
.flow-step.selected {
  box-shadow: 0 0 0 1px var(--warn-soft);
}
.detail-rule {
  background: var(--line);
}
.feature-main {
  border: 1px solid var(--line);
  background: var(--card);
}
.govern-section {
  border-block: 1px solid var(--line);
}
.closing {
  background: var(--card);
  border: 1px solid var(--line);
}
.closing .micro {
  color: var(--accent);
}
.project-visual {
  background: var(--surface);
}
.about-now,
.deck {
  background: var(--card);
  border: 1px solid var(--line);
}
.code-block {
  border: 1px solid var(--line);
}
.slide-index {
  font-family: "Geist Mono", monospace;
  font-size: 76px;
  font-weight: 400;
}
.theme-toggle {
  border-radius: 6px;
}
.connect-icon {
  font-size: 27px;
}
.site-header nav a[aria-current] {
  color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}
@media (max-width: 680px) {
  .brand .wordmark {
    font-size: 23px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  .slide-index {
    font-size: 55px;
  }
}

/* Casos de uso: el resultado explica el producto antes de entrar en arquitectura. */
.use-section {
  padding-block: 74px 54px;
  border-top: 1px solid var(--line);
}
.use-tabs,
.comparison-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-button {
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 10px 17px;
  cursor: pointer;
}
.filter-button:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.filter-button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.use-tabs {
  margin-bottom: 22px;
}
.use-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  margin-bottom: 18px;
}
.use-request,
.use-output {
  padding: 38px;
}
.use-request {
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.use-request blockquote {
  font:
    26px/1.42 Georgia,
    serif;
  margin: 25px 0 30px;
}
.use-input {
  color: var(--muted);
  font-size: 13px;
  margin-top: auto;
}
.use-output .example-pill {
  display: inline-block;
  margin-bottom: 20px;
}
.use-output h3 {
  font:
    31px/1.17 Georgia,
    serif;
  max-width: 390px;
  margin-bottom: 28px;
}
.use-output p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}
.section-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 850px;
}
.audience-section {
  padding-block: 75px;
  border-top: 1px solid var(--line);
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.audience-grid h2 {
  font-size: 38px;
}
.audience-grid p {
  color: var(--muted);
  margin: 20px 0;
  max-width: 480px;
}
.quick-start {
  margin-bottom: 55px;
}
.quick-start > div {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}
.quick-start h2 {
  font-size: 32px;
}
.quick-start p {
  color: var(--muted);
  max-width: 900px;
  margin-block: 18px;
  line-height: 1.7;
}
/* Tabla con desplazamiento propio: el documento no se ensancha en móvil. */
.compare-intro {
  padding-bottom: 48px;
}
.compare-intro h1 {
  max-width: 1020px;
}
.compare-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}
.compare-meta time {
  color: var(--muted);
  font:
    12px "Geist Mono",
    monospace;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-bottom: 65px;
}
.choice-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
}
.choice-grid h2 {
  font:
    26px/1.2 Georgia,
    serif;
  margin: 20px 0 15px;
}
.choice-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.comparison-section {
  padding-block: 20px 70px;
}
.comparison-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.comparison-toolbar p {
  font:
    12px "Geist Mono",
    monospace;
  color: var(--muted);
  flex-shrink: 0;
}
.scroll-hint {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.comparison-scroll {
  position: relative;
  overflow: auto;
  max-height: 760px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  overscroll-behavior-x: contain;
}
.comparison-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.product-kind {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin: 7px 0 13px;
}
.source-link {
  display: block;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 5px;
}
.comparison-method {
  padding-top: 30px;
  max-width: 900px;
}
.comparison-method h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.comparison-method p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.gap-section {
  padding-block: 65px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.gap-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
}
.gap-status {
  color: var(--warn);
  font:
    11px "Geist Mono",
    monospace;
  display: inline-block;
  background: var(--warn-soft);
  border-radius: 4px;
  padding: 5px 8px;
}
.gap-grid h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 18px 0 12px;
}
.gap-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .choice-grid {
    gap: 15px;
  }
  .choice-grid article {
    padding: 20px;
  }
  .comparison-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .use-request,
  .use-output {
    padding: 25px;
  }
}
@media (max-width: 680px) {
  .use-section {
    padding-block: 45px 30px;
  }
  .use-panel,
  .audience-grid,
  .choice-grid,
  .gap-grid {
    grid-template-columns: 1fr;
  }
  .use-request {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .use-request blockquote {
    font-size: 23px;
  }
  .use-output h3 {
    font-size: 28px;
  }
  .audience-section {
    padding-block: 40px;
  }
  .audience-grid {
    gap: 35px;
  }
  .audience-grid h2 {
    font-size: 32px;
  }
  .choice-grid {
    padding-bottom: 35px;
  }
  .compare-intro h1 {
    font-size: 43px;
  }
  .compare-meta {
    gap: 15px;
  }
  .comparison-scroll {
    max-height: 640px;
  }
  .gap-section {
    padding-block: 40px;
  }
  .filter-button {
    font-size: 13px;
    padding: 9px 12px;
  }
}

/* Una característica por fila, con los matices accesibles al pulsar o usar el teclado. */
.matrix-tools {
  display: flex;
  align-items: end;
  gap: 25px;
  margin-bottom: 24px;
}
.matrix-search {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  width: min(380px, 100%);
}
.matrix-search input {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  width: 100%;
}
.matrix-differences {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  padding-block: 12px;
}
.matrix-differences input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 12px;
}
.matrix-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.matrix-mark,
.matrix-cell {
  font-family: "Geist", sans-serif;
  font-size: 19px;
  font-weight: 650;
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 6px;
  line-height: 1;
}
.status-y {
  color: var(--ok);
  background: var(--ok-soft);
}
.status-p {
  color: var(--warn);
  background: var(--warn-soft);
}
.status-n {
  color: var(--accent);
  background: var(--accent-soft);
}
.status-u {
  color: var(--muted);
  background: var(--surface);
}
.matrix-cell {
  position: relative;
  border: 1px solid transparent;
  width: 35px;
  height: 35px;
  cursor: pointer;
}
.matrix-cell:hover,
.matrix-cell:focus-visible {
  border-color: currentColor;
  outline: 2px solid var(--line-strong);
  outline-offset: 3px;
}
.comparison-scroll {
  max-height: min(780px, 82vh);
  margin-top: 16px;
}
#comparison-table {
  --product-count: 9;
  --feature-width: 235px;
  --product-width: 119px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  width: max(
    100%,
    calc(var(--feature-width) + var(--product-count) * var(--product-width))
  );
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
#comparison-table th,
#comparison-table td {
  padding: 12px 10px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
#comparison-table th {
  font-weight: 500;
}
#comparison-table tr > :first-child {
  width: var(--feature-width);
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
  border-right-color: var(--line-strong);
  padding-left: 18px;
}
#comparison-table thead th {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 3;
  height: 105px;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: top;
  padding-top: 20px;
}
#comparison-table thead th:first-child {
  background: var(--surface);
  z-index: 4;
  vertical-align: middle;
}
#comparison-table th strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  min-height: 36px;
}
#comparison-table .source-link {
  font-size: 10px;
  font-weight: 400;
  margin-top: 9px;
}
#comparison-table .matrix-own {
  background: color-mix(in srgb, var(--accent-soft) 30%, var(--card));
}
#comparison-table thead .matrix-own {
  background: var(--accent-soft);
  color: var(--accent);
}
#comparison-table .matrix-group > * {
  background: var(--surface);
  border-bottom-color: var(--line-strong);
  padding-block: 13px;
}
#comparison-table .matrix-group th {
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
#comparison-table [data-feature]:hover > th,
#comparison-table [data-feature]:hover > td {
  background: var(--surface);
}
#comparison-table [data-feature]:hover .matrix-own {
  background: var(--accent-soft);
}
#matrix-empty {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
#matrix-dialog {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 30px;
  width: min(560px, calc(100% - 32px));
  max-height: 85vh;
  margin: auto;
  box-shadow: 0 20px 80px #0004;
}
#matrix-dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(3px);
}
.matrix-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.matrix-dialog-top button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}
#matrix-dialog h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}
#matrix-dialog p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--muted);
}
#matrix-dialog h3 {
  font-size: 13px;
  margin-top: 25px;
  margin-bottom: 10px;
}
#matrix-dialog .matrix-status-label {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 12px;
}
#matrix-dialog .status-y {
  color: var(--ok);
}
#matrix-dialog .status-p {
  color: var(--warn);
}
#matrix-dialog .status-n {
  color: var(--accent);
}
@media (max-width: 680px) {
  .matrix-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  #comparison-table {
    --feature-width: 155px;
    --product-width: 105px;
    font-size: 12px;
  }
  #comparison-table tr > :first-child {
    padding-left: 12px;
  }
  #comparison-table th,
  #comparison-table td {
    padding: 10px 7px;
  }
  #comparison-table th strong {
    font-size: 12px;
  }
  .matrix-legend {
    gap: 10px 15px;
  }
  #matrix-dialog {
    padding: 22px;
  }
}
