/* =========================================================================
 * What is PKU EU Landing — page styles
 *
 * Design language matches the pku-onepager theme:
 *   coral #F04E3E → deep purple #353273 brand gradient, orange #F58A3A CTA,
 *   Inter sans-serif, wave/blob/bubble motifs.
 * ========================================================================= */

:root {
    --wipe-coral: #F04E3E;
    --wipe-purple: #353273;
    --wipe-purple-dark: #2A2760;
    --wipe-orange: #F58A3A;
    --wipe-orange-hover: #e07826;
    --wipe-lavender: #E8E6F5;
    --wipe-blob-blue: #C7DCE8;
    --wipe-text: #1f2033;
    --wipe-muted: #5a5b6e;
    --wipe-border: #e5e5ef;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: var(--wipe-text);
    background: #ffffff;
    margin: 0;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wipe-container {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== TOP NAVIGATION ========== */
.wipe-topnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid var(--wipe-border);
}
.wipe-topnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 76rem;
    margin: 0 auto;
}
.wipe-topnav__logo img {
    height: 72px;
    width: auto;
}
.wipe-topnav__spacer {
    width: 72px;
    height: 72px;
}

/* Purple sub-nav bar. */
.wipe-subnav {
    background: var(--wipe-purple);
}
.wipe-subnav__inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2.25rem;
}
.wipe-subnav__link {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.15s ease;
}
.wipe-subnav__link:hover { color: var(--wipe-orange); }
.wipe-subnav__link.is-active { color: #ffffff; }
.wipe-subnav__link.is-active::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    background: var(--wipe-orange);
    border-radius: 2px;
    display: inline-block;
}

/* ========== HERO ========== */
.wipe-hero {
    position: relative;
    z-index: 1;
    background: linear-gradient(105deg, var(--wipe-coral) 0%, var(--wipe-purple) 100%);
    color: #ffffff;
    padding: 4.5rem 0 6rem;
    /* No overflow clipping — the scroll-down button intentionally
       overhangs the hero boundary. */
}
.wipe-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.wipe-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.wipe-hero__title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}
.wipe-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.92);
}
.wipe-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}
.wipe-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.wipe-hero__blob {
    position: relative;
    width: 100%;
    max-width: 32rem;
    aspect-ratio: 1 / 0.85;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wipe-hero__blob img {
    width: 90%;
    max-width: 26rem;
    height: auto;
}

/* Floating scroll-down button crosses hero → basics boundary. */
.wipe-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: -1.65rem;
    transform: translateX(-50%);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--wipe-orange);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 20;
    transition: transform 0.2s ease, background 0.2s ease;
    animation: wipe-bounce 2.4s infinite;
}
.wipe-hero__scroll:hover {
    background: var(--wipe-orange-hover);
    transform: translateX(-50%) translateY(-2px);
}
.wipe-hero__scroll svg { width: 1.3rem; height: 1.3rem; }

@keyframes wipe-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== BUTTONS ========== */
.wipe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 1.35rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}
.wipe-btn:hover { transform: translateY(-1px); }

.wipe-btn--orange {
    background: var(--wipe-orange);
    color: #ffffff;
    border-color: var(--wipe-orange);
}
.wipe-btn--orange:hover {
    background: var(--wipe-orange-hover);
    border-color: var(--wipe-orange-hover);
}

.wipe-btn--ghost {
    background: #ffffff;
    color: var(--wipe-purple);
    border-color: #ffffff;
}
.wipe-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--wipe-purple);
}

.wipe-btn__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.wipe-btn:hover .wipe-btn__arrow { transform: translateX(3px); }

/* ========== SECTION: BASICS ========== */
.wipe-basics {
    padding: 5rem 0 3rem;
}
.wipe-basics__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
}
.wipe-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.wipe-eyebrow--coral { color: var(--wipe-coral); }
.wipe-eyebrow--purple { color: var(--wipe-purple); }

.wipe-basics__title {
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--wipe-purple);
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}
.wipe-basics__title .accent { color: var(--wipe-coral); }
.wipe-basics__lead {
    color: var(--wipe-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 28rem;
}
.wipe-basics__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.75rem;
}
.wipe-basic-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.wipe-basic-card__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--wipe-lavender);
    color: var(--wipe-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wipe-basic-card__icon svg { width: 1.35rem; height: 1.35rem; }
.wipe-basic-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--wipe-purple);
    margin: 0 0 0.35rem;
}
.wipe-basic-card__text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--wipe-muted);
    margin: 0;
}
.wipe-basic-card__text strong { color: var(--wipe-text); }

/* Lavender disclaimer pill under the basics grid. */
.wipe-awareness {
    background: var(--wipe-lavender);
    color: var(--wipe-purple);
    border-radius: 0.85rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    margin: 3rem 0 0;
}

/* ========== SECTION: EXPLORE ========== */
.wipe-explore {
    padding: 3.5rem 0 4rem;
}
.wipe-explore__header {
    max-width: 44rem;
    margin: 0 0 2.5rem;
}
.wipe-explore__title {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: var(--wipe-coral);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.wipe-explore__lead {
    color: var(--wipe-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 36rem;
}
.wipe-explore__lead strong { color: var(--wipe-text); }

.wipe-explore__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.wipe-card {
    background: #ffffff;
    border: 1px solid var(--wipe-border);
    border-radius: 1.25rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 12px 30px rgba(53, 50, 115, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.wipe-card[id] { scroll-margin-top: 2rem; }
.wipe-card__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.wipe-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    color: var(--wipe-purple);
}
.wipe-tag--placeholder {
    background: rgba(245, 138, 58, 0.15);
    color: var(--wipe-orange);
}
.wipe-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--wipe-purple);
    margin: 0;
    letter-spacing: -0.01em;
}
.wipe-card__text {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--wipe-muted);
    margin: 0;
}

.wipe-card__preview {
    background: #f7f6fb;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15rem;
    flex: 1 0 auto;
    position: relative;
    overflow: hidden;
}
.wipe-card__preview--brochure {
    background: linear-gradient(155deg, #C7DCE8 0%, #EEF2F5 100%);
}
.wipe-card__preview--image {
    padding: 0;
    background: #f7f6fb;
}
.wipe-card__preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wipe-brochure-mock {
    width: 100%;
    max-width: 22rem;
    background: linear-gradient(140deg, #4B4482 0%, #2A2760 100%);
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem 1.15rem 3.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(42, 39, 96, 0.25);
}
.wipe-brochure-mock__eyebrow {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 0.35rem;
}
.wipe-brochure-mock__sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.35;
}
.wipe-brochure-mock__book {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.4rem;
    height: 2.4rem;
    background: #ffffff;
    color: var(--wipe-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wipe-brochure-mock__book svg { width: 1.15rem; height: 1.15rem; }
.wipe-brochure-mock__flag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.1rem;
    line-height: 1;
    background: #ffffff;
    color: var(--wipe-purple);
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.wipe-card__preview-tag {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(53, 50, 115, 0.9);
    color: #ffffff;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Quiz preview mock. */
.wipe-quiz-mock {
    width: 100%;
    max-width: 22rem;
    background: #ffffff;
    border-radius: 0.6rem;
    padding: 1rem 1rem 0.75rem;
    box-shadow: 0 6px 18px rgba(53, 50, 115, 0.12);
    position: relative;
}
.wipe-quiz-mock__bar {
    width: 100%;
    height: 4px;
    background: #eeeaf5;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
}
.wipe-quiz-mock__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 25%;
    background: var(--wipe-purple);
    border-radius: 3px;
}
.wipe-quiz-mock__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--wipe-coral);
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}
.wipe-quiz-mock__q {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wipe-purple);
    margin: 0 0 0.6rem;
    line-height: 1.35;
}
.wipe-quiz-mock__opts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.wipe-quiz-mock__opt {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--wipe-border);
    border-radius: 0.4rem;
    font-size: 0.78rem;
    color: var(--wipe-text);
}
.wipe-quiz-mock__opt.is-selected {
    background: rgba(240, 78, 62, 0.08);
    border-color: rgba(240, 78, 62, 0.4);
}
.wipe-quiz-mock__opt-letter {
    width: 1.1rem;
    height: 1.1rem;
    background: var(--wipe-lavender);
    color: var(--wipe-purple);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.wipe-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}
.wipe-card__meta {
    font-size: 0.82rem;
    color: var(--wipe-muted);
}

.wipe-btn--orange-sm {
    background: var(--wipe-orange);
    color: #ffffff;
    border-color: var(--wipe-orange);
    padding: 0.7rem 1.1rem;
    font-size: 0.78rem;
}
.wipe-btn--orange-sm:hover {
    background: var(--wipe-orange-hover);
    border-color: var(--wipe-orange-hover);
}

.wipe-intended {
    margin-top: 2.5rem;
    padding: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--wipe-muted);
    line-height: 1.55;
    border-top: 1px solid var(--wipe-border);
}
.wipe-intended strong { color: var(--wipe-text); }

/* ========== SECTION: QUIZ EMBED ========== */
.wipe-quiz-embed {
    padding: 3.5rem 0 4rem;
    background: var(--wipe-lavender);
    scroll-margin-top: 6rem;
}
.wipe-quiz-embed__header {
    max-width: 50rem;
    margin: 0 auto 2rem;
    text-align: center;
}
.wipe-quiz-embed__title {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: var(--wipe-coral);
    margin: 0.5rem 0 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.wipe-quiz-embed .pku-quiz__status {
    padding: 2rem;
    text-align: center;
    color: var(--wipe-muted);
}

/* ========== FOOTER ========== */
.wipe-footer {
    background: linear-gradient(105deg, var(--wipe-coral) 0%, var(--wipe-purple) 100%);
    color: #ffffff;
    padding: 2.25rem 0 2rem;
    position: relative;
}
.wipe-footer__inner {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}
.wipe-footer__logo img { height: 3.5rem; width: auto; }
.wipe-footer__links {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}
.wipe-footer__links a {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.wipe-footer__links a:hover { border-bottom-color: #ffffff; }
.wipe-footer__meta {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 52rem;
}

.wipe-to-top {
    position: absolute;
    right: 1.5rem;
    bottom: 1.75rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--wipe-orange);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.wipe-to-top:hover {
    background: var(--wipe-orange-hover);
    transform: translateY(-2px);
}
.wipe-to-top svg { width: 1rem; height: 1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .wipe-hero { padding: 3rem 0 5rem; }
    .wipe-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
    .wipe-hero__visual { order: -1; }
    .wipe-hero__blob { max-width: 22rem; aspect-ratio: 1 / 0.9; }

    .wipe-basics__grid { grid-template-columns: 1fr; gap: 2rem; }
    .wipe-basics__cards { grid-template-columns: 1fr; gap: 1.5rem; }

    .wipe-explore__cards { grid-template-columns: 1fr; }

    .wipe-subnav__inner { gap: 1.25rem; overflow-x: auto; justify-content: flex-start; }

    .wipe-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .wipe-to-top { position: static; margin-top: 1rem; }
}

@media (max-width: 520px) {
    .wipe-container { padding: 0 1.15rem; }
    .wipe-topnav__inner { padding: 0.5rem 1.15rem; }
    .wipe-topnav__logo img { height: 56px; }
    .wipe-topnav__spacer { width: 56px; height: 56px; }
    .wipe-hero__ctas { flex-direction: column; align-items: stretch; }
    .wipe-hero__ctas .wipe-btn { justify-content: center; }
}

/* =========================================================================
 * Blank page template (Impressum / Legal / editor-driven pages).
 * ========================================================================= */
.wipe-page-blank {
    padding: 4rem 0 5rem;
    background: #ffffff;
}
.wipe-page-blank__content { max-width: 48rem; margin: 0 auto; }
.wipe-page-blank__title {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--wipe-purple);
    margin: 0 0 2rem;
}
.wipe-prose { color: var(--wipe-text); font-size: 1rem; line-height: 1.7; }
.wipe-prose > * + * { margin-top: 1.1rem; }
.wipe-prose h2 {
    font-size: 1.35rem; font-weight: 700; color: var(--wipe-purple);
    margin-top: 2.4rem; margin-bottom: 0.75rem; line-height: 1.25;
}
.wipe-prose h3 {
    font-size: 1.1rem; font-weight: 700; color: var(--wipe-purple);
    margin-top: 1.8rem; margin-bottom: 0.5rem;
}
.wipe-prose a { color: var(--wipe-coral); text-decoration: underline; text-underline-offset: 3px; }
.wipe-prose a:hover { color: var(--wipe-purple); }
.wipe-prose ul, .wipe-prose ol { padding-left: 1.5rem; }
.wipe-prose ul { list-style: disc; }
.wipe-prose ol { list-style: decimal; }
.wipe-prose li + li { margin-top: 0.35rem; }
.wipe-prose strong { font-weight: 700; }
.wipe-prose hr { border: 0; border-top: 1px solid rgba(53,50,115,.12); margin: 2rem 0; }

/* =========================================================================
 * References section (before the footer).
 * ========================================================================= */
.wipe-references {
    background: #ffffff;
    padding: 2.25rem 0 2.5rem;
}
.wipe-references .wipe-eyebrow {
    margin-bottom: 0.6rem;
    color: #9a9aa4;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}
.wipe-references__list {
    color: #9a9aa4;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 60rem;
}
.wipe-references__list ol,
.wipe-references__list ul {
    margin: 0;
    padding-left: 1.35rem;
}
.wipe-references__list ol { list-style: decimal; }
.wipe-references__list ul { list-style: disc; }
.wipe-references__list li + li { margin-top: 0.45rem; }
.wipe-references__list p { margin: 0 0 0.5rem; }
.wipe-references__list a { color: var(--wipe-purple); text-decoration: underline; text-underline-offset: 3px; }

/* Superscript reference markers in body copy (basics-cards, hero-lead, …). */
.wipe-basic-card__text sup,
.wipe-basics__lead sup,
.wipe-hero__lead sup,
.wipe-explore__lead sup,
.wipe-card__text sup {
    font-size: 0.7em;
    line-height: 0;
    vertical-align: super;
    color: var(--wipe-text);
    font-weight: 300;
    margin-left: 1px;
}
