/* devani-site-styles:{"backgroundColor":"#fbfaf8","textColor":"#14110f","fontFamily":"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif","baseFontSize":"16px","headingFontFamily":"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif","headingColor":"#14110f","linkColor":"#14110f","containerMaxWidth":"1200px","customCss":""} */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #14110f;
    background: #fbfaf8;
    -webkit-font-smoothing: antialiased;
}

a { color: #14110f; }

img { max-width: 100%; height: auto; }

/* Canonical Devani layout classes — used by the default scaffolded pages
   (homepage, blank-page, blog index, blank-blog, 404). Sites can override
   freely; the classes themselves are what page-editor and listings expect
   to see in dummy content, so keep them stable. */
.section { padding: 92px 24px; }
.container { max-width: 1080px; margin: 0 auto; }
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6258;
    margin-bottom: 24px;
}
.tagline {
    font-size: 1.18rem;
    color: #6b6258;
    margin: 18px 0 32px;
    line-height: 1.65;
}
.vs-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #14110f;
    color: #ffffff;
    border: 1px solid #14110f;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    transition: transform 0.15s ease, background 0.15s ease;
}
.vs-btn:hover { transform: translateY(-2px); background: #2b2521; }
.vs-btn.secondary {
    background: #ffffff;
    color: #14110f;
    border: 1px solid #d8d3c9;
    margin-left: 10px;
}
.vs-btn.secondary:hover { background: #f3f0ea; }

/* Headings — large, tight, with serif italic emphasis */
h1, h2, h3 {
    letter-spacing: -0.025em;
    color: #14110f;
}
h1 em, h2 em {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* --- Hero --- */
.hero { text-align: center; padding-top: 116px; padding-bottom: 104px; }
.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    line-height: 1.05;
    margin: 0 0 6px;
    font-weight: 800;
}
.hero .tagline {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.22rem;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6258;
}
.eyebrow .pill {
    background: #14110f;
    color: #fbfaf8;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

/* --- Feature grid --- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 2.8rem); margin: 0 0 14px; font-weight: 800; line-height: 1.1; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 18px;
    margin-top: 60px;
}
.feature-card {
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(20, 17, 15, 0.07);
    border-color: #ddd7cc;
}
.feature-card h3 { margin: 0 0 9px; font-size: 1.16rem; font-weight: 700; }
.feature-card p { margin: 0; color: #6b6258; font-size: 0.98rem; }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: #f4f1ea;
    border: 1px solid #ece8e0;
    margin-bottom: 18px;
}
.feature-icon svg { display: block; }

/* --- Dark accent quote band --- */
.section.alt { background: #14110f; color: #f3f0ea; border-radius: 0; }
.section.alt .container { max-width: 820px; }
.quote {
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.55rem, 3.4vw, 2.25rem);
    line-height: 1.32;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.quote em {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
}
.quote-cite {
    display: block;
    margin-top: 26px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8076;
}

/* --- AI integration band --- */
.section.ai { background: #f4f1ea; border-top: 1px solid #ece8e0; border-bottom: 1px solid #ece8e0; }
.ai-models {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 8px;
}
.ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 999px;
    padding: 9px 18px 9px 12px;
    font-weight: 700;
    font-size: 0.95rem;
}
.ai-chip .dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #14110f;
    color: #fbfaf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}
.ai-demo {
    max-width: 560px;
    margin: 36px auto 0;
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 16px;
    padding: 22px 24px;
    text-align: left;
    box-shadow: 0 14px 34px rgba(20, 17, 15, 0.06);
}
.ai-demo .ai-prompt {
    font-size: 1rem;
    color: #14110f;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ece4;
}
.ai-demo .ai-prompt strong { font-weight: 700; }
.ai-demo ul { list-style: none; margin: 0; padding: 0; }
.ai-demo li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b6258;
    font-size: 0.96rem;
    padding: 5px 0;
}
.ai-demo li .check {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    color: #14110f;
}

/* --- Header chrome (sticky, blurred, styled nav) --- */
header {
    border-bottom: 1px solid #ece8e0;
    background: rgba(251, 250, 248, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}
header nav {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
}
.brand {
    font-weight: 800;
    font-size: 1.24rem;
    color: #14110f !important;
    text-decoration: none;
    letter-spacing: -0.03em;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.brand::before {
    content: "";
    width: 22px; height: 22px;
    border-radius: 7px;
    background: #14110f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex: 0 0 auto;
}
/* Nav links emitted by the Devani scaffold: header nav > a (except .brand) */
header nav a:not(.brand) {
    color: #5c554d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 13px;
    border-radius: 8px;
    line-height: 1;
    transition: color 0.15s ease, background 0.15s ease;
}
header nav a:not(.brand):hover {
    color: #14110f;
    background: rgba(20, 17, 15, 0.05);
}
header nav a:not(.brand).active {
    color: #14110f;
}
/* Final nav link becomes a solid CTA button */
header nav a:not(.brand):last-child {
    background: #14110f;
    color: #fbfaf8;
    padding: 9px 18px;
    margin-left: 6px;
    font-weight: 700;
}
header nav a:not(.brand):last-child:hover {
    background: #2b2521;
    color: #fbfaf8;
}
@media (max-width: 720px) {
    header nav { flex-wrap: wrap; gap: 2px 4px; padding: 12px 16px; }
    .brand { font-size: 1.12rem; }
    header nav a:not(.brand) { padding: 7px 9px; font-size: 0.86rem; }
    header nav a:not(.brand):last-child { margin-left: 2px; }
}
/* --- Footer --- */
footer {
    border-top: 1px solid #ece8e0;
    padding: 44px 24px;
    text-align: center;
    background: #fbfaf8;
}
footer .footer-inner { max-width: 1080px; margin: 0 auto; }
footer .footer-link {
    font-weight: 700;
    font-size: 1.02rem;
    color: #14110f;
    text-decoration: none;
    border-bottom: 2px solid #14110f;
    padding-bottom: 2px;
    transition: opacity 0.15s ease;
}
footer .footer-link:hover { opacity: 0.55; }
footer .footer-credit { margin: 0 0 14px; font-size: 1.02rem; }
footer .footer-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.92rem;
    color: #6b6258;
}
footer .footer-nav a {
    color: #6b6258;
    text-decoration: none;
    transition: color 0.15s ease;
}
footer .footer-nav a:hover { color: #14110f; }
footer .footer-sep { color: #c9c2b6; }
footer .footer-meta {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: #8a8076;
    letter-spacing: 0.06em;
}
/* @devani:region subido-marketing */
/* ============================================================
   Subido marketing components
   Public-roadmap / feedback suite. Builds on the warm-neutral
   house tokens already defined above (#14110f ink, #fbfaf8 paper,
   #6b6258 muted, #ece8e0 hairline).
   ============================================================ */

/* --- Hero supporting bits --- */
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: #8a8076; }

/* --- Roadmap preview board (the centrepiece) --- */
.roadmap-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 56px auto 0;
    text-align: left;
}
.rm-col {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 16px;
    padding: 18px 16px 20px;
}
.rm-col-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6258;
    margin-bottom: 16px;
}
.rm-radial {
    width: 11px; height: 11px;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}
.rm-radial::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.45;
    animation: rm-pulse 2.4s ease-out infinite;
}
@keyframes rm-pulse {
    0% { transform: scale(0.6); opacity: 0.5; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { opacity: 0; }
}
.rm-radial.planned { background: #d99a4e; color: #d99a4e; }
.rm-radial.progress { background: #4e84d9; color: #4e84d9; }
.rm-radial.complete { background: #5aa86f; color: #5aa86f; }
.rm-card {
    background: #fbfaf8;
    border: 1px solid #efebe3;
    border-radius: 11px;
    padding: 13px 14px;
    margin-bottom: 10px;
}
.rm-card:last-child { margin-bottom: 0; }
.rm-card .rm-title { font-weight: 700; font-size: 0.95rem; margin: 0 0 8px; }
.rm-vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #14110f;
}
.rm-vote .caret { font-size: 0.7rem; line-height: 1; }
@media (max-width: 760px) {
    .roadmap-board { grid-template-columns: 1fr; }
}

/* --- Generic two-col split rows (feature storytelling) --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.split + .split { margin-top: 96px; }
.split.flip .split-media { order: -1; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 14px; font-weight: 800; line-height: 1.12; }
.split p.lead { color: #6b6258; font-size: 1.05rem; margin: 0 0 22px; line-height: 1.6; }
.split ul.ticks { list-style: none; margin: 0; padding: 0; }
.split ul.ticks li {
    position: relative;
    padding: 7px 0 7px 30px;
    color: #2b2521;
    font-size: 0.99rem;
}
.split ul.ticks li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #14110f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 760px) {
    .split { grid-template-columns: 1fr; gap: 30px; }
    .split.flip .split-media { order: 0; }
    .split + .split { margin-top: 64px; }
}

/* --- Mock surfaces used inside split-media --- */
.surface {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(20, 17, 15, 0.06);
}
.post-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid #f0ece4;
}
.post-row:last-child { border-bottom: 0; }
.post-vote {
    flex: 0 0 auto;
    width: 46px;
    text-align: center;
    border: 1px solid #e4e0d8;
    border-radius: 10px;
    padding: 7px 0;
}
.post-vote .caret { display: block; font-size: 0.7rem; color: #6b6258; }
.post-vote .num { font-weight: 800; font-size: 0.98rem; }
.post-body .pt { font-weight: 700; font-size: 0.98rem; margin: 2px 0 4px; }
.post-body .pm { color: #6b6258; font-size: 0.88rem; margin: 0; }
.status-chip {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
}
.status-chip.review { background: #f3ece0; color: #9a6f2e; }
.status-chip.planned { background: #f6ecdd; color: #b07d2f; }
.status-chip.progress { background: #e4edfa; color: #2f5fae; }

/* --- Changelog mock --- */
.cl-entry { padding: 6px 0 18px; border-bottom: 1px solid #f0ece4; }
.cl-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.cl-tags { display: flex; gap: 7px; margin-bottom: 9px; }
.cl-tag {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
}
.cl-tag.new { background: #e3f1e8; color: #3f7a52; }
.cl-tag.improved { background: #e4edfa; color: #2f5fae; }
.cl-tag.fixed { background: #f3ece0; color: #9a6f2e; }
.cl-entry h4 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; }
.cl-entry p { margin: 0; color: #6b6258; font-size: 0.9rem; }
.cl-date { font-size: 0.74rem; color: #8a8076; font-weight: 600; letter-spacing: 0.05em; }

/* --- Capability grid (broad feature coverage) --- */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 52px;
    text-align: left;
}
.cap {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 14px;
    padding: 22px 20px;
}
.cap h3 { margin: 0 0 7px; font-size: 1.02rem; font-weight: 700; }
.cap p { margin: 0; color: #6b6258; font-size: 0.92rem; line-height: 1.55; }
.cap .cap-k {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8076;
    margin-bottom: 12px;
}

/* --- Workflow steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
    counter-reset: step;
    text-align: left;
}
.step {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 14px;
    padding: 26px 22px;
    position: relative;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: #14110f;
    color: #fbfaf8;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.step p { margin: 0; color: #6b6258; font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* --- Developer / integrations band --- */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 40px;
}
.dev-chip {
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 12px;
    padding: 16px 18px;
    text-align: left;
}
.dev-chip strong { display: block; font-size: 0.96rem; margin-bottom: 4px; }
.dev-chip span { font-size: 0.84rem; color: #6b6258; }

/* --- Pricing --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 56px;
    align-items: stretch;
    text-align: left;
}
.price-card {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 18px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: #14110f;
    box-shadow: 0 18px 44px rgba(20, 17, 15, 0.1);
}
.price-card .plan-name { font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.price-card .plan-sub { color: #6b6258; font-size: 0.88rem; margin: 0 0 20px; min-height: 38px; }
.price-card .plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-card .plan-price small { font-size: 0.9rem; font-weight: 600; color: #8a8076; letter-spacing: 0; }
.price-card .plan-feats { list-style: none; margin: 22px 0 26px; padding: 0; flex: 1; }
.price-card .plan-feats li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 0.92rem;
    color: #2b2521;
}
.price-card .plan-feats li::before {
    content: "";
    position: absolute; left: 0; top: 10px;
    width: 15px; height: 15px; border-radius: 50%;
    background: #14110f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}
.price-card .vs-btn { text-align: center; }
.price-tag {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #5aa86f; margin-bottom: 14px;
}

/* --- FAQ --- */
.faq { max-width: 760px; margin: 56px auto 0; text-align: left; }
.faq details {
    border-bottom: 1px solid #ece8e0;
    padding: 20px 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.04rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: #8a8076; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 14px 0 0; color: #6b6258; font-size: 0.96rem; line-height: 1.6; }

/* --- Final CTA band --- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 0 0 14px; font-weight: 800; color: #ffffff; }
.cta-band .tagline { color: #c9c2b6; max-width: 540px; margin-left: auto; margin-right: auto; }
.section.alt .vs-btn { background: #fbfaf8; color: #14110f; border-color: #fbfaf8; }
.section.alt .vs-btn:hover { background: #ffffff; }
.section.alt .vs-btn.secondary { background: transparent; color: #fbfaf8; border-color: #5c554d; }
.section.alt .vs-btn.secondary:hover { background: rgba(255,255,255,0.06); }
/* @devani:endregion */
/* @devani:region subido-interactive */
/* ============================================================
   Subido — interactive components (tabs, live upvote, count-up,
   AI "works with" band). Layered on the warm-neutral house tokens.
   ============================================================ */

/* --- Tabbed showcase (Boards / Roadmap / Changelog) --- */
.tabs { max-width: 1000px; margin: 52px auto 0; }
.tab-nav {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: #f1ede5;
    border: 1px solid #e4e0d8;
    border-radius: 12px;
    margin: 0 auto 30px;
}
.tab-nav button {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    color: #6b6258;
    padding: 9px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.tab-nav button:hover { color: #14110f; }
.tab-nav button.active {
    background: #ffffff;
    color: #14110f;
    box-shadow: 0 2px 6px rgba(20,17,15,0.07);
}
.tab-panel { display: none; animation: tab-in 0.32s ease; }
.tab-panel.active { display: block; }
@keyframes tab-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-nav-wrap { text-align: center; }

/* roadmap mini-board reused inside a tab (3 columns of cards) */
.tab-roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    text-align: left;
}
@media (max-width: 760px) { .tab-roadmap { grid-template-columns: 1fr; } }

/* --- Live upvote button (clickable) --- */
.uv {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 48px;
    padding: 7px 0;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    font: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.uv:hover { border-color: #14110f; }
.uv:active { transform: scale(0.94); }
.uv .uv-caret { font-size: 0.66rem; line-height: 1; color: #6b6258; transition: color 0.15s ease; }
.uv .uv-num { font-weight: 800; font-size: 0.98rem; color: #14110f; }
.uv.voted {
    background: #14110f;
    border-color: #14110f;
}
.uv.voted .uv-caret, .uv.voted .uv-num { color: #fbfaf8; }
.uv.bump { animation: uv-bump 0.32s ease; }
@keyframes uv-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.14); }
    100% { transform: scale(1); }
}

/* --- Count-up stats band --- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 920px;
    margin: 8px auto 0;
    text-align: center;
}
.stat .stat-num {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #14110f;
}
.stat .stat-num .suffix { color: #b07d2f; }
.stat .stat-label {
    margin-top: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #6b6258;
}
.section.alt .stat .stat-num { color: #ffffff; }
.section.alt .stat .stat-num .suffix { color: #d99a4e; }
.section.alt .stat .stat-label { color: #b8b0a6; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; } }

/* --- "Works with Claude & ChatGPT" band --- */
.ai-works { text-align: center; }
.ai-logos {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
    margin: 40px 0 26px;
}
.ai-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 14px;
    padding: 18px 26px;
    min-width: 230px;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ai-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(20,17,15,0.08);
    border-color: #ddd7cc;
}
.ai-logo .glyph {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-logo .ai-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.ai-logo .ai-sub { display: block; font-size: 0.8rem; font-weight: 600; color: #8a8076; letter-spacing: 0.01em; margin-top: 1px; }
.ai-disclaimer {
    font-size: 0.78rem;
    color: #8a8076;
    max-width: 620px;
    margin: 6px auto 0;
    line-height: 1.5;
}
.code-peek {
    max-width: 560px;
    margin: 34px auto 0;
    background: #14110f;
    border-radius: 14px;
    padding: 20px 22px;
    text-align: left;
    box-shadow: 0 18px 40px rgba(20,17,15,0.18);
}
.code-peek pre {
    margin: 0;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e7e2d8;
    white-space: pre-wrap;
    word-break: break-word;
}
.code-peek .c-mut { color: #8a8076; }
.code-peek .c-acc { color: #d99a4e; }
.code-peek .c-str { color: #9bbf86; }
/* @devani:endregion */
/* @devani:region subido-chat */
/* ============================================================
   Subido — AI assistant chat demo (interactive, provider-themed)
   A faux chat window showing an assistant driving the roadmap via
   MCP, with a Claude / ChatGPT toggle that re-themes the window.
   ============================================================ */

.chat-wrap { max-width: 600px; margin: 38px auto 0; }

/* Provider toggle (segmented control) */
.chat-switch {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: #f1ede5;
    border: 1px solid #e4e0d8;
    border-radius: 12px;
    margin-bottom: 22px;
}
.chat-switch button {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    color: #6b6258;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.chat-switch button:hover { color: #14110f; }
.chat-switch button .pg {
    width: 18px; height: 18px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.chat-switch button[data-provider="claude"] .pg { background: #d97757; }
.chat-switch button[data-provider="chatgpt"] .pg { background: #10a37f; }
.chat-switch button.active {
    background: #ffffff;
    color: #14110f;
    box-shadow: 0 2px 6px rgba(20,17,15,0.08);
}

/* The window */
.chat-window {
    background: #ffffff;
    border: 1px solid #e7e2d9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(20,17,15,0.10);
    text-align: left;
}
.chat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 18px;
    border-bottom: 1px solid #f0ece4;
    background: #fbfaf8;
}
.chat-avatar {
    width: 30px; height: 30px;
    border-radius: 8px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.25s ease;
}
.chat-title { font-weight: 700; font-size: 0.96rem; line-height: 1.1; }
.chat-title small { display: block; font-weight: 600; font-size: 0.74rem; color: #8a8076; margin-top: 2px; }
.chat-dot {
    margin-left: auto;
    width: 9px; height: 9px; border-radius: 50%;
    background: #5aa86f;
    box-shadow: 0 0 0 0 rgba(90,168,111,0.5);
    animation: chat-live 2s ease-out infinite;
}
@keyframes chat-live {
    0% { box-shadow: 0 0 0 0 rgba(90,168,111,0.45); }
    70% { box-shadow: 0 0 0 7px rgba(90,168,111,0); }
    100% { box-shadow: 0 0 0 0 rgba(90,168,111,0); }
}

.chat-body {
    padding: 20px 18px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 240px;
}
.msg { display: flex; gap: 10px; max-width: 88%; opacity: 0; transform: translateY(8px); }
.msg.show { opacity: 1; transform: translateY(0); transition: opacity 0.4s ease, transform 0.4s ease; }
.msg .who {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 800;
}
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.user .who { background: #14110f; color: #fbfaf8; }
.msg.user .bubble {
    background: #14110f; color: #f3f0ea;
    border-radius: 14px 14px 4px 14px;
}
.msg.bot .who { background: #efe7df; color: #b06a4e; transition: background 0.25s ease, color 0.25s ease; }
.msg.bot .bubble {
    background: #f4f1ea; color: #2b2521;
    border-radius: 14px 14px 14px 4px;
    border: 1px solid #ece8e0;
}
.msg .bubble { padding: 11px 14px; font-size: 0.92rem; line-height: 1.5; }
.msg .bubble strong { font-weight: 700; }

/* tool-call line inside a bot bubble */
.tool-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    padding: 7px 11px;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 9px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: #6b6258;
}
.tool-call .ok {
    color: #5aa86f;
    font-weight: 800;
}
.tool-call .tname { color: #14110f; font-weight: 600; }

/* status pill that "moves" in the demo */
.moved-pill {
    display: inline-block;
    margin-top: 9px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px;
    background: #e4edfa; color: #2f5fae;
}

/* typing indicator */
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: #b8b0a6;
    animation: typing-b 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-b {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* composer (non-functional, for looks) + replay */
.chat-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 18px;
}
.chat-input {
    flex: 1;
    border: 1px solid #e4e0d8;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: #8a8076;
    background: #fbfaf8;
    user-select: none;
}
.chat-replay {
    appearance: none;
    border: 1px solid #e4e0d8;
    background: #ffffff;
    border-radius: 10px;
    padding: 0 14px;
    height: 42px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: #14110f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.chat-replay:hover { background: #f3f0ea; }

/* Provider theming: applied on .chat-window via [data-active] */
.chat-window[data-active="chatgpt"] .msg.bot .who { background: #d3efe6; color: #0f8c6c; }

@media (max-width: 560px) {
    .msg { max-width: 96%; }
    .chat-foot .chat-input { font-size: 0.82rem; }
}
/* @devani:endregion */
/* @devani:region subido-legal */
/* ============================================================
   Subido — legal / long-form document pages
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal-head { border-bottom: 1px solid #ece8e0; padding-bottom: 26px; margin-bottom: 12px; }
.legal-head h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.03em; }
.legal-head .legal-meta { font-size: 0.85rem; color: #8a8076; font-weight: 600; letter-spacing: 0.02em; }
.legal-head .legal-intro { color: #6b6258; font-size: 1.05rem; line-height: 1.6; margin: 16px 0 0; }
.legal-note {
    background: #f4f1ea;
    border: 1px solid #ece8e0;
    border-left: 3px solid #b07d2f;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 26px 0;
    font-size: 0.92rem;
    color: #6b6258;
    line-height: 1.6;
}
.legal-note strong { color: #14110f; }
.legal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 42px 0 12px;
    letter-spacing: -0.02em;
    scroll-margin-top: 90px;
}
.legal h3 { font-size: 1.08rem; font-weight: 700; margin: 26px 0 8px; }
.legal p { color: #2b2521; font-size: 0.98rem; line-height: 1.68; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: #2b2521; font-size: 0.98rem; line-height: 1.6; margin-bottom: 7px; }
.legal a { color: #14110f; text-decoration: underline; text-underline-offset: 2px; }
.legal strong { font-weight: 700; color: #14110f; }

/* table of contents */
.legal-toc {
    background: #ffffff;
    border: 1px solid #ece8e0;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 30px 0 10px;
}
.legal-toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #8a8076; margin: 0 0 14px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 8px; font-size: 0.92rem; }
.legal-toc a { color: #2b2521; text-decoration: none; }
.legal-toc a:hover { color: #14110f; text-decoration: underline; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* definition / data table */
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 0.92rem; }
.legal-table th, .legal-table td {
    text-align: left;
    padding: 11px 14px;
    border: 1px solid #ece8e0;
    vertical-align: top;
    line-height: 1.5;
}
.legal-table th { background: #f4f1ea; font-weight: 700; color: #14110f; font-size: 0.82rem; letter-spacing: 0.02em; }
.legal-table td { color: #2b2521; }
.legal-table td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
    .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; }
    .legal-table th { display: none; }
    .legal-table td { border: 0; border-bottom: 1px solid #f0ece4; padding: 6px 0; }
    .legal-table td:first-child { white-space: normal; padding-top: 14px; }
}
/* @devani:endregion */
/* @devani:region subido-cookie-banner */
/* ============================================================
   Subido — cookie consent banner
   Privacy-first: non-essential cookies are NOT set until the
   visitor accepts. Default action / dismissal = essential only.
   ============================================================ */
.cookie-bar {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 200;
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e4e0d8;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(20,17,15,0.16);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; }
.cookie-bar p {
    margin: 0;
    flex: 1 1 320px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #6b6258;
}
.cookie-bar p strong { color: #14110f; font-weight: 700; }
.cookie-bar a { color: #14110f; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }
.cookie-actions .vs-btn { padding: 10px 18px; font-size: 0.9rem; }
.cookie-actions .vs-btn.secondary { margin-left: 0; }
@media (max-width: 520px) {
    .cookie-bar { padding: 16px; gap: 12px; }
    .cookie-actions { width: 100%; }
    .cookie-actions .vs-btn { flex: 1; text-align: center; }
}
/* tiny footer "Cookie settings" reopener */
.cookie-reopen {
    background: none; border: 0; padding: 0; margin: 0;
    font: inherit; color: #6b6258; cursor: pointer;
    text-decoration: none;
}
.cookie-reopen:hover { color: #14110f; }
/* @devani:endregion */
