:root {
    color-scheme: light;
    --auth-paper: #f7f5f0;
    --auth-ink: #342b40;
    --auth-muted: #716477;
    --auth-plum: #352c42;
    --auth-lilac: #d6bedf;
    font-family: "DM Sans", sans-serif;
    color: var(--auth-ink);
    background: var(--auth-paper);
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #9474a6; outline-offset: 5px; }
::selection { color: var(--auth-ink); background: #e2cfe7; }
.auth-page { min-width: 280px; }
.auth-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.auth-icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.auth-layout { width: 100%; padding: 24px 30px 0; }
/* A quiet masthead leaves the photograph and typography room to breathe. */
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; margin-bottom: 24px; padding: 0 10px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.auth-logo { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #564862; border-radius: 12px; background: var(--auth-plum); color: #ead8eb; }
.auth-logo .auth-icon { width: 28px; height: 28px; stroke-width: 1.15; }
.auth-brand-accent { color: #917098; }
.auth-header-note { margin: 0; color: #716477; font-size: 11px; letter-spacing: .3px; }
.auth-home { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; font-weight: 500; }
.auth-home .auth-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.auth-home:hover .auth-icon { transform: translateX(-4px); }
.auth-home:hover span { text-decoration: underline; text-underline-offset: 4px; }
.auth-shell { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-areas: "poster signin"; gap: 40px; min-height: max(680px, calc(100svh - 140px)); }
.auth-poster { grid-area: poster; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 24px; background: var(--auth-plum); color: var(--auth-paper); animation: auth-appear .8s ease both; }
.auth-poster-copy { position: relative; isolation: isolate; padding: 33px 42px 30px; }
.auth-poster-copy::after { content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -105px; top: -132px; border: 1px solid #f2dbff12; border-radius: 50%; box-shadow: 0 0 0 33px #f2dbff05, 0 0 0 66px #f2dbff04; pointer-events: none; }
.auth-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #d8cddd; font-size: 9px; font-weight: 500; letter-spacing: 1.75px; line-height: 1.5; text-transform: uppercase; }
.auth-eyebrow > span { width: 5px; height: 5px; border-radius: 50%; background: #d6bedf; }
.auth-poster h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(58px, 5.05vw, 88px); font-weight: 400; letter-spacing: -2.8px; line-height: 1.02; }
.auth-poster h2 em { color: var(--auth-lilac); font-weight: 400; }
.auth-emblem { position: absolute; right: 42px; bottom: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 116px; height: 116px; border: 1px solid #d6bedf4d; border-radius: 50%; color: var(--auth-lilac); transform: rotate(12deg); }
.auth-emblem::before { content: ""; position: absolute; inset: 7px; border: 1px dashed #d6bedf33; border-radius: inherit; }
.auth-emblem .auth-icon { width: 33px; height: 33px; stroke-width: 1; }
.auth-emblem > span { font-size: 6px; letter-spacing: 1.1px; }
.auth-landscape { position: relative; flex: 1; min-height: 350px; isolation: isolate; overflow: hidden; border-radius: 50% 50% 0 0 / 42px 42px 0 0; }
.auth-scene { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left 58%; }
.auth-landscape::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #27263d54, transparent 32%), linear-gradient(270deg, #28223940, transparent 50%); pointer-events: none; }
.auth-photo-note { position: absolute; top: 40px; right: 28px; margin: 0; color: #fff; font-size: 11px; line-height: 1.7; text-shadow: 0 1px 10px #1d2635; }
.auth-photo-note > span { display: block; width: 27px; height: 1px; margin-bottom: 11px; background: #fff; }
.auth-benefits { display: flex; justify-content: space-around; gap: 16px; padding: 20px 30px; color: #ddd2e1; }
.auth-benefits > span { display: flex; align-items: center; gap: 10px; font-size: 11px; white-space: nowrap; }
.auth-benefits .auth-icon { width: 20px; height: 20px; stroke-width: 1.2; color: #ceb1d4; }
/* The breathing guide only moves after the visitor starts it. */
.auth-breathing { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; min-width: 220px; padding: 15px 18px; border: 1px solid #ffffff85; border-radius: 17px; background: #faf6eeeb; color: var(--auth-ink); box-shadow: 0 8px 30px #221f3724; backdrop-filter: blur(12px); }
.auth-breath-orb { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #af8eba66; border-radius: 50%; background: #e7d9eb; color: #785187; transition: transform 6s ease-in-out, background-color 6s ease-in-out; }
.auth-breath-orb::before { content: ""; position: absolute; inset: -5px; border: 1px solid #b695bc4d; border-radius: 50%; }
.auth-breath-orb .auth-icon { width: 25px; height: 25px; stroke-width: 1.1; }
.auth-breathing[data-phase="inhale"] .auth-breath-orb { transform: scale(1.16); background: #d7c2e3; transition-duration: 4s; }
.auth-breathing[data-phase="exhale"] .auth-breath-orb { transform: scale(.86); background: #efe5f1; }
.auth-breathing[data-phase="idle"] .auth-breath-orb { transition-duration: .4s; }
.auth-breath-copy { min-width: 0; }
.auth-breath-phase { display: block; color: #786981; font-size: 10px; line-height: 1.5; }
.auth-breath-toggle { display: flex; align-items: center; gap: 14px; min-height: 27px; padding: 2px 0; border: 0; background: transparent; color: #483453; font-size: 12px; font-weight: 600; text-align: left; }
.auth-breath-toggle .auth-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.auth-breath-toggle:hover .auth-icon { transform: translateX(3px); }
.auth-breath-toggle:hover { color: #775385; }
/* The sign-in form sits directly on the paper-colored page. */
.auth-signin { grid-area: signin; display: grid; place-items: center; min-width: 0; padding: 38px 36px; }
.auth-card { width: 100%; max-width: 410px; animation: auth-rise .7s .1s ease both; }
.auth-form-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; color: #806387; font-size: 9px; font-weight: 600; letter-spacing: 1.35px; text-transform: uppercase; }
.auth-form-kicker .auth-icon { width: 19px; height: 19px; }
.auth-form-intro h1 { margin: 0; color: var(--auth-ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(48px, 4.1vw, 66px); font-weight: 400; letter-spacing: -2px; line-height: 1.08; }
.auth-form-intro h1 em { color: #95719b; font-weight: 400; }
.auth-form-intro > p { margin: 22px 0 0; color: var(--auth-muted); font-size: 13px; line-height: 1.85; }
.auth-form { margin-top: 34px; }
.auth-form label { display: block; margin-bottom: 10px; color: #4d4254; font-size: 12px; font-weight: 600; }
.auth-input-wrap { display: flex; align-items: center; gap: 13px; height: 58px; padding: 0 17px; border: 1px solid #d6ced7; border-radius: 11px; background: #ffffff80; color: #97839e; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.auth-input-wrap > .auth-icon { width: 20px; height: 20px; stroke-width: 1.4; }
.auth-input-wrap:focus-within { border-color: #90719d; background: #fff; box-shadow: 0 0 0 4px #9d7ca415; }
.auth-input-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--auth-ink); font-size: 16px; }
.auth-input-wrap input::placeholder { color: #796c80; font-size: 13px; opacity: 1; }
.auth-input-hint { margin: 9px 0 0; color: #716477; font-size: 11px; line-height: 1.6; }
.auth-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 59px; margin-top: 22px; padding: 9px 12px 9px 22px; border: 1px solid var(--auth-plum); border-radius: 11px; background: var(--auth-plum); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .1px; box-shadow: 0 5px 12px #352c420a; transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.auth-submit-arrow { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #ffffff13; color: #e5d5ec; transition: background-color .25s ease; }
.auth-submit-arrow .auth-icon { width: 18px; height: 18px; transition: transform .25s ease; }
.auth-submit:hover { transform: translateY(-2px); background: #4d3b5a; box-shadow: 0 8px 18px #352c421a; }
.auth-submit:hover .auth-submit-arrow { background: #ffffff20; }
.auth-submit:hover .auth-icon { transform: translateX(2px); }
.auth-submit:active { transform: translateY(0); }
.auth-form-status { margin: 14px 0 0; padding: 11px 13px; border: 1px solid #dac8df; border-radius: 9px; background: #eee5f0; color: #654a6c; font-size: 12px; line-height: 1.6; }
.auth-form-error { border-color: #dfb9bb; background: #faeeee; color: #843d46; }
.auth-form-notice { border-color: #c7d7c9; background: #edf3ed; color: #3f6649; }
.auth-email-address { font-weight: 600; overflow-wrap: anywhere; }
.auth-input-wrap .auth-otp-input { font-size: 22px; font-weight: 500; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.auth-input-wrap .auth-otp-input::placeholder { font-size: 22px; font-weight: 400; color: #a297a8; }
.auth-submit:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }
.auth-code-help { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; margin-top: 13px; }
.auth-resend-form { margin: 0; }
.auth-text-button, .auth-change-email { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: #6e4b7c; font-size: 11px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-decoration-color: #b7a8be; text-underline-offset: 4px; }
.auth-text-button:hover, .auth-change-email:hover { color: #392b43; text-decoration-color: currentColor; }
.auth-text-button:disabled { cursor: not-allowed; color: #817286; text-decoration: none; }
.auth-resend-hint { margin-top: 0; font-size: 10px; }
.auth-password-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 0 0; color: #716477; font-size: 9px; line-height: 1.7; }
.auth-password-note .auth-icon { width: 12px; height: 12px; }
.auth-form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #ded7de; }
.auth-terms { margin: 0; color: #716477; font-size: 10px; line-height: 1.9; }
.auth-terms a { color: #63506d; text-decoration: underline; text-decoration-color: #b7a8be; text-underline-offset: 3px; }
.auth-terms a:hover { color: #392b43; text-decoration-color: currentColor; }
.auth-bottom-flower { width: 30px; height: 30px; color: #ad8bb3; stroke-width: .9; }
.auth-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 12px 10px; color: #716477; font-size: 9px; line-height: 1.6; }
@keyframes auth-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes auth-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) {
    .auth-layout { padding-inline: 36px; }
    .auth-shell { gap: 56px; }
    .auth-poster-copy { padding: 38px 52px 34px; }
    .auth-emblem { right: 62px; bottom: 58px; width: 132px; height: 132px; }
    .auth-card { max-width: 440px; }
    .auth-form-intro > p { font-size: 14px; }
    .auth-form-kicker { font-size: 10px; }
    .auth-photo-note { right: 40px; font-size: 12px; }
    .auth-breathing { right: 36px; bottom: 32px; }
}
@media (min-width: 851px) and (max-width: 1150px) {
    .auth-layout { padding: 20px 22px 0; }
    .auth-shell { grid-template-columns: 1.05fr 1fr; gap: 22px; min-height: max(650px, calc(100svh - 136px)); }
    .auth-poster-copy { padding: 32px 28px 28px; }
    .auth-poster h2 { font-size: 59px; letter-spacing: -2px; }
    .auth-emblem { width: 78px; height: 78px; right: 23px; bottom: 45px; gap: 8px; }
    .auth-emblem .auth-icon { width: 25px; height: 25px; }
    .auth-emblem > span { font-size: 4px; letter-spacing: .6px; }
    .auth-eyebrow { font-size: 8px; letter-spacing: 1.1px; }
    .auth-signin { padding: 25px 18px; }
    .auth-form-intro h1 { font-size: 48px; }
    .auth-form-kicker { font-size: 8px; letter-spacing: 1px; }
    .auth-form-intro > p { font-size: 12px; }
    .auth-benefits { gap: 10px; padding: 18px 16px; }
    .auth-benefits > span { gap: 6px; font-size: 9px; }
    .auth-benefits .auth-icon { width: 17px; height: 17px; }
    .auth-photo-note { top: 30px; right: 20px; font-size: 9px; }
    .auth-breathing { right: 18px; bottom: 18px; min-width: 204px; padding: 13px 14px; }
    .auth-breath-phase { font-size: 9px; }
    .auth-breath-toggle { font-size: 11px; }
    .auth-password-note { font-size: 8px; }
}
@media (max-width: 850px) {
    .auth-layout { padding: 18px 20px 0; }
    .auth-header { margin-bottom: 4px; padding: 0 2px; }
    .auth-brand { font-size: 17px; }
    .auth-logo { width: 35px; height: 35px; border-radius: 10px; }
    .auth-logo .auth-icon { width: 25px; height: 25px; }
    .auth-header-note { display: none; }
    .auth-home { font-size: 11px; }
    .auth-shell { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
    .auth-signin { order: -1; padding: 45px 20px 39px; }
    .auth-card { max-width: 420px; }
    .auth-form-kicker { margin-bottom: 19px; }
    .auth-form-intro h1 { font-size: 57px; }
    .auth-form-intro > p { margin-top: 18px; }
    .auth-form { margin-top: 29px; }
    .auth-form-bottom { margin-top: 25px; }
    .auth-poster { min-height: 630px; }
    .auth-poster-copy { padding: 29px 32px 27px; }
    .auth-poster h2 { font-size: 65px; }
    .auth-emblem { right: 36px; bottom: 42px; width: 104px; height: 104px; }
    .auth-landscape { min-height: 360px; }
    .auth-photo-note { top: 30px; font-size: 10px; }
    .auth-footer { padding: 16px 2px; font-size: 8px; }
}
@media (max-width: 480px) {
    .auth-layout { padding: 14px 16px 0; }
    .auth-brand { gap: 8px; font-size: 15px; letter-spacing: -.5px; }
    .auth-logo { width: 32px; height: 32px; }
    .auth-logo .auth-icon { width: 23px; height: 23px; }
    .auth-home { justify-content: center; width: 38px; min-height: 38px; border: 1px solid #ded6df; border-radius: 50%; }
    .auth-home span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .auth-signin { padding: 36px 8px 32px; }
    .auth-form-intro h1 { font-size: 52px; letter-spacing: -1.9px; }
    .auth-form-kicker { font-size: 8px; letter-spacing: 1px; }
    .auth-form-intro > p { font-size: 12px; }
    .auth-form { margin-top: 26px; }
    .auth-password-note { font-size: 8px; justify-content: flex-start; }
    .auth-poster { min-height: 565px; border-radius: 19px; }
    .auth-poster-copy { padding: 26px 24px 25px; }
    .auth-eyebrow { font-size: 7px; letter-spacing: .9px; margin-bottom: 15px; }
    .auth-poster h2 { font-size: 52px; letter-spacing: -1.8px; }
    .auth-emblem { width: 75px; height: 75px; right: 22px; bottom: 34px; gap: 6px; }
    .auth-emblem .auth-icon { width: 22px; height: 22px; }
    .auth-emblem > span { font-size: 4px; letter-spacing: .5px; }
    .auth-landscape { min-height: 330px; border-radius: 50% 50% 0 0 / 25px 25px 0 0; }
    .auth-photo-note { top: 27px; right: 16px; font-size: 8px; }
    .auth-photo-note > span { width: 20px; margin-bottom: 7px; }
    .auth-breathing { right: 13px; bottom: 14px; min-width: 188px; padding: 10px 13px; gap: 11px; border-radius: 13px; }
    .auth-breath-orb { width: 33px; height: 33px; }
    .auth-breath-orb .auth-icon { width: 21px; height: 21px; }
    .auth-breath-phase { font-size: 8px; }
    .auth-breath-toggle { min-height: 25px; font-size: 10px; gap: 9px; }
    .auth-benefits { padding: 17px 12px; gap: 8px; }
    .auth-benefits > span { gap: 5px; font-size: 8px; }
    .auth-benefits .auth-icon { width: 17px; height: 17px; }
    .auth-footer { gap: 10px; font-size: 7px; }
}
@media (max-width: 360px) {
    .auth-form-intro h1 { font-size: 47px; }
    .auth-emblem { display: none; }
    .auth-emblem::before { inset: 5px; }
    .auth-emblem > span { font-size: 3.5px; letter-spacing: .2px; }
    .auth-poster h2 { font-size: 46px; }
    .auth-poster-copy { padding-inline: 20px; }
    .auth-photo-note { font-size: 7px; }
    .auth-password-note { align-items: flex-start; }
    .auth-password-note .auth-icon { margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .auth-breath-orb, .auth-submit:hover, .auth-home:hover .auth-icon, .auth-breath-toggle:hover .auth-icon, .auth-submit:hover .auth-icon { transform: none !important; }
}

/* Logout confirmation page. */
.logout-page { display: grid; min-height: 100dvh; place-items: center; padding: 24px; }
.logout-shell { width: min(520px, 100%); }
.logout-brand { justify-content: center; margin-bottom: 24px; }
.logout-card { padding: clamp(32px, 7vw, 54px); border: 1px solid #ded6df; border-radius: 28px; background: #fffdfa; box-shadow: 0 24px 70px #382c4514; text-align: center; }
.logout-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, #eee7ff, #f8e8ec); color: #725782; font-size: 27px; transform: rotate(45deg); }
.logout-card .auth-form-kicker { justify-content: center; margin: 0 0 13px; }
.logout-card h1 { margin: 0; color: #392f43; font: 600 clamp(36px, 8vw, 52px)/1.08 "Playfair Display", Georgia, serif; letter-spacing: -1.5px; }
.logout-card > p:not(.auth-form-kicker):not(.auth-form-status) { margin: 16px auto 26px; color: #746b78; font-size: 13px; line-height: 1.65; }
.logout-card form { margin: 25px 0 0; }
.logout-card .auth-submit { width: 100%; }
.logout-cancel { display: inline-block; margin-top: 19px; color: #6e4b7c; font-size: 12px; text-underline-offset: 4px; }
