/* Classamoz keeps its education-product identity scoped away from the shared product UI. */
.directory-card--classamoz {
    border-color: #c9dcf8;
    background: linear-gradient(155deg, #fff 0%, #f3f8ff 70%, #f2fbf8 100%);
    box-shadow: 0 18px 44px rgba(16, 54, 99, .1);
}

.directory-card--classamoz::after { background: #ef8115; }
.directory-card--classamoz .directory-card__visual { margin: -12px -12px 6px; }
.directory-card--classamoz .directory-card__visual > img {
    height: 205px;
    margin: 0;
    object-fit: cover;
    border: 1px solid #d9e5f5;
    border-radius: 7px;
    filter: drop-shadow(0 16px 22px rgba(10, 42, 83, .14));
}
.directory-card--classamoz .directory-card__flag {
    inset: 10px 10px auto auto;
    border-color: #b8d9cc;
    color: #08745f;
    background: rgba(242, 252, 248, .94);
}
.directory-card--classamoz .directory-card__actions { display: grid; grid-template-columns: 1fr 1fr; }
.directory-card--classamoz .directory-card__actions > a { justify-content: center; min-width: 0; }
.directory-card--classamoz .directory-card__actions > a:first-child { background: #145bd7; }
.directory-card--classamoz .directory-card__actions .directory-card__demo { color: #086a57; border-color: #9bd8c6; background: #eaf9f4; }
.directory-card--classamoz .directory-card__actions .directory-card__catalog { color: #8c470b; border-color: #efc49b; background: #fff7ed; }

.classamoz-hero,
.classamoz-section,
.classamoz-trust { min-width: 0; }
.classamoz-hero {
    position: relative;
    isolation: isolate;
    min-height: min(760px, calc(100svh - 76px));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 76px 0 68px;
    color: #fff;
    background: #071b3c;
}
.classamoz-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(115deg, #f5f9ff 0%, #fff 52.8%, #0b2b60 53%, #071b3c 100%);
}
.classamoz-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #145bd7 0 48%, #16a77b 48% 74%, #ef8115 74%);
}
.classamoz-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
    align-items: center;
    gap: clamp(22px, 4vw, 66px);
}
.classamoz-hero__content { position: relative; z-index: 2; min-width: 0; }
.classamoz-kicker,
.classamoz-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8edbc3;
    font-size: .77rem;
    font-weight: 900;
}
.classamoz-kicker { padding: 7px 10px; border: 1px solid rgba(142, 219, 195, .28); border-radius: 6px; background: rgba(255, 255, 255, .06); }
.classamoz-hero h1 { max-width: 650px; margin: 18px 0 12px; color: #fff; font-size: clamp(2.15rem, 4.2vw, 4.2rem); line-height: 1.42; }
.classamoz-hero__lead { max-width: 660px; margin: 0; color: #c6d5e8; font-size: 1rem; line-height: 2.05; }
.classamoz-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 27px; }
.classamoz-hero__actions .btn { min-height: 45px; padding: 9px 14px; border-radius: 6px; font-size: .79rem; }
.btn--classamoz-primary { color: #fff; background: #145bd7; box-shadow: 0 11px 25px rgba(20, 91, 215, .25); }
.btn--classamoz-start { color: #053c31; border-color: #58c29f; background: #8ce0c4; box-shadow: 0 10px 22px rgba(22, 167, 123, .15); }
.btn--classamoz-light { color: #153b70; border-color: #c6d6eb; background: #fff; }
.classamoz-catalog-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 2px; color: #ffc17e; font-size: .75rem; font-weight: 900; }
.classamoz-hero__note { display: flex; align-items: flex-start; gap: 7px; margin: 18px 0 0; color: #99adc6; font-size: .71rem; line-height: 1.85; }
.classamoz-hero__note .lucide { flex: 0 0 auto; width: 17px; margin-top: 3px; color: #64d4b1; }
.classamoz-hero__visual { position: relative; min-width: 0; margin: 0; }
.classamoz-hero__visual picture { display: block; }
.classamoz-hero__visual img { width: 100%; height: auto; border-radius: 8px; filter: drop-shadow(0 34px 42px rgba(5, 28, 64, .26)); }
.classamoz-hero__visual figcaption { position: absolute; inset: auto 18px 15px auto; max-width: calc(100% - 36px); padding: 7px 10px; border-radius: 5px; color: #35526f; background: rgba(255, 255, 255, .9); font-size: .58rem; }

.classamoz-trust { border-bottom: 1px solid #dce7f5; background: #fff; }
.classamoz-trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.classamoz-trust article { min-width: 0; display: grid; grid-template-columns: 39px 1fr; align-items: center; gap: 11px; min-height: 92px; padding: 14px 20px; border-inline-start: 1px solid #e4ecf6; }
.classamoz-trust article:last-child { border: 0; }
.classamoz-trust article > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 7px; color: #145bd7; background: #eaf2ff; }
.classamoz-trust article:nth-child(2) > span { color: #08745f; background: #eaf9f4; }
.classamoz-trust article:nth-child(3) > span { color: #a8550c; background: #fff4e8; }
.classamoz-trust b { display: block; color: #102f57; font-size: .7rem; }
.classamoz-trust small { display: block; margin-top: 2px; color: #71849a; font-size: .56rem; line-height: 1.7; }

.classamoz-section { padding: 88px 0; }
.classamoz-section--soft { border-block: 1px solid #e4edf8; background: #f5f9ff; }
.classamoz-section__heading { max-width: 760px; margin-bottom: 35px; }
.classamoz-section__heading--center { margin-inline: auto; text-align: center; }
.classamoz-section__heading h2 { margin: 7px 0 9px; color: #092853; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.65; }
.classamoz-section__heading p { margin: 0; color: #687e95; line-height: 2; }
.classamoz-label { color: #1269c9; }

.classamoz-problem__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.classamoz-problem__grid > * { min-width: 0; }
.classamoz-problem__item { padding: 26px; border: 1px solid #eadfe0; border-radius: 8px; background: #fff9f8; }
.classamoz-problem__item--answer { border-color: #bde4d8; background: #f1fbf7; }
.classamoz-problem__item > span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 7px; color: #ad4d44; background: #feeae7; }
.classamoz-problem__item--answer > span { color: #08745f; background: #dff6ed; }
.classamoz-problem__item h3 { margin: 0 0 10px; color: #173b62; font-size: 1rem; }
.classamoz-problem__item p { margin: 0; color: #687c90; font-size: .81rem; line-height: 2; }

.classamoz-audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.classamoz-audience-grid article { min-width: 0; padding: 22px; border: 1px solid #d9e6f6; border-radius: 8px; background: #fff; box-shadow: 0 11px 26px rgba(19, 60, 107, .055); }
.classamoz-audience-grid span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 7px; color: #145bd7; background: #eaf2ff; }
.classamoz-audience-grid h3 { margin: 0 0 7px; color: #173b62; font-size: .87rem; }
.classamoz-audience-grid p { margin: 0; color: #718398; font-size: .7rem; line-height: 1.9; }

.classamoz-compare { background: #fff; }
.classamoz-compare__table { overflow: hidden; border: 1px solid #dbe6f2; border-radius: 8px; }
.classamoz-compare__head,
.classamoz-compare__row { display: grid; grid-template-columns: .7fr 1.15fr 1.15fr; min-width: 0; }
.classamoz-compare__head { color: #fff; background: #092853; }
.classamoz-compare__head > *,
.classamoz-compare__row > * { min-width: 0; padding: 17px 20px; border-inline-start: 1px solid #e1e9f2; }
.classamoz-compare__head > * { border-color: rgba(255, 255, 255, .14); font-size: .75rem; }
.classamoz-compare__row { border-top: 1px solid #e1e9f2; color: #667c91; background: #fff; font-size: .75rem; line-height: 1.8; }
.classamoz-compare__row:nth-child(odd) { background: #f8fbff; }
.classamoz-compare__row b { color: #173b62; }
.classamoz-compare__row span:last-child { display: flex; align-items: flex-start; gap: 7px; color: #176a58; }
.classamoz-compare__row .lucide { flex: 0 0 auto; width: 17px; margin-top: 4px; }

.classamoz-path { padding-top: 28px; }
.classamoz-path__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: path; }
.classamoz-path__track::before { content: ""; position: absolute; inset: 27px 8% auto; border-top: 1px dashed #92b7e5; }
.classamoz-path__track li { position: relative; z-index: 1; min-width: 0; text-align: center; }
.classamoz-path__track span { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 13px; border: 6px solid #fff; border-radius: 50%; color: #fff; background: #145bd7; box-shadow: 0 0 0 1px #b9cff0; }
.classamoz-path__track b { color: #254c75; font-size: .68rem; line-height: 1.75; }

.classamoz-capabilities { border-top: 1px solid #e2ebf7; background: #f7faff; }
.classamoz-feature-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin-bottom: 24px; }
.classamoz-feature-nav a { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border: 1px solid #d9e5f4; border-radius: 7px; color: #274f78; background: #fff; text-align: center; }
.classamoz-feature-nav a:hover { border-color: #7aa9ea; background: #f0f6ff; }
.classamoz-feature-nav .lucide { width: 22px; margin-bottom: 8px; color: #145bd7; }
.classamoz-feature-nav b { font-size: .6rem; line-height: 1.6; }
.classamoz-feature-nav small { margin-top: 3px; color: #8a9bae; font-size: .49rem; }
.classamoz-feature-group { min-width: 0; scroll-margin-top: 100px; margin-top: 16px; overflow: hidden; border: 1px solid #d8e4f2; border-radius: 8px; background: #fff; }
.classamoz-feature-group > header { display: flex; align-items: center; gap: 13px; padding: 18px 22px; color: #fff; background: #092853; }
.classamoz-feature-group > header > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 7px; color: #9be5cd; background: rgba(255, 255, 255, .08); }
.classamoz-feature-group > header small { color: #9eb3cc; font-size: .55rem; }
.classamoz-feature-group > header h2 { margin: 2px 0 0; color: #fff; font-size: 1rem; }
.classamoz-feature-list { padding: 0 20px; }
.classamoz-feature { border-bottom: 1px solid #e3eaf3; }
.classamoz-feature:last-child { border: 0; }
.classamoz-feature summary { min-width: 0; display: grid; grid-template-columns: 35px 38px 1fr 20px; align-items: center; gap: 11px; padding: 17px 0; color: #173b62; cursor: pointer; list-style: none; }
.classamoz-feature summary::-webkit-details-marker { display: none; }
.classamoz-feature__number { color: #8ba0b6; font-size: .6rem; font-weight: 900; }
.classamoz-feature__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; color: #145bd7; background: #edf4ff; }
.classamoz-feature summary strong { min-width: 0; font-size: .79rem; overflow-wrap: anywhere; }
.classamoz-feature summary > .lucide { width: 18px; color: #8396ab; transition: transform 180ms ease; }
.classamoz-feature[open] summary > .lucide { transform: rotate(45deg); }
.classamoz-feature__body { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 13px; padding: 0 84px 20px 0; }
.classamoz-feature__body > div { min-width: 0; padding: 16px; border-radius: 7px; background: #f6f9fd; }
.classamoz-feature__body h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: #294f76; font-size: .64rem; }
.classamoz-feature__body p { margin: 0; color: #6d8094; font-size: .61rem; line-height: 1.95; }
.classamoz-feature__result { background: #eefaf6 !important; }
.classamoz-feature__result h3 { color: #08745f; }
.classamoz-feature__keys ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.classamoz-feature__keys li { display: flex; align-items: flex-start; gap: 5px; color: #62778d; font-size: .56rem; line-height: 1.7; }
.classamoz-feature__keys li .lucide { flex: 0 0 auto; width: 13px; margin-top: 2px; color: #ef8115; }

.classamoz-roles { color: #fff; background: #081e42; }
.classamoz-section__heading--light h2 { color: #fff; }
.classamoz-section__heading--light p { color: #a8bad0; }
.classamoz-roles .classamoz-label { color: #8edbc3; }
.classamoz-role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.classamoz-role-grid article { min-width: 0; padding: 23px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(255, 255, 255, .055); }
.classamoz-role-grid header { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.classamoz-role-grid header > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 7px; color: #8edbc3; background: rgba(142, 219, 195, .1); }
.classamoz-role-grid h3 { margin: 0; color: #fff; font-size: .86rem; }
.classamoz-role-grid dl { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 9px; margin: 0; }
.classamoz-role-grid dt { color: #8edbc3; font-size: .55rem; font-weight: 900; }
.classamoz-role-grid dd { min-width: 0; margin: 0; color: #c7d4e3; font-size: .56rem; line-height: 1.75; overflow-wrap: anywhere; }

.classamoz-launch__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.classamoz-launch__steps li { min-width: 0; min-height: 210px; padding: 24px; border: 1px solid #dce6f2; border-radius: 8px; background: #fff; }
.classamoz-launch__steps span { display: block; margin-bottom: 24px; color: #145bd7; font-size: 1.45rem; font-weight: 900; }
.classamoz-launch__steps h3 { margin: 0 0 8px; color: #173b62; font-size: .83rem; }
.classamoz-launch__steps p { margin: 0; color: #708397; font-size: .67rem; line-height: 1.95; }

.classamoz-faq { border-block: 1px solid #e2ebf6; background: #f7faff; }
.classamoz-faq__layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 50px; }
.classamoz-faq__items { display: grid; gap: 8px; }
.classamoz-faq__items details { overflow: hidden; border: 1px solid #dce6f2; border-radius: 7px; background: #fff; }
.classamoz-faq__items summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 19px; color: #183d65; cursor: pointer; font-size: .74rem; font-weight: 900; list-style: none; }
.classamoz-faq__items summary::-webkit-details-marker { display: none; }
.classamoz-faq__items summary .lucide { flex: 0 0 auto; width: 18px; color: #778da5; transition: transform 180ms; }
.classamoz-faq__items details[open] summary .lucide { transform: rotate(45deg); }
.classamoz-faq__items p { margin: 0; padding: 0 19px 18px; color: #697f94; font-size: .67rem; line-height: 2; }

.classamoz-contact { background: #fff; }
.classamoz-contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 35px; }
.classamoz-contact__copy { min-width: 0; padding: 20px 0; }
.classamoz-contact__copy h2 { margin: 8px 0 10px; color: #092853; font-size: clamp(1.55rem, 2.7vw, 2.4rem); line-height: 1.65; }
.classamoz-contact__copy > p { color: #6a8095; line-height: 2; }
.classamoz-contact__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.classamoz-contact__copy ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.classamoz-contact__copy li { display: flex; align-items: center; gap: 7px; color: #4f6b84; font-size: .69rem; }
.classamoz-contact__copy li .lucide { width: 17px; color: #16a77b; }
.classamoz-contact__form { border-color: #cfdff4; border-radius: 8px; box-shadow: 0 20px 45px rgba(12, 53, 103, .1); }
.classamoz-contact__form h3 { margin: 0; color: #173b62; font-size: 1rem; }
.classamoz-contact__form > p { margin: 4px 0 20px; color: #7b8da0; font-size: .65rem; }
.classamoz-contact__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.classamoz-contact__fields label { min-width: 0; color: #405d79; font-size: .65rem; font-weight: 800; }
.classamoz-contact__fields input,
.classamoz-contact__fields textarea { width: 100%; min-width: 0; margin-top: 6px; border: 1px solid #d6e1ed; border-radius: 7px; font: inherit; }
.classamoz-contact__wide { grid-column: 1 / -1; }
.classamoz-contact__form .consent { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0; color: #61788e; font-size: .61rem; line-height: 1.8; }
.classamoz-contact__form .consent input { flex: 0 0 auto; margin-top: 5px; }

.classamoz-related { padding-top: 15px; }
.classamoz-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.classamoz-related__grid a { min-width: 0; display: grid; grid-template-columns: 42px 1fr; gap: 4px 12px; padding: 20px; border: 1px solid #dce6f2; border-radius: 8px; background: #fff; }
.classamoz-related__grid a > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; color: #145bd7; background: #edf4ff; }
.classamoz-related__grid strong { color: #173b62; font-size: .76rem; }
.classamoz-related__grid small { color: #7b8da0; font-size: .58rem; line-height: 1.7; }

@media (max-width: 1100px) {
    .classamoz-hero { min-height: auto; }
    .classamoz-hero__inner { grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: 25px; }
    .classamoz-hero h1 { font-size: 2.55rem; }
    .classamoz-hero__actions .btn { padding-inline: 11px; }
    .classamoz-problem__grid { grid-template-columns: 1fr 1fr; }
    .classamoz-problem__grid .classamoz-section__heading { grid-column: 1 / -1; }
    .classamoz-feature-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .classamoz-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .classamoz-hero { padding: 56px 0 48px; }
    .classamoz-hero::before { background: #071b3c; }
    .classamoz-hero__inner { grid-template-columns: 1fr; }
    .classamoz-hero__content { text-align: center; }
    .classamoz-kicker { justify-content: center; }
    .classamoz-hero h1,
    .classamoz-hero__lead { margin-inline: auto; }
    .classamoz-hero__actions { justify-content: center; }
    .classamoz-hero__note { justify-content: center; }
    .classamoz-hero__visual { max-width: 680px; margin-inline: auto; }
    .classamoz-trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .classamoz-trust article:nth-child(2) { border: 0; }
    .classamoz-trust article:nth-child(-n+2) { border-bottom: 1px solid #e4ecf6; }
    .classamoz-section { padding: 70px 0; }
    .classamoz-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .classamoz-path__track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
    .classamoz-path__track::before { display: none; }
    .classamoz-feature__body { grid-template-columns: 1fr 1fr; padding-right: 0; }
    .classamoz-feature__keys { grid-column: 1 / -1; }
    .classamoz-launch__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .classamoz-faq__layout,
    .classamoz-contact__grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
    .directory-card--classamoz .directory-card__actions { grid-template-columns: 1fr; }
    .classamoz-hero h1 { font-size: 2rem; }
    .classamoz-hero__actions { align-items: stretch; flex-direction: column; }
    .classamoz-hero__actions .btn,
    .classamoz-catalog-link { justify-content: center; width: 100%; }
    .classamoz-hero__note { text-align: right; }
    .classamoz-hero__visual figcaption { position: static; max-width: none; margin-top: 8px; color: #9fb1c7; background: transparent; text-align: center; }
    .classamoz-trust .container,
    .classamoz-problem__grid,
    .classamoz-audience-grid,
    .classamoz-feature-nav,
    .classamoz-role-grid,
    .classamoz-launch__steps,
    .classamoz-contact__fields,
    .classamoz-related__grid { grid-template-columns: 1fr; }
    .classamoz-trust article { border-inline-start: 0; border-bottom: 1px solid #e4ecf6 !important; }
    .classamoz-trust article:last-child { border-bottom: 0 !important; }
    .classamoz-problem__grid .classamoz-section__heading { grid-column: auto; }
    .classamoz-compare__table { border: 0; border-radius: 0; }
    .classamoz-compare__head { display: none; }
    .classamoz-compare__row { grid-template-columns: 1fr; margin-bottom: 10px; overflow: hidden; border: 1px solid #dce6f2; border-radius: 7px; }
    .classamoz-compare__row > * { padding: 11px 14px; border-inline-start: 0; border-top: 1px solid #e4eaf2; }
    .classamoz-compare__row > *:first-child { border-top: 0; background: #eaf2ff; }
    .classamoz-path__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .classamoz-feature-nav { display: flex; overflow-x: auto; padding-bottom: 5px; scroll-snap-type: x proximity; }
    .classamoz-feature-nav a { flex: 0 0 142px; scroll-snap-align: start; }
    .classamoz-feature-list { padding-inline: 14px; }
    .classamoz-feature summary { grid-template-columns: 26px 34px minmax(0, 1fr) 17px; gap: 8px; }
    .classamoz-feature__body { grid-template-columns: 1fr; }
    .classamoz-feature__keys { grid-column: auto; }
    .classamoz-launch__steps li { min-height: 0; }
    .classamoz-contact__wide { grid-column: auto; }
    .classamoz-contact__actions { align-items: stretch; flex-direction: column; }
    .classamoz-contact__actions .btn,
    .classamoz-contact__form > .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .directory-card--classamoz *,
    .classamoz-hero *,
    .classamoz-section * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
