<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Consent document version
    |--------------------------------------------------------------------------
    |
    | A consent is a statement about a PARTICULAR text at a particular moment.
    | When the wording of the terms, the privacy policy or the media-release
    | changes, bump this — previously recorded consents stop counting as
    | current and members are asked again.
    |
    | That is the only honest behaviour, and it is why consent is a versioned
    | row rather than a boolean column: a boolean would silently claim a member
    | agreed to text they have never seen.
    |
    */

    'consent_version' => env('CONSENT_VERSION', '1.0'),

    /*
    |--------------------------------------------------------------------------
    | Age of majority (E2)
    |--------------------------------------------------------------------------
    |
    | Below this a member cannot act for themselves in the portal: no
    | self-service enrolment, no requests, no visibility of what the family
    | owes. Hardcoded at 18 rather than made per-academy configurable, because
    | a settings row nobody tunes is a false choice — and because a twelve
    | year old must never open the app and see the household's arrears.
    |
    | Money stays guardian-gated at every age whenever any guardian holds
    | `can_authorize_payment`.
    |
    */

    'age_of_majority' => 18,

];
