/* ==========================================================================
   Home + sign-up — "Depth of Field" skin
   Loaded last on index.html, after fl-system.css. Rules sit in a layer and
   use !important for visual properties only, so they win over the legacy
   index.css / style.css / polish.css without touching what the page's
   scripts toggle (display, opacity, inline positions).
   ========================================================================== */

@layer fl-skin {

/* --------------------------------------------------------------------------
   Grounds
   -------------------------------------------------------------------------- */
html,
html body {
    background: var(--fl-bg) !important;
    color: var(--fl-ink) !important;
    font-family: var(--fl-font-ui) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

#landing-page-content {
    background: var(--fl-bg) !important;
    background-image: none !important;
    color: var(--fl-ink) !important;
    justify-content: flex-start !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: calc(env(safe-area-inset-top, 0px) + 76px) var(--fl-gutter) calc(env(safe-area-inset-bottom, 0px) + 20px) !important;
    scrollbar-width: none;
}

#landing-page-content::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------------------
   Hero: logo, headline, the one line of explanation, two doors
   -------------------------------------------------------------------------- */
.landing-hero {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
    width: 100%;
    max-width: 40rem;
    text-align: center;
}

#landing-logo {
    width: 300px !important;
    height: 75px !important;
    min-width: 300px !important;
    min-height: 75px !important;
    max-width: 300px !important;
    max-height: 75px !important;
    contain-intrinsic-size: 300px 75px !important;
    margin: 0 auto 30px !important;
    top: 0 !important;
}

/* The logo arrives the way everything here does: out of focus, then sharp.
   Its old particle, hologram and depth layers are retired (the depth layer
   painted a dark halo behind the light-theme logo). */
#landing-logo {
    contain: layout style !important;
    animation: fl-logo-in 1500ms var(--fl-ease-out) 100ms backwards !important;
}

#landing-logo.logo-idle { animation: none !important; }

#landing-logo .logo-particles,
#landing-logo .logo-hologram,
#landing-logo .logo-depth { display: none !important; }

@keyframes fl-logo-in {
    from { opacity: 0; filter: blur(14px); transform: scale(1.06); }
    60% { opacity: 1; }
    to { opacity: 1; filter: blur(0); transform: none; }
}

#landing-page-content h1 {
    font-family: var(--fl-font-voice) !important;
    font-optical-sizing: auto;
    font-size: clamp(2.6rem, 4.6vw + 1rem, 4.75rem) !important;
    font-weight: 400 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.024em !important;
    color: var(--fl-ink) !important;
    text-shadow: none !important;
    text-transform: none !important;
    margin: 0 0 20px !important;
    text-wrap: balance;
}

#landing-page-content h1 .l2 { display: block; }

#landing-page-content h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--fl-coral);
    padding-right: 0.04em;
}

#landing-page-content .landing-lede {
    margin: 0 auto 36px !important;
    max-width: 23.5rem;
    padding: 0 !important;
    font-family: var(--fl-font-ui) !important;
    font-size: 1.0625rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    color: var(--fl-ink-2) !important;
    text-shadow: none !important;
    text-transform: none !important;
    text-wrap: pretty;
}

#landing-page-content .button-row {
    min-height: 0 !important;
    margin: 0 !important;
    gap: 12px;
}

.landing-actions { flex-wrap: wrap; }
.landing-more { margin-top: 14px !important; }

/* The three doors: Sign up (ink), Log in (hairline), About (quiet link) */
#landing-page-content .dos-button {
    position: relative !important;
    min-width: 0 !important;
    width: auto !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 30px !important;
    border-radius: var(--fl-r-pill) !important;
    border: 1px solid transparent !important;
    background: var(--fl-ink) !important;
    background-image: none !important;
    color: var(--fl-ink-inverse) !important;
    font-family: var(--fl-font-ui) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.005em !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none;
    transition:
        transform var(--fl-dur-3) var(--fl-spring),
        background-color var(--fl-dur-2) var(--fl-ease-out),
        border-color var(--fl-dur-2) var(--fl-ease-out),
        color var(--fl-dur-2) var(--fl-ease-out),
        box-shadow var(--fl-dur-3) var(--fl-ease-out),
        opacity 0.5s ease-in-out !important;
}

#landing-page-content #start-btn { min-width: 152px !important; }

#landing-page-content #observe-btn {
    background: transparent !important;
    color: var(--fl-ink) !important;
    border-color: var(--fl-line-3) !important;
    min-width: 132px !important;
}

#landing-page-content #about-btn {
    /* 44px to tap; the -2px margins keep the 40px it always took up */
    height: 44px !important;
    min-height: 44px !important;
    margin-block: -2px !important;
    padding: 0 14px !important;
    background: transparent !important;
    color: var(--fl-ink-3) !important;
    font-size: 0.8125rem !important;  /* (session 8: the same size as the document links beside it) */
    font-weight: 500 !important;
}

/* a sheet of light crosses the button on hover; the legacy starfield and
   breathing edge are retired */
#landing-page-content .dos-button::before {
    content: none !important;
    animation: none !important;
}

#landing-page-content .dos-button::after {
    content: '' !important;
    position: absolute !important;
    inset: -1px !important;
    z-index: -1 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.24) 50%, transparent 70%) !important;
    opacity: 1 !important;
    animation: none !important;
    transform: translateX(-110%);
    pointer-events: none !important;
}

#landing-page-content #about-btn::after { content: none !important; }

#landing-page-content .dos-button:focus:not(:focus-visible) { outline: none !important; }

#landing-page-content .dos-button:focus-visible {
    outline: 2px solid var(--fl-blue) !important;
    outline-offset: 3px !important;
}

@media (hover: hover) {
    #landing-page-content .dos-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 30px -12px var(--fl-coral-glow) !important;
    }

    #landing-page-content .dos-button:hover::after {
        transform: translateX(110%);
        transition: transform 900ms var(--fl-ease-out);
    }

    #landing-page-content #observe-btn:hover {
        background: var(--fl-surface-2) !important;
        border-color: var(--fl-ink-3) !important;
        box-shadow: none !important;
    }

    #landing-page-content #about-btn:hover {
        color: var(--fl-ink) !important;
        box-shadow: none !important;
    }
}

/* legacy "electric blue" focus/tap state, retired */
#landing-page-content .dos-button:focus,
#landing-page-content .dos-button.active-click {
    background-image: none !important;
}

#landing-page-content #start-btn:focus,
#landing-page-content #start-btn.active-click {
    background-color: var(--fl-ink) !important;
    color: var(--fl-ink-inverse) !important;
    border-color: transparent !important;
}

#landing-page-content #observe-btn:focus,
#landing-page-content #observe-btn.active-click {
    color: var(--fl-ink) !important;
}

#landing-page-content #about-btn:focus,
#landing-page-content #about-btn.active-click {
    color: var(--fl-ink) !important;
    border-color: transparent !important;
}

#landing-page-content .dos-button:active,
#landing-page-content .dos-button.active-click {
    transform: scale(0.97);
    transition-duration: var(--fl-dur-1) !important;
    box-shadow: none !important;
}

/* About carries a small arrow */
#landing-page-content #about-btn {
    gap: 6px;
}

/* --------------------------------------------------------------------------
   Arrival: logo first (its own intro), then the words come into focus
   -------------------------------------------------------------------------- */
#landing-page-content h1,
.landing-lede,
.landing-actions,
.landing-more {
    animation: fl-focus-in var(--fl-dur-4) var(--fl-ease-out) both;
}

#landing-page-content h1 { animation-delay: 620ms; animation-duration: 1000ms; }
.landing-lede { animation-delay: 820ms; }
.landing-actions { animation-delay: 960ms; }
.landing-more { animation-delay: 1080ms; }

/* --------------------------------------------------------------------------
   Corners: theme (right) and Back (left, only when arriving from the
   dashboard)
   -------------------------------------------------------------------------- */
.fl-theme-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    right: calc(env(safe-area-inset-right, 0px) + 18px);
    z-index: var(--fl-z-chrome);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--fl-line-2);
    border-radius: 50%;
    background: color-mix(in srgb, var(--fl-bg) 72%, transparent);
    color: var(--fl-ink-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    animation: fl-fade var(--fl-dur-4) var(--fl-ease-out) 1200ms both;
    transition: color var(--fl-dur-2) ease, border-color var(--fl-dur-2) ease, background-color var(--fl-dur-2) ease, transform var(--fl-dur-3) var(--fl-spring);
}

.fl-theme-toggle svg { width: 20px; height: 20px; overflow: visible; }

.fl-theme-toggle .sun,
.fl-theme-toggle .moon {
    transform-origin: 12px 12px;
    transition: transform 600ms var(--fl-ease-out), opacity 300ms ease;
}

html.theme-light .fl-theme-toggle .moon,
html:not(.theme-light) .fl-theme-toggle .sun { opacity: 0; transform: rotate(-70deg) scale(0.5); }

html.theme-light .fl-theme-toggle .sun,
html:not(.theme-light) .fl-theme-toggle .moon { opacity: 1; transform: none; }

@media (hover: hover) {
    .fl-theme-toggle:hover { color: var(--fl-ink); border-color: var(--fl-ink-3); background: var(--fl-surface-2); }
}

.fl-theme-toggle:active { transform: scale(0.92); transition-duration: var(--fl-dur-1); }

/* the switch itself is js/fl-theme-shift.js. Closing to night, the paper
   lens shuts on this button last, so the moon turns in as it does */
html.fl-shift-close .fl-theme-toggle .moon { transition-delay: 400ms; }

#landing-page-content .special-login-button,
#login-btn.special-login-button {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 18px) !important;
    left: calc(env(safe-area-inset-left, 0px) + 18px) !important;
    right: auto !important;
    z-index: var(--fl-z-chrome) !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 18px 0 14px !important;
    border: 1px solid var(--fl-line-2) !important;
    border-radius: var(--fl-r-pill) !important;
    background: color-mix(in srgb, var(--fl-bg) 72%, transparent) !important;
    color: var(--fl-ink-2) !important;
    font-family: var(--fl-font-ui) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    line-height: 42px !important;
    transform: none !important;
    animation: none !important;
}

#login-btn.special-login-button::before {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 8px 1px 2px !important;
    border-left: 1.6px solid currentColor !important;
    border-bottom: 1.6px solid currentColor !important;
    background: none !important;
    transform: rotate(45deg) !important;
    animation: none !important;
    opacity: 1 !important;
    inset: auto !important;
}

@media (hover: hover) {
    #login-btn.special-login-button:hover { color: var(--fl-ink) !important; border-color: var(--fl-ink-3) !important; background: var(--fl-surface-2) !important; }
}

/* --------------------------------------------------------------------------
   The dock: install + stores, resting on the bottom edge
   -------------------------------------------------------------------------- */
.landing-dock {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    animation: fl-fade var(--fl-dur-4) var(--fl-ease-out) 1400ms both;
}

#pwa-install-container {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    animation: none !important;
    transform: none !important;
}

#pwa-install-container.pwa-wiggle-animation { animation: none !important; }

#pwa-install-container::after { content: none !important; }

#pwa-install-container #pwa-install-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 14px 0 13px !important;
    border: 1px solid var(--fl-line-2) !important;
    border-radius: var(--fl-r-pill) !important;
    background: color-mix(in srgb, var(--fl-bg) 70%, transparent) !important;
    background-size: auto !important;
    color: var(--fl-ink-2) !important;
    font-family: var(--fl-font-ui) !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    overflow: visible !important;
    cursor: pointer;
    transition: color var(--fl-dur-2) ease, border-color var(--fl-dur-2) ease !important;
}

/* a small phone, drawn in hairline */
#pwa-install-container #pwa-install-text::before {
    content: '' !important;
    position: static !important;
    flex: none;
    width: 9px !important;
    height: 13px !important;
    border: 1.4px solid currentColor !important;
    border-radius: 2.5px !important;
    background: none !important;
    box-sizing: border-box;
    transform: none !important;
    animation: none !important;
    opacity: 0.9 !important;
}

@media (hover: hover) {
    #pwa-install-container:hover #pwa-install-text {
        color: var(--fl-ink) !important;
        border-color: var(--fl-ink-3) !important;
        background: color-mix(in srgb, var(--fl-bg) 70%, transparent) !important;
        box-shadow: none !important;
        transform: none !important;
    }
}

#pwa-install-container:active #pwa-install-text { transform: scale(0.97) !important; }

.app-store-badges {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex;
    gap: 10px;
    margin: 0 !important;
    transition: opacity 0.4s ease !important;
}

.app-store-badges .store-badge {
    position: relative !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity var(--fl-dur-2) ease, transform var(--fl-dur-3) var(--fl-spring) !important;
}

.app-store-badges .store-badge svg {
    display: block !important;
    height: 34px !important;
    width: auto !important;
    border-radius: 10px !important;
    box-shadow: 0 0 0 1px var(--fl-line-2) !important;
}

/* the badge art is 34px tall; a transparent band makes the tap target 44px */
.app-store-badges .store-badge::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    right: 0 !important;
    bottom: -5px !important;
    left: 0 !important;
    background: none !important;
}

@media (hover: hover) {
    .app-store-badges .store-badge:hover { opacity: 1; transform: translateY(-1px); }
}

html.theme-light .app-store-badges .store-badge { opacity: 0.85; }

/* the old figures that switched the theme are retired */
#landing-theme-switch { display: none !important; }

/* --------------------------------------------------------------------------
   Share pill (tap the logo): restyled to the system
   -------------------------------------------------------------------------- */
.share-pill {
    font-family: var(--fl-font-machine) !important;
    border-radius: var(--fl-r-pill) !important;
    background: var(--fl-surface) !important;
    border: 1px solid var(--fl-line-2) !important;
    color: var(--fl-ink) !important;
    box-shadow: var(--fl-shadow-2) !important;
}

html.theme-light .share-pill { background: var(--fl-surface) !important; }

/* --------------------------------------------------------------------------
   Sign-up: the sheet itself is css/fl-auth.css; here only the five steps
   -------------------------------------------------------------------------- */
/* where you are: STEP n OF 5 over five short segments */
#phoneEntry::before,
#verificationSection::before,
#ageConsentSection::before,
#notificationSection::before,
#profileSection::before {
    width: 100% !important;
    margin: 0 0 26px !important;
    padding: 18px 0 0 !important;
    font-family: var(--fl-font-machine) !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.16em !important;
    text-indent: 0 !important;
    text-align: left !important;
    color: var(--fl-ink-3) !important;
    background:
        linear-gradient(90deg, var(--fl-ink) 0 var(--step-done), var(--fl-line-2) var(--step-done) 100%) top left / 100% 3px no-repeat !important;
    -webkit-mask: linear-gradient(#000, #000) 0 18px / 100% 100% no-repeat, repeating-linear-gradient(90deg, #000 0 calc(20% - 5px), transparent calc(20% - 5px) 20%) 0 0 / calc(100% + 5px) 3px no-repeat;
    mask: linear-gradient(#000, #000) 0 18px / 100% 100% no-repeat, repeating-linear-gradient(90deg, #000 0 calc(20% - 5px), transparent calc(20% - 5px) 20%) 0 0 / calc(100% + 5px) 3px no-repeat;
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    #landing-page-content {
        padding-top: calc(env(safe-area-inset-top, 0px) + 72px) !important;
    }

    #landing-logo {
        width: 248px !important;
        height: 62px !important;
        min-width: 248px !important;
        min-height: 62px !important;
        max-width: 248px !important;
        max-height: 62px !important;
        contain-intrinsic-size: 248px 62px !important;
        margin-bottom: 26px !important;
    }

    #landing-page-content h1 {
        font-size: clamp(2.6rem, 11.5vw, 3.25rem) !important;
        margin-bottom: 16px !important;
    }

    #landing-page-content .landing-lede {
        font-size: 1rem !important;
        max-width: 20.5rem;
        margin-bottom: 30px !important;
    }

    .landing-actions {
        width: 100%;
        max-width: 340px;
        flex-wrap: nowrap;
    }

    #landing-page-content #start-btn,
    #landing-page-content #observe-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 18px !important;
    }

}

@media (max-height: 640px) and (max-width: 600px) {
    #landing-page-content { padding-top: calc(env(safe-area-inset-top, 0px) + 64px) !important; }
    #landing-logo { margin-bottom: 18px !important; }
    #landing-page-content .landing-lede { margin-bottom: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
    #landing-page-content h1,
    .landing-lede,
    .landing-actions,
    .landing-more,
    .landing-dock,
    .fl-theme-toggle,
    #phoneEntry, #verificationSection, #ageConsentSection, #notificationSection, #profileSection {
        animation: fl-fade 1ms both !important;
    }
}

} /* @layer fl-skin */

/* --------------------------------------------------------------------------
   Moved from index.html inline <style> (session 4): the legacy rules that still
   carry layout/behaviour, unlayered and in their original order
   -------------------------------------------------------------------------- */
* {
    margin:0;
}
#landing-page-content {
    height:100vh;
    height:100dvh;
    gap:0;
}
html.is-logged-in .app-store-badges {
    display:none !important;
}
.app-store-badges.badges-hidden {
    opacity:0 !important;
}
#landing-threads {
    height:100%;
}
#landing-logo {
    aspect-ratio: 4 / 1;
    margin: 0 auto 30px;
    flex-shrink: 0;
    contain: strict;
    content-visibility: auto;
    contain-intrinsic-size: 300px 75px;
}
@media (max-width: 600px) {
#landing-logo {
    contain-intrinsic-size: 248px 62px;
}
}
.dos-button {
    flex-shrink: 0;
}
.special-login-button {
    contain: layout style;
}
#landing-page-content h1 {
    contain: layout style;
    font-synthesis: none;
}
.landing-hero {
    margin:auto 0;
}
.button-row {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}
.landing-dock {
    margin-top:28px;
}
@media all and (display-mode: standalone) {
html,
body {
    overflow: hidden;
    overscroll-behavior: none;
}
#landing-page-content {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
}
}
html.app-mode body,
html.app-mode {
    overflow: hidden;
    overscroll-behavior: none;
}
html.app-mode #landing-page-content {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
}

/* ---------------------------------------------------------------------------
   Sign-up "Before we begin" (session 6): date of birth + one consent box
   --------------------------------------------------------------------------- */
@layer fl-skin {
    .terminal-container .fl-dob { margin-bottom: 18px !important; }

    .terminal-container .fl-dob__fields {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1.5fr;
        gap: 10px !important;
    }

    .terminal-container .fl-dob__fields input.fl-dob__part {
        padding: 0 10px !important;
        text-align: center !important;
        letter-spacing: 0.06em !important;
        font-variant-numeric: tabular-nums;
    }

    .terminal-container .fl-dob__fields input.fl-dob__part.error {
        border-color: var(--fl-danger) !important;
        box-shadow: 0 0 0 4px var(--fl-danger-wash), var(--fl-highlight) !important;
    }

    /* the consent label runs to two lines with its links: box on the first line */
    .terminal-container .age-verification .checkbox-group { align-items: flex-start !important; }
    .terminal-container .age-verification .terminal-checkbox { margin-top: 1px !important; }
    .terminal-container .age-verification .checkbox-group label {
        font-weight: 450 !important;
        line-height: 1.5 !important;
        text-wrap: pretty;
    }

    /* Session 7: the dating-safety disclosure above the consent box. New Jersey,
       Texas and Illinois ask for bold capitals of at least 12 points (16px) on
       the sign-up page; the box below acknowledges it. */
    .terminal-container .fl-screening-note {
        margin: 0 0 14px !important;
        padding: 14px 16px 14px 18px !important;
        border: 0 !important;
        border-left: 2px solid var(--fl-coral) !important;
        border-radius: 0 var(--fl-r-sm) var(--fl-r-sm) 0 !important;
        background: var(--fl-coral-wash) !important;
        text-align: left !important;
    }

    .terminal-container .fl-screening-note .fl-no-screening {
        margin: 0 0 6px !important;
        padding: 0 !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important; /* capitals are in the source */
        text-align: left !important;
        color: var(--fl-ink) !important;
    }

    .terminal-container .fl-screening-note__more {
        margin: 0 !important;
        padding: 0 !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 0.875rem !important;
        font-weight: 450 !important;
        line-height: 1.5 !important;
        text-transform: none !important;
        text-align: left !important;
        color: var(--fl-ink-2) !important;
    }

    /* Session 7 legal review: New York's short safety statements, inline at
       the consent step, under the no-screening line */
    .terminal-container .fl-safety-short {
        margin: 6px 0 0 !important;
        padding: 0 0 0 18px !important;
        list-style: disc !important;
        text-align: left !important;
    }
    .terminal-container .fl-safety-short li {
        margin: 2px 0 0 !important;
        padding: 0 !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 0.875rem !important;
        font-weight: 450 !important;
        line-height: 1.5 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        text-align: left !important;
        color: var(--fl-ink-2) !important;
    }

    /* the text-message disclosure where the number is given and where texts
       are chosen (frequency, rates, STOP / HELP) */
    .terminal-container .fl-sms-note {
        margin: 10px 0 0 !important;
        padding: 0 !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 0.8125rem !important;
        font-weight: 450 !important;
        line-height: 1.5 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        text-align: left !important;
        color: var(--fl-ink-3) !important;
    }
}

/* ---------------------------------------------------------------------------
   Session 6 close-out: Privacy and Terms beside About (quiet, small, 44px to
   tap, open the legal reader in place), and the date of birth's year hint
   --------------------------------------------------------------------------- */
@layer fl-skin {
    #landing-page-content .landing-more { flex-wrap: wrap; row-gap: 0; }

    #landing-page-content .fl-legal-links {
        display: inline-flex !important;
        align-items: center !important;
        margin-left: -12px !important; /* cancels the row's gap: the dots sit midway */
    }

    #landing-page-content .fl-legal-link {
        position: relative !important;
        height: 44px !important;
        min-height: 44px !important;
        min-width: 0 !important;
        margin: -2px 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-radius: var(--fl-r-pill) !important;
        background: transparent !important;
        background-image: none !important;
        color: var(--fl-ink-3) !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.005em !important;
        text-transform: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
        cursor: pointer;
        transition: color var(--fl-dur-2) var(--fl-ease-out) !important;
    }

    /* About · Privacy · Terms */
    #landing-page-content .fl-legal-link::before {
        content: '\00B7' !important;
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translate(-50%, -52%) !important;
        color: var(--fl-ink-3) !important;
        pointer-events: none !important;
    }

    #landing-page-content .fl-legal-link:focus:not(:focus-visible) { outline: none !important; }

    #landing-page-content .fl-legal-link:focus-visible {
        outline: 2px solid var(--fl-blue) !important;
        outline-offset: 2px !important;
        color: var(--fl-ink) !important;
    }

    @media (hover: hover) {
        #landing-page-content .fl-legal-link:hover { color: var(--fl-ink) !important; }
    }

    #landing-page-content .fl-legal-link:active { color: var(--fl-ink) !important; }

    .terminal-container .fl-dob__hint {
        margin: 10px 0 0 !important;
        padding: 0 !important;
        font-family: var(--fl-font-ui) !important;
        font-size: 0.875rem !important;
        font-weight: 450 !important;
        line-height: 1.45 !important;
        text-align: left !important;
        text-transform: none !important;
        color: var(--fl-ink-2) !important;
    }

    .terminal-container .fl-dob__hint[hidden] { display: none !important; }
}
