:root {
    --psy-navy: #0a3768;
    --psy-navy-deep: #062846;
    --psy-blue: #1477c9;
    --psy-blue-soft: #5aa7e6;
    --psy-sky: #dcefff;
    --psy-sky-light: #f2f9ff;
    --psy-ice: #f7fbff;
    --psy-white: #ffffff;
    --psy-text: #16324f;
    --psy-muted: #667f98;
    --psy-line: #d9e8f5;
    --psy-gold: #e4c96f;
    --psy-success: #3c8b80;
    --psy-shadow-sm: 0 10px 30px rgba(28, 82, 124, 0.08);
    --psy-shadow-md: 0 20px 55px rgba(27, 76, 115, 0.12);
    --psy-radius-sm: 14px;
    --psy-radius-md: 22px;
    --psy-radius-lg: 34px;
    --psy-shell: min(1180px, calc(100% - 40px));
    --psy-font: "Vazirmatn", Tahoma, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--psy-text);
    background: var(--psy-white);
    font-family: var(--psy-font);
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}

body.psy-menu-open {
    overflow: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

.psy-body {
    min-width: 320px;
}

.psy-shell {
    width: var(--psy-shell);
    margin-inline: auto;
}

.psy-svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.psy-svg-sprite symbol,
.psy-svg-sprite path,
.psy-svg-sprite circle,
.psy-svg-sprite rect {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psy-svg-sprite #psy-i-telegram path,
.psy-svg-sprite #psy-i-play path {
    fill: currentColor;
    stroke: none;
}

.psy-skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    right: 12px;
    padding: 10px 16px;
    color: var(--psy-white);
    background: var(--psy-navy);
    border-radius: 10px;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.psy-skip-link:focus {
    transform: translateY(0);
}

/* Header */
.psy-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(211, 229, 243, 0.82);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 7px 28px rgba(19, 68, 104, 0.04);
    backdrop-filter: blur(18px);
}

.psy-header-inner {
    display: flex;
    min-height: 80px;
    align-items: center;
    gap: 28px;
}

.psy-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.psy-brand img {
    width: 51px;
    height: 51px;
    object-fit: contain;
}

.psy-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.psy-brand strong {
    color: var(--psy-navy-deep);
    font-size: 1rem;
    font-weight: 900;
}

.psy-brand small {
    margin-top: 3px;
    color: var(--psy-muted);
    font-size: 0.72rem;
    font-weight: 500;
}

.psy-desktop-nav {
    display: flex;
    margin-inline: auto;
    align-items: center;
    gap: 25px;
}

.psy-desktop-nav a {
    position: relative;
    padding-block: 28px;
    color: #304f6d;
    font-size: 0.9rem;
    font-weight: 650;
}

.psy-desktop-nav a::after {
    position: absolute;
    right: 50%;
    bottom: 19px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--psy-blue);
    border-radius: 20px;
    transition: width 0.25s ease, right 0.25s ease;
}

.psy-desktop-nav a:hover,
.psy-desktop-nav a:focus-visible {
    color: var(--psy-blue);
}

.psy-desktop-nav a:hover::after,
.psy-desktop-nav a:focus-visible::after {
    right: 0;
    width: 100%;
}

.psy-header-social {
    display: inline-flex;
    min-height: 43px;
    padding: 0 16px;
    align-items: center;
    gap: 8px;
    color: var(--psy-white);
    background: var(--psy-navy);
    border-radius: 13px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.psy-header-social:hover {
    background: var(--psy-blue);
    transform: translateY(-2px);
}

.psy-header-social svg {
    width: 19px;
    height: 19px;
}

.psy-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--psy-navy);
    background: var(--psy-sky-light);
    border: 1px solid var(--psy-line);
    border-radius: 13px;
    cursor: pointer;
}

.psy-menu-button svg {
    width: 23px;
    height: 23px;
}

.psy-mobile-menu,
.psy-mobile-backdrop {
    display: none;
}

/* Shared */
.psy-section {
    padding-block: 92px;
}

.psy-kicker,
.psy-section-heading > div > span,
.psy-start-card > div > span {
    display: inline-flex;
    margin-bottom: 12px;
    align-items: center;
    gap: 8px;
    color: var(--psy-blue);
    font-size: 0.84rem;
    font-weight: 800;
}

.psy-kicker::before,
.psy-section-heading > div > span::before,
.psy-start-card > div > span::before {
    width: 23px;
    height: 2px;
    content: "";
    background: var(--psy-gold);
    border-radius: 10px;
}

.psy-section-heading {
    display: flex;
    margin-bottom: 32px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.psy-section-heading h2,
.psy-book-content h2,
.psy-about-title h2,
.psy-start-card h2 {
    margin: 0;
    color: var(--psy-navy-deep);
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    font-weight: 900;
    line-height: 1.45;
}

.psy-section-heading p {
    max-width: 620px;
    margin: 9px 0 0;
    color: var(--psy-muted);
    font-size: 0.95rem;
}

.psy-button {
    display: inline-flex;
    min-height: 50px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        background 0.2s ease, color 0.2s ease;
}

.psy-button svg {
    width: 18px;
    height: 18px;
}

.psy-button:hover {
    transform: translateY(-2px);
}

.psy-button-primary {
    color: var(--psy-white);
    background: linear-gradient(135deg, var(--psy-navy), var(--psy-blue));
    box-shadow: 0 12px 28px rgba(20, 119, 201, 0.2);
}

.psy-button-primary:hover {
    box-shadow: 0 16px 34px rgba(20, 119, 201, 0.28);
}

.psy-button-outline {
    color: var(--psy-navy);
    background: rgba(255, 255, 255, 0.76);
    border-color: #9ac5e7;
}

.psy-button-outline:hover {
    color: var(--psy-white);
    background: var(--psy-navy);
    border-color: var(--psy-navy);
}

.psy-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--psy-blue);
    font-size: 0.87rem;
    font-weight: 800;
}

.psy-text-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.psy-text-link:hover svg {
    transform: translateX(-4px);
}

/* Hero */
.psy-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 6% 16%, rgba(184, 222, 250, 0.55), transparent 21%),
        radial-gradient(circle at 58% 1%, rgba(225, 241, 253, 0.9), transparent 18%),
        linear-gradient(180deg, #ffffff, #f8fcff);
}

.psy-hero::before,
.psy-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(105, 172, 222, 0.17);
    border-radius: 50%;
}

.psy-hero::before {
    top: -170px;
    right: -130px;
    width: 380px;
    height: 380px;
}

.psy-hero::after {
    bottom: -210px;
    left: -120px;
    width: 440px;
    height: 440px;
}

.psy-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 610px;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 64px;
}

.psy-hero-content {
    padding-block: 75px;
}

.psy-hero-content h1 {
    max-width: 670px;
    margin: 0;
    color: var(--psy-navy-deep);
    font-size: clamp(2.2rem, 4.1vw, 4rem);
    font-weight: 950;
    letter-spacing: -1.5px;
    line-height: 1.42;
}

.psy-hero-content h1 span {
    display: block;
    color: var(--psy-blue);
}

.psy-hero-content > p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #4e6b87;
    font-size: 1.02rem;
    line-height: 2.05;
}

.psy-hero-actions {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.psy-hero-content blockquote {
    position: relative;
    margin: 30px 0 0;
    padding: 12px 17px 12px 0;
    color: var(--psy-muted);
    border-right: 3px solid var(--psy-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.psy-hero-portrait {
    position: relative;
    align-self: end;
    min-height: 535px;
    margin: 0;
}

.psy-hero-portrait::before {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 86%;
    height: 91%;
    content: "";
    background: linear-gradient(145deg, #e9f6ff, #cce9fb);
    border-radius: 52% 52% 30px 30px;
}

.psy-hero-portrait > img {
    position: absolute;
    z-index: 2;
    right: 11%;
    bottom: 0;
    width: 80%;
    height: 91%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 52% 52% 26px 26px;
    filter: saturate(0.94) contrast(1.02);
    box-shadow: var(--psy-shadow-md);
}

.psy-hero-portrait figcaption {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 31px;
    display: flex;
    min-width: 220px;
    padding: 14px 18px;
    flex-direction: column;
    color: var(--psy-navy);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(196, 222, 241, 0.95);
    border-radius: 16px;
    box-shadow: var(--psy-shadow-sm);
    backdrop-filter: blur(12px);
}

.psy-hero-portrait figcaption strong {
    font-size: 0.96rem;
    font-weight: 900;
}

.psy-hero-portrait figcaption span {
    margin-top: 2px;
    color: var(--psy-muted);
    font-size: 0.75rem;
}

.psy-hero-shape {
    position: absolute;
    z-index: 3;
    display: block;
    border-radius: 50%;
}

.psy-hero-shape-one {
    top: 78px;
    left: 2px;
    width: 78px;
    height: 78px;
    background: rgba(20, 119, 201, 0.12);
    border: 1px solid rgba(20, 119, 201, 0.16);
}

.psy-hero-shape-two {
    top: 58px;
    left: 60px;
    width: 45px;
    height: 45px;
    border: 9px solid rgba(228, 201, 111, 0.42);
}

/* Trust */
.psy-trust-strip {
    position: relative;
    z-index: 5;
    border-block: 1px solid var(--psy-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--psy-shadow-sm);
}

.psy-trust-grid {
    display: grid;
    min-height: 105px;
    grid-template-columns: 0.85fr 1fr 1.55fr;
    align-items: center;
}

.psy-trust-grid > div {
    display: flex;
    min-width: 0;
    padding: 18px 28px;
    align-items: center;
    gap: 12px;
}

.psy-trust-grid > div + div {
    border-right: 1px solid var(--psy-line);
}

.psy-trust-grid strong,
.psy-trust-grid small {
    display: block;
}

.psy-trust-grid strong {
    color: var(--psy-navy);
    font-size: 0.86rem;
    font-weight: 850;
}

.psy-trust-grid small {
    margin-top: 2px;
    color: var(--psy-muted);
    font-size: 0.7rem;
}

.psy-icon-box {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    color: var(--psy-blue);
    background: var(--psy-sky-light);
    border-radius: 13px;
}

.psy-icon-box svg {
    width: 22px;
    height: 22px;
}

.psy-icon-science {
    font-size: 1.25rem;
    font-weight: 900;
}

.psy-social-choice {
    justify-content: space-between;
}

.psy-social-choice nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.psy-social-choice nav a {
    display: inline-flex;
    min-height: 37px;
    padding: 0 10px;
    align-items: center;
    gap: 5px;
    color: var(--psy-navy);
    background: var(--psy-ice);
    border: 1px solid var(--psy-line);
    border-radius: 11px;
    font-size: 0.7rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.psy-social-choice nav a:hover {
    color: var(--psy-white);
    background: var(--psy-blue);
}

.psy-social-choice nav svg {
    width: 17px;
    height: 17px;
}

/* Slider */
.psy-slider-shell {
    position: relative;
    padding-inline: 24px;
}

.psy-slider-track {
    display: flex;
    overflow-x: auto;
    padding: 4px 2px 24px;
    gap: 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.psy-slider-track::-webkit-scrollbar {
    display: none;
}

.psy-slider-arrow {
    position: absolute;
    z-index: 12;
    top: 46%;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0 0 3px;
    place-items: center;
    color: var(--psy-navy);
    background: var(--psy-white);
    border: 1px solid var(--psy-line);
    border-radius: 50%;
    box-shadow: 0 11px 28px rgba(22, 75, 114, 0.13);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease,
        transform 0.2s ease;
}

.psy-slider-arrow:hover {
    color: var(--psy-white);
    background: var(--psy-blue);
}

.psy-slider-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.psy-slider-prev {
    right: 0;
}

.psy-slider-next {
    left: 0;
}

.psy-slider-dots {
    display: flex;
    min-height: 10px;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.psy-slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    background: #c8dceb;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.psy-slider-dots button.is-active {
    width: 26px;
    background: var(--psy-blue);
}

/* Courses */
.psy-courses {
    background:
        radial-gradient(circle at 100% 50%, rgba(206, 234, 254, 0.55), transparent 22%),
        var(--psy-white);
}

.psy-course-card {
    display: grid;
    min-width: min(540px, calc(100vw - 70px));
    overflow: hidden;
    grid-template-columns: 0.92fr 1.08fr;
    background: var(--psy-white);
    border: 1px solid var(--psy-line);
    border-radius: var(--psy-radius-md);
    box-shadow: var(--psy-shadow-sm);
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.psy-course-card:hover {
    box-shadow: var(--psy-shadow-md);
    transform: translateY(-5px);
}

.psy-course-image {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    background: var(--psy-sky-light);
}

.psy-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.psy-course-card:hover .psy-course-image img {
    transform: scale(1.035);
}

.psy-course-image > span {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 11px;
    color: var(--psy-blue);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
}

.psy-course-body {
    display: flex;
    padding: 28px 25px 24px;
    flex-direction: column;
}

.psy-course-body h3 {
    margin: 0;
    color: var(--psy-navy-deep);
    font-size: 1.17rem;
    font-weight: 900;
    line-height: 1.7;
}

.psy-course-body > p {
    margin: 12px 0 20px;
    color: var(--psy-muted);
    font-size: 0.84rem;
    line-height: 1.9;
}

.psy-course-meta {
    display: flex;
    margin-top: auto;
    padding-top: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #58758f;
    border-top: 1px solid var(--psy-line);
    font-size: 0.72rem;
}

.psy-course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.psy-course-meta svg {
    width: 16px;
    height: 16px;
    color: var(--psy-blue);
}

.psy-card-button {
    display: flex;
    min-height: 43px;
    margin-top: 17px;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
    color: var(--psy-white);
    background: var(--psy-blue);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    transition: background 0.2s ease;
}

.psy-card-button:hover {
    background: var(--psy-navy);
}

.psy-card-button svg {
    width: 16px;
    height: 16px;
}

/* Videos */
.psy-videos {
    background: linear-gradient(180deg, var(--psy-sky-light), #eaf6ff);
}

.psy-video-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.psy-video-heading {
    display: block;
    margin: 0;
}

.psy-video-heading .psy-button {
    margin-top: 23px;
}

.psy-video-slider {
    min-width: 0;
}

.psy-video-track {
    gap: 14px;
}

.psy-video-card {
    min-width: calc((100% - 28px) / 3);
    scroll-snap-align: start;
}

.psy-video-card > a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dcecff;
    border-radius: 17px;
    box-shadow: 0 10px 25px rgba(23, 74, 112, 0.1);
}

.psy-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.psy-video-card:hover img {
    filter: brightness(0.84);
    transform: scale(1.04);
}

.psy-video-card time {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 7px;
    color: var(--psy-white);
    background: rgba(6, 40, 70, 0.76);
    border-radius: 7px;
    font-size: 0.68rem;
}

.psy-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--psy-white);
    background: rgba(10, 55, 104, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.psy-play-button svg {
    width: 22px;
    height: 22px;
}

.psy-video-card:hover .psy-play-button {
    background: var(--psy-blue);
    transform: translate(-50%, -50%) scale(1.08);
}

.psy-video-card h3 {
    margin: 12px 4px 0;
    color: var(--psy-navy-deep);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.75;
}

/* Book */
.psy-book {
    position: relative;
    overflow: hidden;
    background: var(--psy-white);
}

.psy-book::before {
    position: absolute;
    top: 12%;
    left: -115px;
    width: 330px;
    height: 330px;
    content: "";
    border: 1px solid rgba(89, 162, 218, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(89, 162, 218, 0.035),
        0 0 0 65px rgba(89, 162, 218, 0.025);
}

.psy-book-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.82fr 1.25fr 0.75fr;
    align-items: center;
    gap: 60px;
}

.psy-book-cover {
    position: relative;
    min-height: 390px;
    margin: 0;
}

.psy-book-cover > span {
    position: absolute;
    right: 4%;
    bottom: 16px;
    width: 86%;
    height: 85%;
    background: linear-gradient(145deg, #f4f9fd, #dcefff);
    border-radius: 48% 48% 25px 25px;
}

.psy-book-cover img {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 50%;
    width: 245px;
    height: 365px;
    object-fit: cover;
    border: 8px solid var(--psy-white);
    border-radius: 7px 14px 14px 7px;
    box-shadow: 16px 22px 38px rgba(36, 66, 87, 0.2);
    transform: translateX(50%) rotate(-2deg);
}

.psy-book-content > strong {
    display: block;
    margin-top: 4px;
    color: var(--psy-blue);
    font-size: 0.9rem;
}

.psy-book-content > p {
    margin: 20px 0 15px;
    color: var(--psy-muted);
    font-size: 0.95rem;
    line-height: 2;
}

.psy-book-content ul {
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.psy-book-content li {
    position: relative;
    padding: 6px 23px 6px 0;
    color: #476680;
    font-size: 0.84rem;
}

.psy-book-content li::before {
    position: absolute;
    top: 15px;
    right: 3px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--psy-gold);
    border-radius: 50%;
}

.psy-book-quote {
    margin: 0;
    padding: 28px 25px;
    color: var(--psy-navy);
    background: linear-gradient(145deg, #f7fbff, #eaf6ff);
    border: 1px solid var(--psy-line);
    border-radius: var(--psy-radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 2;
}

.psy-book-quote::before {
    display: block;
    margin-bottom: 2px;
    color: #a8d1ee;
    content: "“";
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.8;
}

/* Articles */
.psy-articles {
    background: var(--psy-ice);
}

.psy-article-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 18px;
}

.psy-article-card {
    overflow: hidden;
    background: var(--psy-white);
    border: 1px solid var(--psy-line);
    border-radius: var(--psy-radius-md);
    box-shadow: 0 9px 24px rgba(28, 78, 115, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.psy-article-card:hover {
    box-shadow: var(--psy-shadow-sm);
    transform: translateY(-4px);
}

.psy-article-featured {
    grid-row: span 2;
}

.psy-article-grid > article:nth-child(4) {
    grid-column: 2 / 4;
}

.psy-article-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--psy-sky);
}

.psy-article-featured .psy-article-image {
    aspect-ratio: 16 / 10;
}

.psy-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.psy-article-card:hover .psy-article-image img {
    transform: scale(1.04);
}

.psy-article-card > div {
    padding: 19px 20px 20px;
}

.psy-article-card > div > span {
    display: inline-flex;
    padding: 4px 9px;
    color: var(--psy-blue);
    background: var(--psy-sky-light);
    border-radius: 20px;
    font-size: 0.67rem;
    font-weight: 800;
}

.psy-article-card h3 {
    margin: 9px 0 0;
    color: var(--psy-navy-deep);
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.8;
}

.psy-article-featured h3 {
    font-size: 1.18rem;
}

.psy-article-card p {
    margin: 9px 0 12px;
    color: var(--psy-muted);
    font-size: 0.8rem;
}

.psy-article-card .psy-text-link {
    margin-top: 10px;
    font-size: 0.76rem;
}

/* About */
.psy-about {
    background: var(--psy-white);
}

.psy-about-grid {
    display: grid;
    grid-template-columns: 0.68fr 1.35fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.psy-about-title strong {
    display: block;
    margin-top: 4px;
    color: var(--psy-blue);
    font-size: 0.9rem;
}

.psy-about-copy {
    padding-inline: 35px;
    border-inline: 1px solid var(--psy-line);
}

.psy-about-copy p {
    margin: 0 0 14px;
    color: #4e6b87;
    font-size: 0.94rem;
    line-height: 2.1;
}

.psy-ethics-note {
    padding: 23px;
    background: linear-gradient(145deg, #f4faff, #e6f4ff);
    border: 1px solid var(--psy-line);
    border-radius: var(--psy-radius-md);
}

.psy-ethics-note strong {
    display: block;
    color: var(--psy-navy);
    font-size: 0.88rem;
    font-weight: 900;
}

.psy-ethics-note p {
    margin: 7px 0 0;
    color: var(--psy-muted);
    font-size: 0.76rem;
    line-height: 1.9;
}

/* Final CTA */
.psy-start-section {
    padding: 18px 0 80px;
}

.psy-start-card {
    position: relative;
    display: flex;
    min-height: 230px;
    overflow: hidden;
    padding: 48px 58px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 40%),
        linear-gradient(135deg, #e8f6ff, #cfeafd);
    border: 1px solid #cae4f6;
    border-radius: var(--psy-radius-lg);
}

.psy-start-card::after {
    position: absolute;
    top: -115px;
    left: -80px;
    width: 340px;
    height: 340px;
    content: "";
    border: 60px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
}

.psy-start-card > div {
    position: relative;
    z-index: 2;
}

.psy-start-card p {
    max-width: 600px;
    margin: 9px 0 0;
    color: var(--psy-muted);
    font-size: 0.9rem;
}

.psy-start-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

/* Footer */
.psy-footer {
    color: #dceaf6;
    background: var(--psy-navy-deep);
}

.psy-footer-main {
    display: grid;
    padding-block: 50px;
    grid-template-columns: 1.4fr 0.75fr 0.75fr;
    gap: 70px;
}

.psy-footer .psy-brand strong {
    color: var(--psy-white);
}

.psy-footer .psy-brand small {
    color: #a9c2d8;
}

.psy-footer-brand > p {
    max-width: 470px;
    margin: 18px 0 0;
    color: #aac0d2;
    font-size: 0.8rem;
    line-height: 2;
}

.psy-footer-links,
.psy-footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.psy-footer-links > strong,
.psy-footer-socials > strong {
    margin-bottom: 5px;
    color: var(--psy-white);
    font-size: 0.86rem;
    font-weight: 850;
}

.psy-footer-links a {
    color: #aac0d2;
    font-size: 0.76rem;
}

.psy-footer-links a:hover {
    color: var(--psy-white);
}

.psy-footer-socials > div {
    display: flex;
    gap: 9px;
}

.psy-footer-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--psy-white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.psy-footer-socials a:hover {
    background: var(--psy-blue);
    transform: translateY(-2px);
}

.psy-footer-socials svg {
    width: 19px;
    height: 19px;
}

.psy-footer-bottom {
    padding-block: 13px;
    color: #8faac0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.69rem;
}

.psy-footer-bottom .psy-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.psy-back-to-top {
    position: fixed;
    z-index: 80;
    bottom: 22px;
    left: 22px;
    display: grid;
    width: 45px;
    height: 45px;
    padding: 0;
    place-items: center;
    color: var(--psy-white);
    background: var(--psy-navy);
    border: 0;
    border-radius: 14px;
    box-shadow: var(--psy-shadow-md);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.psy-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Reveal is decorative only. Content remains available without JavaScript. */
.js .psy-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .psy-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .psy-desktop-nav {
        gap: 15px;
    }

    .psy-desktop-nav a {
        font-size: 0.8rem;
    }

    .psy-header-social span {
        display: none;
    }

    .psy-header-social {
        width: 43px;
        padding: 0;
        justify-content: center;
    }

    .psy-hero-grid {
        gap: 28px;
    }

    .psy-hero-content h1 {
        font-size: 2.75rem;
    }

    .psy-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .psy-trust-grid > div:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--psy-line);
        border-right: 0;
    }

    .psy-video-layout {
        grid-template-columns: 1fr;
    }

    .psy-video-heading {
        display: flex;
    }

    .psy-book-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .psy-book-quote {
        grid-column: 1 / -1;
    }

    .psy-about-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .psy-ethics-note {
        grid-column: 1 / -1;
    }

    .psy-about-copy {
        border-left: 0;
    }
}

@media (max-width: 820px) {
    :root {
        --psy-shell: min(100% - 28px, 680px);
    }

    html {
        scroll-padding-top: 76px;
    }

    .psy-header-inner {
        min-height: 70px;
    }

    .psy-header .psy-brand img,
    .psy-mobile-menu .psy-brand img {
        width: 43px;
        height: 43px;
    }

    .psy-header .psy-brand strong {
        font-size: 0.9rem;
    }

    .psy-header .psy-brand small {
        font-size: 0.65rem;
    }

    .psy-desktop-nav,
    .psy-header-social {
        display: none;
    }

    .psy-menu-button {
        display: grid;
        margin-right: auto;
    }

    .psy-mobile-backdrop {
        position: fixed;
        z-index: 1090;
        inset: 0;
        display: block;
        visibility: hidden;
        background: rgba(6, 40, 70, 0.45);
        opacity: 0;
        backdrop-filter: blur(3px);
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .psy-mobile-backdrop.is-open {
        visibility: visible;
        opacity: 1;
    }

    .psy-mobile-menu {
        position: fixed;
        z-index: 1100;
        top: 0;
        right: 0;
        display: flex;
        width: min(87vw, 360px);
        height: 100dvh;
        padding: 20px;
        flex-direction: column;
        background: var(--psy-white);
        box-shadow: -20px 0 55px rgba(4, 35, 62, 0.2);
        transform: translateX(105%);
        transition: transform 0.3s ease;
    }

    .psy-mobile-menu.is-open {
        transform: translateX(0);
    }

    .psy-mobile-menu-head {
        display: flex;
        padding-bottom: 18px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--psy-line);
    }

    .psy-mobile-menu-head > button {
        display: grid;
        width: 40px;
        height: 40px;
        padding: 0;
        place-items: center;
        color: var(--psy-navy);
        background: var(--psy-sky-light);
        border: 0;
        border-radius: 12px;
        cursor: pointer;
    }

    .psy-mobile-menu-head > button svg {
        width: 21px;
        height: 21px;
    }

    .psy-mobile-menu > nav {
        display: flex;
        padding-block: 22px;
        flex-direction: column;
        gap: 4px;
    }

    .psy-mobile-menu > nav a {
        padding: 11px 13px;
        color: var(--psy-text);
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .psy-mobile-menu > nav a:hover {
        color: var(--psy-blue);
        background: var(--psy-sky-light);
    }

    .psy-mobile-socials {
        display: grid;
        margin-top: auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .psy-mobile-socials a {
        display: grid;
        min-height: 40px;
        place-items: center;
        color: var(--psy-navy);
        background: var(--psy-sky-light);
        border-radius: 10px;
        font-size: 0.7rem;
        font-weight: 800;
    }

    .psy-hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .psy-hero-content {
        padding: 56px 0 10px;
        text-align: center;
    }

    .psy-hero-content h1 {
        margin-inline: auto;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .psy-hero-content > p {
        margin-inline: auto;
    }

    .psy-hero-actions {
        justify-content: center;
    }

    .psy-hero-content blockquote {
        display: inline-block;
        padding: 8px 13px;
        border-right: 0;
        border-bottom: 2px solid var(--psy-gold);
    }

    .psy-hero-portrait {
        width: min(100%, 520px);
        min-height: 470px;
        margin-inline: auto;
    }

    .psy-hero-portrait figcaption {
        right: 5%;
    }

    .psy-trust-grid {
        grid-template-columns: 1fr;
    }

    .psy-trust-grid > div {
        padding: 16px 10px;
    }

    .psy-trust-grid > div + div,
    .psy-trust-grid > div:nth-child(3) {
        grid-column: auto;
        border-top: 1px solid var(--psy-line);
        border-right: 0;
    }

    .psy-section {
        padding-block: 70px;
    }

    .psy-section-heading,
    .psy-video-heading {
        display: block;
    }

    .psy-section-heading .psy-text-link,
    .psy-video-heading .psy-button {
        margin-top: 18px;
    }

    .psy-course-card {
        min-width: min(86%, 520px);
    }

    .psy-video-card {
        min-width: calc((100% - 14px) / 2);
    }

    .psy-book-grid {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 30px;
    }

    .psy-book-cover img {
        width: 210px;
        height: 315px;
    }

    .psy-article-grid {
        grid-template-columns: 1fr 1fr;
    }

    .psy-article-featured {
        grid-row: auto;
    }

    .psy-article-grid > article:nth-child(4) {
        grid-column: auto;
    }

    .psy-about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .psy-about-copy {
        padding: 0;
        border: 0;
    }

    .psy-start-card {
        display: block;
        padding: 40px 35px;
    }

    .psy-start-actions {
        margin-top: 24px;
    }

    .psy-footer-main {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 40px;
    }

    .psy-footer-socials {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    :root {
        --psy-shell: calc(100% - 22px);
        --psy-radius-md: 18px;
    }

    .psy-brand img {
        width: 41px;
        height: 41px;
    }

    .psy-hero-content {
        padding-top: 44px;
    }

    .psy-hero-content h1 {
        font-size: 2rem;
        letter-spacing: -0.6px;
    }

    .psy-hero-content > p {
        font-size: 0.88rem;
        line-height: 1.95;
    }

    .psy-hero-actions .psy-button {
        flex: 1 1 145px;
        padding-inline: 13px;
    }

    .psy-hero-portrait {
        min-height: 390px;
    }

    .psy-hero-portrait figcaption {
        right: 2%;
        bottom: 17px;
        min-width: 190px;
        padding: 11px 14px;
    }

    .psy-social-choice {
        display: block !important;
    }

    .psy-social-choice nav {
        display: grid;
        margin-top: 13px;
        grid-template-columns: repeat(3, 1fr);
    }

    .psy-social-choice nav a {
        justify-content: center;
    }

    .psy-section {
        padding-block: 55px;
    }

    .psy-section-heading h2,
    .psy-book-content h2,
    .psy-about-title h2,
    .psy-start-card h2 {
        font-size: 1.55rem;
    }

    .psy-slider-shell {
        width: calc(100% + 11px);
        padding-inline: 0;
    }

    .psy-slider-arrow {
        display: none;
    }

    .psy-course-track,
    .psy-video-track {
        padding-left: 34px;
    }

    .psy-course-card {
        min-width: 86%;
        grid-template-columns: 1fr;
    }

    .psy-course-image {
        min-height: 210px;
        aspect-ratio: 16 / 9;
    }

    .psy-course-body {
        padding: 20px 18px;
    }

    .psy-course-body h3 {
        font-size: 1rem;
    }

    .psy-video-card {
        min-width: 82%;
    }

    .psy-book-grid {
        grid-template-columns: 1fr;
    }

    .psy-book-cover {
        min-height: 350px;
    }

    .psy-book-cover img {
        width: 215px;
        height: 322px;
    }

    .psy-book-quote {
        grid-column: auto;
    }

    .psy-article-grid {
        grid-template-columns: 1fr;
    }

    .psy-article-featured h3 {
        font-size: 1rem;
    }

    .psy-start-section {
        padding-bottom: 55px;
    }

    .psy-start-card {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .psy-start-actions {
        display: grid;
    }

    .psy-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .psy-footer-socials {
        grid-column: auto;
    }

    .psy-footer-bottom .psy-shell {
        display: block;
        text-align: center;
    }

    .psy-footer-bottom span {
        display: block;
    }

    .psy-back-to-top {
        bottom: 15px;
        left: 15px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
