:root {
    --color-ink: #14213d;
    --color-primary: #2457d6;
    --color-primary-hover: #1941a5;
    --color-accent: #2dd4bf;
    --color-background: #f5f7fb;
    --color-surface: #fff;
    --color-muted: #526079;
    --color-border: #dce3ef;
    --color-soft: #edf2ff;
    --color-error: #b42318;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --radius-sm: 0.65rem;
    --radius-lg: 1.4rem;
    --shadow: 0 16px 44px rgb(20 33 61 / 6%);
    --page-width: 74rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-padding-top: 6rem;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    color: var(--color-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
main {
    flex: 1;
    min-width: 0;
}
img,
svg {
    display: block;
    max-width: 100%;
}
img {
    height: auto;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: var(--color-primary);
    text-underline-offset: 0.25em;
}
a:hover {
    text-decoration-thickness: 2px;
}
button {
    cursor: pointer;
}
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
h1,
h2,
h3 {
    margin: 0;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.035em;
}
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}
h3 {
    font-size: 1.15rem;
}
p {
    margin: 0 0 1rem;
}
ul {
    margin-top: 0.6rem;
}
.site-wrap {
    width: min(var(--page-width), calc(100% - 3rem));
    margin-inline: auto;
}
.section {
    padding-block: 5rem;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.section-heading h2 {
    max-width: 19ch;
}
.section-heading p {
    max-width: 45ch;
    color: var(--color-muted);
    margin: 1rem 0 0;
}
.eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.muted {
    color: var(--color-muted);
}
.small {
    font-size: 0.85rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    inset: 0.75rem auto auto 0.75rem;
    z-index: 3000;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-sm);
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: translateY(0);
}
.site-header {
    min-height: 81px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-ink);
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand img {
    width: 42px;
    height: 42px;
}
.brand-title {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.045em;
    line-height: 1.1;
}
.brand-dot {
    color: var(--color-primary);
}
.brand-subtitle {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-muted);
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.site-nav a {
    padding: 0.65rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.83rem;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
    background: var(--color-soft);
    color: var(--color-primary);
}
.site-nav .nav-cta {
    background: var(--color-primary);
    color: white;
    padding: 0.7rem 1rem;
    margin-left: 0.4rem;
}
.site-nav .nav-cta:hover {
    background: var(--color-primary-hover);
    color: white;
}
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
    background: white;
    color: var(--color-ink);
}
.demo-notice {
    margin: 0;
    padding: 0.5rem 1rem;
    background: var(--color-soft);
    color: var(--color-muted);
    text-align: center;
    font-size: 0.75rem;
}
.demo-notice strong {
    color: var(--color-ink);
    font-weight: 650;
}
.site-footer {
    margin-top: auto;
    padding: 4rem 0 1.5rem;
    background: var(--color-ink);
    color: #c8d3e7;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 4rem;
}
.site-footer .site-brand {
    color: white;
}
.site-footer .brand-subtitle {
    color: #b7c5dd;
}
.site-footer .brand-dot {
    color: var(--color-accent);
}
.site-footer h2 {
    margin: 0.1rem 0 1.2rem;
    color: white;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}
.site-footer .footer-about p {
    max-width: 33ch;
    font-size: 0.85rem;
    margin-top: 1.25rem;
}
.site-footer a:not(.site-brand) {
    color: #c8d3e7;
    text-decoration: none;
}
.site-footer a:hover {
    color: white;
    text-decoration: underline;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
}
.site-footer :focus-visible {
    outline-color: white;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 1.3rem;
    border-top: 1px solid #38455e;
    font-size: 0.7rem;
}
.footer-bottom p {
    margin: 0;
    max-width: 70ch;
}
.footer-project {
    white-space: nowrap;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    color: white;
    text-decoration: none;
}
.btn-secondary {
    background: white;
    color: var(--color-ink);
    border-color: var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-soft);
}
.btn-text {
    padding-inline: 0;
    color: var(--color-primary);
    background: transparent;
}
.btn svg,
.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.button-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 750;
    background: var(--color-soft);
    color: var(--color-primary);
}
.badge-success {
    background: #e4f6ef;
    color: #176447;
}
.badge-neutral {
    background: #eef0f4;
    color: #526079;
}
.badge::before {
    content: '';
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}
.card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.icon-box {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--color-soft);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.text-link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}
.page-intro {
    padding: 3.5rem 0 2.25rem;
}
.page-intro h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    max-width: 24ch;
}
.page-intro p {
    margin: 1rem 0 0;
    max-width: 61ch;
    color: var(--color-muted);
}
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--color-muted);
    font-size: 0.78rem;
}
.breadcrumb a {
    text-decoration: none;
}
.page-content {
    padding-bottom: 5rem;
}
.notice-box {
    padding: 1rem 1.2rem;
    background: var(--color-soft);
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    font-size: 0.83rem;
    margin-bottom: 1.5rem;
}
.notice-box strong {
    color: var(--color-ink);
}
.notice-box p:last-child {
    margin: 0;
}
.status-message {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: #e4f6ef;
    color: #176447;
    font-size: 0.85rem;
}
.error-message {
    color: var(--color-error);
    font-size: 0.8rem;
    margin: 0.45rem 0 0;
}
.error-summary {
    padding: 0.85rem 1rem;
    background: #fff1ef;
    color: var(--color-error);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 150;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--color-ink);
    color: white;
    box-shadow: var(--shadow);
    max-width: calc(100% - 2rem);
    width: max-content;
    font-size: 0.85rem;
}
/* Accordion nativo: funciona con teclado incluso sin JavaScript. */
.faq-list {
    border-top: 1px solid var(--color-border);
}
.faq-list details {
    border-bottom: 1px solid var(--color-border);
}
.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    list-style: none;
    padding: 1.3rem 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 650;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-primary);
}
.faq-list details[open] summary::after {
    content: '−';
}
.faq-list details > div {
    padding: 0 2rem 1.4rem 0;
    max-width: 70ch;
    color: var(--color-muted);
    font-size: 0.9rem;
}
.faq-list details > div p:last-child {
    margin: 0;
}
.noscript {
    padding: 1rem;
    border: 1px solid var(--color-border);
    background: white;
}
@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .site-nav {
        display: none;
        flex-basis: 100%;
        padding-bottom: 1rem;
        flex-wrap: wrap;
    }
    .site-nav.is-open {
        display: flex;
    }
    .site-nav a {
        flex: 1 1 28%;
        text-align: center;
        padding-block: 0.8rem;
    }
    .site-nav .nav-cta {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .section {
        padding-block: 3.5rem;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .page-intro {
        padding-top: 2.5rem;
    }
}
@media (max-width: 480px) {
    .site-wrap {
        width: calc(100% - 2rem);
    }
    .site-header {
        min-height: 73px;
    }
    .header-inner {
        min-height: 4.5rem;
    }
    .site-brand img {
        width: 36px;
        height: 36px;
    }
    .brand-title {
        font-size: 1.1rem;
    }
    .brand-subtitle {
        font-size: 0.55rem;
    }
    .demo-notice span {
        display: block;
    }
    .site-nav a {
        flex-basis: 42%;
    }
    .button-row > .btn {
        flex: 1;
    }
    .card {
        padding: 1.25rem;
    }
    .section {
        padding-block: 3rem;
    }
    .site-footer {
        padding-top: 3rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.footer-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #38455e;
}
.footer-author-label {
    font-size: 0.75rem;
}
.footer-author-info p {
    margin: 0.2rem 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}
.footer-author-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.85rem;
}
.footer-author-links a {
    padding-block: 0.5rem;
    overflow-wrap: anywhere;
}
.footer-author + .footer-bottom {
    margin-top: 1.75rem;
}
@media (max-width: 768px) {
    .footer-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.nav-business {
    color: var(--color-primary) !important;
    box-shadow: inset 0 0 0 1px var(--color-border);
}
.site-footer li a,
.footer-author-links a,
.text-link,
.dashboard-nav a,
.dashboard-nav button,
.example-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nav-toggle { min-height: 44px; }
.site-footer li { margin: 0; }
.footer-author-info { min-width: 0; }
.footer-author-info p { font-size: 1rem; }
.footer-author-links { flex-shrink: 0; }
.buyer-strip { background: white; padding: 1rem 0 2rem; }
.buyer-strip .site-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; background: var(--color-soft); border-radius: var(--radius-lg); }
.buyer-strip p { margin: 0; }
.business-content > .small { margin-top: 1rem; }
.business-content > section { margin-top: 3.5rem; }
.business-content h2 { margin-bottom: 1.25rem; }
.business-content h3 { margin-bottom: 0.8rem; }
.business-content p { color: var(--color-muted); }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.business-grid p:last-child { margin-bottom: 0; }
.scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scope-grid .badge { margin-bottom: 1rem; }
.work-steps { padding: 0; list-style-position: inside; }
.work-steps li::marker { color: var(--color-primary); font-weight: 750; }
.work-steps h3 { margin-top: 0.75rem; }
.business-contact { background: var(--color-soft); }
.business-contact .small { margin-top: 1rem; }
.privacy-content { display: grid; gap: 1.25rem; max-width: 52rem; }
.privacy-content h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.privacy-content p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-author-links { flex-shrink: 1; }
}
@media (max-width: 640px) {
    .business-grid { grid-template-columns: minmax(0, 1fr); }
    .buyer-strip .site-wrap { flex-direction: column; align-items: stretch; }
    .buyer-strip .btn { width: 100%; }
    .header-inner { gap: 0.5rem; }
    .site-nav { max-height: calc(100dvh - 5rem); overflow-y: auto; }
    .site-nav a { min-width: 0; }
    .breadcrumb { flex-wrap: wrap; }
    h1, h2, h3, p, dd, .summary-row, .package-table td { overflow-wrap: anywhere; }
    .field input, .field select, .field textarea, .quick-track input { font-size: 1rem; }
    .checkbox-row label { display: flex; align-items: center; min-height: 44px; }
    .file-upload input { min-height: 44px; max-width: 100%; }
    .file-upload input::file-selector-button { min-height: 44px; }
    .summary-row { flex-wrap: wrap; }
    .summary-total { flex-wrap: wrap; }
    .summary-total strong { font-size: 1.8rem; }
    .footer-author-links { gap: 0.25rem 1.25rem; }
    .business-content > section { margin-top: 2.5rem; }
}
.demo-notice a,
.auth-alt a,
.breadcrumb a,
.business-contact .small a,
.contact-section .small a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
