/* Real product views and the restored automation drawing. */
.landing-hero { background: #F0F5FF; border-bottom: 1px solid var(--kbot-brand-border); }
.portal-showcase {
    padding-block: 80px 88px;
    background: var(--kbot-brand-deep);
    color: #FFFFFF;
}
.automation-section .section-heading { margin-bottom: 32px; }
.pipeline-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.pipeline-toolbar p { margin: 0; font-size: 14px; color: var(--kbot-text-muted); }
.pipeline-pause { min-height: 44px; padding: 8px 12px; border: 1px solid var(--kbot-border); border-radius: 8px; font-size: 14px; color: var(--kbot-text-primary); cursor: pointer; }
.pipeline-stage { padding: 16px; background: var(--kbot-brand-sky); border: 1px solid var(--kbot-brand-border); border-radius: 16px; }
.pipeline-scene { display: block; width: 100%; height: auto; font-family: var(--kbot-font-display); }
.pipeline-steps { margin-top: 32px; }
.pipeline-steps .workflow-step__title { margin-top: 0; }
.pipeline-steps .workflow-step > p { font-size: 15px; }
.pipeline-steps .workflow-step:first-child > p { color: var(--kbot-sky-text); }
.pipeline-steps .workflow-step:nth-child(2) > p { color: var(--kbot-mint-text); }
.pipeline-step-icon, .pipeline-step-detail { display: none; }
.pipeline-traveler { transform-origin: 0 0; }
.automation-section .workflow-integration { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; color: var(--kbot-action-hover); text-underline-offset: 4px; }
.ats-explanation { padding: 32px; background: var(--kbot-brand-mint); border: 1px solid #B6DBCB; border-radius: 12px; }
.ats-explanation p, .ats-explanation .ats-checklist { color: var(--kbot-mint-text); }
.calculator-results { background: var(--kbot-brand-sky); border-color: var(--kbot-brand-border); }
.landing-close { padding: 48px; margin-bottom: 48px; border-radius: 16px; background: var(--kbot-brand-deep); }
.landing-close h2 { color: #FFFFFF; }
.landing-close p { color: var(--kbot-brand-on-deep); }
.landing-close .landing-button--primary { background: #FFFFFF; color: var(--kbot-brand-deep); border-color: #FFFFFF; }
.landing-close .landing-button--primary:hover { background: var(--kbot-brand-sky); }
.landing-close .landing-button:focus-visible { outline-color: #FFFFFF; }
@media (max-width: 767px) {
    .portal-showcase { padding-block: 56px; }
    .pipeline-stage, .pipeline-pause { display: none; }
    .pipeline-toolbar { margin-bottom: 24px; }
    .pipeline-steps { margin: 0; gap: 28px; }
    .pipeline-steps .workflow-step { position: relative; padding: 24px; border: 1px solid var(--kbot-brand-border); border-radius: 12px; background: var(--kbot-brand-sky); }
    .pipeline-steps .workflow-step:nth-child(2) { border-color: #B6DBCB; background: var(--kbot-brand-mint); }
    .pipeline-steps .workflow-step:last-child { border-color: #E5D2B0; background: #FFF8EB; }
    .pipeline-steps .workflow-step:not(:last-child)::after { content: ''; position: absolute; left: 28px; top: 100%; height: 29px; width: 2px; background: var(--kbot-brand-border); }
    .pipeline-step-icon { display: block; width: 48px; height: 44px; margin-bottom: 16px; color: var(--kbot-action); }
    .pipeline-step-icon svg { display: block; width: 100%; height: 100%; }
    .pipeline-steps .workflow-step:nth-child(2) .pipeline-step-icon { color: var(--kbot-success); }
    .pipeline-steps .workflow-step:last-child .pipeline-step-icon { color: var(--kbot-warning); }
    .pipeline-steps .workflow-step > p { font-size: 16px; }
    .pipeline-step-detail { display: block; margin-top: 16px; font-size: 13px; line-height: 1.6; font-weight: 600; color: var(--kbot-text-primary); }
    .ats-explanation { padding: 24px; }
    .landing-close { padding: 32px 24px; gap: 28px; margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    .pipeline-pause { display: none; }
}

/* Live portal blocks: each component owns its original controls and styles. */
.portal-showcase .section-heading h2 { color: #FFFFFF; }
.portal-showcase .product-description { color: var(--kbot-brand-on-deep); }
kbot-portal-demo { display: block; width: 100%; min-width: 0; }
.product-description { max-width: none; width: 100%; margin: 28px 0 0; color: var(--kbot-text-muted); font-size: 17px; line-height: 1.7; text-wrap: normal; }
.portal-component-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 400px; margin: 0; padding: 32px; border-radius: 16px; background: #F8FAFC; color: #475569; font-size: 16px; }
@media(max-width:767px) { .product-description { margin-top:24px; font-size:16px; } }

/* Presentation layout: fewer elements and a quieter reading width. */
:root { --kbot-content-width: 1040px; }
.landing-hero { background-color:#F8FAFC; background-image:radial-gradient(circle,#E2E8F0 1.5px,transparent 1.5px); background-size:60px 60px; background-position:24px 24px; }
.section-heading p { max-width:60ch; }
.pipeline-stage { max-width:960px; margin-inline:auto; }

/* Tighter reading rhythm and a quieter technical diagram. */
.landing-section { padding-block:56px; }
.ats-section, .api-section, .workflow { min-height:0; }
.section-heading { margin-bottom:28px; }
.section-heading p { margin-top:14px; }
.portal-showcase { padding-block:56px; }
.product-description { margin-top:20px; }
.landing-footer { padding-block:56px 24px; }
.landing-sections { padding-bottom:24px; }
.automation-section .section-heading { margin-bottom:20px; }
.pipeline-stage { padding:12px; background:#F1F5F9; border-color:#CBD5E1; }
.pipeline-steps { margin-top:20px; }
.pipeline-steps .workflow-integration { margin-top:12px; }
@media(min-width:768px) { .pipeline-steps .workflow-step > p { display:none; } }
@media(max-width:767px) {
    .landing-section { padding-block:40px; }
    .portal-showcase { padding-block:40px; }
    .section-heading { margin-bottom:24px; }
    .pipeline-step-icon { width:58px; height:50px; margin-bottom:12px; }
}

/* Compact navigation and hero; process labels share the diagram's edges. */
:root { --kbot-header-height:56px; }
.landing-hero { min-height:calc(100svh - var(--kbot-header-height)); padding-block:32px 40px; }
.pipeline-steps { max-width:960px; margin-inline:auto; }
@media(min-width:768px) {
    .pipeline-steps .workflow-step__title { justify-content:center; }
    .pipeline-steps .workflow-step { text-align:center; }
}
@media(min-width:1200px) {
    :root { --kbot-header-height:64px; }
    .landing-hero { padding-block:40px 48px; }
}
.landing-whatsapp { position:fixed; right:max(24px,env(safe-area-inset-right)); bottom:max(24px,env(safe-area-inset-bottom)); z-index:45; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:12px 18px; border-radius:26px; background:#047857; color:#FFFFFF; font-size:14px; font-weight:600; text-decoration:none; box-shadow:0 4px 14px #00000026; }
.landing-whatsapp:hover { background:#065F46; }
.landing-whatsapp:focus-visible { outline:3px solid #1D4ED8; outline-offset:4px; }
.landing-whatsapp[hidden], body:has(dialog[open]) .landing-whatsapp { display:none; }
@media(max-width:767px) { .landing-whatsapp { right:16px; bottom:max(16px,env(safe-area-inset-bottom)); min-height:48px; padding:10px 14px; } }
.landing-whatsapp { justify-content:flex-start; gap:12px; padding:10px 20px 10px 10px; border-radius:38px; box-shadow:0 8px 24px #00000026; transition:transform 180ms var(--kbot-ease-out); }
.whatsapp-icon { display:grid; place-items:center; width:46px; height:46px; flex-shrink:0; border-radius:50%; background:#FFFFFF14; }
.whatsapp-icon svg { width:27px; height:27px; }
.whatsapp-copy { display:flex; flex-direction:column; gap:3px; text-align:left; line-height:1.35; }
.whatsapp-copy strong { font-size:16px; font-weight:700; }
.whatsapp-copy > span { font-size:12px; font-weight:400; color:#FFFFFF; }
@media(hover:hover) and (pointer:fine) { .landing-whatsapp:hover { transform:translateY(-2px); } }
@media(max-width:767px) { .landing-whatsapp { gap:10px; padding:8px 16px 8px 8px; } .whatsapp-icon { width:40px; height:40px; } .whatsapp-copy strong { font-size:14px; } }
@media(prefers-reduced-motion:reduce) { .landing-whatsapp { transition:none; } .landing-whatsapp:hover { transform:none; } }

/* Supporting feedback stays quiet beside the pipeline's authored sequence. */
.landing-button svg { transition:transform 180ms var(--kbot-ease-out); }
.faq-detail__chevron { transition:transform 180ms var(--kbot-ease-out); }
.landing-whatsapp:active { transform:scale(.98); transition-duration:120ms; }
@media(hover:hover) and (pointer:fine) {
    .landing-nav a { position:relative; text-decoration:none; }
    .landing-nav a::after {
        content:''; position:absolute; left:0; right:0; bottom:0;
        height:2px; background:currentColor; transform:scaleX(0);
        transform-origin:left; transition:transform 180ms var(--kbot-ease-out);
    }
    .landing-nav a:hover { text-decoration:none; }
    .landing-nav a:hover::after { transform:scaleX(1); }
    .landing-button:hover svg { transform:translateX(3px); }
    .landing-whatsapp:active { transform:scale(.98); }
}
.landing-page[data-input="keyboard"] :is(.landing-button svg,.faq-detail__chevron,.landing-whatsapp) { transition:none; }
.landing-page[data-input="keyboard"] .landing-button:hover svg { transform:none; }
@media(prefers-reduced-motion:reduce) {
    .landing-button svg,.faq-detail__chevron,.landing-nav a::after { transition:none; }
    .landing-button:hover svg,.landing-whatsapp:active { transform:none; }
}

/* Loading feedback belongs to real pending requests, not synthetic delays. */
.portal-component-loading { position:relative; overflow:hidden; padding:24px; }
.portal-component-loading::after { content:''; display:block; width:min(320px,80%); height:6px; margin-top:16px; border-radius:3px; background:var(--kbot-border); }
kbot-portal-demo[data-state="loading"] .portal-component-loading::after { animation:kbot-loading-pulse 1.8s ease-in-out infinite; }
@keyframes kbot-loading-pulse { 0%,100% { opacity:.35; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration:0.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:0.01ms !important;
        scroll-behavior:auto !important;
    }
}

/* Armed before first paint; shown in the same task that starts WAAPI. */
@media (prefers-reduced-motion: no-preference) {
    .motion-ready :is(.landing-hero__title,.landing-hero__lead,.landing-hero__actions,.section-heading,kbot-portal-demo):not([data-motion-shown]) { opacity:0; }
    .motion-ready :is(.landing-hero__actions,.section-heading,kbot-portal-demo):focus-within { opacity:1; }
}

/* ATS: the generated deliverable and the accountant's review. */
.ats-delivery-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:48px; align-items:center; }
.ats-delivery-copy .section-heading { margin-bottom:28px; }
.ats-delivery-copy .section-heading h2 { font-size:clamp(28px,3vw,36px); }
.ats-delivery-benefits { list-style:none; padding:0; margin:0 0 28px; display:grid; gap:20px; }
.ats-delivery-benefits li { display:flex; gap:12px; }
.ats-delivery-benefits svg { width:22px; height:22px; flex-shrink:0; color:var(--kbot-success); margin-top:3px; }
.ats-delivery-benefits h3 { margin:0; font-size:16px; font-weight:700; }
.ats-delivery-benefits p { margin:6px 0 0; font-size:15px; line-height:1.6; color:var(--kbot-text-muted); }
.ats-delivery { min-width:0; border:1px solid #CBD5E1; border-radius:16px; background:#FFFFFF; padding:24px; }
.ats-delivery-header { display:flex; align-items:center; gap:12px; }
.ats-delivery-symbol { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:#EFF6FF; color:#2563EB; flex-shrink:0; }
.ats-delivery-header p { margin:0 0 4px; color:var(--kbot-text-muted); font-size:12px; }
.ats-delivery-header h3 { margin:0; font-size:20px; line-height:1.3; font-weight:700; }
.ats-delivery-status { margin-left:auto; display:inline-flex; align-items:center; gap:4px; padding:6px 8px; border-radius:6px; background:#ECFDF5; color:#047857; font-size:12px; font-weight:600; }
.ats-delivery-status svg { width:14px; height:14px; }
.ats-review-status { display:flex; align-items:center; gap:7px; margin:18px 0; color:#92400E; font-size:12px; }
.ats-review-status > span { width:6px; height:6px; border-radius:50%; background:currentColor; }
.ats-delivery-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:16px 0; border-block:1px solid #E2E8F0; }
.ats-delivery-totals dt { font-size:12px; color:var(--kbot-text-muted); }
.ats-delivery-totals dd { margin:6px 0 0; font-size:18px; line-height:1.4; font-weight:700; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.ats-delivery-totals > div:first-child dd { color:#047857; }
.ats-delivery-totals > div:nth-child(2) dd { color:#1D4ED8; }
.ats-delivery-exceptions { display:flex; gap:10px; align-items:center; background:#FFFBEB; color:#92400E; padding:12px; margin-top:16px; border-radius:8px; }
.ats-delivery-exceptions svg { width:20px; height:20px; flex-shrink:0; }
.ats-delivery-exceptions strong,.ats-delivery-exceptions small { display:block; font-size:12px; line-height:1.5; }
.ats-delivery-exceptions small { margin-top:2px; }
.ats-delivery-files h4 { margin:20px 0 8px; font-size:13px; font-weight:600; }
.ats-delivery-files ul { list-style:none; padding:0; margin:0; }
.ats-delivery-files li { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #E2E8F0; }
.ats-file-icon { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:8px; color:#047857; background:#ECFDF5; }
.ats-file-icon--blue { background:#EFF6FF; color:#2563EB; }
.ats-file-icon svg { width:19px; height:19px; }
.ats-delivery-files strong { font-size:14px; font-weight:600; }
.ats-delivery-files p { margin:3px 0 0; font-size:12px; line-height:1.5; color:var(--kbot-text-muted); }
.ats-file-extension { margin-left:auto; color:var(--kbot-text-muted); font-size:12px; flex-shrink:0; }
.ats-delivery-footer { display:flex; gap:8px; align-items:flex-start; padding-top:16px; color:var(--kbot-text-muted); font-size:11px; line-height:1.5; }
.ats-delivery-footer svg { width:16px; height:16px; flex-shrink:0; }
@media(max-width:900px) { .ats-delivery-layout { grid-template-columns:minmax(0,1fr); gap:28px; } }
@media(max-width:450px) {
    .ats-delivery { padding:16px; }
    .ats-delivery-header { flex-wrap:wrap; gap:10px; }
    .ats-delivery-status { margin-left:0; }
    .ats-delivery-totals { grid-template-columns:minmax(0,1fr); gap:12px; }
    .ats-delivery-totals > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
    .ats-delivery-totals dd { margin:0; }
    .ats-delivery-copy .landing-button { width:100%; white-space:normal; text-align:center; }
}

/* Accounting handoff: readable files instead of a developer-only code box. */
.export-sheet { border:1px solid #CBD5E1; border-radius:12px; background:#FFFFFF; overflow:hidden; }
.export-sheet-bar,.export-sheet-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; }
.export-sheet-bar { background:#ECFDF5; color:#047857; }
.export-sheet-bar > div,.export-sheet-footer > span { display:flex; gap:8px; align-items:center; }
.export-sheet-bar svg,.export-sheet-footer svg { width:20px; height:20px; flex-shrink:0; }
.export-sheet-bar > span { font-size:13px; }
.export-table-scroll { overflow-x:auto; }
.export-sheet table { width:100%; border-collapse:collapse; font-size:13px; white-space:nowrap; }
.export-sheet :is(th,td) { padding:18px 16px; border-bottom:1px solid #E2E8F0; text-align:right; font-variant-numeric:tabular-nums; }
.export-sheet :is(th,td):nth-child(-n+3) { text-align:left; }
.export-sheet thead { background:#F8FAFC; color:#475569; font-size:12px; }
.export-sheet tfoot { font-weight:700; background:#F8FAFC; }
.export-sheet-footer { justify-content:flex-start; flex-wrap:wrap; color:#475569; font-size:13px; }
.export-sheet-footer > span { padding:6px 10px; border-radius:6px; background:#F1F5F9; }
.export-sheet-footer > span:first-child { color:#047857; background:#ECFDF5; }
.export-context { display:flex; justify-content:space-between; gap:24px; margin-top:20px; align-items:flex-start; }
.export-context p { max-width:65ch; margin:0; color:#475569; font-size:15px; line-height:1.6; }
.export-context a { display:inline-flex; gap:8px; align-items:center; color:#1D4ED8; font-size:14px; min-height:44px; flex-shrink:0; text-underline-offset:4px; }
.export-context svg { width:18px; height:18px; }
.risk-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; align-items:center; }
.risk-benefits { display:grid; gap:16px; list-style:none; margin:0 0 28px; padding:0; }
.risk-benefits li { display:flex; gap:10px; font-size:15px; line-height:1.5; color:#475569; }
.risk-benefits svg { width:20px; height:20px; flex-shrink:0; color:#047857; }
.risk-preview { border:1px solid #E5D2B0; border-radius:12px; padding:24px; background:#FFFFFF; }
.risk-preview-heading { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:#92400E; font-size:12px; }
.risk-preview-heading > svg { width:20px; height:20px; }
.risk-preview-heading strong { margin-left:auto; padding:5px 8px; background:#FFFBEB; border-radius:6px; }
.risk-preview h3 { margin:24px 0 8px; font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
.risk-preview > p { margin:0; color:#475569; font-size:14px; }
.risk-preview dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding-block:20px; margin:20px 0; border-block:1px solid #E2E8F0; }
.risk-preview dt { font-size:12px; color:#475569; }
.risk-preview dd { margin:8px 0 0; font-size:24px; font-weight:700; font-variant-numeric:tabular-nums; }
.risk-preview-note { display:flex; gap:10px; padding:14px; background:#FFFBEB; border-radius:8px; color:#92400E; }
.risk-preview-note svg,.risk-preview footer svg { width:18px; height:18px; flex-shrink:0; }
.risk-preview-note p { margin:0; font-size:13px; line-height:1.6; }
.risk-preview footer { display:flex; gap:8px; margin-top:18px; color:#475569; font-size:12px; line-height:1.5; }
@media(max-width:900px) { .risk-layout { grid-template-columns:minmax(0,1fr); gap:28px; } .export-context { flex-direction:column; gap:12px; } }
@media(max-width:600px) { .export-sheet-bar,.export-sheet-footer { padding:16px; } .export-sheet-bar { flex-wrap:wrap; } .risk-preview { padding:20px; } .risk-layout .landing-button { white-space:normal; text-align:center; } }

.export-sheet .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Multi-RUC: a studio's company roster, presented without simulated controls. */
.multi-ruc-layout { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:center; gap:48px; }
.multi-ruc-benefits { display:grid; gap:20px; list-style:none; padding:0; margin:0 0 28px; }
.multi-ruc-benefits li { display:flex; gap:12px; }
.multi-ruc-benefits svg { width:22px; height:22px; color:#2563EB; flex-shrink:0; margin-top:3px; }
.multi-ruc-benefits h3 { font-size:16px; margin:0; font-weight:700; }
.multi-ruc-benefits p { font-size:15px; line-height:1.6; color:#475569; margin:6px 0 0; }
.multi-ruc-preview { min-width:0; border:1px solid #CBD5E1; background:#FFFFFF; border-radius:16px; overflow:hidden; }
.multi-ruc-preview header { display:flex; gap:12px; align-items:center; padding:24px; background:#142F54; color:#FFFFFF; }
.multi-ruc-panel-icon { display:grid; place-items:center; width:42px; height:42px; background:#284569; border-radius:12px; flex-shrink:0; }
.multi-ruc-panel-icon svg { width:22px; height:22px; }
.multi-ruc-preview header h3 { margin:0; font-size:18px; font-weight:700; }
.multi-ruc-preview header p { margin:6px 0 0; color:#CFDFF5; font-size:13px; }
.multi-ruc-companies { list-style:none; padding:0 20px; margin:0; }
.multi-ruc-companies li { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:24px 0; border-bottom:1px solid #E2E8F0; }
.multi-ruc-companies h4 { margin:0; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.multi-ruc-companies p { margin:6px 0 0; font-size:12px; color:#475569; font-variant-numeric:tabular-nums; }
.company-monogram { display:grid; place-items:center; width:36px; height:36px; background:#EFF6FF; color:#1D4ED8; border-radius:8px; font-size:12px; font-weight:700; flex-shrink:0; }
.company-monogram--mint { background:#ECFDF5; color:#047857; }
.company-monogram--slate { background:#F1F5F9; color:#475569; }
.company-access { display:flex; gap:5px; align-items:center; margin-left:auto; color:#475569; font-size:11px; }
.company-access svg { width:14px; height:14px; }
.multi-ruc-preview footer { display:flex; flex-wrap:wrap; gap:16px; padding:20px; background:#F8FAFC; color:#475569; }
.multi-ruc-preview footer > div { display:flex; align-items:center; gap:6px; font-size:11px; }
.multi-ruc-preview footer svg { width:16px; height:16px; color:#2563EB; }
@media(max-width:1000px) { .multi-ruc-layout { grid-template-columns:minmax(0,1fr); gap:28px; } }
@media(max-width:450px) { .multi-ruc-preview header { padding:20px; } .company-access { margin-left:48px; } .multi-ruc-copy .landing-button { width:100%; white-space:normal; text-align:center; } }

/* Calculator outputs are one padded summary; provisional figures retain context. */
.calculator-layout { align-items:start; gap:48px; }
.calculator-results { padding:28px; border:1px solid var(--kbot-brand-border); border-radius:16px; gap:0; background:var(--kbot-brand-sky); }
.calculator-results > div { padding:22px 0; border-bottom:1px solid var(--kbot-brand-border); }
.calculator-results > div:first-child { padding-top:0; }
.calculator-results > div:last-child { border-bottom:0; padding-bottom:0; }
.calculator-results dt { font-size:14px; line-height:1.5; }
.calculator-results dd { margin-top:10px; font-size:clamp(26px,2.4vw,34px); line-height:1.3; }
.calculator-results > div:first-child dd { color:var(--kbot-action-hover); }
.provisional-metrics { margin-top:40px; padding:32px; background:var(--kbot-brand-deep); border:0; border-radius:16px; color:#FFFFFF; }
.provisional-metrics[hidden] { display:none; }
.metrics-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.metrics-heading h3 { margin:0; font-family:var(--kbot-font-display); font-size:22px; line-height:1.4; font-weight:700; }
.metrics-heading #metricsVerification { display:inline-block; margin:0; padding:6px 10px; border:1px solid #CFDFF5; border-radius:6px; color:#CFDFF5; font-size:12px; line-height:1.5; }
.provisional-metrics .landing-metrics { margin-top:28px; gap:0; }
.provisional-metrics .landing-metrics > div { padding:4px 24px; border-left:1px solid #64748B; }
.provisional-metrics .landing-metrics > div:first-child { padding-left:0; border-left:0; }
.provisional-metrics .landing-metrics > div:last-child { padding-right:0; }
.provisional-metrics .landing-metrics dd { color:#FFFFFF; font-size:clamp(32px,3.5vw,46px); line-height:1.2; }
.provisional-metrics .landing-metrics dt { color:#CFDFF5; margin-top:12px; font-size:14px; line-height:1.6; }
.provisional-metrics .landing-metrics a { color:#FFFFFF; text-underline-offset:4px; }
@media(max-width:767px) {
    .calculator-layout { gap:24px; }
    .calculator-results { padding:24px; }
    .provisional-metrics { padding:24px; }
    .provisional-metrics .landing-metrics { margin-top:20px; }
    .provisional-metrics .landing-metrics > div { padding:24px 0; border-left:0; border-bottom:1px solid #64748B; }
    .provisional-metrics .landing-metrics > div:first-child { padding-top:0; }
    .provisional-metrics .landing-metrics > div:last-child { padding-bottom:0; border-bottom:0; }
}


/* Editable pricing section (3 template plans before the calculator). */
.pricing-section .section-heading {
    margin-bottom: 36px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-grid[data-columns="1"] {
    grid-template-columns: minmax(0, 420px);
}

.pricing-grid[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-grid[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--kbot-border);
    border-radius: 16px;
    background: var(--kbot-card);
    color: var(--kbot-text-primary);
}

.pricing-card--featured {
    background: var(--kbot-brand-sky);
    border-color: var(--kbot-brand-border);
}

.pricing-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
}

.pricing-card__name {
    margin: 0;
    font-family: var(--kbot-font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--kbot-text-primary);
}

.pricing-card__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--kbot-action);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.pricing-card__description {
    margin: 12px 0 0;
    color: var(--kbot-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-card--featured .pricing-card__description,
.pricing-card--featured .pricing-card__scope {
    color: var(--kbot-sky-text);
}

.pricing-card__docs {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--kbot-text-muted);
    opacity: 0.9;
}

.pricing-card--featured .pricing-card__docs {
    color: var(--kbot-sky-text);
    opacity: 0.95;
}

.pricing-card__price-block {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-card--featured .pricing-card__price-block {
    border-bottom-color: var(--kbot-brand-border);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--kbot-font-display);
    font-variant-numeric: tabular-nums;
    color: var(--kbot-text-primary);
}

.pricing-card__currency {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.pricing-card__amount {
    font-size: clamp(32px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.pricing-card--featured .pricing-card__amount,
.pricing-card--featured .pricing-card__currency {
    color: var(--kbot-brand-deep);
}

.pricing-card__period {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--kbot-text-muted);
}

.pricing-card__scope {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--kbot-text-muted);
}

.pricing-card__features {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 20px 0 28px;
    padding: 0;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--kbot-text-muted);
}

.pricing-card--featured .pricing-card__features li {
    color: var(--kbot-text-primary);
}

.pricing-card__features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--kbot-success);
}

.pricing-card--fallback .pricing-card__description {
    margin-bottom: 24px;
}

.pricing-card__footer {
    margin-top: auto;
}

.pricing-card__cta {
    width: 100%;
}

@media (max-width: 960px) {
    .pricing-grid,
    .pricing-grid[data-columns="2"],
    .pricing-grid[data-columns="4"] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .pricing-section .section-heading {
        margin-bottom: 24px;
    }

    .pricing-card {
        padding: 24px;
    }
}

/* ========================================================================= */
/* BANNER: PLAN ADVANCED GRAN VOLUMEN A MEDIDA (ELEVATED CRAFT & SYSTEM)    */
/* ========================================================================= */

.plan-advanced-section {
    padding-top: 24px;
    padding-bottom: 80px;
}

.plan-advanced-section .section-heading {
    margin-bottom: 36px;
}

.advanced-banner {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, #091526 0%, #0F223D 45%, #162E52 100%);
    border: 1px solid rgba(175, 201, 243, 0.22);
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.28),
                0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    color: #FFFFFF;
}

.advanced-banner__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(175, 201, 243, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse 90% 80% at 75% 25%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 75% 25%, black 40%, transparent 80%);
}

.advanced-banner__glow {
    position: absolute;
    top: -140px;
    right: -60px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.26) 0%, rgba(20, 47, 84, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.advanced-banner__grid-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 52px 56px;
}

.advanced-banner__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    margin-bottom: 22px;
}

.advanced-banner__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    animation: statusPulse 2.8s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.9); }
}

.advanced-banner__status-text {
    color: #A7F3D0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.advanced-banner__title {
    margin: 0 0 18px;
    font-family: var(--kbot-font-display);
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #FFFFFF;
}

.advanced-banner__lead {
    margin: 0 0 32px;
    max-width: 54ch;
    font-size: 16px;
    line-height: 1.68;
    color: #CFDFF5;
}

.advanced-banner__action-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.advanced-banner__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 10px;
    background: var(--kbot-action);
    color: #FFFFFF;
    font-family: var(--kbot-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 180ms ease,
                box-shadow 180ms ease;
}

.advanced-banner__cta-btn:hover {
    background: var(--kbot-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.advanced-banner__cta-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.advanced-banner__cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.advanced-banner__cta-btn:hover svg {
    transform: translateX(4px);
}

.advanced-banner__guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A3BFDF;
    font-size: 13px;
    line-height: 1.4;
}

.advanced-banner__guarantee svg {
    width: 16px;
    height: 16px;
    color: #34D399;
    flex-shrink: 0;
}

/* Right Column: Specs Card */
.advanced-banner__specs-card {
    background: rgba(11, 23, 42, 0.65);
    border: 1px solid rgba(175, 201, 243, 0.18);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.advanced-banner__specs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(175, 201, 243, 0.14);
}

.advanced-banner__specs-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #93C5FD;
}

.advanced-banner__specs-sla {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #BFDBFE;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.advanced-banner__specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.advanced-banner__spec-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.advanced-banner__spec-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(175, 201, 243, 0.14);
    transform: translateX(4px);
}

.advanced-banner__spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.25);
    color: #60A5FA;
    transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
                color 200ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.advanced-banner__spec-item:hover .advanced-banner__spec-icon {
    background: rgba(37, 99, 235, 0.32);
    border-color: rgba(147, 197, 253, 0.5);
    color: #93C5FD;
    transform: scale(1.05);
}

.advanced-banner__spec-icon svg {
    width: 18px;
    height: 18px;
}

.advanced-banner__spec-body h4 {
    margin: 0 0 3px;
    font-family: var(--kbot-font-display);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    line-height: 1.35;
}

.advanced-banner__spec-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #9BB6DC;
}

@media (max-width: 960px) {
    .advanced-banner__grid-layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 40px 32px;
        gap: 36px;
    }

    .advanced-banner__action-group {
        align-items: stretch;
    }

    .advanced-banner__cta-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .advanced-banner__grid-layout {
        padding: 28px 20px;
        gap: 28px;
    }

    .advanced-banner__specs-card {
        padding: 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .advanced-banner__status-dot {
        animation: none;
    }
    .advanced-banner__cta-btn,
    .advanced-banner__cta-btn svg,
    .advanced-banner__spec-item,
    .advanced-banner__spec-icon {
        transition: none;
        transform: none !important;
    }
}

/* ========================================================================= */
/* FOOTER: 4 COLUMNS, LEGAL NAV & POWERED BY KRONHOS                       */
/* ========================================================================= */

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr 1.35fr;
    gap: 40px;
    padding-block: 40px;
    border-block: 1px solid var(--kbot-border);
}

.footer-col-title {
    font-family: var(--kbot-font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--kbot-text-primary);
    margin-bottom: 2px;
}

.footer-legal-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kbot-text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-contact-link i {
    width: 15px;
    height: 15px;
    color: #10B981;
    flex-shrink: 0;
}

.footer-contact-link:hover {
    color: var(--kbot-action);
}

@media (max-width: 960px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.footer-powered {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-powered a {
    color: var(--kbot-action);
    text-decoration: none;
    font-weight: 600;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-powered a:hover {
    color: var(--kbot-action-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

