/* index.css — homepage */

:root {
    --hp-yellow:      #F5C518;
    --hp-cyan:        #26C6DA;
    --hp-black:       #111111;
    --hp-grey-bg:     #f5f5f5;
    --hp-grey-text:   #6b6b6b;
}

.hp-page {
    margin-top: var(--header-height-mobile);
    overflow-x: hidden;
}

.hp-page section {
    box-sizing: border-box;
}

.hp-page h1, .hp-page h2, .hp-page h3, .hp-page h4 {
    font-family: 'Roboto', sans-serif;
    color: var(--hp-black);
    margin: 0;
}

.hp-page p {
    font-family: 'Roboto', sans-serif;
    color: var(--hp-grey-text);
    line-height: 1.5;
}

.hp-page mark {
    background-color: var(--hp-yellow);
    color: var(--hp-black);
    padding: 0 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.hp-btn {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    cursor: pointer;
    transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.hp-btn-solid {
    background-color: var(--hp-black);
    color: #fff;
    border: 2px solid var(--hp-black);
}

.hp-hero-actions .hp-btn-solid {
    box-shadow: 6px 6px 0 var(--hp-yellow);
}

.hp-hero-actions .hp-btn-solid:hover {
    box-shadow: none;
}

.hp-btn-outline {
    background-color: transparent;
    color: var(--hp-black);
    border: 2px solid var(--hp-black);
}

.hp-btn-solid:hover, .hp-btn-outline:hover {
    background-color: var(--hp-yellow);
    color: var(--hp-black);
    border-color: var(--hp-yellow);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hp-hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 6% 50px 6%;
}

.hp-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hp-hero-text h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.10;
}

.hp-hero-text p {
    font-size: 15px;
    max-width: 46ch;
    font-weight: 300;
}

.hp-hero-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 6px;
    padding-bottom: 6px;
}

.hp-hero-media {
    display: flex;
    justify-content: center;
}

.hp-hero-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border: 3px solid var(--hp-black);
    box-shadow: 10px 10px 0 var(--hp-yellow);
}

.hp-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
}

/* ── Built for Efficiency ────────────────────────────────────────────── */

.hp-efficiency {
    background-color: var(--hp-grey-bg);
    padding: 50px 6%;
    text-align: center;
}

.hp-efficiency h2 {
    font-size: 22px;
    font-weight: 800;
}

.hp-subtext {
    max-width: 60ch;
    margin: 14px auto 0 auto;
    font-size: 15px;
}

.hp-efficiency-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
    text-align: left;
}

.hp-num {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--hp-yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.hp-efficiency-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hp-efficiency-item p {
    font-size: 14px;
}

/* ── See your growth ─────────────────────────────────────────────────── */

.hp-growth {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 55px 6%;
}

.hp-growth-text h2 {
    font-size: 24px;
    font-weight: 800;
}

.hp-growth-text h2 u {
    color: var(--hp-yellow);
    text-decoration-color: var(--hp-yellow);
    text-decoration-thickness: 3px;
}

.hp-growth-text p {
    margin-top: 12px;
    font-size: 15px;
    max-width: 46ch;
}

.hp-growth-list {
    list-style: none;
    margin: 22px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-growth-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #e2e2e2;
}

.hp-growth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.hp-growth-done {
    color: var(--hp-black);
    background-color: #fafff9;
    border-color: #cdeccd;
}

.hp-growth-done .hp-growth-icon {
    background-color: #2fae4e;
    color: #fff;
}

.hp-growth-active {
    color: var(--hp-black);
    background-color: #fffdf3;
    border-color: var(--hp-yellow);
}

.hp-growth-active .hp-growth-icon {
    background-color: var(--hp-yellow);
    color: var(--hp-black);
}

.hp-growth-locked {
    color: #b3b3b3;
    background-color: #fafafa;
}

.hp-growth-locked .hp-growth-icon {
    background-color: #e2e2e2;
    color: #999;
    font-size: 10px;
}

.hp-growth-chart {
    display: flex;
    justify-content: center;
}

.hp-chart-frame {
    position: relative;
    width: 100%;
    max-width: 560px;
    border: 3px solid var(--hp-black);
    box-shadow: 10px 10px 0 var(--hp-yellow);
    padding: 20px 16px 12px 8px;
    background-color: #fff;
}

.hp-chart-label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--hp-grey-text);
    margin: 0 0 10px 12px;
}

.hp-chart-frame canvas {
    width: 100% !important;
    height: 220px !important;
}

/* ── Toolkit ─────────────────────────────────────────────────────────── */

.hp-toolkit {
    padding: 55px 6%;
    background-color: var(--hp-grey-bg);
}

.hp-toolkit-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-toolkit-head h2 {
    font-size: 22px;
    font-weight: 800;
}

.hp-toolkit-head a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-black);
    text-decoration: underline;
    text-decoration-color: #26C6DA;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hp-toolkit-head a:hover {
    color: #26C6DA;
    text-decoration-color: #26C6DA;
}

.hp-toolkit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
}

.hp-toolkit-card {
    display: block;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.hp-toolkit-card:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 var(--hp-yellow);
}

.hp-toolkit-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hp-toolkit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter .25s ease;
    display: block;
}

.hp-toolkit-card:hover .hp-toolkit-image img {
    filter: grayscale(0);
}

.hp-toolkit-card h4 {
    font-size: 15px;
    font-weight: 700;
    padding: 14px 14px 4px 14px;
}

.hp-toolkit-card p {
    font-size: 13px;
    padding: 0 14px 16px 14px;
    margin: 0;
}

/* ── CTA ─────────────────────────────────────────────────────────────── */

.hp-cta {
    padding: 55px 6% 70px 6%;
}

.hp-cta-box {
    border: 3px solid var(--hp-black);
    box-shadow: 10px 10px 0 var(--hp-cyan);
    background-color: #f2fcfd;
    padding: 50px 6%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hp-cta-box h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}

.hp-cta-box p {
    font-size: 15px;
    margin: 0px;
}

.hp-cta-box .hp-btn {
    margin-top: 10px;
}

.hp-cta-box .hp-btn-solid:hover {
    background-color: var(--hp-cyan);
    border-color: var(--hp-cyan);
    color: var(--hp-black);
}

.hp-cta-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.hp-cta-email {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    padding: 14px 16px;
    border: 2px solid var(--hp-black);
    background-color: #fff;
    min-width: 240px;
    max-width: 320px;
    flex: 1 1 240px;
}

.hp-cta-form .hp-btn {
    margin-top: 0;
}

.hp-cta-message {
    font-size: 14px;
    min-height: 1em;
}

.hp-cta-message.course-wannabee-message-success {
    color: #0a7a4a;
}

.hp-cta-message.course-wannabee-message-error {
    color: #c0392b;
}

/* ==== Desktop (min-width: 1001px) ==== */
@media (min-width: 1001px) {

.hp-page {
    margin-top: var(--header-height);
}

.hp-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 90px 8% 90px 8%;
    gap: 60px;
}

.hp-hero-text {
    width: 46%;
}

.hp-hero-media {
    width: 42%;
}

.hp-hero-frame {
    max-width: 460px;
}

.hp-efficiency {
    padding: 70px 10%;
}

.hp-efficiency h2 {
    font-size: 28px;
}

.hp-efficiency-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: left;
}

.hp-growth {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    gap: 60px;
}

.hp-growth-text {
    width: 42%;
}

.hp-growth-text h2 {
    font-size: 30px;
}

.hp-growth-chart {
    width: 46%;
}

.hp-chart-frame {
    max-width: 560px;
}

.hp-toolkit {
    padding: 70px 8%;
}

.hp-toolkit-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.hp-cta {
    padding: 70px 8% 100px 8%;
}

.hp-cta-box h2 {
    font-size: 34px;
}

}
