/*
 * EnglishBoss public website — Stage 1 homepage, visual correction v2.
 * The layout follows the approved Figma welcome page.
 * Barlow/Archivo are optional webfonts; the page remains stable with system fallbacks.
 */

:root {
    --eb-blue: #0136f0;
    --eb-blue-dark: #002ab8;
    --eb-blue-light: #4589ff;
    --eb-navy: #111842;
    --eb-mint: #b8ffd8;
    --eb-mint-strong: #5ed6b3;
    --eb-white: #ffffff;
    --eb-ink: #111842;
    --eb-danger: #fc4259;
    --eb-success: #138a5b;

    --eb-font-display: "Barlow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --eb-font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

    --eb-container: 1280px;
    --eb-gutter: clamp(24px, 4vw, 48px);
    --eb-radius-xs: 6px;
    --eb-radius-sm: 14px;
    --eb-radius-md: 22px;
    --eb-radius-pill: 999px;
    --eb-transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--eb-ink);
    background: var(--eb-blue);
    font-family: var(--eb-font-body);
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: var(--eb-font-body);
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--eb-font-display);
}

::selection {
    color: var(--eb-navy);
    background: var(--eb-mint);
}

.eb-home {
    overflow: clip;
    color: var(--eb-white);
    background: var(--eb-blue);
    font-family: var(--eb-font-body);
}

.eb-container {
    width: min(100%, calc(var(--eb-container) + (var(--eb-gutter) * 2)));
    margin-inline: auto;
    padding-inline: var(--eb-gutter);
}

.eb-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.eb-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--eb-blue);
    background: var(--eb-white);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform var(--eb-transition);
}

.eb-skip-link:focus {
    transform: translateY(0);
}

/* Brand */
.eb-brand {
    display: inline-flex;
    align-items: center;
    color: var(--eb-white);
    text-decoration: none;
}

.eb-brand__logo {
    width: 213px;
    height: 45px;
    object-fit: contain;
    object-position: left center;
}

/* Buttons */
.eb-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border: 2px solid transparent;
    border-radius: var(--eb-radius-xs);
    font-family: var(--eb-font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--eb-transition),
        color var(--eb-transition),
        background-color var(--eb-transition),
        border-color var(--eb-transition),
        box-shadow var(--eb-transition);
}

.eb-button:hover {
    transform: translateY(-1px);
}

.eb-button:active {
    transform: none;
}

.eb-button:focus-visible,
.eb-brand:focus-visible,
.eb-level-card:focus-visible,
.eb-footer a:focus-visible {
    outline: 3px solid var(--eb-mint-strong);
    outline-offset: 4px;
}

.eb-button[disabled],
.eb-button[aria-disabled="true"] {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

.eb-button--small {
    min-height: 40px;
    padding-inline: 24px;
    font-size: 13px;
}

.eb-button--compact {
    min-height: 38px;
    padding-inline: 22px;
    font-size: 12px;
}

.eb-button--mint {
    color: var(--eb-blue);
    background: var(--eb-mint);
}

.eb-button--mint:hover {
    background: #d7ffe8;
}

.eb-button--blue {
    color: var(--eb-white);
    background: var(--eb-blue);
}

.eb-button--blue:hover {
    background: var(--eb-blue-dark);
}

.eb-button--outline-light {
    color: var(--eb-white);
    border-color: var(--eb-white);
    background: transparent;
}

.eb-button--outline-light:hover {
    color: var(--eb-blue);
    background: var(--eb-white);
}

.eb-button--outline-blue {
    color: var(--eb-blue);
    border-color: var(--eb-blue);
    background: var(--eb-white);
}

.eb-button--outline-blue:hover {
    color: var(--eb-white);
    background: var(--eb-blue);
}

/* Header */
.eb-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
}

.eb-header__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.eb-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero */
.eb-hero {
    position: relative;
    min-height: 700px;
    padding-top: 82px;
    color: var(--eb-white);
    background: var(--eb-blue);
    isolation: isolate;
}

.eb-hero__stage {
    position: relative;
    min-height: 618px;
}

.eb-hero__copy {
    position: absolute;
    z-index: 5;
    top: 150px;
    left: var(--eb-gutter);
    width: 485px;
}

.eb-eyebrow {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.eb-hero__title {
    margin: 0 0 42px;
    color: var(--eb-white);
    font-family: var(--eb-font-display);
    font-size: clamp(48px, 3.8vw, 55px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-transform: uppercase;
}

.eb-hero__title span,
.eb-hero__title strong {
    display: block;
}

.eb-hero__title strong {
    position: relative;
    width: max-content;
    max-width: 100%;
    font-weight: 700;
}

.eb-hero__title strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 5px;
    border-radius: var(--eb-radius-pill);
    background: var(--eb-mint-strong);
}

.eb-hero__signin {
    min-width: 130px;
}

.eb-hero__visual {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 510px;
    width: 560px;
    height: 430px;
    pointer-events: none;
}

.eb-hero__outline-b {
    position: absolute;
    z-index: 1;
    top: 115px;
    left: 0;
    width: 137px;
    height: 178px;
}

.eb-hero__photo-b {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 168px;
    width: 355px;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(17, 24, 66, 0.2));
}

.eb-hero__messages {
    position: absolute;
    z-index: 6;
    top: 350px;
    right: var(--eb-gutter);
    width: 620px;
}

.eb-message {
    --eb-message-vector: none;
    --eb-message-aspect: 579 / 93;
    --eb-message-padding-start: 5.87%;
    --eb-message-padding-end: 4.15%;
    --eb-message-tail-space: 4.49%;
    width: fit-content;
    max-width: 100%;
    color: var(--eb-white);
}

.eb-message + .eb-message {
    margin-top: 10px;
}

.eb-message span {
    display: block;
    margin: 0 16px 8px;
    font-family: var(--eb-font-body);
    font-size: 13px;
    font-weight: 700;
}

.eb-message p {
    box-sizing: border-box;
    display: flex;
    position: relative;
    width: 100%;
    aspect-ratio: var(--eb-message-aspect);
    align-items: center;
    margin: 0;
    padding: 0 var(--eb-message-padding-end) var(--eb-message-tail-space) var(--eb-message-padding-start);
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: var(--eb-message-vector);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-family: var(--eb-font-body);
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.eb-message p::after {
    content: none;
    display: none;
}

.eb-message--student {
    --eb-message-vector: url("../img/pages/home/speech-bubble-student.svg");
    --eb-message-aspect: 270 / 93;
    --eb-message-padding-start: 7.41%;
    --eb-message-padding-end: 7.41%;
    --eb-message-tail-space: 9.63%;
    width: 270px;
    margin-left: auto;
}

.eb-message--student p {
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.eb-message--teacher {
    --eb-message-vector: url("../img/pages/home/speech-bubble-teacher.svg");
    width: 579px;
}

.eb-message--teacher p {
    justify-content: flex-start;
    text-align: left;
}

.eb-pixel-cloud {
    position: absolute;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(4, 38px);
    grid-auto-rows: 38px;
    opacity: 0.78;
    pointer-events: none;
}

.eb-pixel-cloud i {
    display: block;
    background: rgba(255, 255, 255, 0.28);
}

.eb-pixel-cloud--left {
    top: 110px;
    left: 0;
}

.eb-pixel-cloud--left i:nth-child(1) { grid-column: 1; grid-row: 1; }
.eb-pixel-cloud--left i:nth-child(2) { grid-column: 2; grid-row: 2; }
.eb-pixel-cloud--left i:nth-child(3) { grid-column: 3; grid-row: 3; }
.eb-pixel-cloud--left i:nth-child(4) { grid-column: 4; grid-row: 1; }

.eb-pixel-cloud--right {
    top: 225px;
    right: 0;
}

.eb-pixel-cloud--right i:nth-child(1) { grid-column: 1; grid-row: 1; }
.eb-pixel-cloud--right i:nth-child(2) { grid-column: 2; grid-row: 2; }
.eb-pixel-cloud--right i:nth-child(3) { grid-column: 3; grid-row: 3; }

/* Shared section heading */
.eb-section {
    position: relative;
}

.eb-section-title {
    margin: 0 0 28px;
    font-family: var(--eb-font-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.eb-section-title--light {
    color: var(--eb-white);
}

.eb-section-title--center {
    text-align: center;
}

.eb-section-kicker {
    margin: 0 0 4px;
    color: var(--eb-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Overview */
.eb-section--overview {
    padding: 34px 0 50px;
    color: var(--eb-white);
    background: var(--eb-blue);
}

.eb-section--overview .eb-container {
    position: relative;
    z-index: 2;
}

.eb-overview-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #09277f;
}

.eb-overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.13) 12%, transparent 12% 88%, rgba(0, 0, 0, 0.1) 88%),
        linear-gradient(rgba(0, 0, 0, 0.09) 24%, transparent 24% 82%, rgba(0, 0, 0, 0.12) 82%);
    background-size: 190px 140px, 230px 180px;
    opacity: 0.72;
    pointer-events: none;
}

.eb-overview-card__video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #09277f;
}

.eb-overview-card__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #908f84;
    text-transform: uppercase;
}

.eb-overview-card__fallback span {
    margin-bottom: -10px;
    color: #72a081;
    font-family: var(--eb-font-display);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
}

.eb-overview-card__fallback strong {
    font-family: var(--eb-font-display);
    font-size: clamp(100px, 13vw, 180px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.88;
}

.eb-overview-card__fallback em {
    font-family: var(--eb-font-display);
    font-size: clamp(70px, 8.4vw, 118px);
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 0.95;
}

.eb-overview-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 44px solid transparent;
    border-bottom: 44px solid transparent;
    border-left: 68px solid var(--eb-white);
    transform: translate(-35%, -50%);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.eb-overview-pixels {
    position: absolute;
    z-index: 1;
    width: 160px;
    height: 120px;
    background: rgba(255, 255, 255, 0.27);
    box-shadow:
        80px 60px 0 rgba(255, 255, 255, 0.22),
        250px 0 0 rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.eb-overview-pixels--left {
    top: -60px;
    left: 0;
}

.eb-overview-pixels--right {
    right: -25px;
    bottom: -35px;
    transform: rotate(180deg) scale(0.85);
}

/* Levels */
.eb-section--levels {
    padding: 32px 0 62px;
    color: var(--eb-white);
    background: var(--eb-blue);
}

.eb-level-heading {
    margin-bottom: 46px;
    text-align: center;
}

.eb-level-heading .eb-section-title {
    margin-bottom: 15px;
}

.eb-level-heading p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.eb-level-heading a {
    color: var(--eb-mint);
    font-weight: 800;
    text-decoration: none;
}

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

.eb-level-card {
    position: relative;
    display: grid;
    min-width: 0;
    height: 452px;
    grid-template-rows: 190px 262px;
    overflow: hidden;
    border-radius: 20px;
    color: var(--eb-navy);
    background: var(--eb-mint);
    text-decoration: none;
    transition: transform var(--eb-transition), box-shadow var(--eb-transition);
}

.eb-level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(17, 24, 66, 0.18);
}

.eb-level-card__body {
    position: relative;
    padding: 20px 22px 16px;
}

.eb-level-card__class {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: var(--eb-radius-pill);
    color: var(--eb-white);
    background: var(--eb-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.eb-level-card__code {
    display: block;
    color: var(--eb-blue);
    font-family: var(--eb-font-display);
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.eb-level-card p {
    max-width: 310px;
    margin: 13px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

.eb-level-card__arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--eb-white);
    background: var(--eb-blue);
    font-size: 20px;
    line-height: 1;
}

.eb-level-card__image {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center 38%;
    background-repeat: no-repeat;
    background-size: cover;
}

.eb-level-card--b1 {
    background: #bfffdc;
}

.eb-level-card--b2 {
    background: #b2fbd7;
}

/* Founding schools */
.eb-section--founding {
    padding: 0 0 62px;
    background: var(--eb-blue);
}

.eb-founding-card {
    display: grid;
    min-height: 304px;
    grid-template-columns: 185px minmax(300px, 1fr) minmax(450px, 1.3fr);
    align-items: center;
    gap: 42px;
    padding: 42px 58px;
    border-radius: 20px;
    color: var(--eb-navy);
    background: #f8f8f8;
}

.eb-founding-seal {
    position: relative;
    display: grid;
    width: 170px;
    aspect-ratio: 1;
    place-content: center;
    border: 2px solid var(--eb-blue);
    border-radius: 50%;
    color: var(--eb-blue);
    background:
        repeating-conic-gradient(from 0deg, transparent 0 8deg, rgba(1, 54, 240, 0.11) 8deg 9deg),
        #f8f8f8;
}

.eb-founding-seal::before {
    content: "EDUCATION PIONEERS  •  EDUCATION PIONEERS  •";
    position: absolute;
    inset: 15px;
    display: grid;
    place-content: center;
    border: 2px solid var(--eb-blue);
    border-radius: 50%;
    color: transparent;
}

.eb-founding-seal::after {
    content: "";
    position: absolute;
    inset: 41px;
    border: 2px solid var(--eb-blue);
    border-radius: 18px 42px 42px 18px;
}

.eb-founding-seal span {
    position: relative;
    z-index: 2;
    color: var(--eb-blue);
    font-family: var(--eb-font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.eb-founding-copy h2 {
    margin: 0;
    color: var(--eb-blue);
    font-family: var(--eb-font-display);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
}

.eb-founding-copy > strong {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

.eb-founding-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.eb-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eb-feature-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.eb-icon-badge {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--eb-white);
    background: var(--eb-blue);
}

.eb-icon-badge svg {
    width: 22px;
    height: 22px;
}

.eb-feature-list strong {
    color: var(--eb-navy);
    font-family: var(--eb-font-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Footer */
.eb-footer {
    color: var(--eb-white);
    background: var(--eb-navy);
}

.eb-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 90px;
    padding-top: 70px;
    padding-bottom: 92px;
}

.eb-footer__brand-column {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px;
    align-items: start;
    gap: 100px;
}

.eb-brand__logo--footer {
    width: 250px;
    height: auto;
}

.eb-footer__nav {
    display: grid;
    gap: 16px;
    padding-top: 7px;
}

.eb-footer__nav a,
.eb-footer__bottom a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-decoration: none;
}

.eb-footer__nav a:hover,
.eb-footer__bottom a:hover {
    color: var(--eb-mint);
}

.eb-footer__contact h2 {
    margin: 0 0 22px;
    color: var(--eb-white);
    font-family: var(--eb-font-display);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.eb-contact-form {
    position: relative;
}

.eb-contact-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
}

.eb-contact-form input[type="email"] {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px 0 0 6px;
    color: var(--eb-white);
    background: transparent;
    outline: none;
}

.eb-contact-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.eb-contact-form input[type="email"]:focus {
    border-color: var(--eb-mint);
}

.eb-contact-form .eb-button {
    border-radius: 0 6px 6px 0;
}

.eb-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.eb-turnstile-row {
    margin-top: 16px;
}

.eb-flash {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.eb-flash--success {
    color: #0a4f37;
    background: #caffdf;
}

.eb-flash--error {
    color: #7f1628;
    background: #ffdbe1;
}

.eb-social-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.eb-social-links a,
.eb-social-links > span {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--eb-navy);
    background: var(--eb-mint);
    transition: transform var(--eb-transition), background-color var(--eb-transition);
}

.eb-social-links a:hover {
    transform: translateY(-1px);
    background: var(--eb-white);
}

.eb-social-links svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.eb-footer__bottom {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
}

.eb-footer__bottom p {
    margin: 0;
}

.eb-footer__bottom nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.eb-footer__bottom span {
    color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Per-level photo framing follows the approved card artwork. */
.eb-level-card--a2 .eb-level-card__image { background-position: center 28%; }
.eb-level-card--b1 .eb-level-card__image { background-position: center 42%; }
.eb-level-card--b2 .eb-level-card__image { background-position: center 60%; }

/* Stage 1 visual parity hotfix v4 — approved desktop welcome page. */
.eb-button {
    font-family: var(--eb-font-body);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.eb-button--small {
    font-size: 12px;
}

.eb-eyebrow {
    color: var(--eb-mint);
    font-family: var(--eb-font-body);
    font-weight: 700;
}

.eb-message span {
    color: var(--eb-mint);
}

.eb-message p {
    color: var(--eb-white);
    font-family: var(--eb-font-body);
    font-weight: 400;
}

.eb-message--student span {
    margin-right: 37px;
    text-align: right;
}

.eb-message--teacher span {
    margin-left: 23px;
}

.eb-founding-seal {
    display: block;
    width: 170px;
    height: 170px;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background: none;
    object-fit: contain;
}

.eb-icon-badge {
    position: relative;
    width: 47px;
    height: 47px;
    border: 2px solid var(--eb-blue);
    color: var(--eb-blue);
    background: var(--eb-white);
}

.eb-icon-badge::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid var(--eb-blue);
    border-radius: 50%;
    pointer-events: none;
}

.eb-icon-badge img {
    position: relative;
    z-index: 1;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.eb-feature-list li {
    grid-template-columns: 47px minmax(0, 1fr);
}

.eb-feature-list strong {
    font-family: var(--eb-font-body);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.eb-footer__contact h2 {
    font-family: var(--eb-font-body);
    font-weight: 300;
    letter-spacing: -0.025em;
}

@media (min-width: 821px) {
    .eb-level-card--a2 .eb-level-card__image {
        background-image: url("../img/pages/home/level-a2-desktop.webp") !important;
        background-position: center center;
        background-size: cover;
    }

    .eb-level-card--b1 .eb-level-card__image {
        background-image: url("../img/pages/home/level-b1-desktop.webp") !important;
        background-position: center 48%;
        background-size: cover;
    }

    .eb-level-card--b2 .eb-level-card__image {
        background-image: url("../img/pages/home/level-b2-desktop.webp") !important;
        background-position: center 58%;
        background-size: cover;
    }
}

/* === Pricing section (home) === */
.eb-section--pricing { padding: 72px 0; }
.eb-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.eb-pricing-card { border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.eb-pricing-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.eb-pricing-card__price { margin: 6px 0 0; font-size: 1.05rem; }
.eb-pricing-card__price strong { font-size: 1.6rem; }
.eb-pricing-card__note { margin: 0; opacity: .85; font-size: .92rem; }
.eb-pricing-card .eb-button { margin-top: auto; align-self: flex-start; }
.eb-pricing-footnote { margin-top: 24px; font-size: .85rem; opacity: .8; text-align: center; }
