/* ==========================================================================
   Phase 4 part: misc — FAQ, legal pages (privacy, cookies, terms), 404/410,
   login + two-factor, and the guest-layout auth pages.
   Loaded after site.css. Tokens only; no new colours.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

/* Search: a big rounded pill with a thinking helper perched on top. */
.site-main > section.faq-search-section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(20px, 3vw, 32px); }
.faq-search-wrapper { max-width: 820px; margin: 0 auto; text-align: center; }
.faq-search-wrapper .faq-search-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.06; margin: 0 0 0.75rem; }
.faq-search-desc { max-width: 60ch; margin: 0 auto; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); color: var(--ink-2); }
.faq-search-wrapper .faq-search-box {
    position: relative;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    margin-top: clamp(40px, 5vw, 56px);
    padding: 10px 10px 10px 10px;
    border: 2px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-lift);
    transition: border-color 0.2s, box-shadow 0.3s var(--ease);
}
.faq-search-wrapper .faq-search-box:focus-within { border-color: var(--ink); box-shadow: var(--shadow-lift), 0 0 0 5px var(--butter-soft); }
.faq-search-box > .bi-search {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--berry);
    color: #fff;
    font-size: 1.2rem;
}
.faq-search-wrapper .faq-search-box input { min-height: 52px; padding: 0 0.5rem; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); text-align: left; }
.faq-search-char {
    position: absolute;
    right: clamp(14px, 4vw, 34px);
    bottom: calc(100% - 20px);
    width: clamp(64px, 9vw, 96px);
    z-index: 1;
}

/* Categories: a chip picker (wraps on desktop, swipes on phones). */
.site-main > section.faq-categories-section {
    padding-block: 0 clamp(36px, 5vw, 64px);
    background: transparent;
    margin-inline: 0;
    border-radius: 0;
}
.faq-chip-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}
.faq-chip-picker__item { display: flex; min-width: 0; }
.faq-chip-picker .faq-category-card {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    height: auto;
    padding: 6px 8px 6px 6px;
    border-radius: var(--pill);
    background: var(--paper);
    box-shadow: inset 0 0 0 2px var(--line);
    color: var(--ink);
    white-space: nowrap;
    transition: transform 0.3s var(--ease), box-shadow 0.25s, background 0.2s;
}
.faq-chip-picker .faq-category-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink); }
.faq-chip-picker .faq-category-icon { width: 40px; height: 40px; margin: 0; font-size: 1.02rem; background: var(--chip, var(--butter)); }
.faq-chip-picker__item:nth-child(6n + 1) { --chip: var(--butter); }
.faq-chip-picker__item:nth-child(6n + 2) { --chip: var(--lilac); }
.faq-chip-picker__item:nth-child(6n + 3) { --chip: var(--mint); }
.faq-chip-picker__item:nth-child(6n + 4) { --chip: var(--peach); }
.faq-chip-picker__item:nth-child(6n + 5) { --chip: var(--sky); }
.faq-chip-picker__item:nth-child(6n + 6) { --chip: var(--blush); }
.faq-chip-picker .faq-category-title { margin: 0; font-family: var(--font-sans); font-size: 0.97rem; font-weight: 800; letter-spacing: -0.005em; line-height: 1.2; color: inherit; }
.faq-chip-picker .faq-category-count { margin: 0; padding: 0.22rem 0.6rem; border-radius: var(--pill); background: var(--cream); color: var(--ink-2); font-size: 0.78rem; font-weight: 700; line-height: 1.3; }
.faq-chip-picker .faq-category-card.is-active { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); color: var(--paper); }
.faq-chip-picker .faq-category-card.is-active .faq-category-count { background: rgba(255, 252, 246, 0.14); color: var(--paper); }
@media (max-width: 767.98px) {
    .faq-chip-picker {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        margin-inline: calc(-1 * clamp(16px, 4vw, 24px));
        padding: 4px clamp(16px, 4vw, 24px) 8px;
    }
    .faq-chip-picker::-webkit-scrollbar { display: none; }
    .faq-chip-picker__item { flex-shrink: 0; scroll-snap-align: start; }
}

/* Questions: soft accordion grouped under category headings, on a sand slab. */
.site-main > section.faq-content-section {
    background: var(--sand);
    border-radius: var(--r-lg);
    margin-inline: clamp(8px, 1.5vw, 20px);
}
.faq-content-section > .container { max-width: 1120px; }
.faq-content-section .faq-group { margin-bottom: clamp(36px, 5vw, 64px); }
.faq-content-section .faq-group:last-child { margin-bottom: 0; }
.faq-content-section .faq-group:nth-child(6n + 1) { --group: var(--butter); --group-soft: var(--butter-soft); }
.faq-content-section .faq-group:nth-child(6n + 2) { --group: var(--lilac); --group-soft: var(--lilac-soft); }
.faq-content-section .faq-group:nth-child(6n + 3) { --group: var(--mint); --group-soft: var(--mint-soft); }
.faq-content-section .faq-group:nth-child(6n + 4) { --group: var(--peach); --group-soft: var(--peach-soft); }
.faq-content-section .faq-group:nth-child(6n + 5) { --group: var(--sky); --group-soft: var(--sky-soft); }
.faq-content-section .faq-group:nth-child(6n + 6) { --group: var(--blush); --group-soft: var(--blush-soft); }
.faq-content-section .faq-group-header { gap: 0.9rem; margin-bottom: 1rem; }
.faq-content-section .faq-group-header .faq-group-icon { width: 52px; height: 52px; font-size: 1.25rem; background: var(--group, var(--butter)); }
.faq-content-section .faq-group-title { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.12; }
@media (min-width: 992px) {
    .faq-content-section .faq-group {
        display: grid;
        grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
        gap: 36px;
        align-items: start;
    }
    .faq-content-section .faq-group-header {
        position: sticky;
        top: calc(var(--header-h) + 40px);
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        padding: 26px;
        border-radius: var(--r-md);
        background: var(--group-soft, var(--paper));
    }
    .faq-content-section .faq-group-header .faq-group-icon { width: 60px; height: 60px; font-size: 1.4rem; background: var(--paper); }
}
.faq-group[hidden], .faq-item-full[hidden] { display: none !important; }

.faq-content-section .faq-list-full { display: grid; gap: 10px; }
.faq-content-section .faq-item-full { margin: 0; border-radius: 22px; background: var(--paper); transition: background 0.3s, box-shadow 0.3s var(--ease); }
.faq-content-section .faq-item-full:hover { box-shadow: var(--shadow-lift); }
.faq-content-section .faq-item-full:has(.collapse.show), .faq-content-section .faq-item-full:has(.collapsing) { background: var(--butter-soft); }
.faq-question-full {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 1.15rem 1.15rem 1.15rem 1.4rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}
.faq-question-full > span { flex: 1; min-width: 0; }
.faq-question-full > i { display: none; }
.faq-question-full::after {
    content: '+';
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--blob);
    background: var(--sand);
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.35s var(--ease), background 0.25s, border-radius 0.5s var(--ease);
}
.faq-question-full:hover::after { border-radius: var(--blob-2); }
.faq-question-full[aria-expanded="true"]::after { transform: rotate(45deg); background: var(--paper); }
.faq-question-full:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 22px; }
.faq-content-section .faq-answer-full { padding: 0 1.4rem 1.4rem; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.faq-answer-full > :last-child { margin-bottom: 0; }
.faq-answer-full ul, .faq-answer-full ol { margin: 0 0 1rem; }
@media (max-width: 575.98px) {
    .faq-question-full { padding: 1rem 0.9rem 1rem 1.1rem; font-size: 1rem; }
    .faq-content-section .faq-answer-full { padding: 0 1.1rem 1.2rem; }
}

/* "Still have questions": a lilac card with a waving helper. */
.faq-contact-section .faq-contact-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    text-align: left;
    overflow: hidden;
    isolation: isolate;
}
.faq-contact-wrapper::before {
    content: '';
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -110px;
    width: 300px;
    aspect-ratio: 1;
    border-radius: var(--blob);
    background: color-mix(in srgb, var(--paper) 40%, transparent);
}
.faq-contact-char { width: clamp(96px, 11vw, 150px); }
.faq-contact-body { display: grid; gap: 1.25rem; align-items: center; }
.faq-contact-wrapper .faq-contact-title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); line-height: 1.06; margin: 0 0 0.5rem; }
.faq-contact-text { margin: 0; font-size: 1.08rem; max-width: 46ch; }
.faq-contact-wrapper .faq-contact-buttons { justify-content: flex-start; }
@media (min-width: 992px) {
    .faq-contact-body { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; }
}
@media (max-width: 575.98px) {
    .faq-contact-section .faq-contact-wrapper { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .faq-contact-char { width: 88px; }
    .faq-contact-text { margin-inline: auto; }
    .faq-contact-wrapper .faq-contact-buttons { justify-content: center; }
}

/* Resources: three pastel link tiles. */
.faq-resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.faq-resource-grid > * { min-width: 0; }
.faq-resource-grid > :nth-child(3n + 1) { --card: var(--butter-soft); --tile: var(--butter); }
.faq-resource-grid > :nth-child(3n + 2) { --card: var(--lilac-soft); --tile: var(--lilac); }
.faq-resource-grid > :nth-child(3n + 3) { --card: var(--mint-soft); --tile: var(--mint); }
.faq-resource-grid .resource-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--ink-2);
}
.faq-resource-grid .resource-icon { background: var(--tile, var(--paper)); }
.faq-resource-grid .resource-desc { margin: 0 0 1.25rem; }
.faq-resource-grid .resource-link {
    margin-top: auto;
    padding: 0.5rem 1rem;
    border-radius: var(--pill);
    background: var(--paper);
    transition: background 0.2s, color 0.2s;
}
.faq-resource-grid .resource-card:hover .resource-link { background: var(--ink); color: var(--paper) !important; }
.faq-resource-grid .resource-card:hover .resource-link i { transform: translateX(4px); }
.faq-resource-grid .resource-card:hover .resource-icon { border-radius: var(--blob-2); transform: rotate(-6deg); }

/* --------------------------------------------------------------------------
   Legal pages: calm reading layout on a sand slab, sticky contents card.
   -------------------------------------------------------------------------- */
.site-main > section.legal-content-section {
    background: var(--sand);
    border-radius: var(--r-lg);
    margin-inline: clamp(8px, 1.5vw, 20px);
}
.legal-layout { max-width: 1120px; margin: 0 auto; }
.legal-toc { display: none; }
@media (min-width: 992px) {
    .legal-layout.has-toc {
        display: grid;
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }
    .legal-layout.has-toc > .legal-toc:not([hidden]) {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 36px);
        max-height: calc(100vh - var(--header-h) - 72px);
        overflow-y: auto;
        padding: 14px;
        border-radius: var(--r-md);
        background: var(--paper);
        box-shadow: var(--shadow-lift);
    }
}
.legal-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: none; }
.legal-toc__list li { margin: 0; }
.legal-toc__list a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 14px;
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.legal-toc__list a:hover { background: var(--cream); color: var(--ink); }
.legal-toc__list a.is-current { background: var(--butter-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--berry); }

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(26px, 5vw, 64px) clamp(20px, 5vw, 72px);
    border-radius: var(--r-lg);
    background: var(--paper);
}
.legal-layout.has-toc > .legal-content { max-width: none; margin: 0; }
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--pill);
    background: var(--butter-soft);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}
.legal-updated::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--berry); flex-shrink: 0; }
.legal-section { padding-block: clamp(22px, 3vw, 34px); border-top: 2px dashed var(--line); scroll-margin-top: calc(var(--header-h) + 32px); }
.legal-updated + .legal-section { border-top: 0; padding-top: 0.5rem; }
.legal-section:last-child { padding-bottom: 0; }
.legal-section h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.12; margin: 0 0 0.85rem; }
.legal-section h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 800; color: var(--ink); margin: 1.6rem 0 0.5rem; }
.legal-section p, .legal-section li { font-size: clamp(1rem, 0.97rem + 0.15vw, 1.07rem); line-height: 1.8; color: var(--ink-2); }
.legal-section p { max-width: 70ch; }
.legal-section ul, .legal-section ol { max-width: 68ch; margin: 0 0 1rem; padding-left: 1.35rem; }
.legal-section li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.legal-section > :last-child { margin-bottom: 0; }
.legal-section a { overflow-wrap: anywhere; }
.legal-section table { width: 100%; margin: 1.25rem 0; border-collapse: separate; border-spacing: 0; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.97rem; }
.legal-section th, .legal-section td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-section th { background: var(--sand); color: var(--ink); font-weight: 800; }
.legal-section tr:nth-child(even) td { background: var(--cream); }

/* --------------------------------------------------------------------------
   404 and 410: a pastel stage with the lost helper, link tiles, search pill.
   -------------------------------------------------------------------------- */
.err-stage {
    position: relative;
    display: grid;
    gap: clamp(12px, 3vw, 40px);
    align-items: center;
    padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px);
    border-radius: var(--r-lg);
    background: var(--tone);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.err-stage::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -8%;
    top: -30%;
    width: clamp(240px, 40vw, 520px);
    aspect-ratio: 1;
    border-radius: var(--blob);
    background: color-mix(in srgb, var(--paper) 45%, transparent);
}
.err-stage__art { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 12px); margin: 0; }
.err-stage .error-404-number { padding-right: 0; background: none; font-size: clamp(5rem, 2.6rem + 9vw, 10rem); }
.err-stage__char { width: clamp(92px, 12vw, 168px); flex-shrink: 0; transform: rotate(6deg); }
.err-stage--solo .err-stage__char { width: clamp(150px, 22vw, 280px); transform: rotate(-4deg); }
.err-stage .section-label { background: var(--paper); }
.err-stage .error-404-title { margin: 0.25rem auto 1rem; max-width: 18ch; }
.err-stage .error-404-title span { font-style: italic; font-weight: 600; color: var(--berry); }
.err-stage .error-404-text { margin: 0 auto 1.75rem; color: var(--ink); opacity: 0.9; }
.err-stage .error-404-buttons { margin: 0; justify-content: center; }
.err-stage .btn-secondary-custom, .err-stage .btn-outline-custom { --btn-bg: transparent; }
.err-stage .btn-secondary-custom:hover, .err-stage .btn-outline-custom:hover { --btn-bg: var(--ink); }
@media (min-width: 768px) {
    .err-stage { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); text-align: left; }
    .err-stage .error-404-title, .err-stage .error-404-text { margin-left: 0; }
    .err-stage .error-404-buttons { justify-content: flex-start; }
}
.site-main > section.error-410-section { padding-bottom: var(--section-y) !important; }

.error-404-section .error-404-helpful { margin-top: clamp(44px, 6vw, 80px); }
.error-404-section .error-404-subtitle { font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.4rem); margin-bottom: 1.5rem; }
.err-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.err-tiles > :nth-child(6n + 1) { --card: var(--butter-soft); --tile: var(--butter); }
.err-tiles > :nth-child(6n + 2) { --card: var(--lilac-soft); --tile: var(--lilac); }
.err-tiles > :nth-child(6n + 3) { --card: var(--mint-soft); --tile: var(--mint); }
.err-tiles > :nth-child(6n + 4) { --card: var(--peach-soft); --tile: var(--peach); }
.err-tiles > :nth-child(6n + 5) { --card: var(--sky-soft); --tile: var(--sky); }
.err-tiles > :nth-child(6n + 6) { --card: var(--blush-soft); --tile: var(--blush); }
.err-tiles .error-404-link-card { min-height: 84px; padding: 16px 20px 16px 16px; }
.err-tiles .error-404-link-icon { background: var(--paper); transition: border-radius 0.5s var(--ease), transform 0.35s var(--ease), background 0.2s; }
.err-tiles .error-404-link-card:hover .error-404-link-icon { background: var(--tile, var(--paper)); border-radius: var(--blob-2); transform: rotate(-6deg); }

.error-404-section .error-404-search { max-width: 640px; margin-top: clamp(40px, 5vw, 64px); }
.error-404-section .error-404-search-form { min-height: 68px; align-items: center; padding: 8px; box-shadow: var(--shadow-lift); }
.error-404-section .error-404-search-form input { min-height: 50px; font-size: 1.05rem; }
.error-404-section .error-404-search-form button { min-height: 50px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0 1.35rem; background: var(--berry); color: #fff; }
.error-404-section .error-404-search-form button:hover { background: var(--berry-deep); }
@media (max-width: 400px) {
    .error-404-section .error-404-search-form button { padding: 0 1rem; }
    .error-404-search-icon { display: none; }
}

/* --------------------------------------------------------------------------
   Login + two-factor: a centred paper card on cream with a small helper.
   -------------------------------------------------------------------------- */
.site-main > section.auth-section { padding-block: clamp(64px, 9vw, 112px) var(--section-y); isolation: isolate; }
.auth-section > .container { position: relative; }
.auth-section > .container::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 40px;
    width: min(640px, 92vw);
    aspect-ratio: 1.3;
    transform: translateX(-50%) rotate(-6deg);
    border-radius: var(--blob);
    background: var(--tone-soft);
}
.auth-card.contact-form-card,
.guest-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-float);
}
.auth-card__char { position: absolute; top: -62px; right: clamp(18px, 5vw, 36px); width: 96px; }
.auth-card__head { margin-bottom: 1.75rem; text-align: center; }
.auth-card__head .section-label { background: var(--cream); margin-bottom: 0.85rem; }
.auth-card__title.section-title { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); margin: 0; }
.auth-card__lead { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.auth-form .form-group { margin-bottom: 1.15rem; }
.auth-card .auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.auth-card .auth-check-label { display: inline; margin: 0; font-size: 0.93rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.auth-error { display: block; margin-top: 0.4rem; }
.auth-captcha { display: flex; flex-direction: column; align-items: center; min-height: 65px; margin-bottom: 1.25rem; }
.auth-submit { width: 100%; min-height: 54px; }
.auth-card .auth-code-input { font-size: 1.6rem; letter-spacing: 0.5rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 64px; }
.auth-alert { margin-bottom: 1.25rem; font-size: 0.93rem; }
.auth-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px dashed var(--line); }
.auth-link {
    color: var(--berry);
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
}
.auth-link:hover { color: var(--berry-deep); text-decoration: underline; }
.auth-link--button { padding: 0; border: 0; background: none; font-family: var(--font-sans); cursor: pointer; }
.auth-link--quiet { color: var(--ink-2); }
@media (max-width: 400px) {
    .auth-card.contact-form-card { padding-inline: 14px; }
    .guest-card { padding-inline: 20px; }
    .auth-card__char { width: 78px; top: -50px; }
}

/* --------------------------------------------------------------------------
   Guest layout (forgot / reset / confirm password, verify email)
   -------------------------------------------------------------------------- */
.guest-main { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 24px) clamp(32px, 6vw, 64px); isolation: isolate; }
.guest-shell { position: relative; width: 100%; max-width: 480px; }
.guest-shell::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: -20px;
    width: min(620px, 96vw);
    aspect-ratio: 1.3;
    transform: translateX(-50%) rotate(-6deg);
    border-radius: var(--blob);
    background: var(--butter-soft);
}
.guest-logo { position: absolute; z-index: 1; top: -64px; right: clamp(18px, 5vw, 36px); display: block; width: 96px; border-radius: 50%; }
.guest-logo__mark { display: block; width: 100%; }
.guest-logo:hover .guest-logo__mark { transform: rotate(-6deg); transition: transform 0.35s var(--ease); }
.guest-intro { margin-bottom: 1.25rem; padding-right: 2.5rem; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.guest-card .form-label { display: block; margin-bottom: 0.4rem; }
.auth-errors { list-style: none; margin: 0.45rem 0 0; padding: 0; color: #A3261C; font-size: 0.9rem; font-weight: 600; }
.auth-errors li { margin: 0; }
.auth-errors li::marker { content: none; }
.guest-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem 1rem; margin-top: 1.5rem; }
.guest-actions .auth-submit { width: 100%; }
.guest-actions--split { justify-content: space-between; }
.guest-actions--split .auth-submit { width: auto; }
