@font-face {
    font-family: "Satoshi";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../../assets/fonts/satoshi/Satoshi-Variable.woff2") format("woff2");
}

:root {
    --pe-ink: #17211e;
    --pe-muted: #5c675f;
    --pe-line: rgba(23, 33, 30, 0.12);
    --pe-paper: #f3f0e8;
    --pe-card: #fffcf7;
    --pe-sea: #52b0a2;
    --pe-sea-deep: #1d4a43;
    --pe-btn: #17211e;
    --pe-btn-hover: #2c3834;
    --pe-kicker: #1d4a43;
    --pe-mark: #102421;
    --pe-focus: #000;
    --pe-focus-ring: rgba(0, 0, 0, 0.35);
    --pe-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --pe-heading: "Satoshi", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

.pe { position: relative; }

body {
    margin: 0;
    background: #FFFFFF;
    color: var(--pe-ink);
    font-family: var(--pe-sans);
}

.public-event h1,
.public-event h2,
.public-event h3,
.public-event h4,
.public-event h5 {
    font-family: var(--pe-heading);
}

.pe-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pe-hero-photo {
    position: relative;
    display: block;
}

.pe-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.pe-page {
    background: var(--color-primary-bg-soft);
}

.pe-page > .row {
    margin-left: 0;
    margin-right: 0;
}

.pe-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.pe-intro .pe-btn {
    flex: none;
    margin-top: 0;
}

.pe-kicker { color: var(--pe-kicker); }

.pe-intro h1,
.pe-body > h1,
.pe-signup h2 {
    font-weight: 600;
    letter-spacing: -0.03em;
}

.pe-intro h1,
.pe-body > h1 {
    margin: 0.35rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.pe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.7rem 1.4rem;
    border: 0;
    font-size: 14px !important;
    background: var(--pe-btn);
    color: #fff;
    font: inherit;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.pe-btn:hover { background: var(--pe-btn-hover); }

.pe-btn:disabled,
.pe-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.pe-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.pe-btn-ghost {
    margin-top: 0;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.pe-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }


.pe-when {
    margin-top: 2rem;
}

.pe-when-line {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.pe-fact-text {
    font-size: 14px;
    line-height: 1.4;
}

.pe-fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--color-primary-bg-soft);
}

.pe-fact-icon svg,
.pe-facts li > i,
.pe-facts li > svg {
    width: 16px;
    height: 16px;
    margin-top: 0.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.pe-fact-icon svg {
    margin-top: 0;
}

.pe-count {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.pe-facts .pe-count strong {
    font-size: 1.35rem;
}

.pe-count strong {
    display: block;
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.pe-count span {
    display: block;
    margin-top: 0.35rem;
    color: var(--pe-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pe-count-done {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
}

.pe-signup h2,
.pe-signup h3 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.pe-signup h3 {
    margin-top: 1.25rem;
}

.pe-signup p,
.pe-copy p {
    margin: 0 0 0.9rem;
    font-size: 14px;
    line-height: 1.5;
}

.pe-signup p { color: var(--pe-muted); }

.pe-copy {
    color: #6b706e;
}

.pe-copy ul,
.pe-copy ol {
    margin: 0 0 0.9rem;
    padding-left: 1.25rem;
    font-size: 15px;
    line-height: 1.5;
}

.pe-copy a {
    color: inherit;
    text-decoration: underline;
}

.pe-copy img {
    max-width: 100%;
    height: auto;
}

.pe-date,
.pe-fact {
    background: var(--pe-card);
    border: 1px solid var(--pe-line);
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(23, 33, 30, 0.06);
}

.pe-date,
.pe-fact { padding: 1.1rem 1.15rem; }

.pe-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.pe-date-mark {
    display: grid;
    justify-items: center;
    min-width: 4.5rem;
    margin: 0.15rem 0 0.2rem;
    padding: 0.55rem 0.4rem;
    border-radius: 0.9rem;
    background: var(--pe-mark);
    color: #fff;
}

.pe-date-mark span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.pe-date-mark strong {
    font-size: 1.8rem;
    line-height: 1;
}

.pe-fact-label,
.pe-fact-sub {
    margin: 0;
    color: var(--pe-muted);
    font-size: 0.82rem;
}

.pe-fact-label {
    margin-bottom: 0.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pe-fact-value {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.divider {
    border-top: 1px solid var(--pe-line);
}

.pe-signup .pe-kicker { color: var(--pe-kicker); }

.pe-alert {
    padding: 0.75rem 0.9rem;
    border-radius: 0.8rem;
    background: #fde8e4;
    color: #8a2e24;
}

form { display: grid; }

.pe-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pe-pair > div {
    display: flex;
    flex-direction: column;
}

.pe-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pe-label-row label { margin-bottom: 0.35rem; }

.pe-lookup-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.pe-lookup-status.is-valid { color: #1d4a43; }
.pe-lookup-status.is-invalid { color: #8a2e24; }
.pe-lookup-status.is-warning { color: #8a5a12; }

label {
    margin: 0.85rem 0 0.35rem;
    font-size: 13px;
    color: var(--pe-muted);
}

label span {
    color: var(--pe-muted);
    font-weight: 500;
}

label .pe-req {
    color: #8a2e24;
    font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 0.3rem 0;
    border: 0;
    border-bottom: 1px solid var(--pe-line);
    border-radius: 0;
    background: transparent;
    color: var(--pe-ink);
    font: inherit;
}

input:focus {
    outline: none;
    border-bottom-color: var(--pe-focus);
    box-shadow: none;
}

.pe-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pe-dock {
    display: none;
}

.pe-missing {
    max-width: 40rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.pe-missing h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
}

@media (max-width: 800px) {
    .pe-pair { grid-template-columns: 1fr; }
    .pe-intro { flex-wrap: wrap; }
    .pe-intro .pe-btn { margin-left: auto; }
    .pe-dock {
        position: fixed;
        z-index: 5;
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.7rem 0.7rem 0.7rem 1rem;
        border-radius: 1rem;
        background: var(--pe-mark);
        color: #fff;
        box-shadow: 0 12px 30px rgba(16, 36, 33, 0.28);
    }
    .pe-dock strong,
    .pe-dock span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .pe-dock span {
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.8rem;
    }
    .pe-dock .pe-btn {
        margin-top: 0;
        flex: none;
        background: #fff;
        color: var(--pe-mark);
    }
    .pe-dock .pe-btn:hover { background: #f4f4f4; }
    body { padding-bottom: 5.5rem; }
}

@keyframes pe-toast-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pe-toast-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.app-toast.swal2-popup.pe-toast-show {
    animation: pe-toast-fade-in 0.28s ease-out !important;
}

.app-toast.swal2-popup.pe-toast-hide {
    animation: pe-toast-fade-out 0.2s ease-in !important;
}
