/* Answer pages: /guides/* and /compare/*. Added 14 Oct 2026.
   Each page answers one question people ask before they know our name, in plain
   visible text (ChatGPT's reader strips <script>, so the answer must be in the HTML).
   The prose rules are the ones blog/studioram-joins-nvidia-inception.html keeps
   inline; they live here because there are now several long-form pages. Everything
   is scoped to .post so it cannot leak into the rest of the site. */

.post {
    padding: calc(var(--nav-height) + 56px) 0 40px;
}

.post-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.post h1 {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.post-meta {
    font-size: 13px;
    color: #8b8b9e;
    padding-bottom: 26px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.post h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin: 44px 0 14px;
}

.post h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 26px 0 8px;
}

.post p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* :not(.btn): `.post a` outranks `.btn-primary` and would paint the CTA label
   cyan on a cyan button (see the blog page for the history). */
.post a:not(.btn) {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 206, 209, 0.3);
}

.post a:not(.btn):hover {
    border-bottom-color: var(--cyan);
}

.post ul,
.post ol {
    margin: 0 0 20px 0;
    padding-left: 22px;
}

.post li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.post strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* The short answer: the two or three sentences an assistant is meant to repeat. */
.answer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    margin: 0 0 34px;
}

.post .answer-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.post .answer p:last-child {
    margin-bottom: 0;
}

.post .answer p {
    font-size: 17px;
    color: var(--text-secondary);
}

.answer-video {
    margin: 30px 0 34px;
}

.answer-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.answer-video figcaption {
    font-size: 13px;
    line-height: 1.55;
    color: #8b8b9e;
    margin-top: 10px;
}

/* Comparison and price tables. Below 640px each row becomes a small card and
   each cell shows its column name from data-label, so nothing scrolls sideways. */
.answer-table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 30px;
}

.answer-table th,
.answer-table td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
}

.answer-table thead th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--text-primary);
}

.answer-table tbody th {
    font-weight: 600;
    color: var(--text-secondary);
    width: 24%;
}

@media (max-width: 640px) {
    .answer-table thead {
        display: none;
    }

    .answer-table,
    .answer-table tbody,
    .answer-table tr,
    .answer-table th,
    .answer-table td {
        display: block;
        width: 100%;
    }

    .answer-table tbody th {
        width: 100%;
    }

    .answer-table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .answer-table th,
    .answer-table td {
        border-bottom: none;
        padding: 4px 0;
    }

    .answer-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--cyan);
        margin-bottom: 2px;
    }
}

/* Read out by screen readers, not shown (the comparison table's corner cell). */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.post .answer-note {
    font-size: 14px;
    color: #8b8b9e;
}

.answer-sources li {
    font-size: 13px;
    line-height: 1.6;
    color: #8b8b9e;
    margin-bottom: 6px;
}

.answer-related ul {
    list-style: none;
    padding-left: 0;
}

.post-cta {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
