html {
    scroll-behavior: smooth;
}

body.i-ching-page {
    margin: 0;
    color: #33423e;
    background: #fbf8f2 !important;
}

.i-ching-page #sa_editor {
    background: #fbf8f2;
}

.ic-main *,
.ic-signup-wrap * {
    box-sizing: border-box;
}

.ic-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.ic-section {
    position: relative;
    padding: 74px 20px;
    overflow: hidden;
}

.ic-section--white {
    background: #fff;
}

.ic-section--lavender {
    background: #f5f0f8;
}

.ic-section--sage {
    background: #edf5f1;
}

.ic-section-heading {
    max-width: 790px;
    margin: 0 auto 36px;
    text-align: center;
}

.ic-eyebrow {
    margin: 0 0 10px;
    color: #9b6630;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .1em;
}

.ic-section-heading h2 {
    margin: 0;
    color: #2e3f3a;
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.32;
}

.ic-section-heading p:not(.ic-eyebrow) {
    margin: 15px 0 0;
    color: #5a6863;
    font-size: 20px;
    line-height: 1.8;
}

.ic-hero {
    position: relative;
    padding: 42px 20px 34px;
    overflow: hidden;
}

.ic-hero::before,
.ic-hero::after {
    position: absolute;
    border: 1px solid rgba(112, 82, 142, .18);
    border-radius: 50%;
    content: "";
}

.ic-hero::before {
    top: -150px;
    right: -100px;
    width: 430px;
    height: 430px;
}

.ic-hero::after {
    bottom: -180px;
    left: -130px;
    width: 390px;
    height: 390px;
}

.ic-hero__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(38px, 6vw, 72px);
    border: 1px solid #dfd4c4;
    border-radius: 30px;
    background: linear-gradient(135deg, #f8efdf 0%, #f1eafa 50%, #e7f3ee 100%);
    box-shadow: 0 24px 58px rgba(78, 61, 92, .13);
    isolation: isolate;
}

.ic-hero__panel::before {
    position: absolute;
    inset: 22px;
    z-index: -1;
    border: 1px solid rgba(155, 102, 48, .18);
    border-radius: 22px;
    content: "";
}

.ic-hero__eyebrow {
    margin: 0 0 13px;
    color: #8f5d2d;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .1em;
}

.ic-hero h1 {
    margin: 0;
    color: #2d3f39;
    font-size: clamp(40px, 6vw, 62px);
    font-weight: 900;
    line-height: 1.2;
}

.ic-hero h1 em {
    display: block;
    margin-top: 9px;
    color: #79589a;
    font-style: normal;
}

.ic-hero__lead {
    max-width: 670px;
    margin: 22px 0 0;
    color: #52615c;
    font-size: 21px;
    line-height: 1.8;
}

.ic-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.ic-hero__features li {
    padding: 7px 13px;
    border: 1px solid #d8cab6;
    border-radius: 999px;
    color: #485752;
    background: rgba(255, 255, 255, .7);
    font-size: 18px;
    font-weight: 800;
}

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

.ic-action {
    display: inline-flex;
    min-height: 54px;
    padding: 10px 25px;
    border: 1px solid #8d6ca7;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    color: #674c7d !important;
    background: rgba(255, 255, 255, .78);
    font-size: 19px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform .18s ease, background-color .18s ease;
}

.ic-action--primary {
    border-color: #765491;
    color: #fff !important;
    background: #765491;
}

.ic-action:hover,
.ic-action:focus-visible {
    color: #674c7d !important;
    background: #fff;
    transform: translateY(-1px);
}

.ic-action--primary:hover,
.ic-action--primary:focus-visible {
    color: #fff !important;
    background: #624379;
}

.ic-action:focus-visible {
    outline: 3px solid rgba(112, 82, 142, .28);
    outline-offset: 3px;
}

.ic-mystic-visual {
    position: relative;
    min-height: 385px;
}

.ic-zodiac-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(112, 82, 142, .34);
    border-radius: 50%;
    place-items: center;
    transform: translate(-50%, -50%);
}

.ic-zodiac-orbit::before,
.ic-zodiac-orbit::after {
    position: absolute;
    border: 1px dashed rgba(155, 102, 48, .38);
    border-radius: 50%;
    content: "";
}

.ic-zodiac-orbit::before {
    inset: 26px;
}

.ic-zodiac-orbit::after {
    inset: 65px;
}

.ic-zodiac-orbit__center {
    display: grid;
    width: 104px;
    height: 104px;
    z-index: 2;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #765491, #4c7469);
    box-shadow: 0 12px 30px rgba(80, 59, 95, .22);
    font-family: serif;
    font-size: 45px;
}

.ic-zodiac-orbit__symbol {
    position: absolute;
    color: #936334;
    font-family: serif;
    font-size: 24px;
    font-weight: 800;
}

.ic-zodiac-orbit__symbol--top { top: 12px; left: 50%; transform: translateX(-50%); }
.ic-zodiac-orbit__symbol--right { top: 50%; right: 14px; transform: translateY(-50%); }
.ic-zodiac-orbit__symbol--bottom { bottom: 11px; left: 50%; transform: translateX(-50%); }
.ic-zodiac-orbit__symbol--left { top: 50%; left: 14px; transform: translateY(-50%); }

.ic-tarot-card {
    position: absolute;
    display: flex;
    width: 108px;
    height: 166px;
    padding: 13px;
    border: 2px solid #fff;
    border-radius: 14px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(160deg, #77569a, #4f385f);
    box-shadow: 0 15px 34px rgba(68, 46, 82, .22);
}

.ic-tarot-card::before {
    width: 68px;
    height: 95px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 40px 40px 10px 10px;
    content: "";
}

.ic-tarot-card span {
    font-size: 28px;
    line-height: 1;
}

.ic-tarot-card small {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ic-tarot-card--one {
    right: 8px;
    bottom: 10px;
    transform: rotate(10deg);
}

.ic-tarot-card--two {
    bottom: 3px;
    left: 4px;
    background: linear-gradient(160deg, #4f7b70, #36554d);
    transform: rotate(-11deg);
}

.ic-star {
    position: absolute;
    color: #c28a3f;
    font-size: 25px;
}

.ic-star--one { top: 20px; left: 30px; }
.ic-star--two { top: 45px; right: 32px; font-size: 19px; }
.ic-star--three { bottom: 28px; left: 48%; font-size: 17px; }

.ic-concern-grid,
.ic-reading-grid,
.ic-audience-grid {
    display: grid;
    gap: 17px;
}

.ic-concern-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ic-concern-card {
    position: relative;
    min-height: 218px;
    padding: 27px 24px;
    border: 1px solid #e0d7ca;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(72, 62, 49, .06);
}

.ic-concern-card__symbol {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    place-items: center;
    color: #fff;
    background: #765491;
    font-size: 24px;
}

.ic-concern-card:nth-child(2) .ic-concern-card__symbol { background: #4f7b70; }
.ic-concern-card:nth-child(3) .ic-concern-card__symbol { background: #b77a36; }
.ic-concern-card:nth-child(4) .ic-concern-card__symbol { background: #a55d69; }

.ic-concern-card h3,
.ic-reading-card h3,
.ic-audience-card h3 {
    margin: 0;
    color: #33423e;
    font-size: 24px;
    font-weight: 900;
}

.ic-concern-card p,
.ic-reading-card p,
.ic-audience-card p {
    margin: 10px 0 0;
    color: #5c6965;
    font-size: 18px;
    line-height: 1.75;
}

.ic-reading-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ic-reading-card {
    position: relative;
    padding: 31px 27px 28px;
    border: 1px solid #ddd1e8;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.ic-reading-card::before {
    position: absolute;
    top: -25px;
    right: -19px;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(112, 82, 142, .2);
    border-radius: 50%;
    content: "";
}

.ic-reading-card__number {
    display: inline-flex;
    margin-bottom: 18px;
    color: #765491;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ic-reading-card:nth-child(2) {
    border-color: #cce1db;
}

.ic-reading-card:nth-child(2) .ic-reading-card__number {
    color: #477267;
}

.ic-reading-card:nth-child(3) {
    border-color: #ead5b8;
}

.ic-reading-card:nth-child(3) .ic-reading-card__number {
    color: #a76e2e;
}

.ic-module-list {
    display: grid;
    gap: 15px;
    max-width: 920px;
    margin: 0 auto;
}

.ic-module {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 19px;
    padding: 22px 24px;
    border: 1px solid #ded6ca;
    border-radius: 17px;
    background: #fff;
}

.ic-module__mark {
    display: grid;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    place-items: center;
    color: #fff;
    background: #765491;
    font-family: serif;
    font-size: 25px;
    font-weight: 900;
}

.ic-module:nth-child(2) .ic-module__mark { background: #4f7b70; }
.ic-module:nth-child(3) .ic-module__mark { background: #b77a36; }
.ic-module:nth-child(4) .ic-module__mark { background: #a55d69; }

.ic-module h3 {
    margin: 0;
    color: #33423e;
    font-size: 24px;
    font-weight: 900;
}

.ic-module p {
    margin: 7px 0 0;
    color: #5c6965;
    font-size: 18px;
    line-height: 1.75;
}

.ic-instructor {
    display: grid;
    grid-template-columns: minmax(245px, .72fr) minmax(0, 1.28fr);
    gap: 42px;
    align-items: center;
    padding: clamp(32px, 5vw, 52px);
    border: 1px solid #ddcfb9;
    border-radius: 25px;
    background: linear-gradient(135deg, #f8efdf 0%, #edf5f1 100%);
}

.ic-instructor__identity {
    text-align: center;
}

.ic-instructor__portrait {
    position: relative;
    display: grid;
    width: 148px;
    height: 148px;
    margin: 0 auto 19px;
    border: 5px solid #fff;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #765491, #4f7b70);
    box-shadow: 0 12px 30px rgba(67, 57, 76, .16);
    font-family: serif;
    font-size: 57px;
    font-weight: 900;
}

.ic-instructor__portrait::after {
    position: absolute;
    right: -8px;
    bottom: 8px;
    display: grid;
    width: 43px;
    height: 43px;
    border: 3px solid #fff;
    border-radius: 50%;
    place-items: center;
    color: #754c23;
    background: #f0c570;
    content: "☯";
    font-size: 21px;
}

.ic-instructor__identity h2 {
    margin: 0;
    color: #33423e;
    font-size: 35px;
    font-weight: 900;
}

.ic-instructor__identity p {
    margin: 7px 0 0;
    color: #805e36;
    font-size: 19px;
    font-weight: 800;
}

.ic-instructor__facts {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-instructor__facts li {
    position: relative;
    padding-left: 29px;
    color: #52615c;
    font-size: 19px;
    line-height: 1.7;
}

.ic-instructor__facts li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #9b7040;
    content: "";
}

.ic-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ic-audience-card {
    padding: 24px;
    border: 1px solid #d9e4df;
    border-radius: 17px;
    background: rgba(255, 255, 255, .82);
}

.ic-cultural-note {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 16px 20px;
    border-left: 4px solid #9a784c;
    color: #5b6662;
    background: #fffaf2;
    font-size: 17px;
    line-height: 1.7;
}

.ic-final-cta {
    position: relative;
    padding: 47px 27px;
    border: 1px solid #d9c9e5;
    border-radius: 23px;
    background: linear-gradient(135deg, #f1e9f7 0%, #e5f3ee 100%);
    text-align: center;
    overflow: hidden;
}

.ic-final-cta::before,
.ic-final-cta::after {
    position: absolute;
    color: rgba(112, 82, 142, .14);
    font-size: 96px;
    content: "✦";
}

.ic-final-cta::before { top: -28px; left: 22px; }
.ic-final-cta::after { right: 28px; bottom: -43px; }

.ic-final-cta h2 {
    position: relative;
    margin: 0;
    color: #33423e;
    font-size: clamp(31px, 5vw, 43px);
    font-weight: 900;
}

.ic-final-cta p {
    position: relative;
    margin: 14px 0 0;
    color: #56655f;
    font-size: 20px;
    line-height: 1.75;
}

.ic-final-cta .ic-actions {
    position: relative;
    justify-content: center;
}

.ic-signup-wrap {
    padding: 66px 18px;
    background: #fbf8f2;
    scroll-margin-top: 90px;
}

.ic-signup-wrap > section {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 24px !important;
    border: 1px solid #ded5c8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(66, 56, 45, .09);
}

.ic-signup-wrap > section > .elementor-container {
    max-width: 900px !important;
}

.ic-signup-wrap .elementor-col-20 {
    display: none;
}

.ic-signup-wrap .elementor-col-60,
.ic-signup-wrap .elementor-element-registerInput {
    width: 100% !important;
}

.ic-signup-wrap .elementor-element-title h1 {
    color: #33423e;
    font-size: 38px;
    font-weight: 900;
}

.ic-signup-wrap #signUpForm {
    width: 100% !important;
    max-width: 760px;
    margin: 0 auto;
    font-size: 20px !important;
}

.ic-signup-wrap #signUpForm > ul {
    max-width: none;
}

.ic-signup-wrap #signUpForm .inputTitle {
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 8px;
    font-size: 22px !important;
}

.ic-signup-wrap #signUpForm #name,
.ic-signup-wrap #signUpForm #phone,
.ic-signup-wrap #signUpForm #email {
    display: block;
    float: none;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid #cec8d2;
    border-radius: 10px;
    font-size: 18px;
}

.ic-signup-wrap #resultMsg {
    display: none !important;
    margin: 15px 0;
    padding: 12px 15px;
    border: 1px solid #e1a69f;
    border-radius: 10px;
    color: #982d24 !important;
    background: #fff2f0;
    font-size: 18px;
    line-height: 1.6;
}

.ic-signup-wrap #resultMsg:not(:empty) {
    display: block !important;
}

.ic-signup-wrap #signUpBtn {
    width: auto !important;
    min-width: 180px;
    min-height: 52px;
    padding: 10px 30px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #765491;
    font-size: 20px;
    font-weight: 900;
}

.ic-signup-wrap #signUpBtn:hover,
.ic-signup-wrap #signUpBtn:focus-visible {
    background: #624379;
}

.ic-signup-wrap .form-submit {
    text-align: center;
}

@media (max-width: 900px) {
    .ic-hero__panel,
    .ic-instructor {
        grid-template-columns: 1fr;
    }

    .ic-mystic-visual {
        max-width: 430px;
        width: 100%;
        margin: 0 auto;
    }

    .ic-concern-grid,
    .ic-reading-grid,
    .ic-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ic-section {
        padding: 55px 16px;
    }

    .ic-hero {
        padding: 20px 14px 24px;
    }

    .ic-hero__panel {
        gap: 28px;
        padding: 31px 20px;
        border-radius: 23px;
    }

    .ic-hero__panel::before {
        inset: 11px;
        border-radius: 17px;
    }

    .ic-hero h1 {
        font-size: 39px;
    }

    .ic-hero__lead {
        font-size: 19px;
    }

    .ic-actions,
    .ic-action {
        width: 100%;
    }

    .ic-mystic-visual {
        min-height: 340px;
    }

    .ic-zodiac-orbit {
        width: 270px;
        height: 270px;
    }

    .ic-tarot-card {
        width: 92px;
        height: 145px;
    }

    .ic-concern-grid,
    .ic-reading-grid,
    .ic-audience-grid {
        grid-template-columns: 1fr;
    }

    .ic-concern-card {
        min-height: auto;
    }

    .ic-module {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 19px 16px;
    }

    .ic-module__mark {
        width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .ic-instructor {
        gap: 28px;
        padding: 30px 20px;
    }

    .ic-signup-wrap {
        padding: 48px 12px;
    }

    .ic-signup-wrap > section {
        padding: 27px 15px !important;
        border-radius: 17px;
    }

    .ic-signup-wrap .elementor-element-title h1 {
        font-size: 31px;
    }

    .ic-signup-wrap #signUpForm .inputTitle {
        font-size: 20px !important;
    }
}

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

    .ic-action {
        transition: none;
    }
}
