/* Long-form guide pages (landing/guide_layout.html). Loaded only by that layout. */

.guide-article {
    max-width: 44rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.guide-header {
    padding-block: 3.5rem 2rem;
}

.guide-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-ink, var(--accent));
}

.guide-header h1 {
    margin-top: 0.5rem;
    font-size: clamp(2.25rem, 5.5vw, 3.25rem);
    line-height: 1.08;
    text-wrap: balance;
}

.guide-lead {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted-foreground);
    text-wrap: pretty;
}

.guide-byline {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.guide-byline strong {
    color: var(--foreground);
    font-weight: 600;
}

.guide-prose {
    padding-bottom: 2.5rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--foreground);
}

.guide-prose > * + * {
    margin-top: 1rem;
}

.guide-prose h2 {
    margin-top: 2.75rem;
    font-size: 1.625rem;
    line-height: 1.2;
    text-wrap: balance;
}

.guide-prose h3 {
    margin-top: 1.75rem;
    font-size: 1.1875rem;
    font-weight: 600;
}

.guide-prose p,
.guide-prose li {
    text-wrap: pretty;
}

.guide-prose ul,
.guide-prose ol {
    display: grid;
    gap: 0.5rem;
    padding-left: 1.375rem;
}

.guide-prose ul {
    list-style: disc;
}

.guide-prose ol {
    list-style: decimal;
}

.guide-prose strong {
    font-weight: 600;
}

.guide-prose a {
    color: var(--accent-ink, var(--accent));
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.guide-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.guide-table {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.guide-prose th,
.guide-prose td {
    padding: 0.625rem 0.875rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.guide-prose tr:last-child td {
    border-bottom: 0;
}

.guide-prose th {
    font-weight: 600;
    background: var(--accent-tint, #f8fafc);
}

.guide-prose code {
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 0.9em;
}

.guide-note {
    padding: 1rem 1.25rem;
    border: 1px solid var(--accent-tint-border, var(--border));
    border-radius: 1rem;
    background: var(--accent-tint, #f8fafc);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.guide-disclaimer {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.guide-disclaimer a {
    color: var(--accent-ink, var(--accent));
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
