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

.hc-section {
    color: var(--hc-color-body);
    font-family: var(--hc-font-body);
    padding: var(--hc-section-desktop) 24px;
}

.hc-container {
    display: flex;
    margin: 0 auto;
    max-width: var(--hc-container);
    width: 100%;
}

.hc-container--content {
    max-width: var(--hc-content);
}

.hc-section h1,
.hc-section h2,
.hc-section h3,
.hc-section p {
    margin-top: 0;
}

.hc-section h1,
.hc-section h2,
.hc-section h3 {
    color: var(--hc-color-secondary);
    font-family: var(--hc-font-heading);
    letter-spacing: -.03em;
}

.hc-eyebrow {
    color: var(--hc-color-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hc-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hc-button {
    align-items: center;
    background: linear-gradient(135deg, var(--hc-color-primary), var(--hc-color-primary-dark));
    border: 2px solid transparent;
    border-radius: var(--hc-radius-button);
    box-shadow: 0 12px 24px rgba(49, 94, 231, calc(var(--hc-shadow-alpha) + .05));
    color: #fff !important;
    display: inline-flex;
    font-weight: 750;
    justify-content: center;
    line-height: 1.2;
    min-height: 50px;
    padding: 13px 22px;
    text-decoration: none !important;
    transition: transform calc(180ms * var(--hc-motion)) ease, box-shadow calc(180ms * var(--hc-motion)) ease;
}

.hc-button:hover {
    box-shadow: 0 16px 32px rgba(49, 94, 231, calc(var(--hc-shadow-alpha) + .1));
    transform: translateY(calc(-2px * var(--hc-motion)));
}

.hc-button:focus-visible,
.hc-faq-item summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--hc-color-primary) 35%, transparent);
    outline-offset: 3px;
}

.hc-button.is-secondary {
    background: var(--hc-color-surface);
    border-color: var(--hc-color-border);
    box-shadow: none;
    color: var(--hc-color-secondary) !important;
}

.hc-assessment-hero {
    background:
        radial-gradient(circle at 90% 10%, rgba(49, 94, 231, .13), transparent 34%),
        linear-gradient(145deg, var(--hc-color-surface) 0%, var(--hc-color-surface-soft) 100%);
    overflow: hidden;
}

.hc-assessment-hero .hc-container {
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.hc-hero__content {
    flex: 1 1 58%;
    max-width: 710px;
}

.hc-hero__title {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .99;
    margin-bottom: 25px;
}

.hc-hero__description {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.7;
    max-width: 650px;
}

.hc-hero__trust {
    color: var(--hc-color-body);
    font-size: 14px;
    font-weight: 650;
    margin: 24px 0 0;
}

.hc-hero__trust span {
    color: var(--hc-color-accent);
    font-weight: 900;
    margin-right: 5px;
}

.hc-hero__visual {
    flex: 0 1 390px;
    min-height: 400px;
    position: relative;
}

.hc-hero__score {
    align-items: center;
    background: var(--hc-color-surface);
    border: 1px solid var(--hc-color-border);
    border-radius: calc(var(--hc-radius-card) + 8px);
    box-shadow: 0 30px 70px rgba(11, 24, 53, calc(var(--hc-shadow-alpha) + .08));
    display: flex;
    flex-direction: column;
    inset: 20px 25px 65px 0;
    justify-content: center;
    padding: 40px;
    position: absolute;
    transform: rotate(-2deg);
}

.hc-hero__score::before {
    background: conic-gradient(var(--hc-color-primary) 0 82%, var(--hc-color-border) 82%);
    border-radius: 50%;
    content: "";
    height: 145px;
    margin-bottom: 22px;
    mask: radial-gradient(circle, transparent 54%, #000 55%);
    width: 145px;
}

.hc-hero__score span,
.hc-hero__score small {
    color: var(--hc-color-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hc-hero__score strong {
    color: var(--hc-color-secondary);
    font-family: var(--hc-font-heading);
    font-size: 44px;
    line-height: 1;
    margin: -118px 0 80px;
}

.hc-hero__mini-card {
    background: var(--hc-color-primary);
    border-radius: var(--hc-radius-card);
    bottom: 20px;
    box-shadow: 0 18px 44px rgba(49, 94, 231, .28);
    display: grid;
    gap: 10px;
    padding: 24px;
    position: absolute;
    right: 0;
    width: 170px;
}

.hc-hero__mini-card span {
    background: rgba(255, 255, 255, .85);
    border-radius: 20px;
    display: block;
    height: 7px;
}

.hc-hero__mini-card span:nth-child(2) { width: 75%; }
.hc-hero__mini-card span:nth-child(3) { width: 55%; }

.hc-section-heading {
    margin: 0 auto 42px;
    max-width: 760px;
    text-align: center;
}

.hc-section-heading h2,
.hc-action-cta h2 {
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.hc-section-heading > p:last-child,
.hc-action-cta .hc-cta__content > p:last-child {
    font-size: 18px;
    line-height: 1.7;
}

.hc-benefits {
    background: var(--hc-color-surface);
}

.hc-benefits .hc-container,
.hc-faq .hc-container {
    display: block;
}

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

.hc-benefit-card {
    background: var(--hc-color-surface);
    border: 1px solid var(--hc-color-border);
    border-radius: var(--hc-radius-card);
    box-shadow: 0 18px 44px rgba(11, 24, 53, var(--hc-shadow-alpha));
    min-height: 265px;
    padding: 32px;
    position: relative;
    transition: border-color calc(180ms * var(--hc-motion)) ease, transform calc(180ms * var(--hc-motion)) ease;
}

.hc-benefit-card:hover {
    border-color: color-mix(in srgb, var(--hc-color-primary) 45%, var(--hc-color-border));
    transform: translateY(calc(-4px * var(--hc-motion)));
}

.hc-benefit-card__number {
    align-items: center;
    background: var(--hc-color-surface-soft);
    border-radius: 12px;
    color: var(--hc-color-primary);
    display: inline-flex;
    font-size: 13px;
    font-weight: 850;
    height: 42px;
    justify-content: center;
    margin-bottom: 42px;
    width: 42px;
}

.hc-benefit-card h3 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hc-benefit-card p {
    line-height: 1.7;
    margin-bottom: 0;
}

.hc-action-cta {
    background: var(--hc-color-secondary);
    color: rgba(255, 255, 255, .76);
}

.hc-action-cta .hc-container {
    align-items: center;
    gap: 50px;
    justify-content: space-between;
}

.hc-action-cta .hc-cta__content {
    max-width: 800px;
}

.hc-action-cta h2 {
    color: #fff;
}

.hc-action-cta .hc-eyebrow {
    color: #9db6ff;
}

.hc-cta__action {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.hc-action-cta .hc-button.is-secondary {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .38);
    color: #fff !important;
}

.hc-action-cta .hc-button.is-secondary:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .68);
}

.hc-faq {
    background: var(--hc-color-surface-soft);
}

.hc-faq-list {
    display: grid;
    gap: 12px;
}

.hc-faq-item {
    background: var(--hc-color-surface);
    border: 1px solid var(--hc-color-border);
    border-radius: var(--hc-radius-card);
    overflow: hidden;
}

.hc-faq-item summary {
    align-items: center;
    color: var(--hc-color-secondary);
    cursor: pointer;
    display: flex;
    font-family: var(--hc-font-heading);
    font-size: 18px;
    font-weight: 750;
    gap: 24px;
    justify-content: space-between;
    list-style: none;
    padding: 22px 24px;
}

.hc-faq-item summary::-webkit-details-marker { display: none; }

.hc-faq-item summary span {
    color: var(--hc-color-primary);
    font-size: 26px;
    transition: transform calc(180ms * var(--hc-motion)) ease;
}

.hc-faq-item[open] summary span {
    transform: rotate(calc(45deg * var(--hc-motion)));
}

.hc-faq-item > div {
    padding: 0 24px 22px;
}

.hc-faq-item > div p {
    line-height: 1.75;
    margin-bottom: 0;
}

/* Existing pricing block integration: visual tokens only; no pricing or checkout behaviour. */
.heycademy-pricing-block {
    --hx-blue: var(--hc-color-primary);
    --hx-blue-dark: var(--hc-color-primary-dark);
    --hx-ink: var(--hc-color-secondary);
    --hx-muted: var(--hc-color-body);
    --hx-line: var(--hc-color-border);
    --hx-soft: var(--hc-color-surface-soft);
}

@media (max-width: 960px) {
    .hc-section { padding: var(--hc-section-tablet) 24px; }
    .hc-assessment-hero .hc-container { gap: 35px; }
    .hc-hero__visual { flex-basis: 320px; min-height: 350px; }
    .hc-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .hc-section { padding: var(--hc-section-mobile) 20px; }
    .hc-assessment-hero .hc-container,
    .hc-action-cta .hc-container {
        align-items: stretch;
        flex-direction: column;
    }
    .hc-cta__action {
        justify-content: flex-start;
    }
    .hc-hero__visual { flex-basis: auto; min-height: 320px; }
    .hc-hero__score { inset: 5px 20px 45px 0; }
    .hc-benefits-grid { grid-template-columns: 1fr; }
    .hc-benefit-card { min-height: 0; }
    .hc-action-cta .hc-button { width: 100%; }
}

@media (max-width: 480px) {
    .hc-button-row { flex-direction: column; }
    .hc-button { width: 100%; }
    .hc-hero__title { font-size: 42px; }
    .hc-hero__visual { min-height: 285px; }
    .hc-hero__score { padding: 24px; }
    .hc-section-heading { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .hc-section *,
    .hc-section *::before,
    .hc-section *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
