/* Shared values: brand colours are supplied; UI neutrals and hover are proposed. */
:root {
    --primary-clr: #6341E6;
    --primary-hover: #5030C5;
    --accent-clr: #00DE95;
    --brand-blue: #2F9FEE;
    --brand-orange: #FF3101;
    --brand-yellow: #F4C542; /* Proposed complementary yellow until an official Ngage value is supplied. */
    --background-clr: #FFFFFF;
    --surface-clr: #F6F4FD;
    --card-clr: #FFFFFF;
    --text-clr: #19171F;
    --secondary-text-clr: #57525F;
    --on-primary-clr: #FFFFFF;
    --on-accent-clr: #19171F;
    --line-clr: #DDD8EA;
    --focus-clr: #6341E6;
    --font-primary: "Raleway", sans-serif;
    --font-numeric: "Fira Sans", "Segoe UI", Arial, sans-serif;
    /* Shared text roles. Mobile sizes are changed below, in one place. */
    --text-hero: 3.5rem;
    --text-section: 2.25rem;
    --text-card-title: 1.25rem;
    --text-body: 1rem;
    --text-small: .875rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 130px;
}

body {
    background: var(--background-clr);
    color: var(--text-clr);
    font-family: var(--font-primary);
    font-size: var(--text-body);
    line-height: 1.6;
}

/*
 * Numeric/date/currency roles: Fira Sans is part of the Ngage brand typography and
 * gives key figures consistent lining numerals plus a native Naira glyph.
 * Raleway remains the primary font everywhere else.
 */
.numeric-text,
.date-value,
.money-value {
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}

button, input {
    font: inherit;
}

a {
    color: var(--primary-clr);
    text-underline-offset: 4px;
}

img {
    max-width: 100%;
    display: block;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--focus-clr);
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

h1, h2 {
    line-height: 1.15;
}

h2 {
    font-size: var(--text-section);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.button-primary {
    background: var(--primary-clr);
    color: var(--on-primary-clr);
}

.button-primary:hover {
    background: var(--primary-hover);
}

.eyebrow {
    font-size: .75rem;
    letter-spacing: .08em;
    font-weight: 700;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px;
    background: var(--background-clr);
}

.skip-link:focus {
    top: 12px;
}

@media (max-width: 767px) {
    :root {
        --text-hero: 2.25rem;
        --text-section: 1.75rem;
    }

    html {
        scroll-padding-top: 110px;
    }

}

