/* ============================================================================
   text-page.css - the reading column under the BRITE-202 title band on the
   text pages: About Us, Privacy, Cookie Policy and Terms & Conditions.
   ----------------------------------------------------------------------------
   Scoped under .br-text (an <article> inside <main class="br-page v3">).
   Values are the homepage v3 design system's (site-v3.css tokens, from Drew's
   22/10/2026 mockup): Manrope, 17px/1.6 body in --v3-ink-3, headings in the
   brand green at 800, 760px measure.

   BRITE-202 is a restyle only. The pages' wording, order and tags are
   unchanged; the live pages use <h3> for section headings and <p><strong>
   for sub-headings, as before.

   Every property style.min.css sets on these bare tags (h3, h4, p, ul, li,
   strong, code, a) is set explicitly below, so none of the theme's values
   leak through (BRITE-129).
   ========================================================================== */

.br-text {
    box-sizing: content-box;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) var(--v3-gutter, 24px) 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: var(--v3-font);
    font-size: var(--v3-body);
    line-height: 1.6;
    color: var(--v3-ink-3);
}

.br-text > * {
    margin: 0;
}

.br-text p {
    font-size: var(--v3-body);
    line-height: 1.6;
    color: var(--v3-ink-3);
    text-wrap: pretty;
}

.br-text strong {
    font-weight: 700;
    color: var(--v3-ink);
}

/* Section headings. */
.br-text h2,
.br-text h3 {
    margin: 22px 0 0;
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--v3-green);
}

/* Sub-headings written as <p><strong>. */
.br-text .br-text-sub {
    margin: 8px 0 -10px;
    font-size: var(--v3-body);
    line-height: 1.4;
}

.br-text .br-text-sub strong {
    font-weight: 800;
    color: var(--v3-green);
}

/* Small uppercase line above the body (Privacy's "Your privacy is important to us"). */
.br-text .br-text-kicker {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: var(--v3-fine);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--v3-muted);
}

/* "Last updated ..." line. */
.br-text .br-text-meta {
    margin: 0 0 6px;
    font-size: var(--v3-small);
    color: var(--v3-muted);
}

.br-text ul {
    margin: 0;
    padding: 0 0 0 22px;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.br-text li {
    margin: 0;
    font-size: var(--v3-body);
    line-height: 1.6;
    color: var(--v3-ink-3);
}

.br-text code {
    font-family: ui-monospace, Menlo, monospace;
    font-size: .9em;
    color: var(--v3-green);
}

.br-text a {
    color: var(--v3-green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.br-text a:hover,
.br-text a:focus-visible {
    color: var(--v3-green-deep);
}

/* ── About Us: the reading column with the right-hand card ──────────────────────
   Andre, 23/10/2026 (BRITE-202): the card from Drew's mockup beside the body text.
   From 992px the text and the card are two columns inside the 1120px v3
   container (the text keeps a 760px measure at most); below 992px the card
   stacks under the text in the same 760px column. The column's own padding moves
   from .br-text to .br-about here so both children share one edge. */

.br-about {
    box-sizing: border-box;
    max-width: calc(760px + 2 * var(--v3-gutter, 24px));
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) var(--v3-gutter, 24px) 96px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.br-about > .br-text {
    max-width: 760px;
    margin: 0;
    padding: 0;
}

.br-about-card {
    box-sizing: border-box;
    background: var(--v3-green);
    border-radius: var(--v3-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.br-about-card .br-about-card-title {
    margin: 0;
    font-family: var(--v3-font);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--v3-white);
}

.br-about-card .br-about-card-line {
    display: block;
}

.br-about-card .br-about-card-line--mint {
    color: var(--v3-mint);
}

/* .br-text a styles prose links; this one is a button and sits outside .br-text, but page-reset.css
   still makes every link in .br-page display:inline, which v3-btn already restates. */
.br-about-card .br-about-card-btn {
    font-size: var(--v3-body-sm);
}

@media (min-width: 992px) {
    .br-about {
        max-width: calc(var(--v3-container, 1120px) + 2 * var(--v3-gutter, 24px));
        display: grid;
        grid-template-columns: minmax(0, 760px) minmax(0, 340px);
        justify-content: space-between;
        align-items: start;
        gap: 56px;
    }
}

@media (max-width: 767.98px) {
    .br-about-card {
        padding: 28px 22px;
    }

    .br-about-card .br-about-card-title {
        font-size: 24px;
    }
}
