:root {
  /* AISIG-578: misma identidad del portal, incluida su familia del sistema y paleta completa. */
  --brand: #f08322;
  --brand-light: #f39a4c;
  --brand-dark: #d96f12;
  --brand-ink: #b85c0a;
  --brand-foreground: #7a3700;
  --brand-secondary: #ffb987;
  --ink: #263238;
  --slate: #37474f;
  --muted: #546e7a;
  --surface: #f5f6fa;
  --white: #fff;
  --line: #d9e0e4;
  --orange-light: #fff2e7;
  --z-header: 10;
  --z-skip: 20;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, [data-lightbox] { cursor: pointer; }
button:disabled { cursor: wait; }
img { max-width: 100%; height: auto; display: block; }
figure, p, h1, h2, h3 { margin: 0; }
p { line-height: 1.65; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.workflow-section :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--white); z-index: var(--z-skip); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 112px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 143px; }
.site-header nav { display: flex; gap: 34px; margin-left: auto; font-size: 15px; font-weight: 600; }
.site-header nav a { padding-block: 14px; transition: color 180ms; }
.site-header nav a:hover { color: var(--brand-ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 54px; padding: 15px 24px; border-radius: 20px; font-weight: 600; font-size: 16px; border: 0; transition: background 180ms, transform 250ms var(--ease-out); }
.button span { font-size: 22px; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--slate); }
.button-orange { background: var(--brand); color: var(--ink); }
.button-orange:hover { background: var(--brand-light); }
.header-cta { min-height: 46px; padding: 12px 19px; font-size: 14px; gap: 22px; }
.hero { padding-top: 76px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: end; gap: 56px; }
.product-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; margin-bottom: 25px; }
.status-dot { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 4px var(--orange-light); }
h1 { font-size: clamp(3.1rem, 6.15vw, 6rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.04em; }
h1 span { color: var(--brand-ink); }
.hero-intro { padding-bottom: 6px; }
.hero-intro > p:first-child { font-size: 19px; line-height: 1.65; max-width: 37ch; }
.hero-actions { margin-top: 26px; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 20px 24px; }
.text-link { display: inline-flex; align-items: center; gap: 17px; font-size: 15px; font-weight: 650; padding-block: 13px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line); transition: text-decoration-color 180ms; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link span { font-size: 20px; line-height: 1; }
.small-note { color: var(--muted); font-size: 13px; margin-top: 15px; }
.hero-product { margin-top: 60px; padding: 36px 65px 0; position: relative; isolation: isolate; }
.hero-product::before { content: ''; position: absolute; inset: 0 0 70px; background: var(--surface); border-radius: 12px; z-index: -2; }
.product-orbit { display: none; }
.product-frame { overflow: hidden; border-radius: 8px; background: var(--white); box-shadow: 0 6px 8px rgb(38 50 56 / 0.12); }
/* AISIG-576: el marco recorta su imagen; el foco va en el marco exterior para que
   el anillo del enlace no desaparezca entre el recorte y la barra oscura. */
.product-frame:focus-within { outline: 3px solid var(--ink); outline-offset: 5px; }
.product-frame .screenshot-link:focus-visible { outline: none; }
.frame-bar { height: 42px; display: flex; align-items: center; gap: 18px; padding-inline: 20px; color: var(--ink); font-size: 12px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; background: oklch(0.63 0.01 62); border-radius: 50%; }
.frame-state { margin-left: auto; color: var(--muted); }
.screenshot-link { display: block; position: relative; }
.zoom-hint { position: absolute; right: 18px; bottom: 18px; background: var(--ink); color: var(--white); border-radius: 5px; display: inline-flex; align-items: center; gap: 25px; padding: 11px 15px; font-size: 12px; font-weight: 600; transition: background 180ms; }
.screenshot-link:hover .zoom-hint { background: var(--brand-ink); }
.hero-product figcaption { text-align: center; padding: 21px 0 28px; color: var(--muted); font-size: 12px; }
.connection-strip { background: var(--surface); margin-top: 24px; padding-block: 35px; }
.connection-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.connection-strip p { color: var(--muted); font-size: 14px; }
.connected-names { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: 17px; font-weight: 600; }
.connected-names i { font-style: normal; font-size: 15px; color: var(--brand-ink); }
.product-section { padding-block: 116px 108px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
h2 { font-size: clamp(2.4rem, 3.6vw, 3.55rem); line-height: 1.15; font-weight: 550; letter-spacing: -0.035em; }
h2 span { color: var(--muted); }
.section-intro > p { max-width: 32ch; font-size: 17px; color: var(--muted); padding-bottom: 5px; }
.module-tabs { display: flex; margin-top: 52px; border-bottom: 1px solid var(--line); gap: 6px; }
.module-tab { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 19px 27px; font-weight: 600; font-size: 17px; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: background 180ms, color 180ms, border-color 180ms; }
.module-tab:hover { background: var(--surface); }
.module-tab[aria-selected='true'] { border-color: var(--brand); color: var(--brand-ink); }
.module-symbol { font-size: 23px; font-weight: 500; }
.module-panel { display: grid; grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.6fr); gap: 70px; align-items: center; padding-top: 48px; scroll-margin-top: 35px; }
.module-panel + .module-panel { margin-top: 60px; border-top: 1px solid var(--line); }
.module-copy h3 { font-size: 33px; letter-spacing: -0.03em; line-height: 1.2; font-weight: 600; max-width: 21ch; }
.module-copy > p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.feature-list { margin: 22px 0 18px; padding: 0; list-style: none; }
.feature-list li { padding-block: 8px; font-size: 14px; line-height: 1.4; display: flex; gap: 10px; }
.feature-list li::before { content: '✓'; color: var(--brand-ink); font-weight: 700; }
.module-figure { min-width: 0; }
.module-figure .screenshot-link { border: 1px solid var(--line); overflow: hidden; border-radius: 7px; }
.module-figure img { width: 100%; }
.module-figure figcaption { padding-top: 13px; font-size: 12px; color: var(--muted); }
.workflow-section { background: var(--slate); color: var(--white); padding-block: 104px; }
.workflow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; }
.workflow-heading h2 span { color: var(--brand); }
.workflow-heading > p { max-width: 40ch; margin-top: 24px; font-size: 17px; color: #cfd8dc; line-height: 1.8; }
.workflow-heading .text-link { margin-top: 27px; text-decoration-color: oklch(0.48 0.006 62); }
.workflow-list { padding: 0; margin: 0; list-style: none; }
.workflow-list li { display: flex; align-items: flex-start; gap: 24px; padding-block: 25px; border-bottom: 1px solid #607d8b; }
.workflow-list li:first-child { padding-top: 0; }
.workflow-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.step-number { font-size: 15px; color: var(--brand); padding-top: 4px; }
.workflow-list h3 { font-size: 23px; line-height: 1.4; font-weight: 550; }
.workflow-list p { color: #cfd8dc; font-size: 15px; margin-top: 7px; line-height: 1.8; }
.intelligence-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 108px; align-items: center; padding-block: 124px 110px; }
.intelligence-visual { background: var(--surface); min-height: 435px; border-radius: 12px; padding: 33px 38px; position: relative; }
.paste-symbol { font-size: 70px; color: var(--brand-ink); line-height: 1; }
.visual-label { font-size: 21px; font-weight: 550; margin-top: 3px; }
.paste-flow { padding-top: 28px; }
.paste-source { background: var(--white); border: 1px solid var(--line); padding: 22px; border-radius: 6px; }
.paste-source > span { font-size: 13px; color: var(--muted); }
.paste-source p { margin-top: 10px; font-size: 15px; }
.paste-arrow { display: block; text-align: center; font-size: 29px; color: var(--brand-ink); padding-block: 8px; }
.paste-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; background: var(--orange-light); border-radius: 6px; padding: 20px; }
.result-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); flex-shrink: 0; }
.visual-caption { font-size: 12px; color: var(--muted); margin-top: 22px; }
.section-label { color: var(--brand-ink); font-size: 15px; font-weight: 650; margin-bottom: 18px; }
.intelligence-copy > p:not(.section-label) { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 38ch; }
.intelligence-copy .review-note { font-size: 14px !important; color: var(--ink) !important; font-weight: 650; }
.intelligence-copy .text-link { margin-top: 15px; }
.company-section { border-top: 1px solid var(--line); padding-block: 95px 112px; }
.company-intro { display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.company-intro > p { max-width: 35ch; color: var(--muted); font-size: 17px; }
.company-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 75px; margin-top: 55px; }
.detail-symbol { color: var(--brand-ink); font-size: 30px; line-height: 1; }
.company-details h3 { font-size: 22px; font-weight: 600; margin-block: 18px 10px; }
.company-details p { color: var(--muted); font-size: 15px; max-width: 32ch; }
.demo-section { background: var(--brand); padding-block: 87px; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 90px; align-items: center; }
.demo-label { font-size: 14px; font-weight: 600; margin-bottom: 21px; }
.demo-section h2 { font-size: clamp(3rem, 5.2vw, 5.3rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; }
.demo-layout > div:first-child > p:last-child { max-width: 42ch; margin-top: 24px; font-size: 17px; }
.demo-contact { max-width: 360px; justify-self: end; width: 100%; }
.demo-contact .button { width: 100%; justify-content: space-between; }
.email-link { display: block; font-size: 22px; font-weight: 650; margin-top: 25px; letter-spacing: -0.02em; word-break: break-word; }
.copy-button { background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 9px 0 5px; min-height: 44px; font-size: 13px; }
.email-note { margin-top: 17px; font-size: 13px; max-width: 35ch; }
.copy-status { font-size: 13px; min-height: 22px; margin-top: 7px; }
.site-footer { min-height: 148px; display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-footer .brand img { width: 116px; }
.site-footer p { color: var(--muted); margin-right: auto; }
.site-footer > a:not(.brand) { padding-block: 14px; }
.site-footer > a span { margin-left: 10px; }
.screen-dialog { width: min(1500px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 8px; background: var(--white); color: var(--ink); }
.screen-dialog::backdrop { background: oklch(0.18 0.008 62 / 0.88); }
.dialog-toolbar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--white); }
.dialog-toolbar h2 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.dialog-close { border: 0; background: var(--surface); border-radius: 5px; width: 44px; height: 44px; font-size: 28px; }
.dialog-image { overflow: auto; }
.dialog-image img { width: 100%; max-width: none; }
.screen-dialog > p { padding: 12px 20px; font-size: 12px; color: var(--muted); }
body:has(.screen-dialog[open]) { overflow: hidden; }
.not-found { min-height: 100dvh; display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.not-found main { max-width: 650px; }
.error-code { font-size: 100px; color: var(--brand-ink); line-height: 1; margin-top: 70px; }
.not-found h1 { font-size: 48px; margin-top: 20px; }
.not-found main > p:not(.error-code) { margin-block: 20px; }
@keyframes product-arrival { from { transform: translateY(16px); } to { transform: translateY(0); } }
@media (min-width: 1600px) { .hero-product { padding-inline: 90px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { gap: 24px; }
  .site-header nav { gap: 20px; font-size: 13px; }
  .hero-top { grid-template-columns: 1.4fr 1fr; gap: 35px; }
  h1 { font-size: clamp(3rem, 6vw, 5rem); }
  .hero-intro > p:first-child { font-size: 17px; }
  .hero-actions { gap: 12px; }
  .hero-product { padding-inline: 36px; }
  .connection-strip .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .module-tab { padding-inline: 21px; }
  .module-panel { gap: 35px; grid-template-columns: 0.9fr 1.3fr; }
  .module-copy h3 { font-size: 28px; }
  .workflow-layout { gap: 60px; }
  .intelligence-section { gap: 60px; }
  .company-details { gap: 35px; }
  .demo-layout { gap: 45px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 85px; gap: 12px; }
  .site-header nav { display: none; }
  .site-header .brand img { width: 119px; }
  .header-cta { margin-left: auto; padding: 12px 14px; font-size: 12px; min-height: 44px; gap: 12px; }
  .hero { padding-top: 42px; }
  .hero-top { grid-template-columns: 1fr; gap: 26px; }
  .product-label { font-size: 12px; margin-bottom: 20px; }
  h1 { font-size: clamp(2.8rem, 8.6vw, 4.6rem); line-height: 1.08; }
  .hero-intro > p:first-child { font-size: 17px; max-width: 43ch; }
  .hero-actions { align-items: center; gap: 15px 22px; margin-top: 24px; }
  .button { font-size: 14px; padding: 14px 18px; min-height: 50px; gap: 20px; }
  .text-link { font-size: 13px; gap: 13px; }
  .small-note { margin-top: 9px; }
  .hero-product { margin-top: 38px; padding: 18px 12px 0; }
  .hero-product::before { inset: 0 0 47px; }
  .product-orbit { width: 90px; height: 90px; border-width: 15px; right: -10px; top: -14px; }
  .frame-bar { height: 30px; padding-inline: 10px; gap: 10px; font-size: 8px; }
  .frame-state { display: none; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 4px; height: 4px; }
  .zoom-hint { padding: 9px 11px; font-size: 10px; gap: 12px; right: 10px; bottom: 10px; }
  .hero-product figcaption { font-size: 10px; padding-block: 15px 12px; }
  .connection-strip { padding-block: 27px; margin-top: 28px; }
  .connection-strip p { font-size: 13px; }
  .connected-names { font-size: 13px; gap: 10px; }
  .connected-names i { font-size: 11px; }
  .product-section { padding-block: 65px; }
  .section-intro { display: block; }
  h2 { font-size: clamp(2rem, 6.3vw, 2.8rem); line-height: 1.18; }
  .section-intro > p { margin-top: 20px; font-size: 15px; max-width: 40ch; }
  .module-tabs { margin-top: 27px; flex-wrap: wrap; gap: 0; }
  .module-tab { padding: 14px 15px; gap: 9px; font-size: 14px; white-space: nowrap; }
  .module-symbol { font-size: 19px; }
  .module-panel { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .module-copy h3 { max-width: 27ch; font-size: 27px; }
  .module-copy > p { font-size: 15px; max-width: 50ch; }
  .feature-list { margin: 14px 0 7px; }
  .feature-list li { padding-block: 6px; font-size: 13px; }
  .module-figure figcaption { font-size: 10px; }
  .workflow-section { padding-block: 65px; }
  .workflow-layout { grid-template-columns: 1fr; gap: 38px; }
  .workflow-heading > p { font-size: 15px; }
  .workflow-heading .text-link { margin-top: 14px; }
  .workflow-list h3 { font-size: 21px; }
  .workflow-list p { font-size: 14px; }
  .intelligence-section { padding-block: 65px; grid-template-columns: 1fr; gap: 36px; }
  .intelligence-copy { grid-row: 1; }
  .intelligence-copy > p:not(.section-label) { font-size: 15px; max-width: 48ch; }
  .intelligence-visual { min-height: 0; padding: 26px; }
  .visual-label { font-size: 20px; }
  .paste-result { font-size: 12px; padding: 18px 15px; }
  .company-section { padding-block: 60px 65px; }
  .company-intro { display: block; }
  .company-intro > p { margin-top: 20px; font-size: 15px; max-width: 45ch; }
  .company-details { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .company-details > div { display: grid; grid-template-columns: 32px 1fr; gap: 5px 18px; }
  .detail-symbol { grid-row: span 2; padding-top: 5px; }
  .company-details h3 { margin: 0; font-size: 20px; }
  .company-details p { max-width: 42ch; font-size: 14px; }
  .demo-section { padding-block: 60px 45px; }
  .demo-layout { grid-template-columns: 1fr; gap: 30px; }
  .demo-section h2 { font-size: clamp(2.6rem, 9vw, 4rem); }
  .demo-label { font-size: 12px; }
  .demo-layout > div:first-child > p:last-child { font-size: 15px; }
  .demo-contact { justify-self: start; max-width: none; }
  .demo-contact .button { max-width: 360px; }
  .email-link { font-size: 20px; margin-top: 20px; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-block: 32px; }
  .site-footer p { grid-column: 2; font-size: 11px; text-align: right; }
  .site-footer .brand img { width: 105px; }
  .site-footer > a:last-child { text-align: right; }
  .screen-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .dialog-image img { min-width: 1440px; }
  .dialog-toolbar { padding: 9px 12px; }
  .not-found h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
