/* ============================================================================
   site-v3.css - BRITE-201 public-site design system ("homepage v3").
   ----------------------------------------------------------------------------
   Source: Drew's Claude Design export "Homepage-html.zip" (22/10/2026). Every
   token below is a value read off that mockup's inline styles; nothing here is
   invented. BRITE-202 restyles the other public pages from the same tokens.

   Loaded site-wide from layout/front/layout.blade.php, after front-layout.css,
   so the shared HEADER and FOOTER (sections 2 and 3) are restyled on every page
   including the logged-in app screens, as BRITE-201 asks. Everything else is
   opt-in: the tokens are harmless on their own, and the components in section
   4 only apply under a .v3 wrapper or to an element carrying a .v3-* class.

   Fonts: Manrope, loaded the way the site already loads Barlow - a Google
   Fonts <link> in the layout head - not self-hosted.
   ========================================================================== */

/* ── 1. Tokens ────────────────────────────────────────────────────────────── */

:root {
    --v3-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Colour */
    --v3-green: #1A4137;        /* nav, hero, dark bands, headings, solid buttons */
    --v3-green-deep: #0F2A22;   /* link / solid-button hover */
    --v3-green-mid: #4F7A6B;    /* chip outline on the dark hero */
    --v3-green-rule: #3B6455;   /* divider on dark (footer) */
    --v3-mint: #8FE3B5;         /* accent on dark: eyebrows, Sign up pill, ticks, surplus figure */
    --v3-yellow: #F2C14E;       /* primary call-to-action (Drew's approved accent) */
    --v3-yellow-deep: #E3AF33;  /* its hover */
    --v3-ink: #16221E;          /* body text on light */
    --v3-ink-2: #2A3A34;        /* strong body text */
    --v3-ink-3: #3A4A44;        /* paragraph text */
    --v3-muted: #4A5A54;        /* small labels, muted lines */
    --v3-on-dark: #D6E8DF;      /* paragraph text on green */
    --v3-bg: #F4F7F3;           /* page ground */
    --v3-tint: #E4EEE8;         /* tinted band / closing panel */
    --v3-rule: #DDE6E0;         /* dividers inside white cards */
    --v3-rule-2: #E4ECE7;       /* demo table row rules */
    --v3-white: #FFFFFF;

    /* Shape */
    --v3-radius-sm: 14px;       /* question tiles, surplus row */
    --v3-radius: 20px;          /* feature cards */
    --v3-radius-lg: 24px;       /* hero card, demo table, adviser card */
    --v3-radius-xl: 28px;       /* big-idea band, plan card */
    --v3-radius-cta: 32px;      /* closing call-to-action panel */
    --v3-pill: 999px;

    /* Layout */
    --v3-container: 1120px;
    --v3-gutter: 24px;
    --v3-section: 88px;         /* vertical rhythm between sections, desktop */
    --v3-section-sm: 56px;      /* phone */
    --v3-gap: 20px;             /* between cards */

    /* Type scale */
    --v3-h1: clamp(34px, 5vw, 58px);
    --v3-h2: clamp(28px, 3.6vw, 40px);
    --v3-display: clamp(26px, 3.4vw, 38px);   /* the big-idea line */
    --v3-figure: 56px;                        /* $1,280 */
    --v3-lead: 19px;
    --v3-body-lg: 18px;
    --v3-body: 17px;
    --v3-body-sm: 16px;
    --v3-small: 15px;
    --v3-fine: 14px;
    --v3-legal: 13px;
}

/* ── 2. Header (shared, every page) ───────────────────────────────────────── */

/* The theme paints the bar slate (#3a4753, its --beige-); the mockup's nav is the brand green,
   flush with the hero so the two read as one block. `.fixed` is the state theme.js adds once
   the page is scrolled, which the theme recolours separately. */
.theme-main-menu,
.theme-main-menu.fixed {
    background: var(--v3-green);
}

.theme-main-menu .nav-item .nav-link {
    font-family: var(--v3-font);
    font-weight: 600;
    font-size: 15px;
    color: var(--v3-white);
    margin: 0 12px;
}

.theme-main-menu .nav-item:hover .nav-link,
.theme-main-menu .nav-item .nav-link:focus-visible {
    color: var(--v3-mint);
}

/* Links sit at the right of the bar, as on the mockup; the logged-in nav's own ms-lg-auto
   button keeps its place at the far end. */
@media (min-width: 992px) {
    .theme-main-menu .navbar-nav {
        justify-content: flex-end;
    }
}

/* Login lives in .right-widget, not in the nav list, so it does not inherit the nav links' box.
   It is given the identical one (block, line-height normal, 5px top and bottom, as
   `.theme-main-menu .nav-item .nav-link` in style.min.css): the bar centres both boxes, so equal
   boxes put the text on the same baseline. Before this it sat 0.7px high (measured: text top
   18.3px against the nav links' 19px at 1440). Andre, 23/10/2026, BRITE-202. */
.theme-main-menu .login-btn-one a {
    display: block;
    padding: 5px 0;
    line-height: normal;
    font-family: var(--v3-font);
    font-weight: 600;
    font-size: 15px;
    color: var(--v3-white);
}

/* Spacing. Nav links are 24px apart (12px margin each side). Login was 12px after Pricing, because
   only Pricing's right margin stood between them: 12px more here makes it 24. The Sign up pill
   then sits 24px after Login at every width (the markup's ms-3 / ms-lg-4 / me-3 utilities gave 16px
   below 992px and carry !important, hence the !important here). */
@media (min-width: 992px) {
    .theme-main-menu .right-widget .login-btn-one {
        margin-left: 12px;
    }
}

.theme-main-menu .right-widget .login-btn-one,
.theme-main-menu .right-widget .login-btn-one + li {
    margin-right: 0 !important;
}

.theme-main-menu .right-widget .login-btn-one + li {
    margin-left: 24px !important;
}

/* Logged in, the right widget holds the profile icon inside a .nav-item .nav-link, so it picked
   up the nav links' 12px right margin: 12px further from the hamburger than Login is, and 12px
   short of the container edge on desktop, where the logged-out Sign up pill ends. */
.theme-main-menu .right-widget .nav-link {
    margin-right: 0;
}

/* Below 992px the nav is collapsed to its hamburger, and Bootstrap's flex-grow-1 on the <nav> took
   all the free space, so the bar packed to the left with Login touching the logo. The nav stops
   growing, and the right widget (Login, the Sign up pill, or the logged-in profile icon) is pushed
   to the right beside the hamburger. 13px of box gap reads as 24px to the hamburger's bars, which
   start 11px inside its 48px box (style.min.css). */
@media (max-width: 991.98px) {
    .theme-main-menu .navbar.flex-grow-1 {
        flex-grow: 0 !important;
    }

    .theme-main-menu .right-widget {
        margin-left: auto;
        margin-right: 13px;
    }
}

.theme-main-menu .login-btn-one a:hover,
.theme-main-menu .login-btn-one a:focus-visible {
    color: var(--v3-mint);
}

/* The Sign up pill: mint on green, 12px 20px, fully rounded. The theme's arrow icon is
   already hidden in the markup (d-none). */
.theme-main-menu .signup-btn-one span {
    font-family: var(--v3-font);
    font-weight: 700;
    font-size: 15px;
    line-height: 40px;
    padding: 0 20px;
    color: var(--v3-green);
    background: var(--v3-mint);
    border: 0;
    border-radius: var(--v3-pill);
}

.theme-main-menu .signup-btn-one:hover span,
.theme-main-menu .signup-btn-one:focus-visible span {
    color: var(--v3-green);
    background: var(--v3-white);
    opacity: 1;
}

/* Logged-in header: the consultation button becomes the same mint pill. Height stays auto +
   padding below 992px (BRITE-122) and 32px on desktop (BRITE-82), as front-layout.css sets. */
header .navbar-nav .nav-item a.btn-four {
    font-family: var(--v3-font);
    font-weight: 700;
    color: var(--v3-green);
    background: var(--v3-mint);
    border: 0;
    border-radius: var(--v3-pill);
}

header .navbar-nav .nav-item a.btn-four:hover,
header .navbar-nav .nav-item a.btn-four:focus-visible {
    background: var(--v3-white);
    color: var(--v3-green);
}

/* Hamburger: the theme draws it as black bars on a slate tile. On green the tile goes and
   the bars turn white. */
.theme-main-menu .navbar-toggler,
.theme-main-menu .navbar-toggler:focus {
    background: transparent;
}

.theme-main-menu .navbar-toggler::before,
.theme-main-menu .navbar-toggler::after,
.theme-main-menu .navbar-toggler span {
    background: var(--v3-white);
}

/* The collapsed (phone) menu: the theme's dashed black rules between links are invisible on
   green; a faint light rule separates them instead. The support email at the foot of the menu
   is set in the body face, so it gets the same treatment as the links. */
@media (max-width: 991.98px) {
    /* The theme's phone menu is a fixed drawer that slides in from the left, painted white.
       White links on it would vanish, so the drawer is the brand green too. */
    .theme-main-menu .navbar-collapse {
        background-color: var(--v3-green);
    }

    .theme-main-menu .navbar .navbar-nav .nav-link {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .theme-main-menu .contact-info a {
        font-family: var(--v3-font);
        color: var(--v3-on-dark);
    }

    .theme-main-menu .signup-btn-one.w-100 span {
        display: block;
    }
}

/* On the public (v3) pages the header and footer containers match the page's 1120px measure,
   so the logo lines up with the hero copy. The app screens keep Bootstrap's wider container,
   which their own content is laid out against. body gets .v3-page from the page's bodyClass
   stack; see layout.blade.php. */
.v3-page .theme-main-menu .inner-content.container,
.v3-page .footer-two > .container {
    max-width: calc(var(--v3-container) + 2 * var(--v3-gutter));
}

/* The theme's header shadow falls onto the dark band beneath it and reads as a seam between
   two shades of green. Off on the v3 pages, where the header always sits on its own colour. */
.v3-page .theme-main-menu,
.v3-page .theme-main-menu.fixed {
    box-shadow: none;
}

/* Pages whose first block is a dark band flush under the dark header. They carry the header
   clearance inside that band (see .v3-title-band and .brh-hero) instead of as page padding,
   so no light strip shows between the two. Replaces header-clearance-only on those pages. */
.main-content-wrap.v3-flush {
    padding-top: 0;
}

/* ── 3. Footer (shared, every page) ───────────────────────────────────────── */

.footer-two {
    font-family: var(--v3-font);
    background: var(--v3-green);
    color: var(--v3-on-dark);
    padding: 48px 15px 36px;
}

/* Bootstrap's .border-top would draw a light grey hairline over the green. */
.footer-two.border-top {
    border-top: 0 !important;
}

.footer-two .bg-wrapper {
    padding: 0;
}

.footer-two .footer-intro p {
    font-size: var(--v3-body-sm);
    line-height: 1.5;
    color: var(--v3-on-dark);
}

/* The consultation line is a mint text link on the mockup, not a button. */
.footer-two a.btn-four {
    display: inline;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--v3-font);
    font-weight: 700;
    font-size: var(--v3-small);
    line-height: 1.5;
    color: var(--v3-mint);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-two a.btn-four:hover,
.footer-two a.btn-four:focus-visible {
    background: transparent;
    color: var(--v3-white);
}

.footer-two .footer-title {
    font-family: var(--v3-font);
    font-size: var(--v3-small);
    font-weight: 800;
    color: var(--v3-white);
    margin-bottom: 10px;
}

.footer-two .footer-nav-link a {
    font-size: var(--v3-small);
    line-height: 1.6;
    color: var(--v3-on-dark);
}

.footer-two .footer-nav-link li {
    margin-bottom: 6px;
}

.footer-two .footer-nav-link a:hover,
.footer-two .footer-nav-link a:focus-visible {
    color: var(--v3-white);
}

.footer-two .social-icon a {
    width: 36px;
    height: 36px;
    font-size: 15px;
    color: var(--v3-on-dark);
    border-color: var(--v3-green-rule);
}

.footer-two .social-icon a:hover,
.footer-two .social-icon a:focus-visible {
    background: var(--v3-mint);
    border-color: var(--v3-mint);
    color: var(--v3-green);
}

/* Compliance block (BRITE-110 wording, untouched). Stays centred - the client's instruction
   on BRITE-110 - with the mockup's rule above it and its 13px/1.6 legal size. */
.footer-two .compliance-block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--v3-green-rule);
}

.footer-two .compliance-para {
    font-size: var(--v3-legal);
    line-height: 1.6;
    color: var(--v3-on-dark);
}

.footer-two .compliance-para strong {
    color: var(--v3-white);
}

.footer-two .compliance-para a {
    color: var(--v3-on-dark);
}

.footer-two .compliance-para a:hover,
.footer-two .compliance-para a:focus-visible {
    color: var(--v3-white);
}

.footer-two .compliance-copyright {
    font-size: var(--v3-legal);
    color: var(--v3-on-dark);
}

/* ── 4. Components (opt-in: under .v3 or by .v3-* class) ──────────────────── */

/* The page wrapper. style.min.css styles bare p/h2/ul/li/a; everything a v3 page uses is
   set explicitly here or in the page's own file so none of the theme's values leak through
   (BRITE-129). */
.v3 {
    font-family: var(--v3-font);
    font-size: var(--v3-body);
    line-height: 1.6;
    color: var(--v3-ink);
    background: var(--v3-bg);
    -webkit-font-smoothing: antialiased;
}

/* :where() keeps these at zero specificity: they beat the theme's bare-element rules by
   loading later, and lose to every .v3-* component rule, which is the point. */
:where(.v3) h1,
:where(.v3) h2,
:where(.v3) h3,
:where(.v3) h4,
:where(.v3) p,
:where(.v3) ul,
:where(.v3) ol,
:where(.v3) li,
:where(.v3) figure {
    margin: 0;
    padding: 0;
    font-family: inherit;
}

:where(.v3) p,
:where(.v3) li {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

:where(.v3) ul,
:where(.v3) ol {
    list-style: none;
}

:where(.v3) strong {
    font-weight: 700;
    color: inherit;
}

.v3 :focus-visible {
    outline: 2px solid var(--v3-mint);
    outline-offset: 3px;
}

.v3-light :focus-visible {
    outline-color: var(--v3-green);
}

.v3 ::selection {
    background: rgba(26, 65, 55, .22);
}

.v3-container {
    width: 100%;
    max-width: calc(var(--v3-container) + 2 * var(--v3-gutter));
    margin: 0 auto;
    padding: 0 var(--v3-gutter);
}

/* Small uppercase label above a heading. Mint on dark, muted on light. */
.v3-eyebrow {
    margin: 0;
    font-size: var(--v3-fine);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--v3-mint);
}

.v3-eyebrow--muted {
    font-size: var(--v3-legal);
    letter-spacing: .08em;
    color: var(--v3-muted);
}

.v3-h1 {
    margin: 0;
    font-size: var(--v3-h1);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.02em;
    color: inherit;
}

.v3-h2 {
    margin: 0;
    font-size: var(--v3-h2);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--v3-green);
}

.v3-lead {
    margin: 0;
    font-size: var(--v3-body-lg);
    line-height: 1.55;
    color: var(--v3-ink-3);
}

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

/* Buttons. Pills, 800 weight. page-reset.css sets `.br-page a { display: inline }` for prose
   links, so the display is restated at higher specificity for buttons. */
.v3-btn,
.br-page .v3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    border: 2px solid transparent;
    border-radius: var(--v3-pill);
    font-family: var(--v3-font);
    font-size: var(--v3-body-sm);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.v3-btn--accent {
    background: var(--v3-yellow);
    border-color: var(--v3-yellow);
    color: var(--v3-green);
}

.v3-btn--accent:hover,
.v3-btn--accent:focus-visible {
    background: var(--v3-yellow-deep);
    border-color: var(--v3-yellow-deep);
    color: var(--v3-green);
}

.v3-btn--green {
    background: var(--v3-green);
    border-color: var(--v3-green);
    color: var(--v3-white);
}

.v3-btn--green:hover,
.v3-btn--green:focus-visible {
    background: var(--v3-green-deep);
    border-color: var(--v3-green-deep);
    color: var(--v3-white);
}

/* Outlined on dark: white text, mint border (the hero's "Book a free consultation"). */
.v3-btn--ghost {
    padding: 14px 26px;
    background: transparent;
    border-color: var(--v3-mint);
    color: var(--v3-white);
    font-weight: 700;
}

.v3-btn--ghost:hover,
.v3-btn--ghost:focus-visible {
    background: rgba(143, 227, 181, .16);
    color: var(--v3-white);
}

/* Mint on dark: the header's Sign up pill as a full-size button (About Us card). */
.v3-btn--mint {
    background: var(--v3-mint);
    border-color: var(--v3-mint);
    color: var(--v3-green);
}

.v3-btn--mint:hover,
.v3-btn--mint:focus-visible {
    background: var(--v3-white);
    border-color: var(--v3-white);
    color: var(--v3-green);
}

/* Outlined on light. */
.v3-btn--outline {
    background: transparent;
    border-color: var(--v3-green);
    color: var(--v3-green);
}

.v3-btn--outline:hover,
.v3-btn--outline:focus-visible {
    background: var(--v3-tint);
    color: var(--v3-green);
}

.v3-btn--lg {
    padding: 18px 32px;
    font-size: var(--v3-body);
}

.v3-btn--block,
.br-page .v3-btn--block {
    display: flex;
    width: 100%;
}

/* Cards */
.v3-card {
    background: var(--v3-white);
    border-radius: var(--v3-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v3-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--v3-green);
}

.v3-card-text {
    margin: 0;
    font-size: var(--v3-body-sm);
    line-height: 1.5;
    color: var(--v3-ink-3);
}

/* Chips */
.v3-chip {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--v3-green-mid);
    border-radius: var(--v3-pill);
    font-size: var(--v3-fine);
    font-weight: 600;
    line-height: 1.3;
}

.v3-chip--solid {
    padding: 10px 18px;
    border: 0;
    background: var(--v3-green);
    color: var(--v3-white);
    font-size: var(--v3-small);
    font-weight: 700;
}

/* Tick list ("What you get"). The tick is drawn from two borders of an empty box rather than
   written as a character, so nothing is announced on every line (same reason as pricing.css).
   Colour from --v3-tick, mint on dark by default. */
.v3-ticks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: var(--v3-body);
    line-height: 1.4;
}

.v3-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.v3-ticks li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 13px;
    margin: 2px 4px 0;
    border: solid var(--v3-tick, var(--v3-mint));
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Underlined text link in body copy. */
.v3-link,
.br-page .v3-link {
    display: inline;
    font-weight: 800;
    color: var(--v3-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* Dividers */
.v3-rule {
    height: 1px;
    background: var(--v3-rule);
}

/* Accordion (FAQ). Native <details>, white rounded rows, marker from the browser. */
.v3-faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v3-faq details {
    background: var(--v3-white);
    border-radius: 16px;
    padding: 20px 24px;
}

.v3-faq summary {
    cursor: pointer;
    font-size: var(--v3-body-lg);
    font-weight: 700;
    line-height: 1.35;
    color: var(--v3-ink);
}

.v3-faq summary::marker {
    color: var(--v3-green);
    font-size: .8em;
}

.v3-faq details p {
    margin: 14px 0 0;
    font-size: var(--v3-body-sm);
    line-height: 1.6;
    color: var(--v3-ink-3);
}

/* ── 5. Title band (BRITE-202: the inner pages' page top) ─────────────────── */

/* Replaces the BRITE-181 photo hero. Dark, flush under the dark header, eyebrow plus the
   page title. Carries the header clearance itself (see .v3-flush). About a third of the
   homepage hero's height. */
.v3-title-band {
    background: var(--v3-green);
    color: var(--v3-white);
    padding: calc(var(--header-clearance, 60px) + 40px) 0 44px;
}

.v3-title-band .v3-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v3-title-band .v3-h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    color: var(--v3-white);
}

@media (max-width: 767.98px) {
    .v3-title-band {
        padding: calc(var(--header-clearance, 60px) + 28px) 0 32px;
    }
}
