/* Panda Talks — replacement sections after How it works. Does not restyle ptks-2/3/4/8. */
.ptks-flow {
    --ptks-green: #248636;
    --ptks-green-btn: #268540;
    --ptks-ink: #111;
    --ptks-muted: #6b7280;
    --ptks-wash: #f6f8f6;
    --ptks-own: #171b18;
    --ptks-mobile: #eef2ee;
    font-family: "Inter", sans-serif;
}
.ptks-flow .container {
    max-width: 1800px;
}
.ptks-flow-copy > p.ptks-flow-kicker,
.ptks-libs-head > p.ptks-flow-kicker,
.ptks-own-head > p.ptks-flow-kicker,
.ptks-flow .ptks-flow-kicker {
    color: var(--ptks-green);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.ptks-flow h2 {
    font-size: 42px;
    line-height: 50px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--ptks-ink);
    margin: 0 0 20px;
}
.ptks-flow h2 span {
    color: var(--ptks-ink);
}
@media (max-width: 1400px) {
    .ptks-mobile h2 br {
        display: block !important;
    }
}
.ptks-flow-copy > p,
.ptks-libs-head > p,
.ptks-own-head > p {
    font-size: 19px;
    line-height: 1.55;
    font-weight: 400;
    color: var(--ptks-muted);
    margin: 0;
}
.ptks-flow-lead {
    color: var(--ptks-ink) !important;
    font-size: 22px !important;
    margin-bottom: 14px !important;
}
.ptks-flow-copy > p + p {
    margin-top: 14px;
}
.ptks-flow-checks {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.ptks-flow-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 1.45;
    color: #374151;
    font-weight: 400;
}
.ptks-flow-checks li + li {
    margin-top: 14px;
}
.ptks-flow-check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ptks-green-btn);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

/* Evaluation */
.ptks-eval {
    background: var(--ptks-wash);
    padding: 80px 0 70px;
    margin: 0;
}
.ptks-eval-grid {
    margin-bottom: 0;
}
.ptks-quiz {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.1);
    overflow: hidden;
    max-width: 560px;
    margin-left: auto;
}
.ptks-quiz-head {
    background: #161616;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ptks-quiz-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}
.ptks-quiz-title .ptks-flow-check {
    margin-top: 0;
}
.ptks-quiz-badge {
    background: #2a2a2a;
    color: #cfcfcf;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
}
.ptks-quiz-body {
    padding: 22px 22px 20px;
}
.ptks-quiz-topic {
    color: var(--ptks-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px !important;
}
.ptks-quiz-q {
    font-size: 22px;
    font-weight: 700;
    color: var(--ptks-ink);
    line-height: 1.3;
    margin: 0 0 16px !important;
}
.ptks-quiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f3f4f3;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 18px;
    color: var(--ptks-ink);
    position: relative;
}
.ptks-quiz-opt + .ptks-quiz-opt {
    margin-top: 10px;
}
.ptks-quiz-letter {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e4e6e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.ptks-quiz-opt.is-correct {
    background: #eef7f0;
    border: 1.5px solid var(--ptks-green-btn);
    font-weight: 700;
    padding-right: 44px;
}
.ptks-quiz-opt.is-correct .ptks-quiz-letter {
    background: var(--ptks-green-btn);
    color: #fff;
}
.ptks-quiz-tick {
    position: absolute;
    right: 14px;
    color: var(--ptks-green);
    font-size: 16px;
}
.ptks-quiz-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}
.ptks-quiz-foot p {
    margin: 0 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ptks-muted);
}
.ptks-quiz-foot strong {
    color: var(--ptks-green);
    font-weight: 700;
}
.ptks-quiz-confirmed {
    background: var(--ptks-green-btn);
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.ptks-eval-pill {
    display: table;
    width: auto;
    max-width: 100%;
    margin: 48px auto 0;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 999px;
    padding: 16px 32px;
    white-space: nowrap;
}

/* Own training — full-width smile arcs (mockup: ~36px dip at centre) */
.ptks-own {
    position: relative;
    background: var(--ptks-own);
    padding: 108px 0 96px;
    margin: 0;
    overflow: visible;
    color: #fff;
    z-index: 1;
}
.ptks-own::before,
.ptks-own::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    pointer-events: none;
}
.ptks-own::before {
    top: 0;
    background: var(--ptks-wash);
    border-radius: 0 0 50% 50%;
    z-index: 2;
}
.ptks-own::after {
    bottom: -48px;
    background: var(--ptks-own);
    border-radius: 0 0 50% 50%;
    z-index: 0;
}
.ptks-own .container { position: relative; z-index: 3; }
.ptks-libs {
    position: relative;
    z-index: 0;
}
.ptks-own-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
}
.ptks-own-head h2 {
    color: #fff;
    margin-bottom: 12px;
}
.ptks-own-head > p {
    color: #c5cbc6;
    font-size: 19px;
}
.ptks-own-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ptks-own-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #222824;
    border-radius: 16px;
    padding: 22px 20px;
}
.ptks-own-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #141816;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ptks-own-icon img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
}
.ptks-own-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}
.ptks-own-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #b7beb9;
    font-weight: 400;
}
.ptks-own-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border-radius: 999px;
    padding: 22px 28px;
    margin: 36px 0 0;
    align-items: center;
}
.ptks-own-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-right: 18px;
}
.ptks-own-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 18px;
    height: 1px;
    background: #d1d5db;
    transform: translateY(-50%);
}
.ptks-own-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    border: 5px solid transparent;
    border-left-color: #d1d5db;
    transform: translateY(-50%);
}
.ptks-own-steps span {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ptks-green-btn);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ptks-own-steps strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ptks-ink);
    line-height: 1.25;
    font-style: normal;
}
.ptks-own-steps em {
    display: block;
    font-style: normal;
    font-size: 15px;
    color: var(--ptks-muted);
    margin-top: 2px;
}
.ptks-own-foot {
    text-align: center;
    color: var(--ptks-green);
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 0;
}

/* Libraries */
.ptks-libs {
    background: var(--ptks-wash);
    padding: 80px 0 70px;
    margin: 0;
}
.ptks-libs-head {
    text-align: center;
    max-width: none;
    width: 100%;
    margin: 0 auto 40px;
}
.ptks-libs-head h2,
.ptks-libs-head > p,
.ptks-libs-head > p.ptks-flow-kicker {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.ptks-libs-head > p.ptks-flow-kicker {
    margin-bottom: 18px;
}
.ptks-libs-head > p:not(.ptks-flow-kicker) {
    max-width: 640px;
}
.ptks-libs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ptks-lib-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    padding: 28px 28px 26px 26px;
    border-left: 8px solid var(--ptks-green-btn);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ptks-lib-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
    color: inherit;
}
.ptks-lib-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}
.ptks-lib-count {
    color: var(--ptks-green);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px !important;
}
.ptks-lib-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ptks-ink);
    margin: 0 0 8px;
    line-height: 1.25;
}
.ptks-lib-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ptks-muted);
}
.ptks-lib-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px !important;
    color: var(--ptks-ink) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.ptks-lib-meta .ptks-flow-check {
    margin-top: 0;
}
.ptks-libs-foot {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--ptks-ink);
    margin: 36px 0 0;
}

/* Mobile */
.ptks-mobile {
    background: var(--ptks-mobile);
    padding: 80px 0 70px;
    margin: 0;
}
.ptks-mobile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 280px) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;
}
.ptks-phone {
    background: #fff;
    border: 10px solid #111;
    border-radius: 36px;
    padding: 28px 18px 22px;
    position: relative;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}
.ptks-phone-notch {
    width: 88px;
    height: 8px;
    background: #111;
    border-radius: 0 0 10px 10px;
    margin: -28px auto 18px;
}
.ptks-phone-kicker {
    color: var(--ptks-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px !important;
}
.ptks-phone h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ptks-ink);
    margin: 0 0 14px;
}
.ptks-phone-video {
    background: #111;
    border-radius: 16px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ptks-phone-video span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ptks-green-btn);
    display: block;
    position: relative;
}
.ptks-phone-video span::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 15px;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent #fff;
}
.ptks-phone-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ptks-muted);
    margin: 0 0 8px !important;
}
.ptks-phone-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.ptks-phone-bar i {
    display: block;
    width: 75%;
    height: 100%;
    background: var(--ptks-green-btn);
}
.ptks-phone-status {
    font-size: 15px;
    font-weight: 700;
    color: var(--ptks-ink);
    margin: 0 0 16px !important;
}
.ptks-phone-btn {
    display: block;
    text-align: center;
    background: var(--ptks-green-btn);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    padding: 12px 16px;
}
.ptks-mobile-aside {
    display: grid;
    gap: 36px;
}
.ptks-mobile-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.ptks-mobile-point-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: var(--ptks-green-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}
.ptks-mobile-point-icon svg {
    width: 26px;
    height: 26px;
}
.ptks-mobile-point h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ptks-ink);
    margin: 0 0 8px;
}
.ptks-mobile-point p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ptks-muted);
}

@media (max-width: 1199px) {
    .ptks-own-steps {
        border-radius: 24px;
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
        padding: 22px;
    }
    .ptks-own-steps li:not(:last-child)::after,
    .ptks-own-steps li:not(:last-child)::before {
        display: none;
    }
    .ptks-mobile-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ptks-mobile-aside {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 991px) {
    .ptks-eval,
    .ptks-libs,
    .ptks-mobile {
        padding: 56px 0 48px;
    }
    .ptks-own {
        padding: 72px 0 64px;
    }
    .ptks-quiz { margin: 32px auto 0; }
    .ptks-own-grid { grid-template-columns: 1fr; }
    .ptks-libs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ptks-flow h2 {
        font-size: 38px;
        line-height: 45px;
    }
    .ptks-eval-pill { font-size: 16px; padding: 12px 22px; white-space: normal; }
    .ptks-own-steps { grid-template-columns: 1fr; border-radius: 20px; }
    .ptks-mobile-grid,
    .ptks-mobile-aside { grid-template-columns: 1fr; }
    .ptks-phone { max-width: 320px; margin: 0 auto; }
    .ptks-quiz-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
    .ptks-flow h2 {
        font-size: 30px;
        line-height: 35px;
    }
}
