@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/nunito-400.woff2") format("woff2");
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/nunito-600.woff2") format("woff2");
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/nunito-700.woff2") format("woff2");
}

@font-face {
    font-family: Nunito;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/nunito-800.woff2") format("woff2");
}

:root {
    color-scheme: light;
    --navy: #10283f;
    --navy-mid: #1a3d5c;
    --ink: #1c2430;
    --body: #64748b;
    --muted: #94a3b8;
    --line: #e6eaf0;
    --paper: #f4f6f8;
    --white: #ffffff;
    --green: #10b981;
    --green-ink: #047857;
    --red: #b91c1c;
    --red-pale: #fef2f2;
    --shadow: 0 10px 28px rgba(16, 40, 63, 0.06);
    --font: Nunito, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
}

.bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    background: var(--navy);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--white);
}

.brand img {
    display: block;
    height: 22px;
    width: auto;
}

.sheet {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.intro { margin-bottom: 18px; }

.intro .eyebrow,
.card > .eyebrow {
    margin: 0;
    color: var(--body);
    font-size: 14px;
    font-weight: 700;
}

.result {
    margin: 0;
    color: var(--green-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.summary {
    margin-bottom: 16px;
    padding: 22px 22px 20px;
    border-radius: 18px;
    background: var(--navy);
    color: var(--white);
}

.summary-paid {
    background: #0c6b4d;
}

.summary .eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary .amount {
    margin: 6px 0 0;
    padding: 0;
    background: transparent;
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.summary h1 {
    margin: 8px 0 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

h1 {
    margin: 6px 0 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.summary .badge {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.summary .meta,
.summary .hint {
    color: rgba(255, 255, 255, 0.78);
}

.summary .reference {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.summary .reference span { color: rgba(255, 255, 255, 0.7); }
.summary .reference strong { color: var(--white); }

.badge {
    display: inline-block;
    margin: 12px 0 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--green-ink);
    font-size: 12px;
    font-weight: 800;
}

.meta, .hint, .secure {
    color: var(--body);
    font-size: 14px;
    line-height: 1.45;
}

.card {
    background: var(--white);
    border: 1px solid #eef1f5;
    border-radius: 20px;
    padding: 24px 22px 22px;
    box-shadow: var(--shadow);
}

.reference {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.reference span,
label {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.reference span {
    color: var(--body);
    font-size: 13px;
    font-weight: 700;
}

.reference strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
}

form { margin-top: 18px; }
form + form { margin-top: 8px; }

input[type="text"],
input[type="tel"] {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
}

input::placeholder {
    color: var(--muted);
    font-weight: 600;
}

input:focus {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
    border-color: var(--navy);
}

.amount-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 4px 8px 4px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.amount-field:focus-within {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
    border-color: var(--navy);
}

.amount-field span {
    color: var(--body);
    font-size: 15px;
    font-weight: 800;
}

.amount-field input {
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    text-align: right;
    font-size: 22px;
    font-weight: 800;
}

button,
.button {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 15px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button:hover { background: var(--navy-mid); }

button:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

button.secondary,
.button.secondary {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
}

button.secondary:hover,
.button.secondary:hover { background: var(--paper); }

.card-methods form {
    margin-top: 0;
}

.method-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.method-picker .method-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.method-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.method-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 12px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    text-align: center;
}

.method-choice input:checked + .method-face {
    border-color: var(--navy);
    box-shadow: inset 0 0 0 1px var(--navy);
    background: #f4f7fb;
}

.method-choice input:focus-visible + .method-face {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.method-mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--navy);
}

.method-mark svg {
    display: block;
    width: 26px;
    height: 26px;
}

.method-mtn { color: #111111; }
.method-airtel { color: #ed1c24; }

.method-name {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.method-panel {
    display: none;
    margin-top: 18px;
}

.method-picker:has(input:checked) + .method-panel {
    display: block;
}

.method-panel label {
    margin-top: 0;
}

.alert {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--red-pale);
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.services {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.services li { margin: 0; }

a.service {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.service:hover {
    border-color: var(--navy);
}

a.service:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.service {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e8eef6;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
}

.mark svg {
    display: block;
    width: 22px;
    height: 22px;
}

select {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
}

select:focus {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
    border-color: var(--navy);
}

form label + label,
form .hint + label,
form input + label,
form select + label,
form .amount-field + .hint + label {
    margin-top: 16px;
}

form label {
    margin-top: 16px;
}

form label:first-of-type { margin-top: 0; }

.service h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.service p {
    margin: 2px 0 0;
    color: var(--body);
    font-size: 14px;
}

.hint { margin: 12px 0 0; }

.secure {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.logo {
    display: block;
    width: 48px;
    height: 48px;
    margin-top: 14px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--white);
}
