:root {
    --pl-ink: #0b1533;
    --pl-ink-soft: #152348;
    --pl-paper: #ffffff;
    --pl-canvas: #f2f5fa;
    --pl-blue: #2857e8;
    --pl-blue-dark: #1739a7;
    --pl-coral: #f05a42;
    --pl-yellow: #f5c84c;
    --pl-mint: #198f78;
    --pl-text: #17213a;
    --pl-muted: #526079;
    --pl-line: #d7deeb;
    --pl-line-strong: #aab6cc;
    --pl-shadow: 0 20px 60px rgba(11, 21, 51, .12);
    --pl-radius: 20px;
    --pl-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 5.25rem;
}

body {
    margin: 0;
    background: var(--pl-canvas) !important;
    color: var(--pl-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    display: block;
}

h1,
h2,
h3 {
    color: var(--pl-text);
    letter-spacing: -.035em;
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

a,
button,
input,
textarea,
select {
    touch-action: manipulation;
}

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

button {
    cursor: pointer;
}

::selection {
    background: var(--pl-yellow);
    color: var(--pl-ink);
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--pl-coral) !important;
    outline-offset: 3px !important;
}

.hidden {
    display: none !important;
}

.scroll-reveal,
.scroll-reveal.revealed {
    opacity: 1 !important;
    transform: none !important;
}

.text-gradient,
.gradient-text-secondary {
    background: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    border-color: rgba(11, 21, 51, .12) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 30px rgba(11, 21, 51, .07);
    backdrop-filter: blur(16px);
}

.site-nav__bar {
    width: min(100%, calc(var(--pl-width) + 3rem));
    min-height: 4.5rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-nav-spacer {
    height: 4.5rem !important;
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: var(--pl-ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.025em;
    text-decoration: none;
}

.site-brand__mark {
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--pl-blue);
    border-radius: 12px 12px 4px 12px;
    transform: rotate(-2deg);
}

.site-brand__mark svg {
    width: 1.8rem;
    height: 1.8rem;
}

.site-nav__desktop,
.site-nav__account {
    align-items: center;
    gap: 1.55rem;
}

.site-nav__account {
    display: flex;
}

.site-nav__link {
    position: relative;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: #39445b;
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .28rem;
    left: 0;
    height: 2px;
    background: var(--pl-coral);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--pl-blue-dark);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav__login,
.site-nav__logout {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.05rem;
    border: 1px solid var(--pl-ink);
    border-radius: 12px 12px 4px 12px;
    background: var(--pl-ink);
    color: #fff;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.site-nav__login:hover,
.site-nav__logout:hover {
    background: var(--pl-blue);
    border-color: var(--pl-blue);
    transform: translateY(-1px);
}

.site-nav__toggle {
    width: 2.85rem;
    height: 2.85rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--pl-line);
    border-radius: 12px 12px 4px 12px;
    background: #fff;
    color: var(--pl-ink);
}

.site-nav__toggle-lines {
    width: 1.15rem;
    display: grid;
    gap: 4px;
}

.site-nav__toggle-lines span {
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.site-nav__toggle.is-open .site-nav__toggle-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-nav__toggle.is-open .site-nav__toggle-lines span:nth-child(2) {
    opacity: 0;
}

.site-nav__toggle.is-open .site-nav__toggle-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav__mobile {
    border-top: 1px solid var(--pl-line);
    background: #fff;
    box-shadow: 0 24px 40px rgba(11, 21, 51, .14);
}

.site-nav__mobile-inner {
    width: min(100%, var(--pl-width));
    max-height: calc(100dvh - 4.5rem);
    margin: 0 auto;
    padding: .65rem 1rem calc(1rem + env(safe-area-inset-bottom));
    display: grid;
    gap: .2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav__mobile-link,
.site-nav__mobile-login,
.site-nav__mobile-logout {
    width: 100%;
    min-height: 3rem;
    display: flex;
    align-items: center;
    padding: .72rem .85rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pl-text);
    font-size: 1rem;
    font-weight: 680;
    text-align: left;
    text-decoration: none;
}

.site-nav__mobile-link:hover,
.site-nav__mobile-link[aria-current="page"] {
    background: #edf1ff;
    color: var(--pl-blue-dark);
}

.site-nav__mobile-account {
    margin-top: .55rem;
    padding-top: .75rem;
    border-top: 1px solid var(--pl-line);
}

.site-nav__mobile-login,
.site-nav__mobile-logout {
    justify-content: center;
    background: var(--pl-ink);
    color: #fff;
}

.hero-section {
    min-height: auto !important;
    padding: clamp(4.5rem, 9vw, 7.5rem) 1rem clamp(5rem, 10vw, 8.5rem) !important;
    display: block !important;
    position: relative;
    overflow: clip;
    background: var(--pl-ink) !important;
    isolation: isolate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 1 !important;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: -1;
    height: clamp(18px, 3vw, 42px);
    background: var(--pl-canvas);
    clip-path: polygon(0 78%, 100% 0, 100% 100%, 0 100%);
}

.hero-shell {
    width: min(100%, var(--pl-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    align-items: center;
    gap: clamp(2.25rem, 7vw, 6rem);
}

.hero-copy {
    max-width: 43rem;
}

.hero-kicker {
    width: fit-content;
    margin: 0 0 1.25rem;
    padding: .42rem .7rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 8px 8px 3px 8px;
    color: #dfe6ff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.hero-section h1 {
    max-width: 13ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.65rem, 5.8vw, 5.35rem) !important;
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.045em;
}

.hero-section h1 em {
    display: block;
    color: var(--pl-yellow);
    font-style: normal;
}

.hero-lead {
    max-width: 42rem;
    margin: 1.6rem 0 0;
    color: #dbe3f7 !important;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem) !important;
    font-weight: 480 !important;
    line-height: 1.62;
    text-shadow: none !important;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.pl-button,
.service-btn,
.type-btn,
.download-btn,
.purchase-btn,
.contact-btn,
.login-btn,
.register-btn,
.join-btn {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .62rem;
    padding: .82rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 13px 13px 4px 13px !important;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease !important;
}

.pl-button--primary,
.service-btn,
.download-btn,
.purchase-btn,
.contact-btn,
.login-btn,
.register-btn,
.join-btn {
    background: var(--pl-blue) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(40, 87, 232, .25) !important;
}

.pl-button--secondary {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.pl-button--outline {
    border-color: var(--pl-line-strong);
    background: #fff;
    color: var(--pl-blue-dark);
}

.pl-button:hover,
.service-btn:hover,
.type-btn:hover,
.download-btn:hover,
.purchase-btn:hover,
.contact-btn:hover,
.login-btn:hover,
.register-btn:hover,
.join-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(11, 21, 51, .22) !important;
}

.hero-tags {
    margin: 1.45rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    list-style: none;
}

.hero-tags li {
    padding: .42rem .68rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #bdc9e7;
    font-size: .8rem;
    font-weight: 650;
}

.hero-visual {
    position: relative;
    min-height: 28rem;
    display: grid;
    place-items: center;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 18px 18px 6px 18px;
}

.hero-visual::before {
    width: 78%;
    height: 84%;
    background: var(--pl-coral);
    transform: rotate(6deg) translate(8%, 2%);
}

.hero-visual::after {
    width: 74%;
    height: 80%;
    border: 2px solid rgba(255, 255, 255, .34);
    transform: rotate(-7deg) translate(-9%, 3%);
}

.study-sheet {
    width: min(100%, 23rem);
    min-height: 27rem;
    position: relative;
    z-index: 2;
    padding: 1.45rem 1.35rem 1.35rem 2.35rem;
    border-radius: 14px 14px 4px 14px;
    background:
        linear-gradient(90deg, transparent 1.35rem, rgba(240, 90, 66, .42) 1.35rem, rgba(240, 90, 66, .42) calc(1.35rem + 1px), transparent calc(1.35rem + 1px)),
        repeating-linear-gradient(#fff 0, #fff 31px, #dce4f1 32px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .34);
    color: var(--pl-ink);
    transform: rotate(-1.4deg);
}

.study-sheet__top {
    min-height: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--pl-muted);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.study-sheet__title {
    max-width: 12ch;
    margin: 1rem 0 1.35rem;
    font-size: 2.1rem;
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.study-sheet__list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
    list-style: none;
}

.study-sheet__list li {
    min-height: 2.2rem;
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    align-items: start;
    gap: .55rem;
    color: #28334d;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.45;
}

.study-sheet__check {
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--pl-blue);
    color: var(--pl-blue-dark);
    font-size: .75rem;
    transform: rotate(-4deg);
}

.study-sheet__note {
    width: fit-content;
    margin: 1.5rem 0 0 auto;
    padding: .45rem .65rem;
    border: 2px solid var(--pl-coral);
    color: #b93425;
    font-size: .76rem;
    font-weight: 800;
    transform: rotate(-2deg);
}

.section-shell,
section > .container {
    width: min(100%, var(--pl-width));
    margin-right: auto !important;
    margin-left: auto !important;
}

.section-heading {
    max-width: 48rem;
    margin: 0 0 clamp(2.2rem, 5vw, 4rem);
}

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.services-section h2,
.stats-section h2,
.contact-section h2,
.free-sample-section h2,
.purchase-section h2,
.types-section h2,
.schedule-section h2,
.subjects-section h2 {
    margin: 0 0 .9rem !important;
    color: var(--pl-text) !important;
    font-size: clamp(2.15rem, 4.5vw, 4.1rem) !important;
    font-weight: 850 !important;
    line-height: 1.02;
}

.section-heading p,
.services-section > .container > .text-center > p,
.contact-section > .container > .text-center > p,
.free-sample-section > .container > .text-center > p,
.purchase-section > .container > .text-center > p,
.types-section > .container > .text-center > p,
.schedule-section > .container > .text-center > p,
.subjects-section > .container > .text-center > p {
    max-width: 42rem;
    margin: 0;
    color: var(--pl-muted) !important;
    font-size: clamp(1.02rem, 1.7vw, 1.22rem) !important;
    line-height: 1.65;
}

.section-heading--center p,
section > .container > .text-center > p {
    margin-right: auto !important;
    margin-left: auto !important;
}

.section-heading .section-eyebrow {
    margin: 0 0 .8rem !important;
    color: #b43b2c !important;
    font-size: .78rem !important;
    font-weight: 820 !important;
    letter-spacing: .1em;
    line-height: 1.25;
    text-transform: uppercase;
}

.section-heading .section-eyebrow--light {
    color: var(--pl-yellow) !important;
}

.services-section,
.free-sample-section,
.types-section,
.schedule-section,
.subjects-section,
.login-section,
.register-section {
    padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
    background: var(--pl-canvas) !important;
}

.services-section > .container > .text-center,
.free-sample-section > .container > .text-center,
.purchase-section > .container > .text-center,
.types-section > .container > .text-center,
.schedule-section > .container > .text-center,
.subjects-section > .container > .text-center,
.contact-section > .container > .text-center {
    max-width: 48rem;
    margin: 0 0 clamp(2.4rem, 5vw, 4rem) !important;
    text-align: left !important;
}

.services-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
}

.service-card {
    min-height: 15rem;
    grid-column: span 6;
    display: grid;
    grid-template-columns: 5.1rem minmax(0, 1fr);
    align-items: start;
    gap: 1.35rem;
    padding: clamp(1.5rem, 3vw, 2.35rem) !important;
    border: 1px solid var(--pl-line) !important;
    border-radius: var(--pl-radius) var(--pl-radius) 7px var(--pl-radius) !important;
    background: var(--pl-paper) !important;
    box-shadow: 0 12px 36px rgba(11, 21, 51, .08) !important;
    color: var(--pl-text);
    text-decoration: none;
    overflow: hidden;
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, border-color .24s ease !important;
}

.service-card:first-child {
    min-height: 20.5rem;
    grid-row: span 2;
    background: var(--pl-blue) !important;
    color: #fff;
}

.service-card:last-child {
    grid-column: span 12;
}

.service-card::before {
    display: none !important;
}

.service-card:hover {
    border-color: var(--pl-line-strong) !important;
    box-shadow: var(--pl-shadow) !important;
    transform: translateY(-4px) !important;
}

.service-card__signal {
    width: 5rem;
    min-height: 3.15rem;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 12px 12px 4px 12px;
    color: var(--pl-blue);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.service-card:first-child .service-card__signal {
    color: #fff1b8;
}

.service-card__copy {
    min-width: 0;
}

.service-card h3 {
    margin: .1rem 0 .75rem !important;
    color: inherit !important;
    font-size: clamp(1.55rem, 2.6vw, 2.45rem) !important;
    font-weight: 820 !important;
    line-height: 1.05;
}

.service-card p {
    max-width: 34rem;
    margin: 0 0 1.35rem !important;
    color: var(--pl-muted) !important;
    font-size: 1rem;
    line-height: 1.6;
}

.service-card:first-child p {
    color: #dce4ff !important;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--pl-blue-dark);
    font-weight: 780;
}

.service-card:first-child .service-card__link {
    color: #fff1b8;
}

.stats-section {
    padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
    background: var(--pl-ink) !important;
    overflow: clip;
}

.stats-section::before {
    inset: 0 !important;
    z-index: 0 !important;
    background: radial-gradient(circle at 84% 18%, rgba(240, 90, 66, .18), transparent 32%) !important;
    opacity: 1 !important;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-section .section-heading h2,
.stats-section h2 {
    color: #fff !important;
}

.stats-section .section-heading p,
.stats-section > .container > .text-center > p {
    color: #c6d1ec !important;
}

.stats-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.stat-item {
    min-width: 0;
    padding: clamp(1.4rem, 3vw, 2.3rem) !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    overflow: visible !important;
}

.stat-item:last-child {
    border-right: 0 !important;
}

.stat-item::before {
    display: none !important;
}

.stat-item:hover {
    background: rgba(255, 255, 255, .045) !important;
    box-shadow: none !important;
    transform: none !important;
}

.stat-number {
    margin: 0 0 .55rem !important;
    color: var(--pl-yellow) !important;
    font-size: clamp(2.25rem, 4vw, 3.75rem) !important;
    font-weight: 850 !important;
    line-height: 1;
    text-shadow: none !important;
    font-variant-numeric: tabular-nums;
}

.stat-label,
.stat-item:hover .stat-label {
    margin: 0;
    color: #dbe3f7 !important;
    font-size: .96rem !important;
    line-height: 1.45;
}

.contact-section,
.purchase-section {
    padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
    background: #fff !important;
}

.contact-grid {
    margin-top: 0 !important;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important;
    gap: clamp(2rem, 6vw, 5rem) !important;
}

.contact-info {
    gap: .8rem !important;
}

.contact-item {
    min-height: 6.25rem;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pl-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none;
    overflow: visible !important;
}

.contact-item::before {
    display: none !important;
}

.contact-item:hover {
    box-shadow: none !important;
    transform: none !important;
}

.contact-icon {
    width: 3.2rem !important;
    height: 3.2rem !important;
    border-radius: 12px 12px 4px 12px !important;
    background: var(--pl-canvas) !important;
    color: var(--pl-blue) !important;
}

.contact-item:hover .contact-icon {
    transform: rotate(-3deg) !important;
}

.contact-title {
    margin: 0 0 .2rem !important;
    color: var(--pl-text) !important;
    font-size: 1rem !important;
    font-weight: 760 !important;
}

.contact-text,
.contact-item:hover .contact-text {
    color: var(--pl-muted) !important;
    font-size: .98rem !important;
}

.contact-form-card,
.login-card,
.register-card {
    padding: clamp(1.4rem, 4vw, 2.5rem) !important;
    border: 1px solid var(--pl-line) !important;
    border-radius: var(--pl-radius) var(--pl-radius) 7px var(--pl-radius) !important;
    background:
        linear-gradient(90deg, transparent 2rem, rgba(240, 90, 66, .18) 2rem, rgba(240, 90, 66, .18) calc(2rem + 1px), transparent calc(2rem + 1px)),
        var(--pl-paper) !important;
    box-shadow: var(--pl-shadow) !important;
    overflow: visible !important;
}

.contact-form-card::before,
.login-card::before,
.register-card::before {
    display: none !important;
}

.contact-form-card:hover,
.login-card:hover,
.register-card:hover {
    box-shadow: var(--pl-shadow) !important;
    transform: none !important;
}

.contact-form,
.login-form,
.register-form {
    gap: 1.15rem !important;
}

.form-label {
    margin-bottom: .45rem !important;
    color: #2f3a52 !important;
    font-size: .9rem !important;
    font-weight: 720 !important;
}

.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.form-input,
.login-input,
.register-input,
.settings-input,
.profile-input {
    min-height: 3.2rem;
    padding: .82rem .95rem !important;
    border: 1px solid var(--pl-line-strong) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--pl-text) !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

.form-input:focus,
.login-input:focus,
.register-input:focus,
.settings-input:focus,
.profile-input:focus {
    border-color: var(--pl-blue) !important;
    box-shadow: 0 0 0 4px rgba(40, 87, 232, .13) !important;
    transform: none !important;
}

.form-input::placeholder,
.login-input::placeholder,
.register-input::placeholder {
    color: #66738c !important;
    opacity: 1;
}

.form-input[aria-invalid="true"] {
    border-color: #b83324 !important;
}

.field-error {
    margin: .42rem 0 0;
    color: #a72d22;
    font-size: .84rem;
    line-height: 1.4;
}

.field-note,
.form-optional {
    color: var(--pl-muted);
    font-size: .82rem;
    font-weight: 500;
}

.field-note {
    margin: .42rem 0 0;
}

.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 5.5rem !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .5rem;
    min-height: 2.25rem;
    padding: .35rem .6rem;
    border: 1px solid var(--pl-line);
    border-radius: 8px;
    background: var(--pl-canvas);
    color: var(--pl-blue-dark);
    font-size: .8rem;
    font-weight: 720;
    transform: translateY(-50%);
}

.form-status {
    margin: 0;
    padding: .75rem .85rem;
    border-radius: 9px;
    color: var(--pl-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.form-status:empty {
    display: none;
}

.form-status[data-state="success"] {
    background: #e7f6f1;
    color: #126b59;
}

.form-status[data-state="error"] {
    background: #fff0ed;
    color: #92291f;
}

.contact-status {
    margin: .9rem 0 0;
    padding: .75rem .85rem;
    border-radius: 9px;
    color: var(--pl-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.contact-status:empty {
    display: none;
}

.contact-status[data-state="success"] {
    background: #e7f6f1;
    color: #126b59;
}

.contact-status[data-state="error"] {
    background: #fff0ed;
    color: #92291f;
}

.contact-btn:disabled {
    cursor: wait;
    opacity: .72;
    transform: none !important;
}

.form-privacy {
    margin: 1rem 0 0;
    color: var(--pl-muted);
    font-size: .82rem;
    line-height: 1.55;
}

.form-privacy a {
    color: var(--pl-blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: 3px;
}

.sample-card,
.type-card,
.schedule-card,
.pricing-card,
.subjects-section .bg-white {
    border: 1px solid var(--pl-line) !important;
    border-radius: var(--pl-radius) var(--pl-radius) 7px var(--pl-radius) !important;
    background: var(--pl-paper) !important;
    box-shadow: 0 12px 40px rgba(11, 21, 51, .09) !important;
}

.sample-card {
    padding: clamp(1.5rem, 5vw, 3.5rem) !important;
}

.sample-card:hover,
.type-card:hover,
.schedule-card:hover,
.pricing-card:hover,
.subjects-section .bg-white:hover {
    box-shadow: var(--pl-shadow) !important;
    transform: none !important;
}

.sample-card__layout {
    display: grid;
    grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(1.8rem, 6vw, 5rem);
    text-align: left;
}

.sample-document {
    min-height: 21rem;
    padding: 1.5rem 1.35rem 1.5rem 2.25rem;
    border: 1px solid var(--pl-line);
    background:
        linear-gradient(90deg, transparent 1.35rem, rgba(240, 90, 66, .34) 1.35rem, rgba(240, 90, 66, .34) calc(1.35rem + 1px), transparent calc(1.35rem + 1px)),
        repeating-linear-gradient(#fff 0, #fff 28px, #e3e8f1 29px);
    box-shadow: 12px 14px 0 #dfe6f5;
    transform: rotate(-1.2deg);
}

.sample-document__label {
    color: var(--pl-coral);
    font-size: .72rem;
    font-weight: 820;
    letter-spacing: .07em;
}

.sample-document__title {
    margin: 1.25rem 0 1.7rem;
    font-size: 1.7rem;
    font-weight: 840;
    line-height: 1.08;
}

.sample-document__line {
    width: 100%;
    height: 1px;
    margin: 1.2rem 0;
    background: var(--pl-line-strong);
}

.sample-card__copy h3 {
    margin: 0 0 1rem !important;
    color: var(--pl-text) !important;
    font-size: clamp(1.65rem, 3vw, 2.6rem) !important;
    font-weight: 830 !important;
    line-height: 1.08;
}

.sample-card__copy p {
    margin: 0 0 1.5rem !important;
    color: var(--pl-muted) !important;
    font-size: 1.02rem;
    line-height: 1.65;
}

.pricing-card {
    max-width: 39rem !important;
    padding: clamp(1.5rem, 5vw, 3.25rem) !important;
    border-color: var(--pl-line-strong) !important;
}

.pricing-card.featured::before {
    content: "Komplet" !important;
    padding: .55rem 2.7rem !important;
    background: var(--pl-coral) !important;
    color: #fff !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
}

.pricing-card .w-20,
.type-card .w-20,
.schedule-card .w-20 {
    border-radius: 13px 13px 4px 13px !important;
    background: var(--pl-canvas) !important;
    color: var(--pl-blue) !important;
}

.pricing-card .w-20 i,
.type-card .w-20 i,
.schedule-card .w-20 i {
    color: var(--pl-blue) !important;
}

.price {
    color: var(--pl-blue-dark) !important;
    font-size: clamp(2.7rem, 7vw, 4.3rem) !important;
    font-variant-numeric: tabular-nums;
}

.features,
.type-features,
.schedule-features {
    margin: 1.25rem 0 1.6rem;
    padding: 0;
    display: grid;
    gap: .72rem;
    list-style: none;
    text-align: left;
}

.features li,
.type-features li,
.schedule-features li {
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    align-items: start !important;
    gap: .55rem !important;
    color: #354158 !important;
    line-height: 1.55;
}

.features li::before,
.type-features li::before,
.schedule-features li::before {
    content: "✓";
    color: var(--pl-mint) !important;
    font-size: 1rem !important;
    font-weight: 850;
    line-height: 1.55;
}

.types-grid {
    margin-top: 0 !important;
    gap: 1.15rem !important;
}

.type-card {
    padding: clamp(1.5rem, 4vw, 2.6rem) !important;
}

.type-card::before,
.schedule-card::before {
    display: none !important;
}

.type-card h3,
.schedule-card h3 {
    color: var(--pl-text) !important;
}

.type-btn {
    background: var(--pl-ink) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.subject-tabs {
    margin: 0 0 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.subject-tab {
    min-height: 3rem;
    padding: .7rem 1rem;
    border: 1px solid var(--pl-line-strong);
    border-radius: 11px 11px 4px 11px;
    background: #fff;
    color: var(--pl-text);
    font-weight: 740;
}

.subject-tab[aria-selected="true"] {
    border-color: var(--pl-blue);
    background: var(--pl-blue);
    color: #fff;
}

.schedule-grid {
    margin-top: 0 !important;
}

.schedule-card {
    padding: clamp(1.5rem, 5vw, 3rem) !important;
}

.schedule-card[hidden] {
    display: none !important;
}

.schedule-card__layout {
    display: grid;
    grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.28fr);
    gap: clamp(1.6rem, 5vw, 4rem);
    align-items: start;
}

.schedule-card__intro {
    position: sticky;
    top: 6.25rem;
}

.schedule-card__intro h3 {
    margin: 0 0 .75rem;
    font-size: clamp(1.55rem, 3vw, 2.45rem) !important;
    font-weight: 820 !important;
    line-height: 1.08;
}

.schedule-card__intro p,
.schedule-card__details p {
    color: var(--pl-muted) !important;
    line-height: 1.6;
}

.schedule-card__details .type-features {
    margin-top: 0;
}

.schedule-note {
    margin: 1.3rem 0 !important;
    padding: .95rem 1rem;
    border: 1px dashed var(--pl-line-strong);
    background: #f7f9fd;
    color: #354158 !important;
    font-style: normal !important;
}

.subjects-section .bg-white {
    padding: clamp(1.6rem, 5vw, 3.5rem) !important;
}

.subjects-section .grid > .flex {
    padding: 1rem 0;
    border-top: 1px solid var(--pl-line);
}

.subjects-section .w-12 {
    border-radius: 11px 11px 4px 11px !important;
    background: var(--pl-ink) !important;
}

.login-section,
.register-section {
    min-height: calc(100dvh - 4.5rem);
}

.login-section > .container,
.register-section > .container {
    max-width: 34rem !important;
}

.login-section h1,
.register-section h1 {
    color: var(--pl-text) !important;
    font-size: clamp(2.35rem, 7vw, 4rem) !important;
    font-weight: 850 !important;
}

.login-section > .container > .text-center p,
.register-section > .container > .text-center p {
    color: var(--pl-muted) !important;
}

.register-link,
.login-link {
    min-height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border: 1px solid var(--pl-line-strong);
    border-radius: 11px 11px 4px 11px !important;
    background: #fff !important;
    color: var(--pl-blue-dark) !important;
    box-shadow: none !important;
    font-weight: 740;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease !important;
}

.register-link:hover,
.login-link:hover {
    border-color: var(--pl-blue);
    transform: translateY(-1px);
}

footer {
    position: relative;
    background: var(--pl-ink) !important;
    overflow: clip;
}

footer::before {
    content: "PRVA LEKCIJA";
    position: absolute;
    right: -1vw;
    top: -.14em;
    color: transparent;
    font-size: clamp(4rem, 13vw, 12rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .065);
    pointer-events: none;
    white-space: nowrap;
}

footer > div {
    position: relative;
    z-index: 1;
}

footer .animate-float,
footer .animate-pulse,
footer .animate-fadeInUp {
    animation: none !important;
}

footer .text-gradient {
    color: #fff !important;
}

footer a {
    text-underline-offset: 3px;
}

footer .text-gray-500 {
    color: #aebbd8 !important;
}

footer .border-t a {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-thickness: .08em;
}

.legal-page,
.not-found-page {
    min-height: 100dvh;
    background: var(--pl-canvas);
}

.simple-header {
    border-bottom: 1px solid var(--pl-line);
    background: #fff;
}

.simple-header__inner {
    width: min(100%, calc(var(--pl-width) + 2rem));
    min-height: 4.5rem;
    margin: 0 auto;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.simple-header__back {
    color: var(--pl-blue-dark);
    font-weight: 720;
    text-decoration: none;
}

.legal-hero {
    padding: clamp(3.5rem, 8vw, 6rem) 1rem 2rem;
    background: var(--pl-ink);
}

.legal-hero__inner,
.legal-content {
    width: min(100%, 50rem);
    margin: 0 auto;
}

.legal-hero h1 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 4.6rem);
    font-weight: 850;
    line-height: 1;
}

.legal-hero p {
    margin: 0;
    color: #c6d1ec;
}

.legal-content {
    padding: 2.5rem 1rem 5rem;
}

.legal-section {
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--pl-line);
}

.legal-section h2 {
    margin: 0 0 .65rem;
    color: var(--pl-text);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.legal-section p,
.legal-section li {
    color: #46536c;
    line-height: 1.72;
}

.legal-section ul {
    padding-left: 1.2rem;
}

.legal-footer {
    padding: 1.5rem 1rem;
    background: var(--pl-ink);
    color: #c6d1ec;
    text-align: center;
    font-size: .85rem;
}

.legal-footer::before {
    display: none;
}

.legal-footer a {
    color: #fff;
}

.not-found-page {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.not-found {
    width: min(100%, 58rem);
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 8rem) 1rem;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.not-found__code {
    color: var(--pl-coral);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .82;
    font-variant-numeric: tabular-nums;
}

.not-found h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    font-weight: 850;
    line-height: 1;
}

.not-found p {
    max-width: 37rem;
    margin: 0 0 1.5rem;
    color: var(--pl-muted);
    line-height: 1.65;
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (min-width: 1024px) {
    .site-nav__desktop {
        display: flex !important;
    }

    .site-nav__toggle,
    .site-nav__mobile {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-copy {
        max-width: 44rem;
    }

    .hero-visual {
        min-height: 24rem;
    }

    .study-sheet {
        min-height: 23rem;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card,
    .service-card:first-child,
    .service-card:last-child {
        min-height: 0;
        grid-column: auto;
        grid-row: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .stat-item:nth-child(2) {
        border-right: 0 !important;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
    }

    .contact-grid,
    .sample-card__layout,
    .schedule-card__layout,
    .not-found {
        grid-template-columns: 1fr !important;
    }

    .schedule-card__intro {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-nav__bar {
        min-height: 4.25rem;
    }

    .site-nav-spacer {
        height: 4.25rem !important;
    }

    .site-brand {
        font-size: 1rem;
    }

    .site-brand__mark {
        width: 2.15rem;
        height: 2.15rem;
    }

    .hero-section {
        padding: 3.65rem 1rem 5rem !important;
    }

    .hero-section h1 {
        max-width: 100%;
        font-size: clamp(2.45rem, 13vw, 3.65rem) !important;
    }

    .hero-lead {
        font-size: 1.02rem !important;
    }

    .hero-actions {
        display: grid;
    }

    .pl-button {
        width: 100%;
    }

    .hero-tags {
        gap: .42rem;
    }

    .hero-visual {
        min-height: 22rem;
    }

    .study-sheet {
        width: calc(100% - 1rem);
        min-height: 21rem;
        padding: 1.2rem 1rem 1.2rem 1.8rem;
    }

    .study-sheet__title {
        font-size: 1.75rem;
    }

    .study-sheet__list li {
        font-size: .86rem;
    }

    .services-section,
    .stats-section,
    .contact-section,
    .free-sample-section,
    .purchase-section,
    .types-section,
    .schedule-section,
    .subjects-section,
    .login-section,
    .register-section {
        padding: 4rem 1rem !important;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card__signal {
        width: fit-content;
        min-height: 0;
        padding: .42rem .6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-item,
    .stat-item:nth-child(2) {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
    }

    .stat-item:last-child {
        border-bottom: 0 !important;
    }

    .contact-item {
        flex-direction: row !important;
        text-align: left !important;
    }

    .contact-form-card,
    .login-card,
    .register-card {
        padding-left: 1.45rem !important;
        background: var(--pl-paper) !important;
    }

    .sample-document {
        min-height: 17.5rem;
    }

    .subject-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .subject-tab {
        width: 100%;
    }

    footer::before {
        top: .12em;
        font-size: 4.7rem;
    }

    .not-found {
        align-content: center;
    }

    .not-found__actions {
        display: grid;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy {
        animation: pl-enter .65s cubic-bezier(.22, 1, .36, 1) both;
    }

    .hero-visual {
        animation: pl-paper-enter .75s .08s cubic-bezier(.22, 1, .36, 1) both;
    }

    @keyframes pl-enter {
        from { transform: translateY(14px); }
        to { transform: translateY(0); }
    }

    @keyframes pl-paper-enter {
        from { transform: translateY(18px) rotate(1deg); }
        to { transform: translateY(0) rotate(0); }
    }
}

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

    :root *,
    :root *::before,
    :root *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

@media (forced-colors: active) {
    .site-brand__mark,
    .study-sheet__check,
    .subject-tab,
    .pl-button {
        forced-color-adjust: auto;
    }
}
