:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --surface-subtle: #f4f7fb;
  --surface-strong: #14243a;
  --text: #14243a;
  --text-muted: #425466;
  --line: #c8d4e2;
  --accent: #1d5dd7;
  --accent-hover: #164bad;
  --accent-soft: #eaf1ff;
  --signal: #0a775f;
  --signal-bright: #48d1b0;
  --focus: #ffb000;
  --shadow: 0 1.25rem 3.5rem rgb(20 36 58 / 10%);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shell: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, summary:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
  border-radius: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--surface-strong);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.preview-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.25rem 1rem;
  color: #ffffff;
  background: var(--surface-strong);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.preview-notice span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--signal-bright);
  box-shadow: 0 0 0 0.2rem rgb(72 209 176 / 20%);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(0.8rem);
}
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem 0;
  color: var(--text);
  text-decoration: none;
}
.brand svg {
  color: var(--text);
}
.brand-wordmark { width: 13.125rem; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.desktop-nav a,
.mobile-nav a {
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.desktop-nav a:hover { color: var(--accent); background: var(--surface-subtle); border-radius: 0.65rem; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgb(72 209 176 / 15%), transparent 22rem),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-subtle) 100%);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: min(42rem, calc(100vh - 6.75rem));
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.hero-copy { max-width: 44rem; }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-wrap: balance;
}
h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero-copy h1 {
  max-width: 22ch;
  line-height: 1.16;
}
h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h3 {
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.hero-lede {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { color: #ffffff; background: var(--accent); box-shadow: 0 0.65rem 1.5rem rgb(29 93 215 / 20%); }
.button-primary:hover { color: #ffffff; background: var(--accent-hover); }
.button-secondary { color: var(--text); border-color: var(--line); background: var(--surface); }
.button-secondary:hover { color: var(--accent); border-color: var(--accent); }
.hero-note { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.92rem; }

.decision-sheet {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: var(--surface-strong);
  box-shadow: 0 2rem 5rem rgb(20 36 58 / 22%);
}
.decision-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
  pointer-events: none;
}
.decision-sheet__head { position: relative; display: flex; align-items: center; gap: 1rem; }
.decision-sheet__head img { border: 1px solid rgb(255 255 255 / 14%); border-radius: 1rem; }
.decision-sheet__head p { margin: 0; color: #b9c8da; font-size: 0.85rem; }
.decision-sheet__head strong { font-size: 1.05rem; }
.decision-sheet dl { position: relative; margin: 2rem 0; }
.decision-sheet dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid rgb(255 255 255 / 16%); }
.decision-sheet dt { color: #b9c8da; }
.decision-sheet dd { margin: 0; text-align: right; font-weight: 700; }
.decision-mark { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; align-items: end; min-height: 7rem; }
.decision-mark span { border-radius: 0.45rem 0.45rem 0 0; background: #246bfd; }
.decision-mark span:nth-child(1) { height: 28%; opacity: 0.45; }
.decision-mark span:nth-child(2) { height: 43%; opacity: 0.62; }
.decision-mark span:nth-child(3) { height: 61%; opacity: 0.78; }
.decision-mark span:nth-child(4) { height: 86%; }
.decision-mark svg { position: absolute; right: 0.5rem; top: 0; width: 55%; }
.decision-mark path { fill: none; stroke: var(--signal-bright); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 28rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.section-heading > p { margin: 0; color: var(--text-muted); }
.section-heading--narrow > p { max-width: 34rem; }

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tool-card__body { padding: clamp(1.5rem, 4vw, 3rem); }
.tool-card__body h3 { max-width: 24ch; margin: 0.85rem 0 1rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.tool-card__body > p { max-width: 46rem; color: var(--text-muted); }
.status-line { display: flex; align-items: center; gap: 0.55rem; color: var(--signal); font-size: 0.9rem; font-weight: 750; }
.status-dot { width: 0.65rem; height: 0.65rem; border: 0.13rem solid var(--surface); border-radius: 999px; background: var(--signal); box-shadow: 0 0 0 0.13rem var(--signal); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.38rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-muted); background: var(--surface-subtle); font-size: 0.86rem; font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; font-weight: 750; }
.tool-card__meta { margin: 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface-subtle); }
.tool-card__meta div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tool-card__meta div:last-child { border-bottom: 0; }
.tool-card__meta dt { color: var(--text-muted); font-size: 0.85rem; font-weight: 700; }
.tool-card__meta dd { margin: 0.25rem 0 0; font-weight: 750; }
.gate-note { max-width: 58rem; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 0.25rem solid var(--signal); color: var(--text-muted); }

.method { color: #ffffff; background: var(--surface-strong); }
.method .eyebrow { color: var(--signal-bright); }
.method .section-heading > p { color: #c0cede; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.method-grid li { padding: 1.5rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--radius-md); background: rgb(255 255 255 / 4%); }
.method-grid span { color: var(--signal-bright); font-variant-numeric: tabular-nums; font-weight: 800; }
.method-grid h3 { margin: 2.5rem 0 0.65rem; font-size: 1.25rem; }
.method-grid p { margin: 0; color: #c0cede; }

.guide { background: var(--surface-subtle); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr); gap: clamp(2rem, 8vw, 6rem); align-items: center; }
.guide-layout > div:first-child > p:not(.eyebrow) { max-width: 46rem; color: var(--text-muted); font-size: 1.08rem; }
.review-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 1rem 2.5rem rgb(20 36 58 / 7%); }
.review-card p { margin-top: 0; }
.review-card ul { margin-bottom: 0; padding-left: 1.25rem; color: var(--text-muted); }
.review-card li + li { margin-top: 0.55rem; }

.trust-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1.2fr); gap: clamp(2rem, 8vw, 6rem); }
.trust-layout ul { margin: 0; padding: 0; list-style: none; }
.trust-layout li { padding: 1rem 0 1rem 2rem; border-top: 1px solid var(--line); background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 1.45rem / 0.85rem 0.18rem; }
.trust-contact { grid-column: 2; margin: 0; color: var(--text-muted); }

.site-footer { padding-block: 2.5rem; color: #ffffff; background: #0b1727; }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; }
.footer-wordmark { width: 11.875rem; height: auto; }
.footer-brand p { margin: 0.1rem 0 0; color: #b9c8da; font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 0.2rem 1rem; }
.site-footer a { min-height: 2.75rem; display: inline-flex; align-items: center; color: #dce6f0; }
.site-footer a:hover { color: #ffffff; }
.footer-disclaimer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 14%); color: #aebdd0; font-size: 0.86rem; }

@media (max-width: 56rem) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-layout, .tool-card, .guide-layout, .trust-layout { grid-template-columns: 1fr; }
  .trust-contact { grid-column: auto; }
  .hero-layout { min-height: auto; }
  .decision-sheet { max-width: 36rem; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid li:last-child { grid-column: 1 / -1; }
  .footer-layout { display: grid; }
  .site-footer nav { justify-content: start; }
}

@media (max-width: 38rem) {
  .shell { width: min(calc(100% - 1.25rem), var(--shell)); }
  .header-layout { min-height: 4.25rem; }
  .header-layout { gap: 0.75rem; }
  .brand { padding-inline: 0.35rem; }
  .brand-wordmark { width: 10.5rem; height: auto; }
  .hero-layout { gap: 2.5rem; padding-block: 3.25rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.75rem); max-width: none; line-height: 1.2; letter-spacing: -0.015em; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .decision-sheet dl div { display: grid; gap: 0.15rem; }
  .decision-sheet dd { text-align: left; }
  .section { padding-block: 3.75rem; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid li:last-child { grid-column: auto; }
  .tool-card__body, .tool-card__meta { padding: 1.25rem; }
  .footer-layout, .site-footer nav { display: grid; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1421;
    --surface-subtle: #101d2c;
    --surface-strong: #14243a;
    --text: #f5f7fa;
    --text-muted: #b9c8da;
    --line: #34485e;
    --accent: #7da2ff;
    --accent-hover: #a9c0ff;
    --accent-soft: #172c50;
    --signal: #67e0c2;
    --focus: #ffd166;
    --shadow: 0 1.25rem 3.5rem rgb(0 0 0 / 28%);
  }
  .button-primary { color: #08111d; background: #8bb0ff; box-shadow: none; }
  .button-primary:hover { color: #08111d; background: #b2c8ff; }
  .status-dot { border-color: var(--surface); }
  .method { background: #07101b; }
  .site-footer { background: #050b12; }
}

@media (prefers-contrast: more) {
  :root { --line: currentColor; }
  .eyebrow, .status-line { text-decoration: underline; text-decoration-thickness: 0.12em; }
  .button, .tool-card, .review-card, .method-grid li { border-width: 0.13rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .preview-notice, .mobile-nav, .desktop-nav, .hero-actions { display: none; }
  .site-header { position: static; }
  .hero-layout, .tool-card, .guide-layout, .trust-layout, .section-heading { grid-template-columns: 1fr; }
  body { color: #14243a; background: #ffffff; }
}

/* Hoja local de control de identidad; no forma parte de la home. */
.identity-stack { display: grid; gap: 1.5rem; }
.identity-intro { max-width: 52rem; margin-bottom: 1.5rem; }
.identity-intro h1 { max-width: 14ch; }
.identity-intro > p:last-child { max-width: 46rem; color: var(--text-muted); font-size: 1.08rem; }
.identity-panel {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.identity-panel h2 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
.icon-sizes { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: end; }
.icon-sizes figure { display: grid; justify-items: center; gap: 0.45rem; min-width: 3rem; margin: 0; }
.icon-sizes img { image-rendering: auto; }
.icon-sizes figcaption { color: var(--text-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.identity-surfaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.identity-surface { display: grid; gap: 0.65rem; align-content: center; min-height: 9rem; padding: 1.25rem; border-radius: var(--radius-md); }
.identity-surface img { width: min(100%, 15.75rem); height: auto; }
.identity-surface span { font-size: 0.85rem; }
.identity-surface--light { border: 1px solid #c8d4e2; color: #14243a; background: #ffffff; }
.identity-surface--light span { color: #425466; }
.identity-surface--dark { border: 1px solid #34485e; color: #f5f7fa; background: #0b1421; }
.identity-surface--dark span { color: #b9c8da; }
.token-list { margin: 0; }
.token-list div { display: grid; grid-template-columns: minmax(8rem, 0.55fr) minmax(0, 1.45fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.token-list div:last-child { border-bottom: 0; }
.token-list dt { display: flex; align-items: center; gap: 0.65rem; font-weight: 750; }
.token-list dt span { width: 1.2rem; height: 1.2rem; border: 1px solid var(--line); border-radius: 0.3rem; background: var(--swatch); }
.token-list dd { margin: 0; color: var(--text-muted); }

@media (max-width: 48rem) {
  .identity-panel { grid-template-columns: 1fr; }
  .identity-surfaces { grid-template-columns: 1fr; }
}

@media (max-width: 28rem) {
  .token-list div { grid-template-columns: 1fr; gap: 0.25rem; }
}


.n8n-tco {
	box-sizing: border-box;
	--n8n-tco-ink: #142235;
	--n8n-tco-muted: #52657b;
	--n8n-tco-line: #c9d5e2;
	--n8n-tco-panel: #f3f7fb;
	--n8n-tco-accent: #1455a5;
	max-width: 1120px;
	width: 100%;
	margin: 1.25rem auto;
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid var(--n8n-tco-line);
	border-radius: 20px;
	color: var(--n8n-tco-ink);
	background: linear-gradient(155deg, #fff 55%, #f7faff);
	box-shadow: 0 18px 48px rgb(20 34 53 / 9%);
	font: inherit;
}
.n8n-tco *, .n8n-tco *::before, .n8n-tco *::after { box-sizing: border-box; }
.n8n-tco__intro { max-width: 900px; }
.n8n-tco__intro h2 { margin: .25rem 0 .75rem; color: var(--n8n-tco-ink); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.12; }
.n8n-tco__intro p { color: var(--n8n-tco-muted); font-size: 1.05rem; line-height: 1.6; }
.n8n-tco__eyebrow { margin: 0; color: var(--n8n-tco-accent) !important; font-size: .85rem !important; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.n8n-tco__assumptions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0 .75rem; }
.n8n-tco__assumptions div { display: grid; gap: .35rem; padding: 1rem; border: 1px solid #e1e9f1; border-radius: 12px; background: var(--n8n-tco-panel); }
.n8n-tco__assumptions span, .n8n-tco__field small { color: var(--n8n-tco-muted); }
.n8n-tco__assumptions strong { font-size: 1rem; }
.n8n-tco__notice, .n8n-tco__hint { color: var(--n8n-tco-muted); font-size: .94rem; line-height: 1.55; }
.n8n-tco__fieldset { min-width: 0; margin: 1.5rem 0; padding: 1.1rem; border: 1px solid var(--n8n-tco-line); border-radius: 12px; background: #fbfcfd; }
.n8n-tco__fieldset legend { padding: 0 .4rem; font-size: 1.2rem; font-weight: 700; }
.n8n-tco__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.n8n-tco__field { display: grid; align-content: start; gap: .45rem; margin: .35rem 0 .85rem; font-weight: 600; }
.n8n-tco__field input, .n8n-tco__field select { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #8a9bad; border-radius: 8px; color: var(--n8n-tco-ink); background: #fff; font: inherit; }
.n8n-tco__field small { font-size: .86rem; font-weight: 400; line-height: 1.4; }
.n8n-tco__check { display: flex; align-items: center; gap: .6rem; margin: .25rem 0 1rem; }
.n8n-tco__check input { width: 1.1rem; height: 1.1rem; accent-color: var(--n8n-tco-accent); }
.n8n-tco__button { min-height: 48px; padding: .75rem 1.1rem; border: 0; border-radius: 9px; color: #fff; background: var(--n8n-tco-accent); font: inherit; font-weight: 700; cursor: pointer; }
.n8n-tco__button:hover { background: #0d417f; }
.n8n-tco :focus-visible { outline: 3px solid #154fa3; outline-offset: 3px; }
.n8n-tco__error { margin: 1rem 0; padding: .8rem 1rem; border-left: 4px solid #a4262c; color: #6b1519; background: #fff3f3; }
.n8n-tco__results { margin-top: 2rem; padding-top: 1rem; border-top: 2px solid var(--n8n-tco-line); }
.n8n-tco__results h3, .n8n-tco__sources h3 { font-size: 1.45rem; }
.n8n-tco__recommendation { margin: 1rem 0; padding: 1rem 1.15rem; border-left: 5px solid var(--n8n-tco-accent); border-radius: 8px; background: #edf4fc; }
.n8n-tco__recommendation h4 { margin: 0 0 .45rem; font-size: 1.15rem; }
.n8n-tco__recommendation p { margin: 0; line-height: 1.55; }
.n8n-tco__result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.n8n-tco__card { padding: 1.1rem; border: 1px solid var(--n8n-tco-line); border-radius: 12px; background: var(--n8n-tco-panel); }
.n8n-tco__result-grid .n8n-tco__card:first-child { border-top: 3px solid var(--n8n-tco-accent); }
.n8n-tco__result-grid .n8n-tco__card:nth-child(2) { border-top: 3px solid #47765a; }
.n8n-tco__card h4 { margin: 0; font-size: 1.08rem; }
.n8n-tco__card > p { color: var(--n8n-tco-muted); }
.n8n-tco__card dl { margin: 1rem 0 0; }
.n8n-tco__card dl div { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--n8n-tco-line); }
.n8n-tco__card dt { color: var(--n8n-tco-muted); }
.n8n-tco__card dd { margin: 0; text-align: right; font-weight: 700; }
.n8n-tco__caveat { margin: 1rem 0; color: var(--n8n-tco-muted); font-size: .9rem; line-height: 1.5; }
.n8n-tco__sources { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--n8n-tco-line); }
.n8n-tco__sources li { margin: .5rem 0; line-height: 1.5; }
.n8n-tco__sources a { color: #124d91; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 680px) {
	.n8n-tco__assumptions, .n8n-tco__grid, .n8n-tco__result-grid { grid-template-columns: 1fr; }
	.n8n-tco { margin: 1rem 0; padding: 1rem; border-radius: 16px; }
}



/* ESTILOS PARA ARTICULOS Y PAGINAS LEGALES */
.article-page {
  padding: 3rem 0 5rem;
}
.article-header {
  max-width: 64rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}
.article-header h1 {
  max-width: 100% !important;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  margin: 0.75rem 0 1.25rem !important;
  text-wrap: balance !important;
}
.article-lede {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.68;
  max-width: 52rem;
  margin: 0 0 1.5rem;
}
.article-featured-image {
  margin: 0 0 2rem;
}
.article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--cs-line);
  border-radius: 16px;
}
.article-featured-image figcaption {
  margin-top: 0.65rem;
  color: var(--cs-text-muted);
  font-size: 0.9rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.article-meta strong {
  color: var(--text);
}
.article-body {
  max-width: 54rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}
.article-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin: 3rem 0 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
  line-height: 1.3;
}
.article-body p {
  margin: 0 0 1.5rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.8rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body strong {
  font-weight: 700;
  color: var(--text);
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.article-body a:hover {
  color: var(--accent-hover);
}
.article-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface-subtle);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.02rem;
}
.article-callout p:last-child {
  margin-bottom: 0;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--cs-line);
}
.data-table th {
  background: var(--cs-surface-subtle);
  font-weight: 700;
  color: var(--cs-text);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table td.num, .data-table th.num {
  text-align: right;
}
.diagram-block {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text);
  min-width: 520px;
}
.faq-accordion {
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.disclaimer-box {
  margin-top: 3.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--surface-subtle);
}

/* RESPONSIVE UNIVERSAL (Móviles, Tablets, Laptops) */
@media (max-width: 680px) {
  .article-page { padding: 2rem 0 4rem; }
  .article-header { margin-bottom: 1.75rem; padding-bottom: 1.5rem; }
  .article-header h1 { font-size: clamp(1.85rem, 7vw, 2.4rem) !important; line-height: 1.22 !important; }
  .article-lede { font-size: 1.05rem; line-height: 1.6; }
  .article-meta { gap: 0.75rem; font-size: 0.85rem; }
  .article-body { font-size: 1.02rem; line-height: 1.65; }
  .article-body h2 { margin-top: 2.25rem; font-size: 1.5rem; }
  .n8n-tco { padding: 1.25rem 0.9rem !important; border-radius: 14px !important; margin: 1.25rem 0 !important; }
  .n8n-tco__field input, .n8n-tco__field select { font-size: 16px !important; min-height: 48px !important; }
  .n8n-tco__button { width: 100% !important; min-height: 50px !important; }
}
