/* Stockly's presentation site (landing, pricing, legal pages), dark like the panel. The colour tokens are copied from
 * Stockly.Admin/wwwroot/app.css (dark theme): the bare domain is served by the Storefront, which does not load the
 * panel's CSS. If the panel palette changes, change it here too. */
/* Chivo (Omnibus-Type, SIL OFL) is served from here, not from Google: one less request that blocks the first paint, and
 * the visitor's address does not travel to a third party. Latin covers Spanish. Variable files: one per family. */
@font-face {
    font-family: "Chivo";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/chivo/chivo-latin-wght-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Chivo Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/chivo/chivo-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
    --stockly-ink: #f1efe9;
    --stockly-accent: #4f9cf5;
    --stockly-accent-soft: #6db0f7;
    --stockly-accent-ink: #06101c;
    --stockly-paper: #09090b;
    --stockly-info: #6db0f7;
    --stockly-info-bg: #14263a;
    --stockly-success: #4fbf8c;
    --stockly-success-bg: #123124;
    --stockly-warning: #e8a640;
    --stockly-warning-bg: #3a2a12;
    --stockly-danger: #ef7d6e;
    --stockly-neutral: #a3a9b3;
    --stockly-neutral-bg: #20252d;
    color-scheme: dark;
}
body { margin: 0; background: var(--stockly-paper); font-family: "Chivo", "Helvetica Neue", Arial, sans-serif; }
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}
.badge-status::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; }
.badge-status-info { background: var(--stockly-info-bg); color: var(--stockly-info); }
.badge-status-success { background: var(--stockly-success-bg); color: var(--stockly-success); }
.badge-status-warning { background: var(--stockly-warning-bg); color: var(--stockly-warning); }
.badge-status-neutral { background: var(--stockly-neutral-bg); color: var(--stockly-neutral); }

/* clip, not hidden: it cuts horizontal overflow without breaking position: sticky in descendants. */
html:has(.lp), body:has(.lp) { overflow-x: clip; scroll-behavior: smooth; }

.lp {
    --lp-paper: #09090b;
    --lp-surface: #101013;
    --lp-surface-2: #16161b;
    --lp-ink: #f3f3ee;
    --lp-ink-2: #a8a8b3;
    --lp-rule: rgba(255, 255, 255, 0.09);
    --lp-rule-strong: rgba(255, 255, 255, 0.18);
    --lp-fill: #4f9cf5;
    --lp-fill-ink: #06101c;
    --lp-accent-text: #6db0f7;
    --lp-good: #4fbf8c;
    --lp-warn: #e8a640;
    --lp-bad: #ef7d6e;

    --lp-s1: 0.25rem; --lp-s2: 0.5rem; --lp-s3: 0.75rem; --lp-s4: 1rem;
    --lp-s5: 1.5rem; --lp-s6: 2rem; --lp-s7: 3rem; --lp-s8: 4.5rem;

    --lp-display: "Chivo", "Helvetica Neue", Arial, sans-serif;
    --lp-mono: "Chivo Mono", ui-monospace, Consolas, monospace;

    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: var(--lp-paper);
    color: var(--lp-ink);
    font-family: var(--lp-display);
    font-size: 1rem;
    line-height: 1.55;
}
.lp-shell { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { font-family: var(--lp-display); color: var(--lp-ink); text-wrap: balance; margin: 0; letter-spacing: -0.035em; }
.lp p { margin: 0; }
.lp a { color: var(--lp-accent-text); }

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-ink-2);
}
.lp-eyebrow::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--lp-fill); }

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms, border-color 160ms, transform 160ms;
}
.lp a.lp-btn-solid, .lp-btn-solid { background: var(--lp-fill); color: var(--lp-fill-ink); border-color: var(--lp-fill); }
.lp-btn-solid:hover { background: #6db0f7; border-color: #6db0f7; color: var(--lp-fill-ink); }
.lp a.lp-btn-quiet, .lp-btn-quiet { background: rgba(255, 255, 255, 0.03); color: var(--lp-ink); border-color: var(--lp-rule-strong); }
.lp-btn-quiet:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--lp-ink); }
.lp-btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.lp-btn:active { transform: translateY(1px); }
.lp a:focus-visible, .lp-btn:focus-visible, .lp summary:focus-visible { outline: 2px solid var(--lp-accent-text); outline-offset: 3px; border-radius: 0.4rem; }

/* Top bar */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 9, 11, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-rule);
}
.lp-nav-row { display: flex; align-items: center; justify-content: space-between; gap: var(--lp-s5); min-height: 3.75rem; }
.lp-wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.04em; color: var(--lp-ink) !important; text-decoration: none; }
.lp-nav-mid { display: flex; gap: var(--lp-s5); margin-right: auto; margin-left: var(--lp-s6); }
.lp-nav-link { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 2.75rem; font-size: 0.9rem; color: var(--lp-ink-2) !important; text-decoration: none; }
/* The anchors (#planes, #preguntas, #funciones) stop below the sticky bar, not under it. */
.lp [id] { scroll-margin-top: 4.5rem; }
#contenido:focus { outline: none; }
.lp-skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 30; padding: 0.6rem 1rem; border-radius: 0.5rem; background: var(--lp-fill); color: var(--lp-fill-ink) !important; font-weight: 600; text-decoration: none; }
.lp-skip:focus { top: 0.5rem; }
.lp-nav-link:hover { color: var(--lp-ink) !important; }
.lp-nav-end { display: flex; align-items: center; gap: var(--lp-s4); }
.lp-nav-login { display: inline-flex; align-items: center; gap: 0.4rem; }
.lp-nav-try svg { display: none; }

/* Hero */
.lp-hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 0; overflow: hidden; }
.lp-hero::before {
    content: "";
    position: absolute;
    inset: -10% 0 auto 0;
    height: 38rem;
    z-index: 0;
    background: radial-gradient(52% 60% at 50% 0%, rgba(79, 156, 245, 0.2), transparent 72%);
    pointer-events: none;
}
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero-copy { max-width: 46rem; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: var(--lp-s5); }
.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem;
    border: 1px solid var(--lp-rule-strong);
    border-radius: 999px;
    background: rgba(79, 156, 245, 0.08);
    font-size: 0.8rem;
    color: var(--lp-ink);
}
.lp-pill b { color: var(--lp-accent-text); font-weight: 600; }
.lp-hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.05em; }
.lp-hero h1 em { display: block; font-style: normal; color: var(--lp-accent-text); }
.lp-lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--lp-ink-2); max-width: 38rem; }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lp-s3); }
.lp-micro { font-size: 0.8rem; color: var(--lp-ink-2); }
/* The link inside the small print is a tap target too: padding grows its hit area without moving the text. */
.lp-micro a { display: inline-block; padding-block: 0.85rem; margin-block: -0.85rem; }
.lp-hero-shot { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* Product mock-ups drawn in HTML and CSS, not screenshots. Every figure is made up. */
.mk {
    border: 1px solid var(--lp-rule-strong);
    border-radius: 1rem;
    background: var(--lp-surface);
    box-shadow: 0 40px 80px -40px rgba(79, 156, 245, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    text-align: left;
    font-size: 0.82rem;
}
.mk-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--lp-rule); background: var(--lp-surface-2); }
.mk-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mk-bar span { margin-left: 0.6rem; font-size: 0.72rem; color: var(--lp-ink-2); font-family: var(--lp-mono); }
.mk-app { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); min-height: 21rem; }
.mk-side { padding: 1rem 0.7rem; border-right: 1px solid var(--lp-rule); display: grid; align-content: start; gap: 0.2rem; background: var(--lp-surface); }
.mk-side b { font-weight: 800; padding: 0 0.6rem 0.7rem; letter-spacing: -0.03em; }
.mk-side span { padding: 0.4rem 0.6rem; border-radius: 0.45rem; color: var(--lp-ink-2); }
.mk-side span.on { background: rgba(79, 156, 245, 0.16); color: var(--lp-ink); font-weight: 600; }
.mk-main { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: 0.9rem; align-content: start; min-width: 0; background: var(--lp-paper); }
.mk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 0.6rem; }
.mk-kpi { border: 1px solid var(--lp-rule); border-radius: 0.7rem; padding: 0.7rem 0.8rem; background: var(--lp-surface); display: grid; gap: 0.15rem; }
.mk-kpi small { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-ink-2); }
.mk-kpi strong { font-family: var(--lp-mono); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.03em; }
.mk-kpi em { font-style: normal; font-size: 0.7rem; color: var(--lp-good); }
.mk-card { border: 1px solid var(--lp-rule); border-radius: 0.7rem; padding: 0.9rem 1rem; background: var(--lp-surface); display: grid; gap: 0.6rem; }
.mk-card-title { font-weight: 700; font-size: 0.85rem; }
.mk-track { display: flex; gap: 3px; height: 2.2rem; border-radius: 0.5rem; overflow: hidden; }
.mk-track span { display: grid; place-items: center; font-weight: 800; color: #06101c; font-size: 0.85rem; }
.mk-seg-0 { background: var(--lp-good); flex: 6; }
.mk-seg-1 { background: #4f9cf5; flex: 3; }
.mk-seg-2 { background: var(--lp-warn); flex: 2; }
.mk-seg-3 { background: var(--lp-bad); flex: 1; }
.mk-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; color: var(--lp-ink-2); font-size: 0.72rem; }
.mk-legend i { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; margin-right: 0.35rem; }

.mk-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.9rem 1rem 0; }
.mk-step { padding: 0.25rem 0.7rem; border: 1px solid var(--lp-rule-strong); border-radius: 999px; color: var(--lp-ink-2); font-size: 0.74rem; }
.mk-step.done { color: var(--lp-good); border-color: rgba(79, 191, 140, 0.4); }
.mk-step.cur { background: var(--lp-fill); border-color: var(--lp-fill); color: var(--lp-fill-ink); font-weight: 700; }
.mk-form { padding: 1.1rem 1rem 1.2rem; display: grid; gap: 0.8rem; }
.mk-form h4 { margin: 0; font-size: 1.3rem; letter-spacing: -0.03em; font-weight: 800; }
.mk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.mk-field { border: 1px solid var(--lp-rule-strong); border-radius: 0.55rem; padding: 0.55rem 0.7rem; background: var(--lp-paper); color: var(--lp-ink-2); min-width: 0; }
.mk-field small { display: block; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-ink-2); }
.mk-field b { color: var(--lp-ink); font-weight: 600; }
.mk-field.wide { grid-column: 1 / -1; }
.mk-sugg { border: 1px solid var(--lp-rule-strong); border-radius: 0.55rem; background: var(--lp-surface-2); padding: 0.25rem; display: grid; }
.mk-sugg span { padding: 0.3rem 0.55rem; border-radius: 0.35rem; color: var(--lp-ink-2); }
.mk-sugg span.hit { background: rgba(79, 156, 245, 0.16); color: var(--lp-ink); }
.mk-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.mk-btn { padding: 0.45rem 0.9rem; border-radius: 0.5rem; border: 1px solid var(--lp-rule-strong); font-weight: 600; }
.mk-btn.primary { background: var(--lp-fill); color: var(--lp-fill-ink); border-color: var(--lp-fill); }

.mk-site { background: #0e1013; }
.mk-site-hero {
    padding: 1.6rem 1.2rem 1.4rem;
    background: linear-gradient(90deg, rgba(14, 16, 19, 0.92), rgba(14, 16, 19, 0.45)), linear-gradient(135deg, #1d2a3b, #0f1722 60%, #2a3a52);
    display: grid;
    gap: 0.5rem;
}
.mk-site-hero small { color: var(--lp-accent-text); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.62rem; }
.mk-site-hero strong { font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.03em; max-width: 14rem; }
.mk-site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; padding: 0.9rem 1.2rem 1.2rem; }
.mk-car { border: 1px solid var(--lp-rule); border-radius: 0.5rem; overflow: hidden; background: var(--lp-surface); }
.mk-car i { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #2a3a52, #141b27); position: relative; }
.mk-car i::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 20%; height: 30%; border-radius: 45% 45% 12% 12%; background: rgba(255, 255, 255, 0.16); }
.mk-car span { display: block; padding: 0.4rem 0.5rem; font-size: 0.68rem; color: var(--lp-ink-2); }
.mk-car b { color: var(--lp-accent-text); display: block; font-size: 0.75rem; }
.mk-stack { position: relative; padding-bottom: 2.5rem; }
.mk-phone {
    position: absolute;
    right: 1rem;
    bottom: 0;
    width: 7.5rem;
    border: 3px solid #26262e;
    border-radius: 1.1rem;
    background: #0e1013;
    padding: 0.7rem 0.55rem;
    display: grid;
    gap: 0.4rem;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
}
.mk-phone strong { font-size: 0.8rem; line-height: 1.1; }
.mk-phone .mk-car i { aspect-ratio: 16 / 9; }

.mk-team { padding: 1rem; display: grid; gap: 0.5rem; }
.mk-person { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.7rem; padding: 0.6rem 0.75rem; border: 1px solid var(--lp-rule); border-radius: 0.6rem; background: var(--lp-paper); }
.mk-avatar { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 156, 245, 0.18); color: var(--lp-accent-text); font-weight: 700; font-size: 0.78rem; }
.mk-person small { display: block; color: var(--lp-ink-2); font-size: 0.7rem; }
.mk-role { padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--lp-rule-strong); font-size: 0.7rem; color: var(--lp-ink-2); }
.mk-perms { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.mk-perms span { padding: 0.2rem 0.6rem; border-radius: 0.4rem; background: var(--lp-surface-2); font-size: 0.7rem; color: var(--lp-ink-2); }
.mk-perms span.ok { color: var(--lp-good); }
.mk-caption { margin-top: 0.7rem; font-size: 0.74rem; color: var(--lp-ink-2); }

/* Sections */
.lp-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.lp-section + .lp-section { border-top: 1px solid var(--lp-rule); }
.lp-head { max-width: 40rem; display: grid; gap: var(--lp-s3); margin-bottom: clamp(2rem, 5vw, 3rem); }
.lp-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; line-height: 1.05; }
.lp-head p { color: var(--lp-ink-2); font-size: 1.05rem; }

.lp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lp-s4); }
.lp-pillar { padding: 1.4rem; border: 1px solid var(--lp-rule); border-radius: 1rem; background: var(--lp-surface); display: grid; gap: var(--lp-s3); align-content: start; }
.lp-pillar .lp-tag { font-family: var(--lp-mono); font-size: 0.72rem; color: var(--lp-accent-text); letter-spacing: 0.08em; text-transform: uppercase; }
.lp-pillar h3 { font-size: 1.3rem; font-weight: 700; }
.lp-pillar p { color: var(--lp-ink-2); }

.lp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.lp-feature.flip .lp-feature-copy { order: 2; }
.lp-feature-copy { display: grid; gap: var(--lp-s4); }
.lp-feature-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.05; }
.lp-feature-copy p { color: var(--lp-ink-2); font-size: 1.05rem; }
.lp-ticks { list-style: none; padding: 0; margin: var(--lp-s2) 0 0; display: grid; gap: var(--lp-s2); }
.lp-ticks li { display: flex; gap: 0.7rem; color: var(--lp-ink); }
.lp-ticks li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border-radius: 50%; background: rgba(79, 156, 245, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236db0f7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 8.5l2.4 2.4 4.6-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }

.lp-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--lp-s3); }
.lp-more-item { padding: 1.1rem 1.2rem; border: 1px solid var(--lp-rule); border-radius: 0.9rem; background: var(--lp-surface); display: grid; gap: 0.3rem; align-content: start; }
.lp-more-item h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.lp-more-item p { color: var(--lp-ink-2); font-size: 0.92rem; }

.lp-faq { max-width: 46rem; display: grid; }
.lp-faq details { border-bottom: 1px solid var(--lp-rule); }
.lp-faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; font-size: 1.3rem; color: var(--lp-accent-text); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { padding: 0 0 1.2rem; color: var(--lp-ink-2); max-width: 40rem; }

.lp-close { padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--lp-rule); }
.lp-close::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 28rem; background: radial-gradient(50% 60% at 50% 100%, rgba(79, 156, 245, 0.2), transparent 70%); pointer-events: none; }
.lp-close .lp-shell { position: relative; display: grid; justify-items: center; gap: var(--lp-s5); }
.lp-close-line { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; max-width: 30rem; text-wrap: balance; }
.lp-close-line em { font-style: normal; color: var(--lp-accent-text); }

/* Footer */
.lp-foot { border-top: 1px solid var(--lp-rule); margin-top: auto; }
.lp-foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lp-s3) var(--lp-s6); padding-block: var(--lp-s5); font-size: 0.86rem; }
.lp-foot-mark { font-weight: 800; letter-spacing: -0.03em; color: var(--lp-ink); }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: var(--lp-s5); }
.lp-foot-links a { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 2.75rem; color: var(--lp-ink-2); text-decoration: none; white-space: nowrap; }
.lp-foot-links a:hover { color: var(--lp-ink); text-decoration: underline; }
.lp-foot-meta { margin-left: auto; font-family: var(--lp-mono); color: var(--lp-ink-2); }

/* Content pages: pricing and legal */
.landing-page { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.landing-page-narrow { max-width: 46rem; }
.landing-page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: var(--lp-s4); }
.landing-page-updated { font-family: var(--lp-mono); font-size: 0.8rem; color: var(--lp-ink-2); margin-bottom: var(--lp-s6) !important; }
.landing-page h2 { font-size: 1.3rem; margin: var(--lp-s6) 0 var(--lp-s3); }
.landing-page p, .landing-page li { color: var(--lp-ink-2); line-height: 1.65; }
.landing-page ul { padding-left: 1.25rem; }
.landing-section-sub { color: var(--lp-ink-2); margin-bottom: var(--lp-s6); max-width: 40rem; }

/* Plans: used by the landing and /precios */
/* Cards of one fixed-ish width, centered in the section; the grid row keeps them the same height. */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 21rem)); justify-content: center; gap: var(--lp-s4); }
.pricing-card { position: relative; padding: 1.25rem; border: 1px solid var(--lp-rule); border-radius: 1rem; background: var(--lp-surface); display: grid; gap: var(--lp-s4); align-content: start; }
/* The plan to push is filled; everything inside it switches to light-on-blue. */
.pricing-card-highlight { background: linear-gradient(160deg, #245fbf, #1a4f9c); border-color: transparent; color: #fff; box-shadow: 0 30px 60px -30px rgba(79, 156, 245, 0.6); }
.pricing-card-highlight .pricing-card-price, .pricing-card-highlight .pricing-card-list li { color: #fff; }
.pricing-card-highlight .pricing-card-price small, .pricing-card-highlight .pricing-card-was, .pricing-card-highlight .pricing-card-after { color: rgba(255, 255, 255, 0.85); }
.pricing-card-highlight .pricing-card-was { text-decoration-color: rgba(255, 255, 255, 0.7); }
.pricing-card-highlight .pricing-card-list li::before { background: #fff; }
.pricing-card-list li.is-extra { font-weight: 600; }
.pricing-card-only { margin-left: auto; padding: 0.05rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: 0.68rem; font-weight: 600; white-space: nowrap; }
.pricing-card-highlight .pricing-card-chip, .pricing-card-highlight .pricing-card-only { background: rgba(8, 28, 64, 0.35); color: #fff; }
.pricing-card-highlight .pricing-card-flag { background: #fff; color: #133c78; }
.pricing-card-highlight .lp-btn-solid, .lp .pricing-card-highlight a.lp-btn-solid { background: #fff; border-color: #fff; color: #133c78; }
.pricing-card-highlight .lp-btn-solid:hover, .lp .pricing-card-highlight a.lp-btn-solid:hover { background: #e6efff; border-color: #e6efff; color: #133c78; }
.pricing-card-highlight .lp-btn:focus-visible { outline-color: #fff; }
.pricing-card-flag { position: absolute; top: -0.7rem; left: 1.3rem; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--lp-fill); color: var(--lp-fill-ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pricing-card-name { font-weight: 700; font-size: 1.1rem; }
.pricing-card-price { font-family: var(--lp-mono); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.04em; color: var(--lp-ink); }
.pricing-card-price small { font-size: 0.85rem; font-weight: 400; color: var(--lp-ink-2); font-family: var(--lp-display); letter-spacing: 0; }
.pricing-card-chip { justify-self: start; padding: 0.15rem 0.6rem; border-radius: 999px; background: rgba(79, 191, 140, 0.14); color: var(--lp-good); font-size: 0.75rem; font-weight: 600; }
.pricing-card-was { font-family: var(--lp-mono); font-size: 0.9rem; color: var(--lp-ink-2); text-decoration: line-through; text-decoration-color: var(--lp-bad); }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pricing-card-after { font-size: 0.82rem; color: var(--lp-ink-2); }
.pricing-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lp-s2); }
.pricing-card-list li { display: flex; align-items: baseline; gap: var(--lp-s3); color: var(--lp-ink); }
.pricing-card-list li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--lp-fill); transform: translateY(-0.1rem); }
.pricing-note { color: var(--lp-ink-2); font-size: 0.85rem; margin: var(--lp-s5) auto 0; max-width: 40rem; text-align: center; }

@media (max-width: 60rem) {
    .lp-feature { grid-template-columns: minmax(0, 1fr); }
    .lp-feature.flip .lp-feature-copy { order: 0; }
    .lp-pillars { grid-template-columns: minmax(0, 1fr); }
    .mk-app { grid-template-columns: minmax(0, 1fr); }
    .mk-side { display: none; }
}
@media (max-width: 40rem) {
    .lp-nav-mid { display: none; }
    /* On a phone both entries stay: "Probar gratis" next to the wordmark, "Ingresar" at the far right as a soft pill,
       so someone who already has an account does not have to find the way in. */
    .lp-nav-row { gap: var(--lp-s3); }
    .lp-nav-end { flex: 1; justify-content: space-between; gap: var(--lp-s3); min-width: 0; }
    .lp-nav-try { order: 1; border-radius: 999px; padding: 0.5rem 0.9rem; font-size: 0.85rem; gap: 0.4rem; }
    .lp-nav-try svg { display: block; }
    .lp-nav-login {
        order: 2;
        padding: 0.5rem 0.85rem;
        border-radius: 999px;
        background: rgba(79, 156, 245, 0.14);
        border: 1px solid rgba(79, 156, 245, 0.35);
        color: var(--lp-ink) !important;
        font-weight: 600;
        font-size: 0.85rem;
    }
    .lp-foot-meta { margin-left: 0; }
    .mk-site-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-site-grid .mk-car:nth-child(3) { display: none; }
    .mk-phone { width: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.lp) { scroll-behavior: auto; }
    .lp-btn { transition: none; }
}

/* The plans section: heading on the same axis as the centered cards; the flag above the Pro card needs room when stacked. */
#planes .lp-head { text-align: center; margin-inline: auto; }
.pricing-card-chip { white-space: normal; }
@media (max-width: 40rem) {
    .pricing-grid { row-gap: calc(var(--lp-s4) + 0.5rem); }
}
