/* ======================================================================
   ERaNS NextGen — Important dates & registration fees
   Save as /repository/css/info.css. Works with the supplied HTML.

   No fonts, images, frameworks, or network requests required.
   info.js loads the Budapest countdowns and controls fees and phase tabs.
   Card containers also style direct children, regardless of their class.
   Edit the color tokens below to customize the theme.
   ====================================================================== */

:root {
    color-scheme: light;
    --paper: #f7f6ef;
    --surface: #fffef9;
    --ink: #193c34;
    --muted: #576960;
    --green: #235648;
    --green-deep: #153e32;
    --lime: #d4ed8a;
    --lavender: #e1d9f4;
    --orange: #b64f32;
    --line: #d4dcd0;
    --soft-green: #e8eee3;
    --radius: 1.35rem;
    --shadow: 0 1.1rem 2.8rem -1.6rem rgb(25 60 52 / 25%);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1180px;
    --font: "Aptos", "Inter", "Segoe UI", Arial, sans-serif;
}

/* Base & accessibility ------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--lime);
    color: var(--green-deep);
}
img,
svg {
    display: block;
    max-width: 100%;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    color: inherit;
}
a {
    color: inherit;
    text-underline-offset: 0.24em;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.12;
}
h1,
h2 {
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}
button,
summary,
a {
    touch-action: manipulation;
}
[hidden] {
    display: none !important;
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}

.container {
    width: min(var(--container), calc(100% - 5rem));
    margin-inline: auto;
}

.skip {
    position: fixed;
    z-index: 100;
    inset: 1rem auto auto 1rem;
    padding: 0.85rem 1.2rem;
    border-radius: 0.7rem;
    background: var(--green-deep);
    color: white;
    font-weight: 700;
    transform: translateY(calc(-100% - 2rem));
}
.skip:focus {
    transform: translateY(0);
}

/* Header -------------------------------------------------------------- */
body > header {
    border-bottom: 1px solid var(--line);
}
.header-inner {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.055em;
}
.brand > span:last-child {
    min-width: 0;
}
.brand em {
    font-weight: 400;
    font-style: normal;
}
.brand small {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.54rem;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: 0.13em;
}
.brand-mark {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--green);
    color: var(--lime);
    font-size: 1.7rem;
    font-weight: 650;
    letter-spacing: -0.09em;
    transition:
        transform 0.45s var(--ease),
        border-radius 0.45s var(--ease);
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: -0.24rem 0.3rem;
    border: 1px solid var(--green);
    border-radius: 50%;
    transform: rotate(42deg);
}
.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        background 0.25s,
        border-color 0.25s,
        transform 0.25s;
}

/* Hero ---------------------------------------------------------------- */
.hero {
    display: grid;
    grid-template-columns: 1.13fr 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(3rem, 6vw, 5.25rem) 4rem;
}
.hero > div {
    min-width: 0;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    font-size: 0.63rem;
    line-height: 1.7;
    font-weight: 750;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.dot {
    display: inline-block;
    flex: 0 0 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0.28rem rgb(182 79 50 / 9%);
}
h1 {
    font-size: clamp(3rem, 5.25vw, 4.75rem);
    font-weight: 750;
    line-height: 1.045;
    letter-spacing: -0.066em;
}
h1 > span {
    color: var(--orange);
}
.intro {
    max-width: 29rem;
    margin-top: 1.6rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.6rem;
    margin-top: 2.2rem;
}
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.7rem;
    min-height: 52px;
    padding: 0.9rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 100px;
    background: var(--green);
    color: var(--surface);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.3s var(--ease),
        background 0.3s,
        box-shadow 0.3s;
}
.button > span,
.text-link > span {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}
.button > span {
    font-size: 1.2rem;
    line-height: 1;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    padding-block: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(var(--green), var(--green)) left bottom / 100% 1px no-repeat;
    transition:
        color 0.25s,
        background-size 0.3s var(--ease);
}

/* The illustration is drawn entirely in CSS using the existing markup. */
.scene {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1.07;
    margin-inline: auto;
}
.scene::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 8% 1% 5% 3%;
    border-radius: 50%;
    background: var(--soft-green);
}
.scene::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 16% 10% 14% 12%;
    border: 1px dashed rgb(35 86 72 / 18%);
    border-radius: 50%;
}
.scene-caption,
.scene-bottom {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: clamp(0.43rem, 0.7vw, 0.57rem);
    line-height: 1.6;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--muted);
}
.scene-caption {
    top: 0;
}
.scene-bottom {
    bottom: 0;
}
.orbit {
    position: absolute;
    z-index: -1;
    inset: 21% -1% 18%;
    border: 1px solid rgb(35 86 72 / 30%);
    border-radius: 50%;
    transform: rotate(-32deg);
}
.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--paper);
}
.orbit::before {
    left: 15%;
    top: 10%;
}
.orbit::after {
    right: 9%;
    bottom: 16%;
    background: var(--orange);
}
.calendar {
    position: absolute;
    z-index: 1;
    top: 15%;
    left: 7%;
    width: 61%;
    padding: 6% 5% 4%;
    border: 1px solid #c5cfc1;
    border-radius: 0.85rem;
    background: var(--surface);
    box-shadow: 0 1.4rem 2rem -1.2rem rgb(21 62 50 / 25%);
    transform: rotate(-10deg);
    transition:
        transform 0.7s var(--ease),
        box-shadow 0.7s var(--ease);
}
.calendar::before,
.calendar::after {
    content: "";
    position: absolute;
    top: -4%;
    width: 3%;
    height: 12%;
    border: 1px solid var(--green-deep);
    border-radius: 100px;
    background: var(--green);
}
.calendar::before {
    left: 25%;
}
.calendar::after {
    right: 25%;
}
.calendar-head {
    padding-bottom: 11%;
    color: var(--muted);
    font-size: clamp(0.43rem, 0.67vw, 0.56rem);
    line-height: 1.6;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-align: center;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}
.calendar-grid > span {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border: 1px solid #e0e5d9;
    border-radius: 0.35rem;
    background: #f1f3eb;
}
.calendar-grid > span:nth-child(3),
.calendar-grid > span:nth-child(10) {
    background: var(--lavender);
    border-color: #cec4e0;
}
.calendar-grid > span:nth-child(6) {
    background: var(--lime);
    border-color: #bbd171;
}
.calendar-grid > span:nth-child(6)::after {
    content: "";
    position: absolute;
    top: 28%;
    left: 30%;
    width: 37%;
    height: 23%;
    border-left: 2px solid var(--green-deep);
    border-bottom: 2px solid var(--green-deep);
    transform: rotate(-45deg);
}
.calendar-bottom {
    margin-top: 10%;
    padding-top: 7%;
    border-top: 1px solid var(--line);
    font-size: clamp(0.44rem, 0.7vw, 0.59rem);
    font-weight: 800;
    letter-spacing: 0.15em;
}
.receipt {
    position: absolute;
    z-index: 2;
    right: 5%;
    top: 34%;
    width: 43%;
    padding: 6% 5% 6%;
    border-radius: 0.25rem 0.25rem 0.55rem 0.55rem;
    background: var(--lime);
    box-shadow: 0.5rem 0.7rem 1.7rem -0.7rem rgb(21 62 50 / 22%);
    transform: rotate(11deg);
    transition:
        transform 0.7s var(--ease),
        box-shadow 0.7s var(--ease);
}
.receipt::before {
    content: "";
    position: absolute;
    left: 30%;
    top: -0.6rem;
    width: 40%;
    height: 1.3rem;
    border: 1px solid rgb(255 255 255 / 35%);
    background: rgb(255 254 249 / 55%);
    transform: rotate(-5deg);
}
.receipt::after {
    content: "";
    position: absolute;
    inset: auto 0 -0.3rem;
    height: 0.7rem;
    background: radial-gradient(circle at 50% 100%, transparent 0.3rem, var(--lime) 0.32rem) 0 0 / 0.85rem 0.7rem repeat-x;
}
.receipt-label {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(0.42rem, 0.7vw, 0.55rem);
    font-weight: 750;
    letter-spacing: 0.1em;
}
.receipt strong {
    display: block;
    font-size: clamp(1.45rem, 2.5vw, 2.3rem);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.055em;
}
.receipt-line {
    height: 1px;
    margin-top: 1.1rem;
    background: rgb(21 62 50 / 30%);
}
.receipt-line.short {
    width: 65%;
    margin-top: 0.55rem;
}
.art-star {
    position: absolute;
    z-index: 3;
    right: 7%;
    top: 12%;
    color: var(--orange);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    transform: rotate(12deg);
    transition: transform 0.8s var(--ease);
}

/* Section links ------------------------------------------------------- */
.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2rem;
    padding-block: 0.45rem;
    border-block: 1px solid var(--line);
}
.section-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding-inline: 0.15rem;
    font-size: 0.77rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.25s;
}
.section-nav a::after {
    content: "";
    position: absolute;
    bottom: -0.45rem;
    inset-inline: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.section-nav a:focus-visible::after {
    transform: scaleX(1);
}

/* Shared section typography ------------------------------------------ */
.section {
    padding-block: 4.5rem;
    scroll-margin-top: 2rem;
}
.heading {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    gap: 2.5rem;
    margin-bottom: 2.25rem;
}
.heading .eyebrow,
.questions-section .eyebrow {
    margin-bottom: 0.85rem;
}
h2 {
    font-size: clamp(1.95rem, 3.1vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.052em;
}
h2 > span {
    color: var(--orange);
}
.heading > p {
    max-width: 23rem;
    justify-self: end;
    padding-bottom: 0.15rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}
.data-note {
    position: relative;
    margin-top: 1.4rem;
    padding: 1rem 1.25rem 1rem 2.65rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.8;
}
.data-note::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 1.3rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--orange);
}
.data-note:empty {
    display: none;
}

/* JavaScript-generated milestones ----------------------------------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 1rem;
    counter-reset: milestone;
}
.timeline > * {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow-wrap: anywhere;
    counter-increment: milestone;
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s;
}
.timeline > *::before {
    content: counter(milestone, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 1.8rem;
    border: 1px solid #c6d1be;
    border-radius: 50%;
    background: var(--soft-green);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.timeline > :nth-child(3n + 2)::before {
    background: var(--lavender);
    border-color: #cfc4e2;
}
.timeline > :nth-child(3n)::before {
    background: var(--lime);
    border-color: #bfd579;
}
.timeline :where(h3, h4) {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}
.timeline :where(p, small) {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
}
.timeline :where(time, .date, .date-value, .date-date, .date-main) {
    display: block;
    margin-block: 0.75rem;
    color: var(--green);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.035em;
}
.timeline :where(.date-label, .date-title) {
    font-size: 0.9rem;
    font-weight: 700;
}
.timeline :where(.date-note, .date-description, .date-sub) {
    color: var(--muted);
    font-size: 0.77rem;
}
.timeline > [data-status="upcoming"] {
    border-color: var(--green);
}
.timeline:empty,
.fee-grid:empty {
    display: none;
}

/* Budapest day countdowns. The date and circle stay visible at zero. */
.timeline > .date-card {
    --date-accent: var(--green);
    --date-tint: var(--soft-green);
    --date-ring-paper: var(--surface);
    text-align: center;
}
.timeline > .date-card::before {
    display: none;
}
.timeline > .date-card:nth-child(2) {
    --date-accent: #795a9c;
    --date-tint: var(--lavender);
}
.timeline > .date-card:nth-child(3) {
    --date-accent: var(--orange);
    --date-tint: #f4e3d9;
}
.timeline > .date-card.featured {
    --date-tint: var(--lime);
    --date-ring-paper: #f3f7ea;
    border-color: #b8c99e;
    background: #edf3e3;
}
.date-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.date-index {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--date-tint);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.date-icon {
    color: var(--date-accent);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}
.timeline > .date-card h3 {
    min-height: 2.6em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.date-countdown {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 8.25rem;
    max-width: calc(100% - 1rem);
    aspect-ratio: 1;
    margin: 1.1rem auto 1.6rem;
    padding: 0.75rem;
    border-radius: 50%;
    color: var(--date-accent);
    box-shadow: 0 0.5rem 1.4rem -0.65rem rgb(25 60 52 / 25%);
}
.date-countdown::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(
        from -35deg,
        var(--date-accent) 0deg 70deg,
        var(--date-tint) 115deg 180deg,
        var(--date-accent) 230deg 280deg,
        var(--date-tint) 320deg 360deg
    );
    pointer-events: none;
}
.date-countdown::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -1px;
    border: 5px solid var(--date-ring-paper);
    border-radius: 50%;
    background: var(--date-ring-paper);
    box-shadow: inset 0 0 0 1px var(--line);
    pointer-events: none;
}
.date-countdown-number {
    display: block;
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.055em;
}
.date-countdown--long .date-countdown-number {
    font-size: 1.5rem;
}
.date-countdown-label {
    display: block;
    color: var(--muted);
    font-size: 0.6rem;
    line-height: 1.4;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.timeline .date-calendar-date {
    display: block;
    min-height: 1.6em;
    margin: 0;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.015em;
}
.date-card[data-state="unavailable"] .date-countdown-number,
.date-card[data-state="unavailable"] .date-calendar-date {
    color: var(--muted);
}
.dates-status {
    margin-top: 1.15rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.dates-retry {
    margin-top: 0.35rem;
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    cursor: pointer;
}
@keyframes erans-deadline-orbit {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: no-preference) {
    .date-card[data-state="active"] .date-countdown::before {
        animation: erans-deadline-orbit 4.8s ease-in-out;
    }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .date-card[data-state="active"]:hover .date-countdown::before {
        animation: erans-deadline-orbit 8s linear infinite;
    }
}
@media (max-width: 480px) {
    .timeline > .date-card h3 {
        min-height: 0;
    }
    .date-countdown {
        margin-block: 1.6rem;
    }
}

/* Fees ---------------------------------------------------------------- */
.fees-section {
    border-top: 1px solid var(--line);
}
.fee-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    max-width: 100%;
    margin-bottom: 1.75rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--soft-green);
}
.fee-tabs button {
    position: relative;
    min-height: 44px;
    padding: 0.7rem 1.45rem;
    border: 1px solid transparent;
    border-radius: 100px;
    background: transparent;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        box-shadow 0.25s,
        transform 0.25s;
}
.fee-tabs button.active,
.fee-tabs button[aria-pressed="true"] {
    background: var(--green);
    color: var(--surface);
    box-shadow: 0 0.2rem 0.45rem rgb(21 62 50 / 13%);
}
.fee-tabs button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.phase-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.7rem 1.5rem;
    margin-bottom: 1.2rem;
}
#phaseTitle {
    font-size: 0.88rem;
    font-weight: 700;
}
#phaseDeadline {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
}
.fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1rem;
}
.fee-grid > * {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow-wrap: anywhere;
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s;
}
.fee-grid > *::before {
    content: "";
    display: block;
    width: 2rem;
    height: 0.3rem;
    margin-bottom: 1.6rem;
    border-radius: 100px;
    background: var(--green);
}
.fee-grid > :nth-child(3n + 2)::before {
    background: #8c70b2;
}
.fee-grid > :nth-child(3n)::before {
    background: var(--orange);
}
.fee-grid :where(h3, h4, .fee-title, .fee-name) {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.fee-grid :where(p, small) {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.8;
}
.fee-grid :where(.price, .fee-price, .fee-amount, .amount) {
    display: block;
    margin-block: 1.25rem;
    color: var(--green-deep);
    font-size: clamp(2.3rem, 4vw, 3.1rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.055em;
}
.fee-grid :where(.currency, .price-unit, .fee-unit, .price small, .fee-price small) {
    display: inline;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
}
.fee-grid :where(.tag, .badge, .fee-label) {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    background: var(--soft-green);
    color: var(--green);
    font-size: 0.65rem;
    font-weight: 700;
}
.fee-grid ul {
    margin: 1.2rem 0 0;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.8rem;
}
.fee-grid li + li {
    margin-top: 0.5rem;
}
.fee-grid li::marker {
    color: var(--green);
}
.fee-grid .button {
    width: 100%;
    margin-top: 1.5rem;
}
.fee-grid > :where(.featured, .highlight, [data-featured="true"]) {
    border-color: var(--green);
    background: #eff4e5;
}
.invited-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.6rem 1.75rem;
    border: 1px solid #ced6c7;
    border-radius: var(--radius);
    background: var(--soft-green);
}
.invited-card > div:first-child {
    min-width: 0;
}
.invited-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    letter-spacing: -0.025em;
}
.invited-card p {
    max-width: 43rem;
    color: var(--muted);
    font-size: 0.8rem;
}
.invited-price {
    flex-shrink: 0;
    max-width: 45%;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    text-align: right;
}

/* Native, keyboard-accessible FAQ accordions -------------------------- */
.questions-section {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    align-items: start;
    gap: 5rem;
    padding-block: 4.75rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: 2rem;
}
.questions-section > div:first-child > p:not(.eyebrow) {
    max-width: 22rem;
    margin-block: 1.35rem 0.85rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}
.questions {
    border-top: 1px solid var(--line);
}
.questions details {
    border-bottom: 1px solid var(--line);
}
.questions summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 78px;
    padding: 1.25rem 0.2rem;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    transition: color 0.25s;
}
.questions summary::-webkit-details-marker {
    display: none;
}
.questions summary::marker {
    content: "";
}
.questions summary::after {
    content: "";
    flex: 0 0 1.8rem;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid #ccd5c6;
    border-radius: 50%;
    background:
        linear-gradient(var(--green), var(--green)) center / 9px 1px no-repeat,
        linear-gradient(var(--green), var(--green)) center / 1px 9px no-repeat,
        var(--soft-green);
    transition:
        transform 0.35s var(--ease),
        background-color 0.25s;
}
.questions details[open] summary {
    color: var(--green);
}
.questions details[open] summary::after {
    transform: rotate(180deg);
    background:
        linear-gradient(var(--green), var(--green)) center / 9px 1px no-repeat,
        var(--lime);
}
.questions details > p {
    max-width: 38rem;
    margin: -0.2rem 0 0;
    padding: 0 3rem 1.4rem 0.2rem;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.9;
}

/* Closing banner & footer -------------------------------------------- */
.help-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.75rem;
    margin-top: 0.5rem;
    margin-bottom: 5rem;
    padding: 2.7rem;
    border: 1px solid var(--green);
    border-radius: 1.65rem;
    background: var(--green-deep);
    color: var(--surface);
}
.help-banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 90% 90%, rgb(212 237 138 / 9%), transparent 65%);
    pointer-events: none;
}
.help-star {
    color: var(--lime);
    font-size: 4.5rem;
    line-height: 1;
    transition: transform 0.7s var(--ease);
}
.help-banner .eyebrow {
    margin-bottom: 0.6rem;
    color: var(--lime);
    font-size: 0.58rem;
}
.help-banner h2 {
    max-width: 30rem;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    letter-spacing: -0.04em;
}
.help-banner p:not(.eyebrow) {
    margin-top: 0.8rem;
    color: #d2ded4;
    font-size: 0.8rem;
}
.help-banner .button {
    background: var(--lime);
    color: var(--green-deep);
    white-space: nowrap;
}
.help-banner :focus-visible {
    outline-color: var(--lime);
}
noscript p {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
}
body > footer {
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    min-height: 90px;
    padding-block: 1.25rem;
    color: var(--muted);
    font-size: 0.7rem;
}
.footer-inner > span {
    margin-right: auto;
}
.footer-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

/* Hover effects are limited to devices with a real hover pointer. ----- */
@media (hover: hover) and (pointer: fine) {
    .brand:hover .brand-mark {
        transform: rotate(-8deg);
        border-radius: 35%;
    }
    .header-link:hover {
        transform: translateY(-2px);
        border-color: var(--green);
        background: var(--soft-green);
    }
    .button:hover {
        transform: translateY(-3px);
        background: var(--green-deep);
        box-shadow: var(--shadow);
    }
    .button:hover > span {
        transform: translate(2px, -2px);
    }
    .actions .button:hover > span {
        transform: translateY(3px);
    }
    .text-link:hover {
        color: var(--orange);
        background-size: 35% 1px;
    }
    .text-link:hover > span {
        transform: translate(2px, -2px);
    }
    .scene:hover .calendar {
        transform: translate(-4px, -7px) rotate(-6deg);
        box-shadow: 0 2rem 2.5rem -1.3rem rgb(21 62 50 / 27%);
    }
    .scene:hover .receipt {
        transform: translate(5px, -4px) rotate(6deg);
    }
    .scene:hover .art-star {
        transform: rotate(102deg);
    }
    .section-nav a:hover {
        color: var(--orange);
    }
    .section-nav a:hover::after {
        transform: scaleX(1);
    }
    .timeline > *:hover,
    .fee-grid > *:hover {
        transform: translateY(-5px);
        border-color: #97af98;
        box-shadow: var(--shadow);
    }
    .fee-tabs button:not(:disabled):not(.active):not([aria-pressed="true"]):hover {
        background: var(--surface);
        color: var(--green);
    }
    .questions summary:hover {
        color: var(--orange);
    }
    .questions summary:hover::after {
        background-color: var(--lime);
    }
    .help-banner:hover .help-star {
        transform: rotate(60deg);
    }
    .help-banner .button:hover {
        background: #e0f4ad;
    }
    .footer-inner a:hover {
        color: var(--green);
        text-decoration: underline;
    }
}
.button:active,
.fee-tabs button:not(:disabled):active {
    transform: translateY(1px);
}
.timeline > *:focus-within,
.fee-grid > *:focus-within {
    border-color: var(--green);
    box-shadow: var(--shadow);
}

/* Progressive enhancement: the chosen anchor gets a persistent line. */
@supports selector(body:has(#dates:target)) {
    body:has(#dates:target) .section-nav a[href="#dates"]::after,
    body:has(#fees:target) .section-nav a[href="#fees"]::after,
    body:has(#questions:target) .section-nav a[href="#questions"]::after {
        transform: scaleX(1);
    }
}

/* Finite entrance animations settle within five seconds. Content is
   visible by default; animations are never required to reveal it. */
@keyframes erans-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes erans-calendar-settle {
    0% {
        transform: translate(8px, 14px) rotate(-5deg);
    }
    45% {
        transform: translate(0, -8px) rotate(-12deg);
    }
    100% {
        transform: translate(0, 0) rotate(-10deg);
    }
}
@keyframes erans-receipt-settle {
    0% {
        transform: translate(-5px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(0, -7px) rotate(14deg);
    }
    100% {
        transform: translate(0, 0) rotate(11deg);
    }
}
@keyframes erans-star-turn {
    from {
        transform: rotate(-65deg) scale(0.85);
    }
    to {
        transform: rotate(12deg) scale(1);
    }
}
@media (prefers-reduced-motion: no-preference) {
    .hero > div:first-child > * {
        animation: erans-rise 0.8s var(--ease) backwards;
    }
    .hero > div:first-child > h1 {
        animation-delay: 0.08s;
    }
    .hero .intro {
        animation-delay: 0.16s;
    }
    .hero .actions {
        animation-delay: 0.24s;
    }
    .calendar {
        animation: erans-calendar-settle 3.6s var(--ease) backwards;
    }
    .receipt {
        animation: erans-receipt-settle 4.2s var(--ease) backwards;
    }
    .art-star {
        animation: erans-star-turn 1.8s var(--ease) backwards;
    }
    .fee-grid > * {
        animation: erans-rise 0.45s var(--ease) backwards;
    }
    .fee-grid > :nth-child(2) {
        animation-delay: 0.05s;
    }
    .fee-grid > :nth-child(3) {
        animation-delay: 0.1s;
    }
    .questions details[open] > p {
        animation: erans-rise 0.3s var(--ease);
    }
}

/* Responsive layout --------------------------------------------------- */
@media (min-width: 1440px) {
    .hero {
        gap: 4.5rem;
    }
}
@media (max-width: 1000px) {
    .container {
        width: calc(100% - 3rem);
    }
    .hero {
        gap: 1.5rem;
    }
    h1 {
        font-size: clamp(2.7rem, 5.8vw, 4rem);
    }
    .hero .eyebrow {
        max-width: 25rem;
        font-size: 0.58rem;
    }
    .heading {
        grid-template-columns: 1.3fr 1fr;
        gap: 2rem;
    }
    .questions-section {
        gap: 3rem;
    }
    .help-banner {
        grid-template-columns: auto 1fr;
        padding: 2.2rem;
    }
    .help-banner .button {
        grid-column: 2;
        justify-self: start;
    }
}
@media (max-width: 760px) {
    .header-inner {
        min-height: 92px;
    }
    .brand {
        font-size: 1.25rem;
        gap: 0.7rem;
    }
    .brand small {
        max-width: 17rem;
        font-size: 0.47rem;
        letter-spacing: 0.08em;
    }
    .brand-mark {
        flex-basis: 2.65rem;
        width: 2.65rem;
        height: 2.65rem;
    }
    .header-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.68rem;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 3.25rem;
        padding-bottom: 2.5rem;
    }
    .hero > div:first-child {
        max-width: 36rem;
    }
    h1 {
        font-size: clamp(3rem, 8.8vw, 4.6rem);
    }
    .intro {
        max-width: 33rem;
        font-size: 0.95rem;
    }
    .scene {
        max-width: 440px;
    }
    .scene-caption,
    .scene-bottom {
        font-size: 0.53rem;
    }
    .calendar-head,
    .calendar-bottom,
    .receipt-label {
        font-size: 0.53rem;
    }
    .receipt strong {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    .art-star {
        font-size: 4.4rem;
    }
    .section-nav {
        gap: 0.3rem 1.4rem;
    }
    .section-nav a {
        font-size: 0.73rem;
    }
    .section,
    .questions-section {
        padding-block: 3.5rem;
    }
    .heading {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        margin-bottom: 1.75rem;
    }
    .heading > p {
        justify-self: start;
        max-width: 34rem;
    }
    h2 {
        font-size: clamp(1.9rem, 5.5vw, 2.6rem);
    }
    .questions-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .questions-section > div:first-child > p:not(.eyebrow) {
        max-width: 32rem;
    }
    .help-banner {
        margin-bottom: 3.5rem;
        gap: 1.25rem;
    }
    .help-star {
        font-size: 3.7rem;
    }
}
@media (max-width: 480px) {
    .container {
        width: calc(100% - 2.25rem);
    }
    .header-inner {
        align-items: center;
        gap: 0.8rem;
        padding-block: 1.1rem;
    }
    .brand {
        font-size: 1.05rem;
        gap: 0.55rem;
    }
    .brand small {
        max-width: 9rem;
        font-size: 0.43rem;
        line-height: 1.55;
    }
    .brand-mark {
        flex-basis: 2.3rem;
        width: 2.3rem;
        height: 2.3rem;
        font-size: 1.4rem;
    }
    .header-link {
        max-width: 6.4rem;
        padding: 0.45rem 0.65rem;
        font-size: 0.65rem;
        line-height: 1.5;
        text-align: center;
    }
    .hero {
        padding-top: 2.6rem;
        gap: 2.5rem;
    }
    .hero .eyebrow {
        max-width: 19rem;
        font-size: 0.56rem;
        letter-spacing: 0.11em;
    }
    h1 {
        font-size: clamp(2.55rem, 10.4vw, 3.6rem);
    }
    .intro {
        margin-top: 1.3rem;
        font-size: 0.9rem;
    }
    .actions {
        gap: 0.9rem 1.2rem;
        margin-top: 1.7rem;
    }
    .button {
        min-height: 50px;
        padding: 0.8rem 1.05rem;
        gap: 1.1rem;
        font-size: 0.76rem;
    }
    .text-link {
        font-size: 0.76rem;
        gap: 0.55rem;
    }
    .scene {
        max-width: 350px;
        aspect-ratio: 1;
    }
    .scene-caption,
    .scene-bottom {
        font-size: 0.45rem;
        letter-spacing: 0.13em;
    }
    .calendar-head,
    .calendar-bottom,
    .receipt-label {
        font-size: 0.44rem;
    }
    .calendar-grid {
        gap: 0.4rem;
    }
    .receipt strong {
        font-size: clamp(1.4rem, 6.4vw, 1.8rem);
    }
    .receipt-label {
        margin-bottom: 0.75rem;
    }
    .art-star {
        font-size: 3.5rem;
    }
    .section-nav {
        column-gap: 1.1rem;
        row-gap: 0;
    }
    .section-nav a {
        min-height: 46px;
        font-size: 0.67rem;
    }
    .section-nav a::after {
        bottom: 0;
    }
    .eyebrow {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }
    .timeline,
    .fee-grid {
        grid-template-columns: 1fr;
    }
    .timeline > * {
        padding: 1.3rem;
    }
    .timeline > *::before {
        margin-bottom: 1.2rem;
    }
    .fee-tabs {
        display: flex;
        width: 100%;
        border-radius: 1.15rem;
    }
    .fee-tabs button {
        flex: 1 1 0;
        padding: 0.65rem 0.35rem;
        border-radius: 0.8rem;
        font-size: 0.72rem;
    }
    .phase-note {
        align-items: flex-start;
    }
    #phaseTitle {
        font-size: 0.8rem;
    }
    #phaseDeadline {
        font-size: 0.65rem;
    }
    .fee-grid > *,
    .invited-card {
        padding: 1.4rem;
    }
    .invited-card {
        align-items: flex-start;
        gap: 1rem;
    }
    .invited-price {
        max-width: 35%;
        font-size: 1.5rem;
    }
    .data-note {
        padding-left: 2.2rem;
        font-size: 0.73rem;
    }
    .data-note::before {
        left: 1rem;
    }
    .questions summary {
        font-size: 0.83rem;
    }
    .questions details > p {
        padding-right: 1rem;
    }
    .help-banner {
        grid-template-columns: 1fr;
        padding: 1.7rem;
    }
    .help-star {
        font-size: 3.3rem;
    }
    .help-banner .button {
        grid-column: auto;
        justify-self: start;
        white-space: normal;
    }
    .footer-inner {
        gap: 0.25rem 1.4rem;
        padding-block: 1.2rem;
    }
    .footer-inner > span {
        flex-basis: 100%;
    }
}

/* Respect system motion preferences, including every hover transform. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .brand:hover .brand-mark,
    .header-link:hover,
    .button:hover,
    .button:active,
    .button:hover > span,
    .actions .button:hover > span,
    .text-link:hover > span,
    .timeline > *:hover,
    .fee-grid > *:hover,
    .fee-tabs button:not(:disabled):active,
    .help-banner:hover .help-star {
        transform: none;
    }
    .scene:hover .calendar {
        transform: rotate(-10deg);
    }
    .scene:hover .receipt {
        transform: rotate(11deg);
    }
    .scene:hover .art-star {
        transform: rotate(12deg);
    }
}

/* High contrast and print retain the content and clear boundaries. */
@media (forced-colors: active) {
    .date-countdown {
        border: 2px solid CanvasText;
        color: CanvasText;
    }
    .date-countdown::before,
    .date-countdown::after {
        display: none;
    }
    .button,
    .fee-tabs button,
    .header-link {
        border: 1px solid ButtonText;
    }
    .fee-tabs button.active,
    .fee-tabs button[aria-pressed="true"] {
        outline: 2px solid Highlight;
        outline-offset: -4px;
    }
    .questions summary::after {
        content: "+";
        display: grid;
        place-items: center;
        line-height: 1;
    }
    .questions details[open] summary::after {
        content: "−";
        transform: none;
    }
}
@media print {
    @page {
        margin: 16mm;
    }
    html {
        scroll-behavior: auto;
    }
    body {
        background: white;
        color: black;
        font-size: 11pt;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
    .container {
        width: 100%;
        max-width: none;
    }
    .skip,
    .header-link,
    .scene,
    .actions,
    .section-nav,
    .fee-tabs,
    .help-star,
    .help-banner .button,
    .footer-inner a[href="#main"] {
        display: none !important;
    }
    .hero,
    .heading,
    .questions-section,
    .help-banner {
        display: block;
    }
    .hero,
    .section,
    .questions-section {
        padding-block: 1.4rem;
    }
    h1 {
        font-size: 32pt;
    }
    h2 {
        font-size: 22pt;
    }
    .heading > p {
        margin-top: 0.75rem;
    }
    .timeline,
    .fee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .timeline > *,
    .fee-grid > *,
    .invited-card,
    .questions details {
        break-inside: avoid;
    }
    .date-countdown {
        border: 2px solid #777;
        color: black;
        box-shadow: none;
    }
    .date-countdown::before,
    .date-countdown::after {
        display: none;
    }
    .dates-retry {
        display: none;
    }
    .questions {
        margin-top: 1.5rem;
    }
    .help-banner {
        margin-block: 1.5rem;
        padding: 1.2rem;
        border-color: #bbb;
        background: white;
        color: black;
    }
    .help-banner .eyebrow,
    .help-banner p:not(.eyebrow) {
        color: #333;
    }
    .footer-inner {
        min-height: 0;
    }
}

/* Image logo + main navigation + participant portal header.
   Scoped to the header so the page's section navigation is unaffected. */
body > header .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.6rem;
    min-height: 100px;
    padding-block: 1.25rem;
}
body > header .header-inner > a:first-child {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    justify-self: start;
    text-decoration: none;
}
body > header .header-inner .logo-1 {
    display: block;
    width: 120px;
    max-width: 100%;
    height: auto;
}
body > header .header-inner > nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1.25rem;
    min-width: 0;
}
body > header .header-inner > nav > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.2rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s;
}
body > header .header-inner > nav > a::after {
    content: "";
    position: absolute;
    inset: auto 0.2rem 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
body > header .header-inner > nav > a:focus-visible::after,
body > header .header-inner > nav > a[aria-current="page"]::after {
    transform: scaleX(1);
}
body > header .header-inner > .portal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 0.7rem;
    min-width: 0;
    min-height: 46px;
    max-width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--green);
    border-radius: 100px;
    background: var(--green);
    color: var(--surface);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.25s,
        box-shadow 0.25s;
}
body > header .portal > span {
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
    body > header .header-inner > nav > a:hover {
        color: var(--orange);
    }
    body > header .header-inner > nav > a:hover::after {
        transform: scaleX(1);
    }
    body > header .header-inner > .portal:hover {
        background: var(--green-deep);
        box-shadow: var(--shadow);
    }
}
@media (max-width: 960px) {
    body > header .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.85rem 1rem;
        padding-block: 1rem 0.65rem;
    }
    body > header .header-inner > a:first-child {
        grid-column: 1;
        grid-row: 1;
    }
    body > header .header-inner > .portal {
        grid-column: 2;
        grid-row: 1;
    }
    body > header .header-inner > nav {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 0.5rem;
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 480px) {
    body > header .header-inner {
        gap: 0.8rem 0.7rem;
    }
    body > header .header-inner .logo-1 {
        width: 100px;
    }
    body > header .header-inner > .portal {
        max-width: 10rem;
        gap: 0.45rem;
        padding: 0.75rem 0.8rem;
        font-size: 0.72rem;
    }
    body > header .header-inner > nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.15rem 0.6rem;
    }
    body > header .header-inner > nav > a {
        font-size: 0.75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    body > header .header-inner > nav > a,
    body > header .header-inner > nav > a::after,
    body > header .header-inner > .portal {
        transition: none;
    }
}
@media (forced-colors: active) {
    body > header .header-inner > .portal {
        border-color: ButtonText;
    }
}
@media print {
    body > header .header-inner {
        display: block;
        min-height: 0;
    }
    body > header .header-inner > nav,
    body > header .header-inner > .portal {
        display: none;
    }
}

/* === Registration fees component (from fees.css) === */

/* Original registration widget palette, isolated from info.css */
#regfee-widget {
    --ink: #0b1c31;
    --navy: #071a34;
    --navy-2: #0c274b;
    --blue: #1e6cff;
    --cyan: #42d6ff;
    --lime: #c6f35d;
    --violet: #8a70ff;
    --coral: #ff8c69;
    --paper: #f3f6fb;
    --white: #fff;
    --muted: #627087;
    --line: #dfe5ee;
    --success: #24a878;
    --danger: #c8495e;
    --shadow-sm: 0 10px 30px rgba(18, 43, 75, 0.08);
    --shadow-lg: 0 28px 80px rgba(6, 24, 51, 0.18);
    --radius: 22px;
}
/* =========================================================
   REGISTRATION WIDGET — all rules stay scoped to its ID
   ========================================================= */
#regfee-widget {
    position: relative;
    overflow: hidden;
    padding: 115px 24px 105px;
    color: var(--ink);
    background: var(--paper);
}
#regfee-widget::before {
    content: "FEES";
    position: absolute;
    top: 30px;
    right: -20px;
    color: #0b1c3106;
    font-size: 220px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.08em;
    pointer-events: none;
}
#regfee-widget *,
#regfee-widget *::before,
#regfee-widget *::after {
    box-sizing: border-box;
}
#regfee-widget :where(h2, h3, p, ul) {
    margin: 0;
}
#regfee-widget .regfee-shell {
    width: min(var(--container), 100%);
    position: relative;
    z-index: 2;
    margin-inline: auto;
}
#regfee-widget .regfee-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 54px;
}
#regfee-widget .regfee-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
}
#regfee-widget .regfee-kicker > span {
    width: 28px;
    height: 1px;
    background: var(--blue);
}
#regfee-widget .regfee-heading h2 {
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 560;
    line-height: 1.04;
    letter-spacing: -0.055em;
}
#regfee-widget .regfee-heading h2 em {
    color: var(--blue);
    font-family: Georgia, serif;
    font-weight: 400;
}
#regfee-widget .regfee-intro {
    max-width: 420px;
    justify-self: end;
    padding-left: 22px;
    border-left: 2px solid var(--lime);
    color: var(--muted);
    font-size: 14px;
}
#regfee-widget .regfee-script-warning {
    margin: -20px 0 30px;
    padding: 16px 18px;
    border: 1px solid #f0ce91;
    border-radius: 12px;
    color: #7d5c20;
    background: #fff7e6;
    font-size: 12px;
}

#regfee-widget .regfee-category-tabs {
    position: sticky;
    top: 84px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr) 0.72fr;
    gap: 6px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 13px 38px rgba(19, 46, 79, 0.08);
    backdrop-filter: blur(14px);
}
#regfee-widget .regfee-category-tab {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    border: 0;
    border-radius: 11px;
    color: #617087;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.2s,
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}
#regfee-widget .regfee-category-tab:hover {
    color: var(--ink);
    background: #f0f4fa;
}
#regfee-widget .regfee-category-tab.is-current {
    color: #fff;
    background: linear-gradient(135deg, var(--navy-2), var(--blue));
    box-shadow: 0 12px 25px rgba(23, 87, 181, 0.2);
    transform: translateY(-1px);
}
#regfee-widget .regfee-category-tab > span {
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
    opacity: 0.65;
}
#regfee-widget .regfee-category-tab strong {
    font-size: 11px;
    line-height: 1.4;
}
#regfee-widget .regfee-category-tab strong i {
    width: 18px;
    color: var(--blue);
}
#regfee-widget .regfee-category-tab.is-current strong i {
    color: var(--lime);
}
#regfee-widget .regfee-category-panel {
    padding-top: 40px;
    animation: panel-in 0.42s ease both;
}
#regfee-widget .regfee-package-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 36px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #e9eef6;
}
#regfee-widget .regfee-switch-label {
    padding: 0 20px 0 12px;
    color: #697a91;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
}
#regfee-widget .regfee-package-button {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #627188;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.2s,
        border 0.2s,
        color 0.2s,
        box-shadow 0.2s;
}
#regfee-widget .regfee-package-button:hover {
    color: var(--ink);
}
#regfee-widget .regfee-package-button.is-active {
    border-color: #dce4ee;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 44, 76, 0.08);
}
#regfee-widget .regfee-package-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid #bfcbda;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
}
#regfee-widget .regfee-package-button.is-active .regfee-package-icon {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}
#regfee-widget .regfee-package-button strong,
#regfee-widget .regfee-package-button small {
    display: block;
}
#regfee-widget .regfee-package-button strong {
    font-size: 12px;
}
#regfee-widget .regfee-package-button small {
    margin-top: 1px;
    font-size: 9px;
    opacity: 0.74;
}
#regfee-widget .regfee-switch-glow {
    display: none;
}
#regfee-widget .regfee-package-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 50px;
    margin: 0 0 28px;
}
#regfee-widget .regfee-package-summary > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
#regfee-widget .regfee-summary-number {
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid #c9d4e1;
    border-radius: 14px;
    color: var(--blue);
    background: #fff;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 9px 22px rgba(18, 44, 72, 0.05);
}
#regfee-widget .regfee-summary-label {
    margin-bottom: 3px;
    color: #7b899d;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.18em;
}
#regfee-widget .regfee-package-summary h3 {
    font-family: Georgia, serif;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
#regfee-widget .regfee-package-summary > p {
    max-width: 400px;
    justify-self: end;
    color: var(--muted);
    font-size: 12px;
}
#regfee-widget .regfee-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
#regfee-widget .regfee-card {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 25px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 8px 35px rgba(18, 43, 75, 0.045);
    transition:
        transform 0.28s,
        box-shadow 0.28s,
        border-color 0.28s;
}
#regfee-widget .regfee-card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: 0;
    filter: blur(35px);
    transition: opacity 0.3s;
}
#regfee-widget .regfee-card:hover {
    z-index: 2;
    border-color: #bac8da;
    box-shadow: 0 24px 60px rgba(17, 42, 72, 0.13);
    transform: translateY(-8px);
}
#regfee-widget .regfee-card:hover::after {
    opacity: 0.12;
}
#regfee-widget .regfee-card.is-featured {
    color: #fff;
    border-color: #0d3768;
    background: radial-gradient(circle at 100% 0%, rgba(68, 178, 255, 0.18), transparent 29%), linear-gradient(150deg, #071a34, #0c315d);
    box-shadow: 0 20px 55px rgba(5, 27, 55, 0.2);
}
#regfee-widget .regfee-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(198, 243, 93, 0.7), transparent 40%, rgba(66, 214, 255, 0.3));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
#regfee-widget .regfee-card-top {
    min-height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
#regfee-widget .regfee-phase {
    color: #76869c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.16em;
}
#regfee-widget .regfee-card-badge {
    max-width: 150px;
    padding: 5px 9px;
    border-radius: 99px;
    color: #536479;
    background: #eef2f7;
    font-size: 8px;
    font-weight: 850;
    line-height: 1.3;
    text-align: center;
}
#regfee-widget .is-featured .regfee-card-badge {
    color: #193823;
    background: var(--lime);
}
#regfee-widget .regfee-card > h3 {
    font-size: 23px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.035em;
}
#regfee-widget .regfee-deadline {
    min-height: 20px;
    margin-top: 5px;
    color: #6d7c90;
    font-size: 10px;
}
#regfee-widget .regfee-price {
    min-height: 69px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0 1px;
}
#regfee-widget .regfee-price > span {
    font-size: 10px;
    font-weight: 850;
}
#regfee-widget .regfee-price strong {
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 590;
    line-height: 1.05;
    letter-spacing: -0.055em;
}
#regfee-widget .regfee-price small {
    color: #77879c;
    font-size: 9px;
}
#regfee-widget .regfee-price-note {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    color: #76869b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.13em;
}
#regfee-widget .regfee-includes-title {
    margin: 20px 0 13px;
    font-size: 12px;
    font-weight: 850;
}
#regfee-widget .regfee-features {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}
#regfee-widget .regfee-features li {
    position: relative;
    padding-left: 22px;
    font-size: 11px;
    line-height: 1.5;
}
#regfee-widget .regfee-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: #eaf2ff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
}
#regfee-widget .regfee-exclusion {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    color: #76859a;
    font-size: 9px;
    line-height: 1.65;
}
#regfee-widget .regfee-card-bottom {
    margin-top: auto;
    padding-top: 23px;
}
#regfee-widget .regfee-addon-details {
    margin-bottom: 15px;
    border-block: 1px solid var(--line);
}
#regfee-widget .regfee-addon-details summary {
    position: relative;
    padding: 13px 25px 13px 0;
    list-style: none;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
#regfee-widget .regfee-addon-details summary::-webkit-details-marker {
    display: none;
}
#regfee-widget .regfee-addon-details summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 7px;
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.2s;
}
#regfee-widget .regfee-addon-details[open] summary::after {
    transform: rotate(45deg);
}
#regfee-widget .regfee-addon-list {
    display: grid;
    gap: 8px;
}
#regfee-widget .regfee-addon-list:empty::before {
    content: "Available options appear here after live fees load.";
    padding-bottom: 13px;
    color: #78869a;
    font-size: 9px;
}
#regfee-widget .regfee-addon-option {
    display: grid;
    grid-template-columns: 17px 1fr auto;
    align-items: start;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
}
#regfee-widget .regfee-addon-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue);
}
#regfee-widget .regfee-addon-name {
    font-size: 10px;
}
#regfee-widget .regfee-addon-name small {
    color: #7a899b;
}
#regfee-widget .regfee-addon-price {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
}
#regfee-widget .regfee-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    font-size: 9px;
}
#regfee-widget .regfee-total strong {
    font-size: 15px;
}
#regfee-widget .regfee-addon-open {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 13px 1px;
    border: 0;
    border-block: 1px solid var(--line);
    color: inherit;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
#regfee-widget .regfee-addon-open > span:last-child {
    font-size: 18px;
    font-weight: 300;
}
#regfee-widget .regfee-register {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 0 15px;
    border: 1px solid #cbd6e3;
    border-radius: 11px;
    color: var(--ink);
    background: #f7f9fc;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
    transition:
        border 0.2s,
        background 0.2s,
        transform 0.2s;
}
#regfee-widget .regfee-register:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #edf4ff;
    transform: translateY(-2px);
}
#regfee-widget .regfee-register > span:last-of-type,
#regfee-widget .regfee-register > i {
    margin-left: auto;
}
#regfee-widget .regfee-register.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}
#regfee-widget .is-featured :where(.regfee-phase, .regfee-deadline, .regfee-price small, .regfee-price-note, .regfee-exclusion) {
    color: #9fb0c7;
}
#regfee-widget .is-featured :where(.regfee-price-note, .regfee-exclusion, .regfee-addon-details, .regfee-addon-open) {
    border-color: #ffffff1d;
}
#regfee-widget .is-featured .regfee-features li::before {
    color: var(--lime);
    background: #ffffff12;
}
#regfee-widget .is-featured .regfee-register {
    color: #112a35;
    border-color: var(--lime);
    background: var(--lime);
}
#regfee-widget .is-featured .regfee-register:hover {
    color: #112a35;
    background: #ddff8d;
}
#regfee-widget .is-featured .regfee-addon-price {
    color: var(--lime);
}
#regfee-widget .regfee-compare-wrap {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(18, 43, 75, 0.04);
}
#regfee-widget .regfee-compare-button {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 11px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}
#regfee-widget .regfee-compare-button span:last-child {
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.2s;
}
#regfee-widget .regfee-compare-button[aria-expanded="true"] span:last-child {
    transform: rotate(45deg);
}
#regfee-widget .regfee-comparison {
    padding: 0 22px 18px;
}
#regfee-widget :where(.regfee-comparison-head, .regfee-comparison-row) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e7ebf1;
    font-size: 10px;
}
#regfee-widget .regfee-comparison-head {
    color: #728196;
    font-size: 9px;
}
#regfee-widget .regfee-comparison-row > span:not(:first-child) {
    text-align: center;
}
#regfee-widget .regfee-yes {
    color: var(--success);
    font-weight: 800;
}
#regfee-widget .regfee-no {
    color: #8a7180;
}
#regfee-widget .regfee-full-note {
    display: flex;
    gap: 14px;
    margin: -7px 0 25px;
    padding: 18px 20px;
    border: 1px solid #d8e6b5;
    border-radius: 14px;
    color: #42502e;
    background: #f2f9e2;
    font-size: 11px;
}
#regfee-widget .regfee-full-note-icon {
    color: #8ba63f;
    font-size: 22px;
}
#regfee-widget .regfee-full-note strong {
    display: block;
    margin-bottom: 3px;
    color: #2b421e;
}
#regfee-widget .regfee-addon-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
#regfee-widget .regfee-addon-catalog:empty::before {
    content: "Live optional add-ons will appear here when fee information has loaded.";
    grid-column: 1/-1;
    padding: 50px 25px;
    border: 1px dashed #b9c7d8;
    border-radius: 18px;
    color: #69798f;
    background: #fff;
    font-size: 13px;
    text-align: center;
}
#regfee-widget .regfee-addon-group {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 39, 69, 0.04);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
#regfee-widget .regfee-addon-group:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}
#regfee-widget .regfee-addon-group > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
#regfee-widget .regfee-addon-group > div span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
}
#regfee-widget .regfee-addon-group h3 {
    font-size: 15px;
}
#regfee-widget .regfee-addon-group > p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    color: #6f7e92;
    font-size: 10px;
}
#regfee-widget .regfee-addon-group > p strong {
    color: var(--ink);
    font-size: 14px;
}
#regfee-widget .regfee-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 38px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--line);
}
#regfee-widget .regfee-notes > div {
    display: flex;
    gap: 13px;
    padding: 22px;
    background: #fff;
}
#regfee-widget .regfee-notes > div > span {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--blue);
    background: #eaf2ff;
    font-size: 13px;
}
#regfee-widget .regfee-notes p {
    color: #728197;
    font-size: 12px;
}
#regfee-widget .regfee-notes strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 11px;
}
/* Loading/error feedback driven by original JS data state. */
#regfee-widget[data-regfee-fees-state="loading"] .regfee-price strong {
    min-width: 86px;
    color: transparent;
    border-radius: 8px;
    background: linear-gradient(90deg, #e6ebf2 25%, #f6f8fb 45%, #e6ebf2 65%);
    background-size: 240% 100%;
    animation: skeleton 1.25s linear infinite;
}
#regfee-widget[data-regfee-fees-state="loading"] .is-featured .regfee-price strong {
    background: linear-gradient(90deg, #ffffff19 25%, #ffffff30 45%, #ffffff19 65%);
    background-size: 240% 100%;
}

/* Add-on modal created dynamically by the supplied JS */
.regfee-addon-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    overflow: hidden auto;
    padding: 24px;
    outline: 0;
    background: rgba(3, 15, 32, 0.34);
    opacity: 0;
    transition: opacity 0.22s;
}
.regfee-addon-modal.show {
    display: block;
    opacity: 1;
}
.regfee-addon-modal .modal-dialog {
    width: min(650px, 100%);
    min-height: calc(100% - 48px);
    display: flex;
    align-items: center;
    margin: auto;
    transform: translateY(15px) scale(0.985);
    transition: transform 0.25s;
}
.regfee-addon-modal.show .modal-dialog {
    transform: none;
}
.regfee-addon-modal .modal-content {
    width: 100%;
    max-height: min(760px, calc(100vh - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 38px 100px rgba(2, 17, 36, 0.28);
}
.regfee-addon-modal .modal-header {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 25px 26px;
    border-bottom: 1px solid var(--line);
}
.regfee-modal-kicker {
    margin: 0 0 5px;
    color: var(--blue);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.18em;
}
.regfee-addon-modal .modal-title {
    margin: 0;
    font-size: 29px;
    letter-spacing: -0.04em;
}
.regfee-modal-context {
    margin: 4px 0 0;
    color: #728197;
    font-size: 10px;
}
.regfee-addon-modal .btn-close {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #f5f7fa;
    cursor: pointer;
}
.regfee-addon-modal .btn-close::before {
    content: "×";
    font-size: 22px;
    line-height: 1;
}
.regfee-addon-modal .modal-body {
    min-height: 130px;
    padding: 18px 26px;
    overflow: auto;
}
.regfee-modal-addon-list {
    display: grid;
    gap: 1px;
    background: var(--line);
}
.regfee-modal-addon-list .regfee-addon-option {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
}
.regfee-modal-addon-list input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--blue);
}
.regfee-modal-addon-list .regfee-addon-name {
    font-size: 12px;
}
.regfee-modal-addon-list .regfee-addon-name small {
    color: #728197;
}
.regfee-modal-addon-list .regfee-addon-price {
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
}
.regfee-modal-empty {
    margin: 0;
    padding: 32px 10px;
    color: #728197;
    font-size: 12px;
    text-align: center;
}
.regfee-addon-modal .modal-footer {
    display: grid;
    gap: 12px;
    padding: 20px 26px 25px;
    border-top: 1px solid var(--line);
    background: #f7f9fc;
}
.regfee-modal-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.regfee-modal-total span {
    color: #64748a;
    font-size: 11px;
}
.regfee-modal-total strong {
    font-size: 20px;
}
.regfee-modal-payment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.regfee-modal-payment-split > div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}
.regfee-modal-payment-split span,
.regfee-modal-payment-split strong,
.regfee-modal-payment-split small {
    display: block;
}
.regfee-modal-payment-split span {
    color: #738197;
    font-size: 9px;
}
.regfee-modal-payment-split strong {
    margin: 3px 0;
    font-size: 14px;
}
.regfee-modal-payment-split small {
    color: #8390a3;
    font-size: 8px;
}
.regfee-modal-done {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--blue);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}
.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    z-index: 2190;
    background: rgba(3, 15, 32, 0.62);
    opacity: 0;
    transition: opacity 0.22s;
    backdrop-filter: blur(6px);
}
.modal-backdrop-custom.show {
    opacity: 1;
}

/* Help CTA + footer */
.help-cta {
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
    color: #fff;
    background: linear-gradient(120deg, var(--blue), #3151d7 55%, #664de0);
}
.help-cta::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -160px;
    top: -270px;
    border: 1px solid #ffffff30;
    border-radius: 50%;
    box-shadow:
        0 0 0 75px #ffffff08,
        0 0 0 145px #ffffff05;
}
.help-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(300px, 1.05fr) minmax(260px, 0.75fr) auto;
    align-items: center;
    gap: 38px;
}
.help-cta__icon {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    color: var(--lime);
    background: #ffffff0d;
    font-size: 41px;
}
.help-cta .eyebrow {
    color: var(--lime);
}
.help-cta h2 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}
.help-cta__inner > p {
    margin: 0;
    color: #d9e4ff;
    font-size: 13px;
}
.button--light {
    color: var(--ink);
    background: #fff;
    white-space: nowrap;
}
.button--light:hover {
    color: var(--blue);
    box-shadow: 0 14px 34px #051d5938;
}
.site-footer {
    padding: 75px 24px 25px;
    color: #9baec5;
    background: #041226;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(2, 0.65fr) 1fr;
    gap: 60px;
    padding-bottom: 60px;
}
.brand--footer {
    color: #fff;
}
.brand--footer .brand__copy small {
    color: #768ca8;
}
.footer-brand > p {
    max-width: 340px;
    margin: 22px 0;
    font-size: 12px;
}
.social-links {
    display: flex;
    gap: 8px;
}
.social-links a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff17;
    border-radius: 9px;
    color: #a7b8cb;
    text-decoration: none;
    transition:
        color 0.2s,
        border 0.2s,
        background 0.2s;
}
.social-links a:hover {
    color: var(--lime);
    border-color: #c6f35d55;
    background: #c6f35d0b;
}
.site-footer h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer-links a,
.footer-contact a {
    color: #94a7bf;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}
.footer-contact > a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 9px;
}
.footer-contact p {
    margin: 11px 0 21px;
    font-size: 10px;
}
.footer-contact i {
    color: var(--lime);
}
.footer-contact .footer-register {
    max-width: 190px;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #ffffff20;
    border-radius: 10px;
    color: #fff;
}
.site-footer__bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff12;
    font-size: 9px;
}
.site-footer__bottom p {
    margin: 0;
}
.site-footer__bottom p:last-child {
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 12px;
    font-style: italic;
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 14px 30px rgba(16, 80, 184, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.2s,
        visibility 0.2s,
        transform 0.2s;
    cursor: pointer;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Reveal and motion */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}
@keyframes live-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(198, 243, 93, 0.08);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(198, 243, 93, 0);
    }
}
@keyframes atom-float {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-9px) rotate(7deg);
    }
}
@keyframes scroll-nudge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}
@keyframes panel-in {
    from {
        opacity: 0.3;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes skeleton {
    to {
        background-position: -240% 0;
    }
}

/* Responsive */
@media (max-width: 1120px) {
    .desktop-nav a {
        padding-inline: 10px;
    }
    .site-header__inner {
        gap: 20px;
    }
    .fees-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 50px;
    }
    .trust-row__grid > div {
        padding-inline: 16px;
    }
    #regfee-widget .regfee-card {
        padding-inline: 21px;
    }
    .help-cta__inner {
        grid-template-columns: 95px 1fr 1fr;
    }
    .help-cta__inner .button {
        grid-column: 2 / 4;
        justify-self: start;
    }
    .help-cta__icon {
        width: 82px;
        height: 82px;
    }
}
@media (max-width: 940px) {
    :root {
        --header-h: 72px;
    }
    .desktop-nav,
    .header-cta {
        display: none;
    }
    .menu-toggle {
        display: grid;
    }
    .fees-hero {
        min-height: auto;
    }
    .fees-hero__grid {
        padding-block: 75px 95px;
        grid-template-columns: 1fr;
    }
    .fees-hero__content {
        max-width: 720px;
    }
    .hero-console {
        max-width: 600px;
        width: 100%;
        transform: none;
    }
    .trust-row__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-row__grid > div {
        border-bottom: 1px solid #ffffff10;
    }
    #regfee-widget {
        padding-top: 90px;
    }
    #regfee-widget .regfee-category-tabs {
        top: 76px;
        display: flex;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }
    #regfee-widget .regfee-category-tab {
        flex: 0 0 180px;
        scroll-snap-align: start;
    }
    #regfee-widget .regfee-pricing-grid {
        grid-template-columns: 1fr;
    }
    #regfee-widget .regfee-card {
        padding: 29px;
    }
    #regfee-widget .regfee-card-top {
        min-height: 0;
    }
    #regfee-widget .regfee-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
    }
    #regfee-widget .regfee-addon-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer__grid {
        grid-template-columns: 1.4fr 0.7fr 0.7fr;
    }
    .footer-contact {
        grid-column: 1 / -1;
        padding-top: 25px;
        border-top: 1px solid #ffffff12;
    }
}
@media (max-width: 700px) {
    .site-container {
        width: min(100% - 34px, var(--container));
    }
    .event-strip {
        display: none;
    }
    .site-header__inner {
        width: calc(100% - 28px);
    }
    .brand__copy small {
        display: none;
    }
    .brand__mark {
        width: 39px;
        height: 39px;
    }
    .breadcrumb {
        margin-bottom: 34px;
    }
    .fees-hero__grid {
        padding-block: 58px 92px;
    }
    .fees-hero h1 {
        font-size: clamp(48px, 15vw, 68px);
    }
    .hero-lead {
        font-size: 14px;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero-console {
        border-radius: 21px;
    }
    .hero-scroll {
        bottom: 21px;
    }
    .trust-row__grid {
        grid-template-columns: 1fr;
    }
    .trust-row__grid > div {
        min-height: 84px;
        border-left: 1px solid #ffffff10;
    }
    #regfee-widget {
        padding: 75px 17px 80px;
    }
    #regfee-widget::before {
        font-size: 120px;
    }
    #regfee-widget .regfee-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 38px;
    }
    #regfee-widget .regfee-intro {
        justify-self: start;
    }
    #regfee-widget .regfee-category-tabs {
        margin-inline: -1px;
    }
    #regfee-widget .regfee-package-switch {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #regfee-widget .regfee-switch-label {
        grid-column: 1 / -1;
        padding: 4px 7px;
    }
    #regfee-widget .regfee-package-button {
        min-width: 0;
        padding-inline: 10px;
    }
    #regfee-widget .regfee-package-button small {
        display: none;
    }
    #regfee-widget .regfee-package-summary {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    #regfee-widget .regfee-package-summary > p {
        justify-self: start;
        padding-left: 59px;
    }
    #regfee-widget .regfee-features {
        grid-template-columns: 1fr;
    }
    #regfee-widget .regfee-addon-catalog {
        grid-template-columns: 1fr;
    }
    #regfee-widget .regfee-notes {
        grid-template-columns: 1fr;
    }
    #regfee-widget :where(.regfee-comparison-head, .regfee-comparison-row) {
        grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 0.75fr));
        gap: 8px;
        font-size: 9px;
    }
    .help-cta {
        padding: 75px 17px;
    }
    .help-cta__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .help-cta__inner .button {
        grid-column: auto;
    }
    .help-cta__icon {
        width: 72px;
        height: 72px;
        font-size: 31px;
    }
    .site-footer {
        padding: 60px 17px 20px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 24px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}
@media (max-width: 440px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }
    .button {
        width: 100%;
    }
    .hero-console__visual {
        height: 165px;
    }
    .mobile-menu__panel {
        width: 100%;
    }
    #regfee-widget .regfee-category-tab {
        flex-basis: 155px;
        min-height: 78px;
        padding-inline: 12px;
    }
    #regfee-widget .regfee-package-switch {
        gap: 5px;
    }
    #regfee-widget .regfee-package-icon {
        width: 28px;
        height: 28px;
    }
    #regfee-widget .regfee-package-button strong {
        font-size: 10px;
    }
    #regfee-widget .regfee-card {
        padding: 24px 20px;
    }
    #regfee-widget .regfee-card-top {
        align-items: flex-start;
    }
    #regfee-widget .regfee-compare-button,
    #regfee-widget .regfee-comparison {
        padding-inline: 15px;
    }
    #regfee-widget :where(.regfee-comparison-head, .regfee-comparison-row) {
        font-size: 8px;
    }
    .regfee-addon-modal {
        padding: 10px;
    }
    .regfee-addon-modal .modal-dialog {
        min-height: calc(100% - 20px);
    }
    .regfee-addon-modal .modal-content {
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }
    .regfee-addon-modal .modal-header,
    .regfee-addon-modal .modal-body,
    .regfee-addon-modal .modal-footer {
        padding-inline: 18px;
    }
    .regfee-modal-addon-list .regfee-addon-option {
        grid-template-columns: 20px 1fr;
    }
    .regfee-modal-addon-list .regfee-addon-price {
        grid-column: 2;
    }
    .regfee-modal-payment-split {
        grid-template-columns: 1fr;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
@media print {
    .event-strip,
    .site-header,
    .mobile-menu,
    .fees-hero,
    .trust-row,
    .help-cta,
    .site-footer,
    .back-to-top,
    .page-progress {
        display: none !important;
    }
    #regfee-widget {
        padding: 0;
        background: #fff;
    }
    #regfee-widget .regfee-category-tabs {
        position: static;
    }
    #regfee-widget .regfee-card,
    #regfee-widget .regfee-card.is-featured {
        color: #000;
        border: 1px solid #999;
        background: #fff;
        box-shadow: none;
        break-inside: avoid;
    }
    #regfee-widget .regfee-pricing-grid {
        grid-template-columns: 1fr;
    }
}
