/* ============================================================
   POLISA EDUKACJA — HOMEPAGE v0.9.0
   Scope: .pe-home
   ============================================================ */

.pe-home {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: clip;
    background: var(--pe-paper);
}

.pe-home .pe-anchor {
    scroll-margin-top: calc(var(--pe-header-height) + 24px);
}

.pe-home .pe-eyebrow--dark {
    color: rgba(255, 255, 255, .62);
}

.pe-home h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 5.15vw, 4.35rem);
    line-height: 1.02;
}

.pe-home h2 {
    font-size: clamp(2.05rem, 3.9vw, 3.15rem);
    line-height: 1.08;
}

.pe-home h3 {
    font-family: var(--pe-font-sans);
    font-weight: 750;
    letter-spacing: -.025em;
}

/* ============================================================
   HERO
   ============================================================ */

.pe-home-hero {
    padding: 96px 0 0;
    background: var(--pe-paper);
}

.pe-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr);
    align-items: center;
    gap: clamp(54px, 7vw, 94px);
}

.pe-home-hero__lead {
    max-width: 700px;
    margin: 0;
    font-size: clamp(1.08rem, 1.45vw, 1.22rem);
    line-height: 1.65;
}

.pe-home-routes {
    max-width: 760px;
    margin-top: 36px;
    border-top: 1px solid var(--pe-line);
}

.pe-home-route {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 18px;
    padding: 19px 2px;
    border-bottom: 1px solid var(--pe-line);
    position: relative;
    color: var(--pe-ink) !important;
    text-decoration: none;
    transition: padding-left .18s ease, border-color .18s ease, transform .18s ease;
}

.pe-home-route::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    bottom: 17px;
    width: 3px;
    background: var(--pe-marker);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.pe-home-route:hover,
.pe-home-route:focus-visible {
    padding-left: 8px;
    border-bottom-color: rgba(36, 87, 230, .35);
    transform: translateY(-2px);
}

.pe-home-route:hover::before,
.pe-home-route:focus-visible::before {
    transform: scaleY(1);
}

.pe-home-route__num {
    color: var(--pe-cobalt);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pe-home-route__body {
    display: grid;
    grid-template-columns: minmax(160px, .65fr) minmax(180px, 1fr);
    align-items: baseline;
    gap: 4px 20px;
}

.pe-home-route__body strong {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--pe-ink);
    font-size: 18px;
    line-height: 1.25;
}

.pe-home-route__body small {
    color: var(--pe-cobalt);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pe-home-route__body span {
    color: var(--pe-slate);
    font-size: 13px;
    line-height: 1.45;
}

.pe-home-route__arrow {
    justify-self: end;
    color: var(--pe-slate);
    font-size: 22px;
    transition: color .18s ease, transform .18s ease;
}

.pe-home-route:hover .pe-home-route__arrow,
.pe-home-route:focus-visible .pe-home-route__arrow {
    color: var(--pe-cobalt);
    transform: translateX(3px);
}

.pe-home-hero__visual {
    position: relative;
    min-height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius-lg);
    background: rgba(255, 255, 255, .58);
}

.pe-home-hero__visual::before,
.pe-home-hero__visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.pe-home-hero__visual::before {
    top: 26px;
    right: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pe-marker);
}

.pe-home-hero__visual::after {
    right: -1px;
    bottom: 44px;
    width: 3px;
    height: 88px;
    background: var(--pe-cobalt);
}

.pe-home-path {
    display: grid;
    gap: 0;
}

.pe-home-path__item {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 18px;
}

.pe-home-path__item span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--pe-line);
    border-radius: 50%;
    color: var(--pe-cobalt);
    background: var(--pe-white);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
}

.pe-home-path__item.is-first span {
    border-color: var(--pe-marker);
    background: var(--pe-marker);
    color: var(--pe-ink);
}

.pe-home-path__item strong {
    color: var(--pe-ink);
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    letter-spacing: -.045em;
}

.pe-home-path__line {
    width: 1px;
    height: 64px;
    margin-left: 23px;
    background: rgba(36, 87, 230, .22);
}

.pe-home-path__sums {
    display: grid;
    grid-template-columns: auto minmax(54px, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--pe-line);
}

.pe-home-path__sum {
    color: var(--pe-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.pe-home-path__sumline {
    position: relative;
    height: 1px;
    overflow: hidden;
    background: var(--pe-line);
}

.pe-home-path__sumline::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pe-cobalt);
    transform: scaleX(1);
    transform-origin: left center;
}

.pe-home-path__sums small {
    grid-column: 1 / -1;
    color: var(--pe-slate);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pe-home-pzu-proof {
    display: inline-grid;
    grid-template-columns: 62px minmax(0, auto);
    align-items: center;
    gap: 18px;
    margin-top: 52px;
    padding: 15px 18px;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    background: rgba(255, 255, 255, .52);
}

.pe-home-pzu-proof__logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    padding: 6px;
    border-radius: 12px;
    background: var(--pe-white);
}

.pe-home-pzu-proof__logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.pe-home-pzu-proof strong,
.pe-home-pzu-proof span {
    display: block;
}

.pe-home-pzu-proof strong {
    margin-bottom: 5px;
    color: var(--pe-ink);
    font-size: 15px;
}

.pe-home-pzu-proof span {
    color: var(--pe-slate);
    font-size: 12.5px;
    line-height: 1.45;
}

.pe-home-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 32px;
    border-top: 1px solid var(--pe-line);
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-trust__item {
    min-height: 104px;
    padding: 23px 24px;
}

.pe-home-trust__item + .pe-home-trust__item {
    border-left: 1px solid var(--pe-line);
}

.pe-home-trust__item strong,
.pe-home-trust__item span {
    display: block;
}

.pe-home-trust__item strong {
    color: var(--pe-ink);
    font-size: 16px;
    line-height: 1.3;
}

.pe-home-trust__item span {
    margin-top: 5px;
    color: var(--pe-slate);
    font-size: 12px;
    line-height: 1.45;
}

/* ============================================================
   DARK REFRAME
   ============================================================ */

.pe-home-dark {
    margin-top: 0;
    padding: 112px 0 96px;
    background: var(--pe-ink);
    color: var(--pe-white);
}

.pe-home-dark__grid {
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 90px;
}

.pe-home-dark h2 {
    max-width: 660px;
    margin-bottom: 0;
    color: var(--pe-white);
}

.pe-home-dark__copy p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.72;
}

.pe-home-dark__copy .pe-home-dark__note {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .56);
    font-size: 13px;
}

.pe-home-dayline {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 74px;
}

.pe-home-dayline span {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
}

.pe-home-dayline i {
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.pe-home-dayline i:nth-of-type(2) {
    background: rgba(242, 201, 76, .62);
}

/* ============================================================
   SHARED SECTION / HEADINGS
   ============================================================ */

.pe-home-section {
    padding: 118px 0;
}

.pe-home-section--paper {
    background: var(--pe-paper);
}

.pe-home-heading {
    max-width: 900px;
    margin-bottom: 54px;
}

.pe-home-heading--narrow {
    max-width: 760px;
}

.pe-home-heading h2 {
    margin-bottom: 18px;
}

.pe-home-heading > p:last-child,
.pe-home-heading--narrow > p:last-child {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

/* ============================================================
   VALUE GRID
   ============================================================ */

.pe-home-value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--pe-line);
    border-left: 1px solid var(--pe-line);
}

.pe-home-value-item {
    min-height: 250px;
    padding: 34px 38px;
    border-right: 1px solid var(--pe-line);
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-value-item__num {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--pe-cobalt);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
}

.pe-home-value-item h3 {
    margin-bottom: 11px;
    font-size: 21px;
}

.pe-home-value-item p {
    max-width: 490px;
    margin: 0;
    font-size: 14px;
    line-height: 1.68;
}

/* ============================================================
   CASE TEASER
   ============================================================ */

.pe-home-case {
    padding-top: 104px;
    padding-bottom: 104px;
    background: var(--pe-white);
    border-top: 1px solid var(--pe-line);
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-case__grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: 86px;
}

.pe-home-case__copy h2 {
    margin-bottom: 20px;
}

.pe-home-case__copy > p:not(.pe-eyebrow) {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.72;
}

.pe-home-case__flow {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
    align-items: center;
}

.pe-home-case__flow div {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 23px;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    background: var(--pe-paper);
}

.pe-home-case__flow div:nth-of-type(1) {
    border-color: rgba(242, 201, 76, .7);
}

.pe-home-case__flow span {
    color: var(--pe-cobalt);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
}

.pe-home-case__flow strong {
    color: var(--pe-ink);
    font-size: 13px;
    letter-spacing: .04em;
}

.pe-home-case__flow i {
    height: 1px;
    background: var(--pe-line);
}

/* ============================================================
   PROPOSALS SPECTRUM
   ============================================================ */

.pe-home-proposals {
    background: var(--pe-mist);
}

.pe-home-sumline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 0;
    overflow-x: auto;
    border-top: 1px solid rgba(36, 87, 230, .16);
    border-bottom: 1px solid rgba(36, 87, 230, .16);
    scrollbar-width: thin;
}

.pe-home-sumline__item {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
}

.pe-home-sumline__item strong {
    color: var(--pe-ink);
    font-size: clamp(1.55rem, 2.35vw, 2.45rem);
    letter-spacing: -.04em;
}

.pe-home-sumline__item small,
.pe-home-sumline > b {
    color: var(--pe-slate);
    font-size: 11px;
    font-weight: 750;
}

.pe-home-sumline i {
    min-width: 16px;
    height: 1px;
    flex: 1 0 16px;
    background: rgba(36, 87, 230, .28);
}

.pe-home-proposals__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* ============================================================
   SEGMENTS
   ============================================================ */

.pe-home-segments {
    background: var(--pe-paper);
}

.pe-home-segment {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
    padding: 74px 0;
    border-top: 1px solid var(--pe-line);
}

.pe-home-segment:last-child {
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-segment--student {
    grid-template-columns: .85fr 1.15fr;
}

.pe-home-segment__media {
    min-height: 470px;
    overflow: hidden;
    border-radius: var(--pe-radius-lg);
    background: #E8E6E0;
}

.pe-home-segment__media img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

.pe-home-segment--child .pe-home-segment__media img {
    object-position: center 38%;
}

.pe-home-segment--student .pe-home-segment__media img {
    object-position: center 34%;
}

.pe-home-segment--teacher .pe-home-segment__media img {
    object-position: center 40%;
}

.pe-home-segment__copy {
    max-width: 500px;
}

.pe-home-segment__num {
    display: block;
    margin-bottom: 24px;
    color: var(--pe-cobalt);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
}

.pe-home-segment__copy h3 {
    margin-bottom: 17px;
    font-family: var(--pe-font-display);
    font-size: clamp(1.75rem, 2.8vw, 2.65rem);
    line-height: 1.13;
    font-weight: 650;
    letter-spacing: -.035em;
}

.pe-home-segment__copy p {
    margin: 0 0 23px;
    font-size: 16px;
    line-height: 1.7;
}

.pe-home-segment__copy > a {
    color: var(--pe-ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 87, 230, .36);
}

.pe-home-segment__copy > a:hover {
    color: var(--pe-cobalt);
}

/* ============================================================
   IMPORTANT / TRUST
   ============================================================ */

.pe-home-important {
    background: var(--pe-mist);
}

.pe-home-important__grid {
    display: grid;
    grid-template-columns: .74fr 1.26fr;
    gap: 84px;
}

.pe-home-important__intro {
    position: sticky;
    top: calc(var(--pe-header-height) + 36px);
    align-self: start;
}

.pe-home-important__intro h2 {
    margin-bottom: 24px;
}

.pe-home-important__intro > a {
    color: var(--pe-cobalt);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.pe-home-important__items {
    border-top: 1px solid rgba(36, 87, 230, .15);
}

.pe-home-important__items article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(36, 87, 230, .15);
}

.pe-home-important__items article > span {
    color: var(--pe-cobalt);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
}

.pe-home-important__items h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.pe-home-important__items p {
    max-width: 590px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

/* ============================================================
   PROCESS
   ============================================================ */

.pe-home-process {
    background: var(--pe-white);
}

.pe-home-process__top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 44px;
}

.pe-home-process__logos {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 54px;
}

.pe-home-process__logos > div {
    width: 94px;
    height: 72px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--pe-line);
    border-radius: 12px;
    background: var(--pe-white);
}

.pe-home-process__logos img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.pe-home-process__logos > div:first-child img {
    width: 52px;
    height: 52px;
}

.pe-home-process__logos > span {
    width: 26px;
    height: 1px;
    background: var(--pe-line);
}

.pe-home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pe-line);
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-steps li {
    min-height: 220px;
    padding: 30px 28px;
}

.pe-home-steps li + li {
    border-left: 1px solid var(--pe-line);
}

.pe-home-steps span {
    display: block;
    margin-bottom: 44px;
    color: var(--pe-cobalt);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
}

.pe-home-steps h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.pe-home-steps p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.pe-home-process__note {
    margin: 22px 0 0;
    color: var(--pe-slate);
    font-size: 13px;
    line-height: 1.6;
}

.pe-home-process__note strong {
    color: var(--pe-ink);
}

/* ============================================================
   AGENT + DOCUMENTS
   ============================================================ */

.pe-home-trust-cluster {
    background: var(--pe-paper);
    border-top: 1px solid var(--pe-line);
}

.pe-home-trust-cluster__grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 26px;
}

.pe-home-agent-card,
.pe-home-doc-card {
    overflow: hidden;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius-lg);
    background: var(--pe-white);
}

.pe-home-agent-card {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
}

.pe-home-agent-card__photo {
    min-height: 100%;
    background: #E8E6E0;
}

.pe-home-agent-card__photo img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    object-position: center top;
}

.pe-home-agent-card__copy,
.pe-home-doc-card {
    padding: clamp(34px, 4.6vw, 56px);
}

.pe-home-agent-card__copy h2,
.pe-home-doc-card h2 {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 2.7vw, 2.55rem);
}

.pe-home-agent-card__copy > p:not(.pe-eyebrow),
.pe-home-doc-card > p:not(.pe-eyebrow) {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.68;
}

.pe-home-agent-card__copy > strong,
.pe-home-agent-card__copy > span {
    display: block;
}

.pe-home-agent-card__copy > strong {
    color: var(--pe-ink);
    font-size: 17px;
}

.pe-home-agent-card__copy > span {
    margin-top: 3px;
    color: var(--pe-slate);
    font-size: 12px;
}

.pe-home-agent-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin-top: 17px;
}

.pe-home-agent-card__actions a,
.pe-home-text-link {
    color: var(--pe-ink);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.pe-home-text-link {
    display: inline-block;
    margin-top: 19px;
    color: var(--pe-cobalt);
}

.pe-home-doc-list {
    margin: 31px 0 30px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pe-line);
}

.pe-home-doc-list li {
    padding: 19px 0;
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-doc-list strong,
.pe-home-doc-list span {
    display: block;
}

.pe-home-doc-list strong {
    margin-bottom: 5px;
    color: var(--pe-ink);
    font-size: 14px;
}

.pe-home-doc-list span {
    color: var(--pe-slate);
    font-size: 12px;
    line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */

.pe-home-faq {
    background: var(--pe-white);
}

.pe-home-faq__grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 90px;
}

.pe-home-faq__intro h2 {
    margin-bottom: 18px;
}

.pe-home-faq__intro > p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.pe-home-faq__list {
    border-top: 1px solid var(--pe-line);
}

.pe-home-faq details {
    border-bottom: 1px solid var(--pe-line);
}

.pe-home-faq summary {
    position: relative;
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 20px 46px 20px 0;
    color: var(--pe-ink);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.pe-home-faq summary::-webkit-details-marker {
    display: none;
}

.pe-home-faq summary::after {
    content: "+";
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pe-cobalt);
    font-size: 25px;
    font-weight: 400;
}

.pe-home-faq details[open] summary::after {
    content: "−";
}

.pe-home-faq details p {
    max-width: 720px;
    margin: -2px 46px 22px 0;
    color: var(--pe-slate);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.pe-home-final {
    padding: 104px 0 34px;
    background: var(--pe-ink);
    color: var(--pe-white);
}

.pe-home-final__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: end;
    gap: 90px;
}

.pe-home-final h2 {
    margin-bottom: 17px;
    color: var(--pe-white);
}

.pe-home-final p:not(.pe-eyebrow) {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    line-height: 1.7;
}

.pe-home-final__actions {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.pe-home-final__actions a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: var(--pe-white);
    font-size: 18px;
    font-weight: 750;
    text-decoration: none;
    transition: padding-left .18s ease, background-color .18s ease;
}

.pe-home-final__actions a:hover {
    padding-left: 8px;
    background: rgba(255, 255, 255, .035);
}

.pe-home-final__actions span {
    color: var(--pe-marker);
    font-size: 10px;
    letter-spacing: .08em;
}

.pe-home-final__actions b {
    font-size: 21px;
    font-weight: 400;
}

.pe-home-final__foot {
    margin-top: 66px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .45);
    font-size: 11.5px;
}

/* ============================================================
   MOTION — HERO + SUBTLE SCROLL REVEALS
   ============================================================ */

@keyframes peHomeRise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes peHomeVisualIn {
    from { opacity: 0; transform: translateY(10px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes peHomePathItemIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes peHomePathDraw {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes peHomeSumDraw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .pe-home-hero__copy > .pe-eyebrow,
    .pe-home-hero__copy > h1,
    .pe-home-hero__lead,
    .pe-home-routes,
    .pe-home-hero__visual {
        opacity: 0;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(.22, .61, .36, 1);
    }

    .pe-home-hero__copy > .pe-eyebrow {
        animation-name: peHomeRise;
        animation-duration: .42s;
        animation-delay: .05s;
    }

    .pe-home-hero__copy > h1 {
        animation-name: peHomeRise;
        animation-duration: .5s;
        animation-delay: .13s;
    }

    .pe-home-hero__lead {
        animation-name: peHomeRise;
        animation-duration: .5s;
        animation-delay: .23s;
    }

    .pe-home-routes {
        animation-name: peHomeRise;
        animation-duration: .52s;
        animation-delay: .34s;
    }

    .pe-home-hero__visual {
        animation-name: peHomeVisualIn;
        animation-duration: .62s;
        animation-delay: .2s;
    }

    .pe-home-path__item,
    .pe-home-path__sums {
        opacity: 0;
        animation: peHomePathItemIn .46s cubic-bezier(.22, .61, .36, 1) both;
    }

    .pe-home-path__item.is-first { animation-delay: .48s; }
    .pe-home-path__item:not(.is-first):not(.is-last) { animation-delay: .72s; }
    .pe-home-path__item.is-last { animation-delay: .96s; }
    .pe-home-path__sums { animation-delay: 1.08s; }

    .pe-home-path__line {
        transform: scaleY(0);
        transform-origin: top center;
        animation: peHomePathDraw .34s ease-out both;
    }

    .pe-home-path__line:nth-of-type(2) { animation-delay: .62s; }
    .pe-home-path__line:nth-of-type(4) { animation-delay: .86s; }

    .pe-home-path__sumline::after {
        transform: scaleX(0);
        animation: peHomeSumDraw .7s cubic-bezier(.22, .61, .36, 1) 1.28s both;
    }

    .pe-home.pe-motion-ready [data-pe-reveal] {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .48s ease, transform .48s cubic-bezier(.22, .61, .36, 1);
    }

    .pe-home.pe-motion-ready [data-pe-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1080px) {
    .pe-home-hero__grid {
        grid-template-columns: 1fr .72fr;
        gap: 48px;
    }

    .pe-home-hero__visual {
        min-height: 470px;
        padding: 34px;
    }

    .pe-home-route__body {
        grid-template-columns: 1fr;
    }

    .pe-home-route__body strong {
        grid-row: auto;
    }

    .pe-home-dark__grid,
    .pe-home-case__grid,
    .pe-home-important__grid,
    .pe-home-faq__grid {
        gap: 58px;
    }

    .pe-home-case__flow {
        grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
    }

    .pe-home-segment {
        gap: 52px;
    }

    .pe-home-trust-cluster__grid {
        grid-template-columns: 1fr;
    }

    .pe-home-agent-card {
        grid-template-columns: .52fr 1.48fr;
    }
}

@media (max-width: 980px) {
    .pe-home-hero {
        padding-top: 76px;
    }

    .pe-home-hero__grid,
    .pe-home-dark__grid,
    .pe-home-case__grid,
    .pe-home-important__grid,
    .pe-home-process__top,
    .pe-home-faq__grid,
    .pe-home-final__grid {
        grid-template-columns: 1fr;
    }

    .pe-home-hero__visual {
        min-height: 0;
        max-width: 640px;
        margin-top: 8px;
    }

    .pe-home-pzu-proof {
        margin-top: 34px;
    }

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

    .pe-home-trust__item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-trust__item:nth-child(4) {
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-dark,
    .pe-home-section {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .pe-home-dayline {
        gap: 10px;
        margin-top: 56px;
    }

    .pe-home-case__flow {
        margin-top: 8px;
    }

    .pe-home-segment,
    .pe-home-segment--student {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .pe-home-segment__media,
    .pe-home-segment__media img {
        min-height: 400px;
    }

    .pe-home-important__intro {
        position: static;
    }

    .pe-home-process__top {
        gap: 0;
    }

    .pe-home-process__logos {
        margin: -24px 0 38px;
    }

    .pe-home-steps {
        grid-template-columns: 1fr 1fr;
    }

    .pe-home-steps li:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-steps li:nth-child(4) {
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-agent-card {
        grid-template-columns: .68fr 1.32fr;
    }

    .pe-home-final__grid {
        gap: 50px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {
    .pe-home h1 {
        font-size: clamp(2.45rem, 11.4vw, 3.2rem);
    }

    .pe-home h2 {
        font-size: clamp(1.95rem, 8.3vw, 2.55rem);
    }

    .pe-home-hero {
        padding-top: 58px;
    }

    .pe-home-hero__visual {
        padding: 26px;
        border-radius: var(--pe-radius);
    }

    .pe-home-path__line {
        height: 46px;
    }

    .pe-home-path__item strong {
        font-size: 1.55rem;
    }

    .pe-home-route {
        grid-template-columns: 32px 1fr 24px;
        gap: 12px;
        padding: 18px 0;
    }

    .pe-home-route__body strong {
        font-size: 17px;
    }

    .pe-home-pzu-proof {
        width: 100%;
        grid-template-columns: 54px 1fr;
        gap: 14px;
        padding: 14px;
    }

    .pe-home-pzu-proof__logo {
        width: 54px;
        height: 54px;
    }

    .pe-home-pzu-proof__logo img {
        width: 44px;
        height: 44px;
    }

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

    .pe-home-trust__item {
        min-height: 0;
        padding: 18px 0;
        border-left: 0 !important;
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-trust__item:first-child {
        border-top: 0;
    }

    .pe-home-dark,
    .pe-home-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .pe-home-dark__copy p {
        font-size: 16px;
    }

    .pe-home-dayline {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 16px;
        border-left: 1px solid rgba(255, 255, 255, .18);
    }

    .pe-home-dayline i {
        width: 1px;
        height: 18px;
        margin-left: 0;
        background: rgba(255, 255, 255, .18) !important;
    }

    .pe-home-heading {
        margin-bottom: 38px;
    }

    .pe-home-value-grid {
        grid-template-columns: 1fr;
    }

    .pe-home-value-item {
        min-height: 0;
        padding: 28px 26px;
    }

    .pe-home-value-item__num {
        margin-bottom: 18px;
    }

    .pe-home-case__flow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pe-home-case__flow div {
        min-height: 108px;
    }

    .pe-home-case__flow i {
        width: 1px;
        height: 24px;
        margin-left: 24px;
    }

    .pe-home-sumline {
        gap: 8px;
        margin-right: calc(var(--pe-gutter) * -1);
        padding-right: var(--pe-gutter);
    }

    .pe-home-sumline__item strong {
        font-size: 1.55rem;
    }

    .pe-home-proposals__actions .pe-btn {
        width: 100%;
    }

    .pe-home-segment,
    .pe-home-segment--student {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 54px 0;
    }

    .pe-home-segment--student .pe-home-segment__copy {
        order: 2;
    }

    .pe-home-segment--student .pe-home-segment__media {
        order: 1;
    }

    .pe-home-segment__media,
    .pe-home-segment__media img {
        min-height: 330px;
    }

    .pe-home-important__items article {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .pe-home-process__logos {
        margin-top: -12px;
    }

    .pe-home-steps {
        grid-template-columns: 1fr;
    }

    .pe-home-steps li {
        min-height: 0;
        padding: 26px 0;
        border-left: 0 !important;
        border-top: 1px solid var(--pe-line);
    }

    .pe-home-steps li:first-child {
        border-top: 0;
    }

    .pe-home-steps span {
        margin-bottom: 20px;
    }

    .pe-home-agent-card {
        grid-template-columns: 1fr;
    }

    .pe-home-agent-card__photo img {
        min-height: 360px;
        max-height: 440px;
    }

    .pe-home-agent-card__copy,
    .pe-home-doc-card {
        padding: 30px 24px;
    }

    .pe-home-faq__grid {
        gap: 40px;
    }

    .pe-home-faq summary {
        font-size: 15px;
    }

    .pe-home-final {
        padding-top: 76px;
    }

    .pe-home-final__actions a {
        min-height: 68px;
        font-size: 17px;
    }

    .pe-home-final__foot {
        margin-top: 48px;
    }
}

@media (max-width: 440px) {
    .pe-home-hero__visual {
        display: none;
    }

    .pe-home-route__num {
        display: none;
    }

    .pe-home-route {
        grid-template-columns: 1fr 24px;
    }

    .pe-home-process__logos > div {
        width: 82px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pe-home-route,
    .pe-home-route::before,
    .pe-home-route__arrow,
    .pe-home-final__actions a,
    .pe-home [data-pe-reveal] {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .pe-home-path__sumline::after,
    .pe-home-path__line {
        animation: none !important;
        transform: none !important;
    }
}
