/* QIP: índigo para actuar, coral para identidad y turquesa para acompañar. */

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
header, footer { max-width: 1280px; margin: auto; padding: 24px 48px; display: flex; align-items: center; gap: 28px; }
header { border-bottom: 1px solid var(--line); }
.brand { color: var(--primary); font-size: 36px; letter-spacing: -3px; font-weight: 850; text-decoration: none; line-height: 1; }
.brand span { font-size: 14px; letter-spacing: 0; margin-left: 5px; color: var(--coral); }
.tag,.eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 750; }
.tag { margin-left: 14px; color: var(--muted); }
.nav-link { margin-left: auto; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--primary); }
.nav-link span { color: var(--primary); }
.hero { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; padding: 80px 48px 96px; }
.hero > * { min-width: 0; }
.hero .eyebrow { color: var(--primary); }
h1 { font-size: clamp(48px,6vw,80px); line-height: 1.04; letter-spacing: -4px; font-weight: 600; margin: 22px 0 28px; }
h1 em { color: var(--primary); font-family: Georgia,serif; font-weight: 400; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 6px; text-underline-offset: 10px; }
.lede { font-size: 18px; max-width: 440px; color: var(--muted); margin: 0 0 30px; }
.button { display: inline-flex; gap: 32px; align-items: center; padding: 15px 22px; border-radius: 9px; background: var(--primary); color: white; font-weight: 650; text-decoration: none; box-shadow: 0 4px 0 #302078; transition: background .15s,transform .15s; }
.button:hover { background: var(--primary-hover); transform: translateY(-1px); }
.button span { color: var(--mint); }
.caption { font-size: 12px; color: var(--muted); margin: 16px 0 0; line-height: 1.6; }
.example { min-width: 0; border: 1px solid #d7cef4; border-top: 7px solid var(--primary); border-radius: 18px; background: white; padding: 30px 32px 32px; box-shadow: 12px 14px 0 var(--lavender); transform: rotate(1deg); }
.example-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: 1.3px; font-weight: 750; color: var(--primary); }
.example-top span:last-child { background: var(--lavender); color: #49318c; padding: 3px 9px; border-radius: 20px; }
.example h2 { font-size: 23px; font-weight: 600; margin: 24px 0 10px; }
.number { color: var(--primary); font-size: 52px; letter-spacing: -3px; line-height: 1.1; margin: 0 0 28px; }
.number span { display: block; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.track { background: var(--lavender); height: 12px; border-radius: 10px; margin-bottom: 24px; overflow: hidden; }
.track span { display: block; width: 70%; background: var(--primary); height: 100%; border-radius: 10px; }
.example-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #eee9f5; }
.example-line strong { color: var(--primary); }
.example-note { padding: 16px; background: #c5f8e9; border-left: 4px solid #087a60; color: #185344; border-radius: 7px; font-size: 13px; line-height: 1.65; margin-bottom: 0; }
.steps { padding: 48px; max-width: 1280px; margin: auto; border-top: 1px solid var(--line); }
.steps > .eyebrow { color: var(--primary); }
.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 54px; margin-top: 36px; }
.step-grid article { padding-top: 18px; border-top: 4px solid var(--primary); }
.step-grid article:nth-child(2) { border-top-color: var(--coral); }
.step-grid article:nth-child(3) { border-top-color: #159e83; }
.step-grid article > span { display: inline-block; font-size: 11px; color: var(--primary); letter-spacing: 1px; background: var(--lavender); border-radius: 5px; padding: 4px 8px; font-weight: 700; }
.step-grid article:nth-child(2) > span { background: #ffe3d9; color: #923a25; }
.step-grid article:nth-child(3) > span { background: #cdf5e9; color: #176653; }
.step-grid h2 { font-size: 24px; font-weight: 550; line-height: 1.3; letter-spacing: -.5px; }
.step-grid p,.pilot-note p { font-size: 14px; color: var(--muted); }
.pilot-note { max-width: 1184px; margin: 26px auto 72px; border: 1px solid #d7cef4; background: var(--lavender); padding: 28px 36px; border-radius: 12px; }
.pilot-note h2 { color: #3d2982; font-size: 21px; font-weight: 650; }
.pilot-note p { max-width: 850px; color: #544669; }
footer { border-top: 1px solid var(--line); font-size: 12px; margin-top: 28px; padding-top: 30px; padding-bottom: 36px; }
footer .brand { font-size: 28px; }
footer p { color: var(--muted); }
footer nav { display: flex; gap: 24px; margin-left: auto; }
.document { max-width: 820px; padding: 64px 32px; margin: auto; }
.document h1 { font-size: 52px; letter-spacing: -2px; color: var(--primary); }
.document h2 { font-size: 22px; margin-top: 36px; font-weight: 650; }
.document p { color: var(--muted); }
.document p a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.button:focus-visible { outline-color: #241647; box-shadow: 0 0 0 5px var(--paper); }
.skip { position: absolute; left: 16px; top: -70px; padding: 10px; background: white; color: var(--primary); z-index: 10; }
.skip:focus { top: 8px; }
@media(max-width:850px) {
  header,footer { padding: 20px 24px; }
  .tag { font-size: 9px; letter-spacing: 1px; margin-left: 0; }
  .hero { padding: 48px 24px 60px; gap: 40px; grid-template-columns: 1fr; }
  h1 { font-size: 64px; letter-spacing: -3px; }
  .hero > div { max-width: 520px; }
  .example { max-width: 480px; width: calc(100% - 10px); transform: none; box-shadow: 9px 10px 0 var(--lavender); }
  .steps { padding: 32px 24px; }
  .step-grid { grid-template-columns: 1fr; gap: 28px; }
  .step-grid h2 { margin-top: 14px; }
  .pilot-note { margin: 16px 24px 48px; padding: 20px; }
  .document { padding: 40px 24px; }
  .document h1 { font-size: 42px; }
  footer { flex-wrap: wrap; gap: 16px; }
  footer nav { margin-left: 0; width: 100%; gap: 20px; }
  .brand { font-size: 30px; }
}
@media(max-width:390px) {
  .hero h1 { font-size: clamp(42px,14vw,54px); letter-spacing: -2px; }
  h1 em { text-decoration-thickness: 4px; text-underline-offset: 7px; }
  .example { padding: 22px; }
  .tag { max-width: 130px; font-size: 8px; }
  .example-top { gap: 8px; letter-spacing: .7px; }
  .document h1 { font-size: 36px; overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto; transition: none !important; } }
.qip-install-button { border: 1px solid var(--line); background: white; color: var(--primary); border-radius: 9px; padding: .65rem 1rem; min-height: 44px; font: inherit; cursor: pointer; }
footer #qipInstallHelp { flex-basis: 100%; }
footer { flex-wrap: wrap; }
/* Logo geométrico (opción A). */
.brand { display: inline-flex; align-items: center; }
.brand .qip-logo { display: block; height: 42px; width: auto; }
footer .brand .qip-logo { height: 32px; }
@media (max-width: 640px) { .brand .qip-logo { height: 36px; } }

.button-secondary{background:transparent;color:var(--qip-ink,#241a44);border:1px solid currentColor;margin-top:12px;margin-left:8px}.button-secondary:hover{background:#eee8ff}
@media(max-width:480px){.button-secondary{margin-left:0}}
