/* =========================================================================
   Versola marketing site — shared visual system with the auth product UI
   (central-ui/forms/common.css): warm background, deep emerald accent,
   tight radii, layered soft shadows, subtle low-opacity borders.
   ========================================================================= */

/* Tokens: see tokens.css */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
/* The landing page: text is not a control, so an arrow and not the text caret (fields keep theirs). Docs, blog and
   the legal pages are for reading and copying: they keep the caret. */
.is-landing { cursor: default; }
.is-landing input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="range"]), .is-landing textarea, .is-landing [contenteditable="true"] { cursor: text; }

/* ===== Typography helpers ===== */
.fw-800 { font-weight: 800; }
.text-secondary { color: var(--text-muted) !important; }
.text-accent { color: var(--brand); }
.text-accent:hover { color: var(--brand-hover); }

.section-label,
.hero-label {
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand);
    margin-bottom: .75rem;
}

/* ===== Wordmark ===== */
.wordmark { display: block; height: 24px; width: auto; color: currentColor; }
.wordmark-footer { height: 18px; color: var(--ink); }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.navbar-brand.brand-lockup { display: flex; }
.brand-mark { display: block; width: auto; color: var(--ink); }
.mark-brand { height: 30px; width: 30px; }
.mark-footer { height: 24px; width: 24px; }

/* ===== Navbar: the page tint of the light theme, ink wordmark ===== */
.navbar {
    background: color-mix(in oklab, var(--page) 90%, transparent) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.navbar-brand { color: var(--ink); padding: 0; }
.navbar-brand:hover { color: var(--ink); }
.navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color .2s;
}
.navbar .nav-link:hover { color: var(--brand); }
.navbar-toggler { border-color: var(--line-strong) !important; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--brand-soft) !important; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2828, 27, 25, 0.75%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
@media (max-width: 991.98px) {
    .navbar .navbar-collapse { padding: var(--s-3) 0 var(--s-4); }
}

/* ===== Surface: the themed page; hero sits on it ===== */
.surface-page { background: var(--page); color: var(--ink); }

/* ===== Sections ===== */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.section-alt { background: var(--surface-alt); }

/* ===== Hero ===== */
.hero-section {
    padding-top: 112px;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    width: 760px; height: 760px;
    background: radial-gradient(circle, color-mix(in oklab, var(--brand) 22%, transparent) 0%, transparent 70%);
    top: -260px; right: -200px;
    pointer-events: none;
}
.hero-section > .container { position: relative; }
.hero-content .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-link { font-weight: 600; font-size: .95rem; color: var(--brand); text-decoration: none; }
.hero-link:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.hero-title { letter-spacing: -0.02em; line-height: 1.08; }

/* ===== Theme editor ===== */
.te { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.te-panel {
    position: sticky; top: 88px;
    display: flex; flex-direction: column; gap: var(--s-4);
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    padding: var(--s-5);
}
.te-panel-head { display: flex; align-items: center; justify-content: space-between; }
.te-title { font-weight: 700; font-size: 1rem; }
.te-reset { border: 0; background: none; padding: 0; font-size: .8rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.te-panel-actions { display: flex; align-items: center; gap: var(--s-3); }
.te-auto-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.te-auto-ring circle { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.te-auto-run .te-auto-ring circle { animation: te-ring var(--te-iv, 8s) linear forwards; }
@keyframes te-ring { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .te-auto-run .te-auto-ring circle { animation: none; } }
.te-group { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.te-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.te-swatches { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.te-swatch {
    width: 28px; height: 28px; padding: 0;
    border: 2px solid var(--sheet); border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 1px var(--line-strong);
    cursor: pointer;
}
.te-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.te-hex { display: flex; align-items: center; gap: var(--s-2); }
.te-chip { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.te-input, .te-select {
    width: 100%;
    padding: 7px 10px;
    font: inherit; font-size: .85rem;
    color: var(--ink);
    background: var(--field);
    border: 1px solid var(--line-strong);
    border-radius: var(--rf);
}
.te-input { font-family: var(--font-mono); max-width: 8rem; }
.te-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' stroke='%236b6a66' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    cursor: pointer;
}
.te-input:focus-visible, .te-select:focus-visible, .te-swatch:focus-visible, .te-seg button:focus-visible, .te-reset:focus-visible {
    outline: 2px solid var(--brand); outline-offset: 2px;
}
.te-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.te-seg button {
    padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--rf);
    cursor: pointer;
}
.te-seg button:hover:not(:disabled) { color: var(--ink); }
.te-seg button[aria-pressed="true"] { color: var(--ink); border-color: var(--brand); background: var(--brand-soft); }
.te-seg button:disabled { opacity: .45; cursor: not-allowed; }

.te-stage { min-width: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.te-bar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.te-bar-right { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.te-previews { position: relative; display: flex; justify-content: center; min-height: 320px; }
.te-view { background: var(--sheet); border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); overflow: hidden; flex: none; }
.te-view-inner { overflow: hidden; }
.te-view iframe { display: block; border: 0; background: var(--sheet); transform-origin: top left; }
.te-view-desktop { border-radius: var(--rs); }
.te-view-phone { border-radius: 36px; border: 8px solid var(--ink); }
.te-bar-chrome { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--sheet); border-bottom: 1px solid var(--line); }
.te-bar-chrome[hidden] { display: none; }
.te-bar-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.te-bar-chrome em {
    flex: 1; margin-left: 10px; padding: 2px 12px; font-style: normal; font-size: .72rem;
    color: var(--text-muted); background: var(--field); border-radius: var(--pill); text-align: center;
}
.te-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--text-muted); font-size: .9rem; pointer-events: none; }
.te-status[hidden] { display: none; }
.te-previews[aria-busy="true"] .te-view { opacity: .35; }
.te-narrow .te-device { display: none; }
.te-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-3); }
.te-forms { justify-content: center; }
.te-bar-right { justify-self: start; }
.te-mobilebar { display: none; }
.te-panel-actions .te-shuffle { width: 32px; height: 32px; }
.te-shuffle { position: relative; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.te-shuffle:hover { background: var(--field); border-color: var(--line-strong); }
.te-shuffle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.te-shuffle .te-shuffle-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 767.98px) {
    .te-stage { order: 1; }
    .te-panel { order: 2; display: none; }
    .te-open .te-panel { display: flex; }
    .te-bar { grid-template-columns: 1fr; justify-items: center; }
    .te-bar-right, .te-bar > span { display: none; }
    .te-mobilebar { display: flex; justify-content: center; align-items: center; gap: var(--s-3); }
}

@media (max-width: 991.98px) {
    .te { grid-template-columns: 1fr; }
    .te-panel { position: static; }
}

/* ===== Tech badges ===== */
.tech-stack .badge {
    background: var(--sheet);
    color: var(--text-muted);
    border: 1px solid var(--line);
    font-weight: 500;
    font-size: .8rem;
    padding: .4em .85em;
    margin-right: .4rem;
    margin-bottom: .4rem;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--btn);
    border-color: var(--btn);
    color: var(--on-btn);
    font-weight: 600;
    border-radius: var(--rb);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
    color: var(--on-btn);
}
.btn-outline-light {
    border-color: var(--line);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--rf);
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--field);
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn-lg { border-radius: var(--rf); }

/* ===== Screenshot frame (used to present admin UI screenshots) ===== */
.shot-frame {
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.shot-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.shot-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}
.shot-frame-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }

/* ===== Capability rows (icon + short text, paired with a screenshot) ===== */
.capability-row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}
.capability-row.reverse { flex-direction: row-reverse; }
.capability-copy { flex: 0 0 340px; }
.capability-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rf);
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 1rem;
}
.capability-copy h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: var(--ink);
}
.capability-copy p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.capability-visual { flex: 1 1 auto; min-width: 0; }

/* ===== Live demo console (tabs on the left drive the frame on the right) ===== */
.demo-layout {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}
.demo-tabs { flex: 0 0 340px; display: flex; flex-direction: column; gap: .5rem; }
.demo-tab {
    text-align: left;
    padding: 1rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--rf);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
}
.demo-tab:hover { background: var(--field); }
.demo-tab[aria-selected="true"] { background: var(--sheet); border-color: var(--line); box-shadow: var(--shadow-card); }
.demo-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.demo-tab-title { display: block; font-size: 1.1rem; font-weight: 700; }
.demo-tab-desc { display: none; margin-top: .45rem; color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.demo-tab[aria-selected="true"] .demo-tab-desc { display: block; }
.demo-stage { flex: 1 1 auto; min-width: 0; }
.demo-frame { display: block; width: 100%; height: 640px; border: 0; background: var(--sheet); }
.demo-frame-hint { margin-left: 8px; font-size: .8rem; color: var(--text-muted); flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-frame-open { font-size: .8rem; white-space: nowrap; color: var(--brand); text-decoration: none; }
.demo-frame-open:hover { text-decoration: underline; }

/* ===== Feature tiles (why us) — floating grid ===== */
.feature-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 992px) and (min-width: 769px) {
    .feature-tiles { grid-template-columns: repeat(2, 1fr); }
}
.feature-tile {
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
}
.feature-tile-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rf);
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 1.75rem;
}
.feature-tile-icon svg { width: 22px; height: 22px; }
.feature-tile h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: var(--ink);
}
.feature-tile p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.75rem;
}
.feature-tile-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
}
.feature-tile-chips li {
    font-family: var(--font-mono);
    font-size: .74rem;
    color: var(--text-muted);
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: .32em .7em;
}

/* ===== Comparison (business case) ===== */
.compare-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.compare-stat {
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rf);
    padding: 1.25rem 1.4rem;
    text-align: center;
}
.compare-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--brand);
    margin-bottom: .3rem;
}
.compare-stat-label {
    display: block;
    font-size: .85rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
}
.compare-table {
    width: 100%;
    min-width: 1080px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--sheet);
}
.compare-table th,
.compare-table td {
    padding: .85rem 1.25rem;
    text-align: left;
    font-size: .9rem;
    line-height: 1.5;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.compare-table thead th {
    background: var(--surface-alt);
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}
.compare-table thead th:first-child,
.compare-table tbody th[scope="row"],
.compare-group th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--sheet);
    box-shadow: 4px 0 6px -4px rgba(16, 24, 40, 0.12);
}
.compare-table thead th:first-child,
.compare-group th {
    background: var(--surface-alt);
    z-index: 3;
}
.compare-vendor {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}
.compare-vendor-tag {
    display: block;
    margin-top: .2rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}
.compare-table thead .compare-col-versola .compare-vendor,
.compare-table thead .compare-col-versola .compare-vendor-tag {
    color: var(--brand);
}
.compare-group th {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-top: .6rem;
    padding-bottom: .6rem;
    white-space: nowrap;
}
.compare-group td {
    background: var(--surface-alt);
    padding-top: .6rem;
    padding-bottom: .6rem;
}
.compare-table tbody th[scope="row"] {
    font-weight: 600;
    color: var(--ink);
    width: 19%;
}
@media (max-width: 991.98px) {
    .compare-table thead th:first-child,
    .compare-table tbody th[scope="row"],
    .compare-group th {
        min-width: 150px;
        max-width: 150px;
        white-space: normal;
    }
}
.compare-table tbody td {
    color: var(--text-muted);
    width: 20.25%;
}
.compare-table tbody:last-child tr:last-child th,
.compare-table tbody:last-child tr:last-child td {
    border-bottom: none;
}
.compare-table .compare-col-versola {
    background: var(--brand-soft);
    color: var(--ink);
    font-weight: 500;
}
.compare-table td.cell-critical {
    background: color-mix(in srgb, var(--danger) 8%, transparent);
    color: var(--danger-ink);
}
.compare-table td.cell-warning {
    background: color-mix(in srgb, var(--warn) 9%, transparent);
    color: var(--warn-ink);
}
.compare-scroll-hint {
    display: none;
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
    margin: 0 0 .6rem;
}
.compare-table-shell {
    position: relative;
}
.compare-table-shell::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    border-radius: 0 var(--rs) var(--rs) 0;
    background: linear-gradient(to right, transparent, var(--sheet));
    pointer-events: none;
    display: none;
}
.compare-notes {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin: 1rem 0 0;
    font-size: .78rem;
    color: var(--text-muted);
}

/* ===== Pricing tiers ===== */
.pricing-country {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.pricing-country label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-muted);
}
.pricing-country-select {
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-alt);
    border: 1px dashed var(--line);
    border-radius: var(--rf);
    padding: .35rem .75rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.pricing-country-select:disabled {
    cursor: not-allowed;
}
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
.pricing-tier {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    padding: 1.75rem 1.5rem;
}
.pricing-tier::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--tier-color);
}
.pricing-tier-community { --tier-color: var(--text-muted); }
.pricing-tier-starter { --tier-color: color-mix(in oklab, var(--brand) 60%, #ffffff); }
.pricing-tier-growth { --tier-color: var(--brand); }
.pricing-tier-enterprise { --tier-color: var(--ink); }
.pricing-tier-band {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .7rem;
    color: var(--text-muted);
    margin: 0 0 .5rem;
}
.pricing-tier h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}
.pricing-tier-price {
    font-size: .95rem;
    font-weight: 600;
    color: var(--tier-color, var(--brand));
    margin: 0 0 .75rem;
}
.pricing-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.pricing-tier-desc {
    flex: 1;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}
.pricing-note {
    text-align: center;
    font-size: .85rem;
    color: var(--text-muted);
    margin: 1.75rem 0 0;
}

/* ===== Docs cards (landing section) ===== */
.card-doc {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rf);
    padding: 1.6rem;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-doc:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.card-doc h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink) !important;
    margin-bottom: .6rem;
    line-height: 1.4;
}
.card-doc p {
    font-size: .88rem;
    color: var(--text-muted) !important;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.1rem;
}
.card-doc-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand) !important;
}

/* ===== Blog list (landing section) ===== */
.blog-list {
    border-top: 1px solid var(--line);
}
.blog-row {
    display: flex;
    align-items: baseline;
    gap: 1.75rem;
    padding: 1.4rem .25rem;
    margin: 0 -.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: var(--rf);
    text-decoration: none !important;
    color: inherit !important;
    transition: background .15s;
}
.blog-row:hover {
    background: var(--field);
}
.blog-row-date {
    flex: none;
    width: 130px;
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.blog-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.blog-row-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink) !important;
    line-height: 1.4;
}
.blog-row-desc {
    font-size: .88rem;
    color: var(--text-muted) !important;
    line-height: 1.6;
}
.blog-row-link {
    flex: none;
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand) !important;
}
@media (max-width: 640px) {
    .blog-row { flex-wrap: wrap; }
    .blog-row-date { width: auto; }
    .blog-row-link { width: 100%; }
}

/* ===== Honeypot (hidden from humans) ===== */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ===== Team ===== */
.team-profiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 480px;
    margin: 0 auto;
}
.team-profile {
    display: flex;
    flex-direction: column;
}
.team-profile-head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
}
.team-profile-avatar {
    flex: none;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
}
.team-profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .15rem;
}
.team-profile-role {
    font-family: var(--font-mono);
    font-size: .74rem;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
}
.team-profile-bio {
    font-size: .95rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--brand-soft);
}
.team-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.team-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink) !important;
    text-decoration: none !important;
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: var(--rf);
    padding: .55rem 1rem;
    transition: border-color .15s, background .15s, color .15s;
}
.team-link svg {
    width: 16px; height: 16px;
    flex: none;
    color: var(--brand);
}
.team-link:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand) !important;
}

/* ===== Contact form ===== */
.contact-card {
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
}
.contact-form .form-label {
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
}
.contact-form .form-control {
    background: var(--field);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: var(--rf);
    padding: .8rem 1rem;
    font-size: .95rem;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.contact-form .form-control:focus {
    background: var(--sheet);
    border-color: var(--brand);
    color: var(--ink);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.contact-form .form-control::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, transparent); }
.form-message { padding: 2rem 0; }
.form-message-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-message h3 { font-weight: 700; margin-bottom: .5rem; }

/* ===== Footer ===== */
.footer-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
    .compare-scroll-hint { display: block; }
    .compare-table-shell::after { display: block; }
}
@media (max-width: 991.98px) {
    .hero-section { padding-top: 84px; }
    .hero-section .display-3 { font-size: 2.1rem; }
    .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .capability-row, .capability-row.reverse {
        flex-direction: column;
        gap: 1.75rem;
    }
    .capability-copy { flex: none; }
    .demo-layout { flex-direction: column; gap: 1.5rem; }
    .demo-tabs { flex: none; width: 100%; }
    .demo-stage { width: 100%; }
    .demo-frame { height: 560px; }
    .pricing-tiers { grid-template-columns: 1fr 1fr; }
    .feature-tiles { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-tile { padding: 2rem; }
    .compare-stats { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 575.98px) {
    .hero-section .display-3 { font-size: 1.7rem; }
    .contact-card { padding: 1.75rem; }
    .team-profile:not(:first-child) { padding-top: 2rem; }
    .pricing-tiers { grid-template-columns: 1fr; }
}

/* ===== Language switcher ===== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    line-height: 1;
}
.lang-switch-btn {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.1rem 0.25rem;
    border-radius: 4px;
    transition: color 0.15s;
}
.lang-switch-btn:hover { color: var(--brand); }
.lang-switch-btn.active { color: var(--brand); }
.lang-switch-sep {
    color: var(--line-strong);
    font-size: 0.8rem;
    user-select: none;
}

/* ===== Design system page (/design) ===== */
.ds { padding-top: 104px; background: var(--surface); }
.ds-intro { max-width: 760px; padding-bottom: var(--s-6); }
.ds-toc { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.ds-toc a {
    padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--text-muted);
    background: var(--sheet); border: 1px solid var(--line); border-radius: var(--pill); text-decoration: none;
}
.ds-toc a:hover { color: var(--brand); border-color: var(--line-strong); }
.ds-section { padding: var(--s-7) 0; border-top: 1px solid var(--line); }
.ds-section h2 { font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.ds-h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin: var(--s-6) 0 var(--s-3); }
.ds-grid { display: grid; gap: var(--s-4); }
.ds-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ds-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ds-tile { margin: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.ds-tile figcaption { font-size: .85rem; color: var(--text-muted); }
.ds-demo {
    display: flex; align-items: center; justify-content: center; min-height: 140px;
    background: var(--sheet); border: 1px solid var(--line); border-radius: var(--rs); margin-bottom: var(--s-2);
}
.ds-demo-dark { background: color-mix(in oklab, var(--brand) 10%, #060707); color: #fff; }
.ds-wordmark { height: 32px; color: inherit; }
.ds-swatch { display: flex; gap: var(--s-3); align-items: flex-start; }
.ds-chip { flex: 0 0 44px; height: 44px; border-radius: var(--rf); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.ds-swatch code, .ds-tile code, .ds-space code { font-size: .8rem; color: var(--ink); background: none; padding: 0; }
.ds-swatch > div { display: flex; flex-direction: column; }
.ds-value { font: .75rem var(--font-mono); color: var(--text-muted); }
.ds-use { font-size: .85rem; color: var(--text-muted); }
.ds-type > * { margin-bottom: var(--s-3); }
.ds-radius { height: 72px; background: var(--brand-soft); border: 2px solid var(--brand); margin-bottom: var(--s-2); }
.ds-elev { height: 88px; background: var(--sheet); border-radius: var(--rs); margin-bottom: var(--s-3); }
.ds-space { display: flex; flex-direction: column; gap: var(--s-2); }
.ds-space-row { display: flex; align-items: center; gap: var(--s-3); }
.ds-space-row code { flex: 0 0 56px; }
.ds-space-bar { height: 12px; background: var(--brand); border-radius: 3px; }
.ds-row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.ds-row-top { align-items: flex-start; }
.ds-fields { width: 300px; }
.ds code { color: var(--brand); background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; }
.ds .ds-swatch code, .ds .ds-tile code, .ds .ds-space code { color: var(--ink); background: none; padding: 0; }
.ds-field { padding: 11px 14px; font-size: .85rem; color: var(--text-muted); background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--rf); margin-bottom: 10px; }
.ds-field.is-focus { background: var(--sheet); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); color: var(--ink); }
.ds-btn { padding: 11px; text-align: center; font-size: .88rem; font-weight: 600; color: var(--on-btn); background: var(--btn); border-radius: var(--rb); }
