/* ir-site.css — additions for web-ir.mlab.sh
   Inherits all design tokens from mlab-custom.css + mlab-editorial.css.
   Defines ONLY what doesn't exist in the parent design system:
   – docs layout (sidebar + body)
   – docs code block + callouts (editorial-styled)
   – docs intro card grid (uses --mlab-edit-hairline)
*/

/* ═══════════════════════════════════════════════════
   DOCS LAYOUT — sidebar + content
═══════════════════════════════════════════════════ */

.docs-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 3rem;
    max-width: 1180px;
    margin: 2rem auto 5rem;
    padding: 0 1.5rem;
}
@media (max-width: 991px) {
    .docs-layout { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1rem; }
}

.docs-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 0.5rem;
    font-size: 0.85rem;
}
@media (max-width: 991px) {
    .docs-sidebar { position: relative; top: auto; max-height: none; padding-right: 0; }
}

.docs-sidebar-title {
    font-family: var(--mlab-edit-mono);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.7;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--mlab-edit-hairline);
}

.docs-sidebar-section { margin-bottom: 1.5rem; }
.docs-sidebar-eyebrow {
    font-family: var(--mlab-edit-mono);
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.45;
    margin-bottom: 0.55rem;
    padding: 0 0.55rem;
}

.docs-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-size: 0.835rem;
    line-height: 1.4;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.docs-sidebar-link i { width: 13px; height: 13px; opacity: 0.55; flex-shrink: 0; }
.docs-sidebar-link:hover {
    background: var(--ins-secondary-bg, #f8fafc);
    color: var(--ins-primary);
}
html[data-bs-theme=dark] .docs-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
}
.docs-sidebar-link.active {
    background: rgba(var(--ins-primary-rgb), 0.08);
    color: var(--ins-primary);
    font-weight: 600;
}
.docs-sidebar-link.active i { opacity: 1; }

/* ═══════════════════════════════════════════════════
   DOCS CONTENT
═══════════════════════════════════════════════════ */

.docs-content { min-width: 0; }

.docs-content h1 {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.docs-content .docs-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ins-topbar-item-color);
    opacity: 0.65;
    margin-bottom: 2.5rem;
}
.docs-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 2.5rem 0 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mlab-edit-hairline);
}
.docs-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
.docs-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}
.docs-content p,
.docs-content li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ins-topbar-item-color);
    opacity: 0.85;
}
.docs-content ul,
.docs-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.docs-content li { margin-bottom: 0.3rem; }
.docs-content a { color: var(--ins-primary); text-decoration: none; }
.docs-content a:hover { text-decoration: underline; }

.docs-content code {
    font-family: var(--mlab-edit-mono);
    background: var(--ins-secondary-bg);
    border: 1px solid var(--mlab-edit-hairline);
    padding: 0.08em 0.42em;
    border-radius: 6px;
    font-size: 0.84em;
}
html[data-bs-theme=dark] .docs-content code {
    background: rgba(255, 255, 255, 0.04);
}

/* ═══ Code block (dark, fancy) ═══ */
.docs-codeblock {
    background: #0a0e1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.25rem 0 1.5rem;
}
.docs-codeblock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--mlab-edit-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}
.docs-codeblock-header > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.docs-codeblock-actions { display: flex; gap: 0.4rem; }
.docs-codeblock-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--mlab-edit-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.docs-codeblock-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.docs-codeblock pre {
    margin: 0;
    padding: 1.1rem 1.2rem;
    color: #d1d5db;
    font-family: var(--mlab-edit-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    overflow-x: auto;
}
.hl-comment { color: #6b7280; font-style: italic; }
.hl-cmd { color: #93c5fd; }
.hl-flag { color: #fbbf24; }
.hl-str { color: #86efac; }
.hl-key { color: #c4b5fd; }
.hl-var { color: #f9a8d4; }
.hl-num { color: #fdba74; }
.hl-section { color: #67e8f9; font-weight: 600; }

/* ═══ Callouts ═══ */
.docs-callout {
    border: 1px solid var(--mlab-edit-hairline);
    background: var(--ins-secondary-bg);
    border-left: 2px solid var(--ins-primary);
    border-radius: 10px;
    padding: 0.9rem 1.05rem;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    line-height: 1.65;
}
.docs-callout strong { font-weight: 600; }
.docs-callout.warning {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.04);
    border-left-color: #f59e0b;
}
.docs-callout.danger {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.04);
    border-left-color: #ef4444;
}
.docs-callout.success {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.04);
    border-left-color: #22c55e;
}
html[data-bs-theme=dark] .docs-callout {
    background: rgba(255, 255, 255, 0.02);
}

/* ═══ Docs intro grid (link cards) ═══ */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0 1.75rem;
}
.docs-card {
    border: 1px solid var(--mlab-edit-hairline);
    background: var(--ins-body-bg);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.docs-card:hover {
    border-color: var(--mlab-edit-hairline-strong, rgba(15, 23, 42, 0.16));
    transform: translateY(-1px);
    color: inherit;
}
html[data-bs-theme=dark] .docs-card {
    background: rgba(255, 255, 255, 0.02);
}
.docs-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0.55rem 0 0.3rem;
    letter-spacing: -0.01em;
}
.docs-card p {
    font-size: 0.78rem;
    color: var(--ins-topbar-item-color);
    opacity: 0.6;
    margin: 0;
    line-height: 1.55;
}
.docs-card .docs-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--ins-primary-rgb), 0.08);
    color: var(--ins-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.docs-card .docs-card-icon i { width: 15px; height: 15px; }

/* ═══ Tables in docs ═══ */
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--mlab-edit-hairline);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.25rem 0 1.5rem;
    font-size: 0.85rem;
}
.docs-content table th,
.docs-content table td {
    text-align: left;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--mlab-edit-hairline);
    vertical-align: top;
}
.docs-content table th {
    font-family: var(--mlab-edit-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    background: var(--ins-secondary-bg);
    border-bottom-width: 1px;
}
html[data-bs-theme=dark] .docs-content table th {
    background: rgba(255, 255, 255, 0.03);
}
.docs-content table tr:last-child td { border-bottom: 0; }

/* ═══════════════════════════════════════════════════
   ANNOUNCEMENTS — empty state polish
═══════════════════════════════════════════════════ */
.ann-empty-clean {
    text-align: center;
    padding: 4rem 1rem;
    border: 1px dashed var(--mlab-edit-hairline);
    border-radius: 14px;
    background: var(--ins-secondary-bg);
}
html[data-bs-theme=dark] .ann-empty-clean {
    background: rgba(255, 255, 255, 0.02);
}

/* ═══════════════════════════════════════════════════
   HOME — animated terminal, dashboard mockup, FAQ
═══════════════════════════════════════════════════ */

/* Hero split layout — copy on left, terminal on right */
.home-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
    margin: 1.5rem 0 1rem;
}
@media (max-width: 991px) {
    .home-hero-split { grid-template-columns: 1fr; gap: 1.75rem; }
}
.home-hero-copy h1 { text-align: left !important; }
.home-hero-copy .lead { text-align: left !important; max-width: none; }

/* Live "alerts processed today" counter */
.home-live-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mlab-edit-mono);
    font-size: 0.75rem;
    color: var(--ins-topbar-item-color);
    opacity: 0.7;
    margin-top: 1rem;
}
.home-live-counter strong {
    color: var(--ins-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Terminal */
.home-terminal {
    background: #0a0e1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(var(--mlab-shadow-tint-rgb), 0.18),
                0 10px 30px rgba(17, 24, 39, 0.08);
    position: relative;
}
html[data-bs-theme=dark] .home-terminal {
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55),
                0 8px 24px rgba(0, 0, 0, 0.4);
}
.home-terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.home-terminal-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}
.home-terminal-dot.red    { background: #ef4444; }
.home-terminal-dot.yellow { background: #f59e0b; }
.home-terminal-dot.green  { background: #22c55e; }
.home-terminal-title {
    margin-left: auto;
    font-family: var(--mlab-edit-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}
.home-terminal-body {
    padding: 1.1rem 1.2rem 1.4rem;
    font-family: var(--mlab-edit-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #d1d5db;
    /* Fixed height matches the fully-typed payload + response so the page
       doesn't shift as characters stream in. */
    height: 500px;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
}
@media (max-width: 575px) {
    /* Narrower viewport wraps the JSON onto more lines — give it room. */
    .home-terminal-body { height: 580px; }
}
.home-terminal-cursor {
    display: inline-block;
    width: 7px;
    height: 1em;
    vertical-align: -2px;
    background: #d1d5db;
    margin-left: 2px;
    animation: home-cursor-blink 1s steps(2) infinite;
}
@keyframes home-cursor-blink {
    50% { opacity: 0; }
}
.home-term-prompt { color: #67e8f9; }
.home-term-flag   { color: #fbbf24; }
.home-term-str    { color: #86efac; }
.home-term-key    { color: #c4b5fd; }
.home-term-num    { color: #fdba74; }
.home-term-comment{ color: #6b7280; font-style: italic; }
.home-term-resp   { color: #22c55e; font-weight: 600; }

/* Integration / logo strip */
.home-logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--mlab-edit-hairline);
    border-bottom: 1px solid var(--mlab-edit-hairline);
    margin: 0 auto;
    max-width: 1000px;
}
.home-logo-strip-item {
    font-family: var(--mlab-edit-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.home-logo-strip-item:hover { opacity: 0.85; }
.home-logo-strip-item i {
    width: 16px; height: 16px;
    opacity: 0.75;
}

/* Dashboard mockup */
.home-mockup {
    border: 1px solid var(--mlab-edit-hairline);
    border-radius: 16px;
    background: var(--ins-body-bg);
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(var(--mlab-shadow-tint-rgb), 0.12),
                0 8px 24px rgba(17, 24, 39, 0.05);
    position: relative;
}
html[data-bs-theme=dark] .home-mockup {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
}
.home-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    background: var(--ins-secondary-bg);
    border-bottom: 1px solid var(--mlab-edit-hairline);
    font-family: var(--mlab-edit-mono);
    font-size: 0.72rem;
    opacity: 0.7;
}
html[data-bs-theme=dark] .home-mockup-bar { background: rgba(255, 255, 255, 0.025); }
.home-mockup-body {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 380px;
}
@media (max-width: 767px) {
    .home-mockup-body { grid-template-columns: 1fr; }
    .home-mockup-side { display: none; }
}
.home-mockup-side {
    border-right: 1px solid var(--mlab-edit-hairline);
    padding: 1rem 0.85rem;
    background: var(--ins-secondary-bg);
}
html[data-bs-theme=dark] .home-mockup-side { background: rgba(255, 255, 255, 0.015); }
.home-mockup-side-eyebrow {
    font-family: var(--mlab-edit-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.4;
    margin-bottom: 0.55rem;
    padding: 0 0.4rem;
}
.home-mockup-side-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.5rem;
    border-radius: 7px;
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
}
.home-mockup-side-item i { width: 13px; height: 13px; opacity: 0.55; }
.home-mockup-side-item.active {
    background: rgba(var(--ins-primary-rgb), 0.1);
    color: var(--ins-primary);
    font-weight: 600;
}
.home-mockup-side-count {
    margin-left: auto;
    font-family: var(--mlab-edit-mono);
    font-size: 0.65rem;
    opacity: 0.5;
}
.home-mockup-main { padding: 1rem 1.2rem; }
.home-mockup-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.home-mockup-h h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}
.home-mockup-pill {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-family: var(--mlab-edit-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.22rem 0.55rem;
    border-radius: 100px;
}
.home-mockup-alert {
    display: grid;
    grid-template-columns: 14px 1fr auto auto auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.6rem;
    border-top: 1px solid var(--mlab-edit-hairline);
    font-size: 0.82rem;
}
.home-mockup-alert:last-child { border-bottom: 1px solid var(--mlab-edit-hairline); }
.home-mockup-sev {
    width: 6px; height: 6px;
    border-radius: 50%;
}
.home-mockup-sev.high     { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.home-mockup-sev.medium   { background: #f59e0b; }
.home-mockup-sev.low      { background: #06b6d4; }
.home-mockup-alert .src {
    font-family: var(--mlab-edit-mono);
    font-size: 0.7rem;
    opacity: 0.5;
}
.home-mockup-alert .when {
    font-family: var(--mlab-edit-mono);
    font-size: 0.68rem;
    opacity: 0.45;
}
.home-mockup-alert.fresh {
    animation: home-mockup-fresh 2.5s ease-out 1;
}
@keyframes home-mockup-fresh {
    0%   { background: rgba(239, 68, 68, 0.08); }
    100% { background: transparent; }
}

/* MITRE coverage mini grid */
.home-mitre {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 3px;
    max-width: 540px;
    margin: 1.5rem auto;
}
.home-mitre-cell {
    aspect-ratio: 1;
    background: var(--mlab-edit-hairline);
    border-radius: 3px;
    transition: background-color 0.4s ease, transform 0.3s ease;
}
.home-mitre-cell.lit-1 { background: rgba(var(--ins-primary-rgb), 0.18); }
.home-mitre-cell.lit-2 { background: rgba(var(--ins-primary-rgb), 0.4); }
.home-mitre-cell.lit-3 { background: rgba(var(--ins-primary-rgb), 0.7); }
.home-mitre-cell.lit-4 { background: var(--ins-primary); }
.home-mitre-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--mlab-edit-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.55;
    margin-top: 0.85rem;
}
.home-mitre-legend-cell {
    width: 12px; height: 12px;
    border-radius: 3px;
}

/* Personas */
.home-persona {
    border: 1px solid var(--mlab-edit-hairline);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    background: var(--ins-body-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
}
html[data-bs-theme=dark] .home-persona { background: rgba(255, 255, 255, 0.02); }
.home-persona-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(var(--ins-primary-rgb), 0.08);
    color: var(--ins-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.home-persona-role {
    font-family: var(--mlab-edit-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.5;
    margin-bottom: 0.25rem;
}
.home-persona h4 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}
.home-persona .quote {
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 0.95rem;
    border-left: 2px solid rgba(var(--ins-primary-rgb), 0.3);
    padding-left: 0.85rem;
}
.home-persona .delivers {
    font-size: 0.82rem;
    line-height: 1.65;
    opacity: 0.85;
    margin: 0;
}

/* Comparison */
.home-compare {
    border: 1px solid var(--mlab-edit-hairline);
    border-radius: 14px;
    overflow: hidden;
}
.home-compare table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.home-compare th,
.home-compare td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--mlab-edit-hairline);
}
.home-compare th:first-child,
.home-compare td:first-child {
    text-align: left;
    font-weight: 500;
}
.home-compare thead th {
    background: var(--ins-secondary-bg);
    font-family: var(--mlab-edit-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    font-weight: 500;
}
html[data-bs-theme=dark] .home-compare thead th { background: rgba(255, 255, 255, 0.03); }
.home-compare .us {
    background: rgba(var(--ins-primary-rgb), 0.04);
    font-weight: 600;
}
.home-compare tbody tr:last-child td { border-bottom: 0; }
.home-compare i { width: 15px; height: 15px; }
.home-compare .y { color: #22c55e; }
.home-compare .n { color: rgba(239, 68, 68, 0.6); }
.home-compare .m { color: rgba(15, 23, 42, 0.3); }
html[data-bs-theme=dark] .home-compare .m { color: rgba(255, 255, 255, 0.25); }

/* Stats with animated counter */
.home-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    border: 1px solid var(--mlab-edit-hairline);
    border-radius: 14px;
    overflow: hidden;
}
.home-stat {
    text-align: center;
    padding: 1.75rem 1rem;
    border-right: 1px solid var(--mlab-edit-hairline);
}
.home-stat:last-child { border-right: 0; }
@media (max-width: 575px) {
    .home-stat { border-right: 0; border-bottom: 1px solid var(--mlab-edit-hairline); }
    .home-stat:last-child { border-bottom: 0; }
}
.home-stat-num {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--ins-primary);
    margin-bottom: 0.4rem;
}
.home-stat-label {
    font-family: var(--mlab-edit-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

/* FAQ accordion */
.home-faq-item {
    border-top: 1px solid var(--mlab-edit-hairline);
}
.home-faq-item:last-child { border-bottom: 1px solid var(--mlab-edit-hairline); }
.home-faq-q {
    width: 100%;
    background: none;
    border: 0;
    padding: 1.1rem 0.25rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: inherit;
}
.home-faq-q i {
    width: 18px; height: 18px;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
    opacity: 0.5;
    flex-shrink: 0;
}
.home-faq-item.is-open .home-faq-q i {
    transform: rotate(180deg);
    opacity: 0.85;
}
.home-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.home-faq-item.is-open .home-faq-a {
    max-height: 280px;
}
.home-faq-a > div {
    padding: 0 0.25rem 1.2rem;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.75;
}

/* Quote / testimonial */
.home-quote {
    border-left: 3px solid var(--ins-primary);
    padding: 0.65rem 0 0.65rem 1.5rem;
    margin: 0 auto;
    max-width: 760px;
}
.home-quote blockquote {
    margin: 0 0 1rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
}
.home-quote-by {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    opacity: 0.65;
}
.home-quote-by .who { font-weight: 600; opacity: 0.9; }
.home-quote-by .role { font-family: var(--mlab-edit-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; }

