
/* =========================================
   JAMB READINESS — DESIGN SYSTEM
========================================= */

:root {
    --green-950: #123b25;
    --green-900: #14532d;
    --green-800: #166534;
    --green-700: #15803d;
    --green-500: #22c55e;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;

    --yellow: #facc15;
    --ink: #17211b;
    --muted: #647067;
    --surface: #ffffff;
    --background: #ffffff;
    --soft-background: #f8faf9;
    --border: #e5e9e6;

    --font: "Inter", Arial, sans-serif;
    --container: 1160px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 14px 40px rgba(23, 33, 27, 0.07);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--background);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

button:focus-visible,
a:focus-visible {
    outline: 3px solid #86efac;
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 104px 0;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease,
                transform 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green-800);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-900);
}

.btn-outline {
    background: #fff;
    border-color: #d9e1db;
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--green-700);
    color: var(--green-800);
}

.btn-login {
    color: var(--ink);
}

.btn-login:hover {
    color: var(--green-700);
}

.btn-large {
    min-height: 54px;
    padding: 0 23px;
    font-size: 13px;
}

.btn-dark {
    background: var(--green-950);
    color: #fff;
}

.btn-dark:hover {
    background: #092c19;
}

.btn-light {
    background: #fff;
    color: var(--green-900);
}

.btn-light:hover {
    background: var(--green-50);
}

/* =========================================
   HEADER AND NAVIGATION
========================================= */




#openSubjectPicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 25px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #123b25;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;  
}

#openSubjectPicker:hover {
    background: #fff;
    border-color: none;
    color: #104b28;
    transform: translateY(-2px);
}

#openSubjectPicker:active {
    transform: translateY(0);
}

#openSubjectPicker:focus-visible {
    outline: 1px solid #bbf7d0;
    outline-offset: 1px;

}

@media (prefers-reduced-motion: reduce) {
    #openSubjectPicker {
        transition: none;
    }
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 233, 230, 0.8);
    backdrop-filter: blur(14px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: auto;
    height: 43px;
    object-fit: contain;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--green-800);
    color: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-symbol span {
    color: var(--yellow);
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: var(--green-950);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #59645d;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--green-800);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav {
    min-height: 42px;
    padding-inline: 16px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--green-900);
    border-radius: 2px;
}

/* =========================================
   HERO
========================================= */

.hero {
    padding-top: 78px;
    padding-bottom: 34px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 66px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-800);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.eyebrow {
    padding: 9px 12px;
    background: var(--green-50);
    border: 1px solid #d8f0de;
    border-radius: 5px;
    margin-bottom: 25px;
    letter-spacing: 0.8px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: var(--green-500);
    border-radius: 50%;
}

.hero h1 {
    max-width: 610px;
    color: var(--green-950);
    font-size: clamp(39px, 4.2vw, 59px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2.8px;
}

.hero h1 span {
    display: block;
    color: var(--green-700);
}

.hero-description {
    max-width: 480px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 37px;
}

.trust-avatars {
    display: flex;
    padding-left: 2px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-left: -3px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.avatar-one {
    background: #92704e;
}

.avatar-two {
    background: #43836b;
}

.avatar-three {
    background: #8b80b8;
}

.trust-title {
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.trust-subtitle {
    color: var(--muted);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 14px 8px 30px 20px;
}

.hero-photo-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 450px;
    border-radius: 150px 150px 22px 22px;
    overflow: hidden;
    background: #e3ece4;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-photo-wrap::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(13, 42, 24, 0.5));
    pointer-events: none;
}

.photo-caption {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
}

.caption-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: var(--green-100);
    border-radius: 10px;
    color: var(--green-800);
    font-weight: 800;
}

.photo-caption div {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.photo-caption strong {
    font-size: 11px;
}

.photo-caption div span {
    color: var(--muted);
    font-size: 10px;
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    border: 1px solid rgba(229, 233, 230, 0.9);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.readiness-card {
    top: 53px;
    left: -15px;
    width: 205px;
    padding: 19px;
}

.floating-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-label,
.preview-label,
.panel-eyebrow {
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green-500);
    border-radius: 50%;
}

.readiness-score {
    margin-top: 8px;
    color: var(--green-900);
    font-size: 39px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.readiness-score span {
    font-size: 22px;
}

.readiness-card > p {
    color: var(--muted);
    font-size: 9px;
}

.benchmark-track {
    height: 5px;
    margin-top: 15px;
    background: #e8eee9;
    border-radius: 20px;
    overflow: hidden;
}

.benchmark-track span {
    display: block;
    width: 75%;
    height: 100%;
    background: var(--green-500);
    border-radius: inherit;
}

.benchmark-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--muted);
    font-size: 8px;
}

.study-card {
    right: -16px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 250px;
    padding: 14px;
}

.study-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #fff6c9;
    color: #785e00;
    border-radius: 10px;
    font-size: 19px;
}

.study-card div:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.study-card strong {
    font-size: 10px;
}

.study-card div:last-child span {
    color: var(--muted);
    font-size: 9px;
}

.hero-decoration {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    top: -2px;
    right: -15px;
    width: 85px;
    height: 85px;
    background: var(--yellow);
    opacity: 0.7;
}

.decoration-two {
    bottom: 10px;
    left: 0;
    width: 52px;
    height: 52px;
    background: #bbf7d0;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 38px;
    margin-top: 45px;
    border-top: 1px solid var(--border);
}

.hero-bottom > span {
    color: #7c867e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero-bottom-items {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.hero-bottom-items span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #59645d;
    font-size: 11px;
    font-weight: 600;
}

.hero-bottom-items i {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    background: var(--green-100);
    color: var(--green-800);
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading h2,
.features-intro h2,
.benchmark-content h2 {
    margin-top: 15px;
    color: var(--green-950);
    font-size: clamp(29px, 3.3vw, 43px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -1.5px;
}

.heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.heading-row > p {
    max-width: 405px;
    padding-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.centered-heading {
    max-width: 650px;
    margin: 0 auto 52px;
    text-align: center;
}

.centered-heading > p {
    max-width: 470px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   SUBJECTS
========================================= */

.subjects-section {
    background: var(--soft-background);
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.subject-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 290px;
    padding: 23px 20px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.subject-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subject-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 21px;
    font-weight: 800;
}

.english-icon {
    background: #e8f5ec;
    color: #166534;
}

.maths-icon {
    background: #fff5c2;
    color: #856404;
}

.physics-icon {
    background: #e7efff;
    color: #315b9e;
}

.biology-icon {
    background: #f0eafe;
    color: #7046a0;
}

.subject-number {
    color: #a1aaa3;
    font-size: 10px;
    font-weight: 700;
}

.subject-card h3 {
    margin-top: 24px;
    color: var(--green-950);
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.subject-card > p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.subject-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 15px;
    margin-top: auto;
    border-top: 1px solid #edf0ed;
    color: #707b72;
    font-size: 9px;
}

.subject-arrow {
    color: var(--green-800);
    font-size: 16px;
}

.subject-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.subject-note span {
    color: var(--green-700);
    font-size: 17px;
}

/* =========================================
   HOW IT WORKS
========================================= */

.how-section {
    background: #fff;
}

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

.step-card {
    min-width: 0;
}

.step-visual {
    position: relative;
    display: grid;
    place-items: center;
    height: 255px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.step-practise {
    background: #f0f8f1;
}

.step-assess {
    background: #fff9dd;
}

.step-improve {
    background: #eff3ff;
}

.step-icon {
    position: absolute;
    top: 19px;
    left: 19px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    background: #fff;
    color: var(--green-800);
    border-radius: 10px;
    font-size: 20px;
}

.mini-question,
.assessment-preview,
.improvement-preview {
    width: min(100%, 250px);
    padding: 21px;
    background: #fff;
    border: 1px solid rgba(229, 233, 230, 0.9);
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(23, 33, 27, 0.05);
}

.mini-question > span {
    color: var(--muted);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.9px;
}

.mini-line {
    width: 70%;
    height: 5px;
    margin-top: 9px;
    background: #e7ebe8;
    border-radius: 10px;
}

.line-long {
    width: 95%;
    margin-top: 15px;
}

.mini-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    margin-top: 7px;
    background: #f8faf8;
    border-radius: 6px;
    color: #657067;
    font-size: 9px;
}

.mini-option i {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border: 1px solid #d9e1db;
    border-radius: 50%;
    font-size: 8px;
    font-style: normal;
}

.active-option {
    background: #f0fdf4;
    color: var(--green-800);
    border: 1px solid #ccebd4;
}

.active-option i {
    background: var(--green-700);
    color: #fff;
    border-color: var(--green-700);
}

.preview-timer {
    margin-top: 10px;
    color: var(--green-950);
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1px;
}

.preview-divider {
    height: 1px;
    margin: 12px 0;
    background: var(--border);
}

.preview-stats {
    display: flex;
    justify-content: space-between;
}

.preview-stats div {
    display: flex;
    flex-direction: column;
}

.preview-stats strong {
    font-size: 12px;
}

.preview-stats span {
    color: var(--muted);
    font-size: 9px;
}

.preview-progress {
    height: 5px;
    margin-top: 14px;
    background: #edf0ed;
    border-radius: 20px;
}

.preview-progress span {
    display: block;
    width: 48%;
    height: 100%;
    background: #e9b900;
    border-radius: inherit;
}

.improvement-score {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 800;
}

.improvement-score span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 76px;
    gap: 8px;
    padding-top: 10px;
    border-bottom: 1px solid var(--border);
}

.chart-bars i {
    flex: 1;
    min-height: 8px;
    background: #80b89a;
    border-radius: 4px 4px 0 0;
}

.chart-bars i:last-child {
    background: var(--green-700);
}

.chart-caption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 8px;
}

.step-index {
    position: absolute;
    right: 17px;
    bottom: 13px;
    color: rgba(23, 33, 27, 0.35);
    font-size: 11px;
    font-weight: 800;
}

.step-copy {
    padding: 24px 4px 0;
}

.step-label {
    color: var(--green-800);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.step-copy h3 {
    margin-top: 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.step-copy p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* =========================================
   FEATURES
========================================= */

.features-section {
    background: var(--soft-background);
}

.features-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 80px;
}

.features-intro h2 {
    max-width: 440px;
}

.features-intro > p {
    max-width: 430px;
    margin-top: 17px;
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.features-photo {
    position: relative;
    height: 250px;
    margin-top: 36px;
    overflow: hidden;
    border-radius: 18px;
    background: #e3e9e2;
}

.features-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-photo::after {
    position: absolute;
    inset: 35% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(13, 42, 24, 0.72));
}

.photo-overlay {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 20px;
    left: 22px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.photo-overlay span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.photo-overlay strong {
    margin-top: 4px;
    font-size: 19px;
    letter-spacing: -0.5px;
}

.feature-list {
    border-top: 1px solid #dfe6df;
}

.feature-item {
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: start;
    gap: 16px;
    padding: 26px 0;
    border-bottom: 1px solid #dfe6df;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 21px;
    font-weight: 700;
}

.icon-green {
    background: #dcfce7;
    color: #166534;
}

.icon-yellow {
    background: #fff4bd;
    color: #846400;
}

.icon-blue {
    background: #e4edff;
    color: #315b9e;
}

.icon-purple {
    background: #efe7ff;
    color: #7046a0;
}

.feature-item h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.feature-item p {
    max-width: 390px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.feature-arrow {
    color: #849087;
    font-size: 17px;
}

/* =========================================
   BENCHMARK
========================================= */

.benchmark-section {
    overflow: hidden;
    background: #fff;
}

.benchmark-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 75px;
}

.benchmark-content h2 span {
    color: var(--green-700);
}

.benchmark-content > p {
    max-width: 455px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.benchmark-content .benchmark-disclaimer {
    padding-left: 13px;
    border-left: 3px solid var(--yellow);
    color: #6b756d;
    font-size: 11px;
}

.benchmark-content .btn {
    margin-top: 24px;
}

.benchmark-visual {
    position: relative;
    padding: 10px 14px 10px 0;
}

.benchmark-panel {
    position: relative;
    z-index: 1;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(23, 33, 27, 0.08);
}

.panel-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.panel-header h3 {
    margin-top: 5px;
    color: var(--green-950);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.panel-dots {
    color: #9ba49d;
    letter-spacing: 2px;
}

.score-overview {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 25px 0;
}

.score-ring {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 125px;
    height: 125px;
    background: conic-gradient(var(--green-700) 0deg 270deg, #e8eee9 270deg 360deg);
    border-radius: 50%;
}

.score-ring-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 97px;
    height: 97px;
    background: #fff;
    border-radius: 50%;
}

.score-ring-inner strong {
    color: var(--green-950);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.score-ring-inner strong span {
    font-size: 16px;
}

.score-ring-inner small {
    color: var(--muted);
    font-size: 10px;
}

.score-description {
    min-width: 0;
}

.target-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    background: var(--green-50);
    color: var(--green-800);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
}

.target-tag i {
    width: 6px;
    height: 6px;
    background: var(--green-500);
    border-radius: 50%;
}

.score-description p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.panel-divider {
    height: 1px;
    margin-bottom: 20px;
    background: var(--border);
}

.panel-subject {
    margin-top: 15px;
}

.panel-subject-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #4d5b50;
    font-size: 10px;
}

.panel-subject-top strong {
    color: var(--green-900);
}

.panel-track {
    height: 6px;
    margin-top: 7px;
    background: #edf1ed;
    border-radius: 20px;
    overflow: hidden;
}

.panel-track span {
    display: block;
    height: 100%;
    background: var(--green-500);
    border-radius: inherit;
}

.sample-data-note {
    margin-top: 22px;
    padding: 12px;
    background: #f8faf8;
    border-radius: 8px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.benchmark-accent {
    position: absolute;
    top: -15px;
    right: -7px;
    width: 110px;
    height: 110px;
    background: var(--yellow);
    border-radius: 20px;
    transform: rotate(9deg);
}

/* =========================================
   CALL TO ACTION
========================================= */

.cta-section {
    padding-top: 20px;
    padding-bottom: 100px;
}

.cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 320px;
    padding: 55px 60px;
    overflow: hidden;
    background: var(--green-950);
    border-radius: var(--radius-xl);
    color: #fff;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-kicker {
    color: #a7e5b7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cta-content h2 {
    margin-top: 13px;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.cta-content > p {
    max-width: 440px;
    margin-top: 14px;
    color: #d1e4d6;
    font-size: 12px;
    line-height: 1.9;
}

.cta-content .btn {
    margin-top: 23px;
}

.cta-side-note {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    max-width: 240px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
}

.cta-check {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    background: var(--yellow);
    color: var(--green-950);
    border-radius: 50%;
    font-weight: 800;
}

.cta-side-note strong {
    font-size: 11px;
}

.cta-side-note p {
    margin-top: 4px;
    color: #d1e4d6;
    font-size: 9px;
    line-height: 1.7;
}

.cta-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-circle-one {
    top: -190px;
    right: 150px;
    width: 430px;
    height: 430px;
}

.cta-circle-two {
    top: -125px;
    right: 215px;
    width: 300px;
    height: 300px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding-top: 65px;
    background: #f8faf8;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 45px;
    padding-bottom: 50px;
}

.footer-brand > p {
    max-width: 260px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 5px;
    color: var(--green-950);
    font-size: 11px;
    font-weight: 800;
}

.footer-column a {
    color: var(--muted);
    font-size: 10px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--green-800);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    color: #788279;
    font-size: 10px;
}

/* =========================================
   RESPONSIVE: TABLET
========================================= */

@media (max-width: 1050px) {
    :root {
        --container: 900px;
    }

    .nav-links {
        gap: 17px;
    }

    .navbar {
        gap: 16px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-photo-wrap {
        height: 410px;
    }

    .readiness-card {
        left: -10px;
        width: 180px;
        padding: 15px;
    }

    .study-card {
        right: -8px;
        max-width: 225px;
    }

    .subject-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subject-card {
        min-height: 260px;
    }

    .features-layout,
    .benchmark-layout {
        gap: 45px;
    }

    .cta-panel {
        padding: 45px;
    }

    .footer-main {
        gap: 28px;
    }
}

/* =========================================
   RESPONSIVE: MOBILE NAVIGATION
========================================= */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 72px 0;
    }

    .navbar {
        position: relative;
        min-height: 70px;
    }

    .brand-symbol {
        width: 35px;
        height: 35px;
    }

    .brand-name {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: -18px;
        left: -18px;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 12px 18px 18px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 24px rgba(23, 33, 27, 0.06);
    }

    .nav-links.is-open {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        padding: 12px 4px;
        border-bottom: 1px solid #f0f2f0;
        font-size: 13px;
    }

    .hero {
        padding-top: 48px;
        padding-bottom: 25px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h1 {
        max-width: 520px;
        font-size: clamp(38px, 9vw, 52px);
        letter-spacing: -2px;
    }

    .hero-description {
        margin-top: 18px;
        font-size: 13px;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 24px;
    }

    .hero-actions .btn {
        flex: 1 1 160px;
    }

    .hero-trust {
        margin-top: 27px;
    }

    .hero-visual {
        width: min(100%, 520px);
        margin-inline: auto;
        padding: 15px 12px 28px 14px;
    }

    .hero-photo-wrap {
        height: 390px;
        border-radius: 125px 125px 18px 18px;
    }

    .readiness-card {
        top: 43px;
        left: 0;
        width: 175px;
    }

    .study-card {
        right: 0;
        bottom: 10px;
        max-width: 225px;
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        padding-top: 24px;
        margin-top: 25px;
    }

    .hero-bottom-items {
        gap: 12px 20px;
    }

    .hero-bottom-items span {
        font-size: 10px;
    }

    .heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .section-heading h2,
    .features-intro h2,
    .benchmark-content h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .heading-row > p {
        font-size: 12px;
    }

    .subject-grid {
        gap: 12px;
    }

    .subject-card {
        min-height: 275px;
        padding: 17px 14px 15px;
    }

    .subject-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .subject-card h3 {
        margin-top: 20px;
        font-size: 14px;
    }

    .subject-card > p {
        font-size: 10px;
    }

    .subject-footer {
        align-items: flex-start;
        font-size: 8px;
    }

    .subject-note {
        align-items: flex-start;
        font-size: 10px;
        text-align: left;
    }

    .centered-heading {
        margin-bottom: 34px;
    }

    .centered-heading h2 {
        font-size: 32px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step-visual {
        height: 250px;
    }

    .step-copy {
        padding-top: 18px;
    }

    .step-copy h3 {
        font-size: 19px;
    }

    .step-copy p {
        font-size: 12px;
    }

    .features-layout,
    .benchmark-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .features-intro > p,
    .benchmark-content > p {
        font-size: 12px;
    }

    .features-photo {
        height: 235px;
        margin-top: 27px;
    }

    .feature-item {
        grid-template-columns: 42px 1fr 14px;
        gap: 12px;
        padding: 21px 0;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .feature-item h3 {
        font-size: 13px;
    }

    .feature-item p {
        font-size: 10px;
    }

    .benchmark-panel {
        padding: 22px 17px;
    }

    .score-overview {
        gap: 17px;
    }

    .score-ring {
        width: 105px;
        height: 105px;
    }

    .score-ring-inner {
        width: 81px;
        height: 81px;
    }

    .score-ring-inner strong {
        font-size: 23px;
    }

    .target-tag {
        font-size: 8px;
    }

    .cta-section {
        padding-top: 5px;
        padding-bottom: 70px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 27px;
        padding: 37px 25px;
        border-radius: 23px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content > p {
        font-size: 11px;
    }

    .cta-side-note {
        max-width: 100%;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 320px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        font-size: 9px;
    }
}

/* =========================================
   RESPONSIVE: SMALL PHONES
========================================= */

@media (max-width: 390px) {
    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-photo-wrap {
        height: 335px;
    }

    .readiness-card {
        width: 155px;
        padding: 12px;
    }

    .readiness-score {
        font-size: 32px;
    }

    .study-card {
        max-width: 190px;
        padding: 10px;
    }

    .study-card strong {
        font-size: 9px;
    }

    .study-card div:last-child span {
        font-size: 8px;
    }

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .subject-card {
        min-height: 235px;
        padding: 20px;
    }

    .subject-card h3 {
        font-size: 16px;
    }

    .subject-card > p {
        font-size: 11px;
    }

    .section-heading h2,
    .features-intro h2,
    .benchmark-content h2 {
        font-size: 30px;
    }

    .score-overview {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        gap: 30px 18px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}





/* =========================================
   UNIVERSAL DARK THEME
========================================= */

:root[data-theme="dark"] {
    color-scheme: dark;

    --ink: #e5eee8;
    --muted: #a1b0a6;
    --surface: #17231b;
    --background: #101a13;
    --soft-background: #152119;
    --border: #2b3a30;

    --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.2);
}

/* General page backgrounds */

:root[data-theme="dark"] body,
:root[data-theme="dark"] .auth-page {
    background: var(--background);
    color: var(--ink);
}

/* Header and navigation */

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .auth-header {
    background: rgba(16, 26, 19, 0.96);
    border-color: var(--border);
}

:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .back-home {
    color: var(--muted);
}

:root[data-theme="dark"] .brand-name,
:root[data-theme="dark"] .hero h1,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .features-intro h2,
:root[data-theme="dark"] .benchmark-content h2,
:root[data-theme="dark"] .auth-heading h1 {
    color: #e5eee8;
}

:root[data-theme="dark"] .nav-links a:hover {
    color: #86efac;
}

/* Buttons */

:root[data-theme="dark"] .btn-outline,
:root[data-theme="dark"] .menu-toggle {
    background: #1c2b21;
    border-color: var(--border);
    color: var(--ink);
}

:root[data-theme="dark"] .btn-login {
    color: var(--ink);
}

/* Sections */

:root[data-theme="dark"] .subjects-section,
:root[data-theme="dark"] .features-section,
:root[data-theme="dark"] .site-footer {
    background: var(--soft-background);
}

:root[data-theme="dark"] .how-section,
:root[data-theme="dark"] .benchmark-section {
    background: var(--background);
}

/* Cards and panels */

:root[data-theme="dark"] .subject-card,
:root[data-theme="dark"] .floating-card,
:root[data-theme="dark"] .benchmark-panel,
:root[data-theme="dark"] .mini-question,
:root[data-theme="dark"] .assessment-preview,
:root[data-theme="dark"] .improvement-preview {
    background: var(--surface);
    border-color: var(--border);
}

:root[data-theme="dark"] .subject-card h3,
:root[data-theme="dark"] .panel-header h3,
:root[data-theme="dark"] .panel-subject-top strong,
:root[data-theme="dark"] .score-ring-inner strong,
:root[data-theme="dark"] .trust-title,
:root[data-theme="dark"] .step-copy h3 {
    color: var(--ink);
}

/* Hero and section details */

:root[data-theme="dark"] .hero-description,
:root[data-theme="dark"] .heading-row > p,
:root[data-theme="dark"] .centered-heading > p,
:root[data-theme="dark"] .step-copy p,
:root[data-theme="dark"] .features-intro > p,
:root[data-theme="dark"] .feature-item p,
:root[data-theme="dark"] .benchmark-content > p,
:root[data-theme="dark"] .footer-brand > p {
    color: var(--muted);
}

:root[data-theme="dark"] .hero-bottom,
:root[data-theme="dark"] .subject-footer,
:root[data-theme="dark"] .feature-list,
:root[data-theme="dark"] .feature-item,
:root[data-theme="dark"] .footer-bottom {
    border-color: var(--border);
}

:root[data-theme="dark"] .hero-bottom-items span,
:root[data-theme="dark"] .subject-footer,
:root[data-theme="dark"] .footer-column a,
:root[data-theme="dark"] .footer-bottom {
    color: var(--muted);
}

/* Practice previews */

:root[data-theme="dark"] .step-visual {
    background: #1b2a20;
    border-color: var(--border);
}

:root[data-theme="dark"] .mini-option {
    background: #223128;
    color: var(--muted);
}

:root[data-theme="dark"] .active-option {
    background: #173d27;
    color: #86efac;
    border-color: #28633e;
}

:root[data-theme="dark"] .sample-data-note {
    background: #1c2b21;
    color: var(--muted);
}

/* Authentication */

:root[data-theme="dark"] .auth-main {
    background: var(--background);
}

:root[data-theme="dark"] .auth-layout {
    background: var(--surface);
    border-color: var(--border);
}

:root[data-theme="dark"] .form-field label {
    color: var(--ink);
}

:root[data-theme="dark"] .form-field input {
    background: #1c2b21;
    border-color: #35463a;
    color: var(--ink);
}

:root[data-theme="dark"] .form-field input::placeholder {
    color: #839187;
}

:root[data-theme="dark"] .auth-switch,
:root[data-theme="dark"] .auth-security {
    color: var(--muted);
}

:root[data-theme="dark"] .auth-security {
    border-color: var(--border);
}

/* Mobile navigation */

@media (max-width: 760px) {
    :root[data-theme="dark"] .nav-links {
        background: #101a13;
        border-color: var(--border);
    }

    :root[data-theme="dark"] .nav-links a {
        border-color: var(--border);
    }

    :root[data-theme="dark"] .menu-toggle span {
        background: #e5eee8;
    }
}

/* Universal theme switch */

.theme-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 13px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-switch:hover {
    background: var(--soft-background);
    border-color: var(--green-700);
}

.theme-switch-icon {
    font-size: 16px;
    line-height: 1;
}
