/*
 * RAVL 2026 — /safety, and only /safety. PR26-748, sections PR26-793 to 799.
 *
 * Loaded after `ravl-2026.css` through the route's `pageStylesheet`. The band shell, the
 * editorial split and the list (both moved into the foundations by this page, PR26-748) and the
 * closing band are all there. Only this page's own arrangement is here.
 */

/* ============================================================ 01 HERO — PR26-793
   White ground, centred. */

.sf-hero { padding-top: calc(var(--nav-h) + 88px); }
.sf-hero__h { max-width: 14em; margin-inline: auto; }
.sf-hero__lede { margin-top: 32px; }

.sf-hero__art { margin-top: 48px; }
.sf-hero__art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1080;
    border-radius: var(--r-control);
}

/* ============================================================ 02 FOUR SAFETY PILLARS — PR26-794
   2×2 grid of pillar cards. Each card contains its icon, supporting label, headline and body.
   Single column on mobile. */

.sf-layers__h { max-width: 13em; }

/* Intro paragraph between the section heading and the pillar cards. Left-aligned. */
.sf-pillars__lede { margin-top: 20px; }

.sf-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.sf-pillar__inner {
    display: block;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--r-control);
    background: var(--page);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color 0.15s ease;
}

.sf-pillar__inner:hover {
    border-color: var(--ink);
}

.sf-pillar__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sf-pillar__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.sf-pillar__body {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-muted, var(--ink));
    opacity: 0.75;
}

/* ============================================================ 03 MEMBERSHIP APPROVAL — three-step cards
   Uses the existing rv-card system. The sf-steps wrapper constrains width and spacing within the
   split body so the cards sit alongside the prose rather than filling the band. */

.sf-steps {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Transparency / disclaimer note beneath the approval steps. Smaller text, muted. */
.sf-note {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-muted, var(--ink));
    opacity: 0.75;
}

/* ============================================================ 04 RAMM / 05 BLOCKING — supporting info boxes
   A bordered container for structured supplementary information within a split body. Styled to
   match the version line's existing treatment: same border, radius and page background. */

.sf-support-box {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-control);
    background: var(--page);
}

.sf-support-box__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

/* The version line inside a support box needs no extra top margin; the box provides it. */
.sf-support-box .sf-version {
    margin-top: 20px;
    border: none;
    padding: 12px 16px;
    background: var(--tint-bg, var(--page));
}

/* ============================================================ 06 TRANSPARENCY — four statement boxes
   Each list item is a transparency statement. The strong lead gives each one a headline feel
   within the existing rv-list structure. */

.sf-transparency li {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.sf-transparency li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* ============================================================ RAMM version line
   Says RAVL 2.0. Not a warning banner — it is a fact about which build does this, set as one
   quiet paragraph with a tag, so it reads as information rather than an apology. DELETE WITH
   THE PARAGRAPH when 2.0 is in the App Store. */

.sf-version {
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-control);
    background: var(--page);
    color: var(--ink);
}

.sf-version__tag {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 10px;
    border-radius: var(--r-pill);
    background: var(--tint-1);
    color: var(--on-tint-1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    vertical-align: 2px;
}

/* ============================================================ 05 CONTACT
   The address is a compliance surface (guideline 1.2). Ink and underlined on white rather than the
   link colour: it is the one link on the page a person in difficulty is looking for. */

.sf-mail {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

/* ============================================================================================
   BREAKPOINTS — the same steps as `ravl-2026.css`, which owns the shared half.
   ============================================================================================ */

@media (max-width: 1099px) {
    .sf-pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .sf-hero { padding-top: calc(var(--nav-h) + 48px); }
    .sf-hero__lede { margin-top: 24px; }
    .sf-pillars { grid-template-columns: 1fr; margin-top: 36px; }
    .sf-pillar__inner { padding: 24px; }
    .sf-version__tag { display: table; margin: 0 0 8px; }
    .sf-support-box { padding: 16px; }
    .sf-note { font-size: 13px; }
}
