/* The public site's top bar, home page, pricing page, status page, sign-up page, sign-in page, FAQ page, Help Center, news pages and footer (Shared/MainLayout.razor, Pages/Index.razor, Pages/Pricing.razor, Pages/ServiceStatus.razor, Pages/User/Register.razor, Pages/User/SignIn.razor, Pages/FAQ.razor, Pages/HelpCenter/Index.razor, Pages/HelpCenter/Page.razor, Pages/News.razor, Pages/Article.razor).
   Every class starts with fp- so nothing here touches the template's pages or the manager.
   Every colour is a variable of the :root block below, and html[data-theme="dark"] gives the dark look its values:
   a rule never types a colour of its own (FrontColoursTests holds it). */

/* ---- colours ---- */

:root {
    /* The page's light parts: the ground, cards, lines and text. */
    --fp-ground: #FFFFFF;
    --fp-band: #F6F7FB;
    --fp-card: #FFFFFF;
    --fp-input: #FFFFFF;
    --fp-tint: #F6F7FB;
    --fp-hover: #F1F4FA;
    --fp-code-bg: #F1F3F8;
    --fp-blue-tint: #E8EFFE;
    --fp-line: #E5E8F0;
    --fp-line-soft: #EEF0F5;
    --fp-line-hover: #C8CEDB;
    --fp-line-hover-2: #C3CBDD;
    --fp-text: #111827;
    --fp-body: #374151;
    --fp-quiet: #4B5563;
    --fp-faint: #6B7280;
    --fp-arrow: #9CA3AF;
    --fp-link: #1D4ED8;
    --fp-link-hover: #1E40AF;
    --fp-accent: #2563EB;
    --fp-accent-hover: #1D4ED8;
    --fp-focus: #1D4ED8;
    --fp-shadow: rgba(17, 24, 39, 0.08);
    --fp-shadow-lg: rgba(17, 24, 39, 0.18);
    --fp-drop-shadow: rgba(5, 10, 25, 0.28);

    /* The filled button: the same in both looks. */
    --fp-btn: #2563EB;
    --fp-btn-hover: #1D4ED8;
    --fp-on-btn: #FFFFFF;

    /* The status pills. */
    --fp-ok-bg: #DCFCE7;
    --fp-ok-text: #166534;
    --fp-warn-bg: #FEF3C7;
    --fp-warn-text: #92400E;
    --fp-bad-bg: #FEE2E2;
    --fp-bad-text: #991B1B;

    /* The dark bands (top bar, page heads, closing band, footer): dark in both looks. */
    --fp-night: #0B1020;
    --fp-night-deep: #070B16;
    --fp-night-raised: #121A30;
    --fp-night-hover: #18213A;
    --fp-night-pressed: #1D2A4D;
    --fp-night-line: #1E2740;
    --fp-night-line-soft: #1A2238;
    --fp-night-edge: #2A3557;
    --fp-night-edge-strong: #3A4670;
    --fp-night-accent: #5B7BD5;
    --fp-night-white: #FFFFFF;
    --fp-night-text: #F2F5FB;
    --fp-night-text-2: #E6EBF5;
    --fp-night-nav: #C9D2E6;
    --fp-night-quiet: #B9C4DC;
    --fp-night-muted: #8D99B5;
    --fp-night-kicker: #8FA6D9;
    --fp-night-link: #9CC0FF;
    --fp-night-link-hover: #C7DAFF;
    --fp-night-shadow: rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] {
    --fp-ground: #0B1020;
    --fp-band: #0B1020;
    --fp-card: #121830;
    --fp-input: #1A2138;
    --fp-tint: #1A2138;
    --fp-hover: #1A2138;
    --fp-code-bg: #1A2138;
    --fp-blue-tint: #1A2138;
    --fp-line: #2A3350;
    --fp-line-soft: #2A3350;
    --fp-line-hover: #3A4670;
    --fp-line-hover-2: #3A4670;
    --fp-text: #E6EAF2;
    --fp-body: #E6EAF2;
    --fp-quiet: #AEB8CF;
    --fp-faint: #AEB8CF;
    --fp-arrow: #AEB8CF;
    --fp-link: #93B4FF;
    --fp-link-hover: #C7DAFF;
    --fp-accent: #93B4FF;
    --fp-accent-hover: #C7DAFF;
    --fp-focus: #93B4FF;
    --fp-shadow: rgba(0, 0, 0, 0.4);
    --fp-shadow-lg: rgba(0, 0, 0, 0.5);
    --fp-drop-shadow: rgba(0, 0, 0, 0.5);
    --fp-ok-bg: #12321F;
    --fp-ok-text: #3ECF8E;
    --fp-warn-bg: #3A2A0C;
    --fp-warn-text: #F5C46B;
    --fp-bad-bg: #3B1518;
    --fp-bad-text: #FCA5A5;
}

.fp,
.fp-top,
.fp-foot {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--fp-text);
}

.fp h1, .fp h2, .fp h3 {
    font-family: 'Archivo', system-ui, sans-serif;
    color: inherit;
}

.fp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* ---- top bar ---- */

.fp-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--fp-night);
    border-bottom: 1px solid var(--fp-night-line);
}

.fp-top-in {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.fp-logo {
    display: flex;
    align-items: center;
    height: 44px;
    flex: 0 0 auto;
}

.fp-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.fp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    font-size: 15px;
    margin: 0;
}

.fp-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.fp-top .fp-link,
.fp-top .fp-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    box-sizing: border-box;
    color: var(--fp-night-nav);
    text-decoration: none;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 15px;
    line-height: 20px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.fp-top .fp-link:hover,
.fp-top .fp-btn:hover,
.fp-top .fp-link:focus,
.fp-top .fp-btn:focus {
    background: var(--fp-night-hover);
    color: var(--fp-night-white);
    text-decoration: none;
}

.fp-top .fp-signin {
    color: var(--fp-night-text-2);
    font-weight: 500;
}

.fp-globe {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0 !important;
}

.fp-sep {
    width: 1px;
    height: 22px;
    background: var(--fp-night-edge);
    margin: 0 6px;
}

.fp-has-drop {
    position: relative;
}

.fp-drop {
    position: absolute;
    top: 52px;
    left: 0;
    z-index: 1040;
    width: 300px;
    background: var(--fp-card);
    color: var(--fp-text);
    border-radius: 12px;
    box-shadow: 0 18px 40px var(--fp-drop-shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.fp-drop--right {
    left: auto;
    right: 0;
    width: 220px;
}

.fp-drop .fp-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 8px;
    text-decoration: none;
    color: var(--fp-text);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.fp-drop .fp-item--row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.fp-drop .fp-item:hover,
.fp-drop .fp-item:focus {
    background: var(--fp-hover);
    color: var(--fp-text);
    text-decoration: none;
}

.fp-item-name {
    font-weight: 600;
}

.fp-item-hint {
    font-size: 13px;
    color: var(--fp-quiet);
}

/* the licence's players online, on the right of the Online Players row */
.fp-item-count {
    margin-left: 16px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--fp-quiet);
}

.fp-drop-sep {
    height: 1px;
    background: var(--fp-line);
    margin: 6px 8px;
}

/* Catches a click outside an open menu and closes it. */
.fp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1020;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: default;
}

/* The one filled button, wherever it appears. */
.fp-register,
.fp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    background: var(--fp-btn);
    color: var(--fp-on-btn) !important;
    text-decoration: none !important;
    font-weight: 600;
    border: 0;
    border-radius: 8px;
    white-space: nowrap;
}

.fp-register {
    font-size: 15px;
    padding: 11px 18px;
    margin-left: 4px;
}

.fp-register:hover,
.fp-cta:hover {
    background: var(--fp-btn-hover);
}

.fp-mob {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.fp-mob .fp-register {
    padding: 11px 16px;
    margin-left: 0;
}

.fp-burger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--fp-night-edge);
    border-radius: 8px;
    color: var(--fp-night-text-2);
    cursor: pointer;
}

.fp-mobpanel {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--fp-night-line);
    padding: 8px 16px 20px;
}

.fp-mobpanel .fp-moblink {
    color: var(--fp-night-text-2);
    text-decoration: none;
    font-size: 17px;
    padding: 14px 8px;
    min-height: 44px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--fp-night-line-soft);
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.fp-mobpanel .fp-moblink:hover,
.fp-mobpanel .fp-moblink:focus {
    color: var(--fp-night-white);
    background: var(--fp-night-raised);
    text-decoration: none;
}

.fp-moblangs {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.fp-moblangs button {
    flex: 1 1 0;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--fp-night-edge);
    background: transparent;
    color: var(--fp-night-text-2);
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.fp-moblangs button[aria-pressed="true"] {
    background: var(--fp-night-pressed);
    border-color: var(--fp-night-accent);
}

.fp-moblangs button:hover {
    background: var(--fp-night-hover);
}

.fp-mobsignin {
    margin-top: 12px;
    text-align: center;
    color: var(--fp-night-text-2) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    padding: 13px;
    border: 1px solid var(--fp-night-edge);
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.fp-mobsignin:hover {
    background: var(--fp-night-hover);
}

@media (max-width: 960px) {
    .fp-desk {
        display: none !important;
    }

    .fp-mob {
        display: flex;
    }

    .fp-mobpanel {
        display: flex;
    }
}

/* ---- keyboard focus ---- */

.fp-top a:focus-visible,
.fp-top button:focus-visible,
.fp-hero a:focus-visible,
.fp-closing a:focus-visible,
.fp-foot a:focus-visible {
    outline: 2px solid var(--fp-night-link);
    outline-offset: 2px;
}

.fp-drop a:focus-visible,
.fp-drop button:focus-visible,
.fp-proof a:focus-visible,
.fp-features a:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

/* ---- hero ---- */

.fp-hero {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-hero-in {
    padding-top: 72px;
    padding-bottom: 88px;
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: center;
}

.fp-hero-copy {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.fp-kicker {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.fp-hero .fp-kicker {
    color: var(--fp-night-kicker);
}

.fp-hero h1 {
    margin: 0;
    font-weight: 800;
    font-size: 56px;
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--fp-night-text);
}

.fp-hero-text {
    margin: 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-hero .fp-actions {
    margin-top: 6px;
}

.fp-cta {
    font-size: 17px;
    padding: 15px 26px;
    border-radius: 10px;
}

.fp-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    box-sizing: border-box;
    color: var(--fp-night-text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 17px;
    padding: 14px 24px;
    border-radius: 10px;
    border: 1px solid var(--fp-night-edge-strong);
}

.fp-ghost:hover {
    background: var(--fp-night-hover);
    border-color: var(--fp-night-accent);
}

.fp-hero-signin {
    margin: 0;
    font-size: 15px;
    color: var(--fp-night-muted);
}

.fp-hero-signin a,
.fp-closing .fp-textlink {
    color: var(--fp-night-link);
}

.fp-hero-signin a:hover,
.fp-closing .fp-textlink:hover {
    color: var(--fp-night-link-hover);
}

.fp-hero-shot {
    flex: 1 1 520px;
    min-width: 0;
}

.fp-frame {
    border-radius: 14px;
    border: 1px solid var(--fp-night-edge);
    background: var(--fp-night-raised);
    padding: 10px;
    box-shadow: 0 30px 60px var(--fp-night-shadow);
}

.fp-frame-dots {
    display: flex;
    gap: 6px;
    padding: 4px 6px 10px;
}

.fp-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fp-night-edge);
}

.fp-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

/* ---- proof strip ---- */

.fp-proof {
    background: var(--fp-ground);
    border-bottom: 1px solid var(--fp-line);
}

.fp-proof-in {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.fp-proof .fp-kicker {
    color: var(--fp-quiet);
}

.fp-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.fp-logo-tile {
    flex: 0 1 160px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    box-sizing: border-box;
    border: 1px solid var(--fp-line);
    border-radius: 10px;
    background: var(--fp-card);
}

.fp-logo-tile:hover {
    border-color: var(--fp-line-hover);
    box-shadow: 0 6px 16px var(--fp-shadow);
}

.fp-logo-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fp-proof .fp-more,
.fp-features .fp-more {
    color: var(--fp-accent);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.fp-proof .fp-more:hover,
.fp-features .fp-more:hover {
    color: var(--fp-accent-hover);
}

/* ---- what you get ---- */

.fp-features {
    background: var(--fp-band);
}

.fp-features-head {
    padding-top: 88px;
    padding-bottom: 40px;
    text-align: center;
}

.fp-features-head h2 {
    margin: 0;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    color: var(--fp-text);
}

.fp-blocks {
    padding-bottom: 96px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.fp-block {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.fp-block--rev {
    flex-direction: row-reverse;
}

.fp-block-copy {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-block .fp-kicker {
    font-size: 13px;
    color: var(--fp-link);
}

.fp-block h3 {
    margin: 0;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.15;
    color: var(--fp-text);
}

.fp-block-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fp-body);
}

.fp-block .fp-more {
    font-size: 16px;
    font-weight: 600;
}

.fp-block-shot {
    flex: 1 1 520px;
    min-width: 0;
}

.fp-block-shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--fp-line);
    background: var(--fp-card);
}

/* A block with no image shows its text full width. */
.fp-block--text .fp-block-copy {
    flex-basis: 100%;
    max-width: 760px;
}

/* ---- closing band ---- */

.fp-closing {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-closing-in {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.fp-closing-copy {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-closing h2 {
    margin: 0;
    font-weight: 800;
    font-size: 38px;
    line-height: 1.1;
    color: var(--fp-night-text);
}

.fp-closing-text {
    margin: 0;
    font-size: 18px;
    color: var(--fp-night-quiet);
}

.fp-closing .fp-textlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    font-size: 17px;
    padding: 0 8px;
}

/* ---- pricing (Pages/Pricing.razor) ---- */

.fp-pricing-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-pricing-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-pricing-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-pricing-head-text {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-pricing {
    background: var(--fp-band);
}

.fp-pricing-in {
    padding-top: 40px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.fp-pricing-include {
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: var(--fp-body);
}

.fp-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.fp-plan {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
    box-sizing: border-box;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
}

.fp-plan:hover {
    border-color: var(--fp-line-hover);
    box-shadow: 0 6px 16px var(--fp-shadow);
}

.fp .fp-plan-name {
    margin: 0;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    color: var(--fp-text);
}

.fp-plan-price {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.fp-plan-amount {
    white-space: nowrap;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.1;
    color: var(--fp-text);
}

.fp-plan-per {
    font-size: 15px;
    color: var(--fp-quiet);
}

.fp-plan-3m,
.fp-plan-conn {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fp-body);
}

.fp-plan-save {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--fp-blue-tint);
    color: var(--fp-link);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.fp-plan-cta {
    margin-top: auto;
    font-size: 16px;
    padding: 12px 18px;
}

.fp-plans a:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

.fp-faq {
    background: var(--fp-ground);
    border-top: 1px solid var(--fp-line);
}

.fp-faq-in {
    padding-top: 72px;
    padding-bottom: 80px;
}

.fp-faq h2 {
    margin: 0 0 36px;
    text-align: center;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.1;
    color: var(--fp-text);
}

.fp-faq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
}

.fp-faq-item {
    flex: 1 1 420px;
    min-width: 0;
}

.fp-faq-item h3 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--fp-text);
}

.fp-faq-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fp-body);
}

@media (max-width: 1023px) {
    .fp-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .fp-plans {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .fp-pricing-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-pricing-head h1 {
        font-size: 36px;
    }

    .fp-pricing-head-text {
        font-size: 17px;
    }

    .fp-faq-in {
        padding-top: 52px;
        padding-bottom: 56px;
    }

    .fp-faq h2 {
        font-size: 30px;
    }

    .fp-faq-item {
        flex-basis: 100%;
    }
}

/* ---- status (Pages/ServiceStatus.razor) ---- */

.fp-status-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-status-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-status-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-status-head-text {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-status-updated {
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fp-night-muted);
}

.fp-status {
    background: var(--fp-band);
}

.fp-status-in {
    max-width: 908px;
    padding-top: 40px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.fp-status-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fp .fp-status-block h2 {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    color: var(--fp-text);
}

.fp .fp-status-group h3 {
    margin: 12px 0 8px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--fp-text);
}

.fp-status-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    overflow: hidden;
}

.fp-status-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: 56px;
    box-sizing: border-box;
    padding: 12px 20px;
    border-bottom: 1px solid var(--fp-line-soft);
    font-size: 17px;
    color: var(--fp-text);
}

.fp-status-line:last-child {
    border-bottom: 0;
}

.fp-status-line--stack {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.fp-status-line-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fp-status-line-code {
    font-weight: 400;
    color: var(--fp-quiet);
}

.fp-status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.fp-status-pill--ok {
    background: var(--fp-ok-bg);
    color: var(--fp-ok-text);
}

.fp-status-pill--maintenance {
    background: var(--fp-warn-bg);
    color: var(--fp-warn-text);
}

.fp-status-pill--incident {
    background: var(--fp-bad-bg);
    color: var(--fp-bad-text);
}

.fp-status-pill--unknown {
    background: var(--fp-line);
    color: var(--fp-body);
}

.fp-status-pill--notice {
    background: var(--fp-blue-tint);
    color: var(--fp-link);
}

.fp-status-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    overflow-wrap: anywhere;
}

.fp-status-card-top {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 17px;
    line-height: 1.4;
    color: var(--fp-text);
}

.fp-status-card-text,
.fp-status-when {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fp-body);
}

/* A notice's text keeps the line breaks it was typed with. */
.fp-status-card-text {
    white-space: pre-line;
}

.fp-status-local {
    color: var(--fp-quiet);
}

.fp-status-word {
    margin-left: 8px;
    font-weight: 600;
    color: var(--fp-text);
}

.fp-status-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fp-link);
}

.fp-status-link:hover {
    color: var(--fp-link-hover);
    text-decoration: underline;
}

.fp-status a:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

.fp-status-note,
.fp-status-source {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fp-body);
}

.fp-status-source {
    font-size: 14px;
    color: var(--fp-faint);
}

@media (max-width: 960px) {
    .fp-status-in {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .fp-status-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-status-head h1 {
        font-size: 36px;
    }

    .fp-status-head-text {
        font-size: 17px;
    }

    .fp-status-in {
        padding-top: 28px;
        padding-bottom: 52px;
        gap: 28px;
    }

    .fp-status-line {
        padding: 12px 16px;
    }
}

/* ---- features (Pages/Features.razor) ---- */

.fp-features-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-features-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-features-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-features-head-text {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-features {
    background: var(--fp-band);
}

.fp-features-in {
    padding-top: 48px;
    padding-bottom: 72px;
}

.fp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fp .fp-features-heading {
    grid-column: 1 / -1;
    margin: 20px 0 0;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.15;
    color: var(--fp-text);
}

.fp-features-heading:first-child {
    margin-top: 0;
}

.fp-features-gallery {
    grid-column: 1 / -1;
    min-width: 0;
}

.fp-feature {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px;
    box-sizing: border-box;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
}

.fp-feature:hover {
    border-color: var(--fp-line-hover);
    box-shadow: 0 6px 16px var(--fp-shadow);
}

.fp-feature-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fp-link);
}

.fp .fp-feature-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--fp-text);
    overflow-wrap: anywhere;
}

.fp-feature-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fp-body);
    overflow-wrap: anywhere;
}

.fp-feature-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    font-size: 16px;
    color: var(--fp-link);
}

.fp-feature-more:hover {
    color: var(--fp-link-hover);
}

.fp-feature-more:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

.fp-feature-gallery {
    min-width: 0;
}

.fp-feature-gallery img,
.fp-features-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 960px) {
    .fp-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fp-features-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-features-head h1 {
        font-size: 36px;
    }

    .fp-features-head-text {
        font-size: 17px;
    }

    .fp-features-in {
        padding-top: 32px;
        padding-bottom: 52px;
    }

    .fp-features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp .fp-features-heading {
        font-size: 28px;
    }
}

/* ---- clients (Pages/Clients.razor) ---- */

.fp-clients-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-clients-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-clients-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-clients {
    background: var(--fp-band);
}

.fp-clients-in {
    padding-top: 48px;
    padding-bottom: 72px;
}

.fp-clients-logos {
    gap: 20px;
}

@media (max-width: 960px) {
    .fp-clients-logos .fp-logo-tile {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 640px) {
    .fp-clients-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-clients-head h1 {
        font-size: 36px;
    }

    .fp-clients-in {
        padding-top: 32px;
        padding-bottom: 52px;
    }
}

/* ---- FAQ (Pages/FAQ.razor) ---- */

.fp-faqpage-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-faqpage-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-faqpage-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-faqpage-head-text {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-faqpage-head-text a {
    color: var(--fp-night-link);
    font-weight: 600;
    text-decoration: underline;
}

.fp-faqpage-head-text a:hover {
    color: var(--fp-night-link-hover);
}

.fp-faqpage-head a:focus-visible {
    outline: 2px solid var(--fp-night-link);
    outline-offset: 2px;
}

.fp-faqpage {
    background: var(--fp-band);
}

.fp-faqpage-in {
    padding-top: 40px;
    padding-bottom: 72px;
    max-width: 908px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fp-faqpage-help {
    align-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--fp-link);
    text-decoration: none;
}

.fp-faqpage-help:hover,
.fp-faqpage-empty a:hover {
    color: var(--fp-link-hover);
    text-decoration: underline;
}

.fp-faqpage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fp-faqpage-item {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    overflow: hidden;
}

.fp .fp-faqpage-q {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.fp-faqpage-q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    box-sizing: border-box;
    padding: 14px 20px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-weight: 700;
    color: var(--fp-text);
    text-align: start;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.fp-faqpage-q button:hover {
    background: var(--fp-tint);
}

.fp-faqpage-mark {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin: 0 4px 4px;
    border-right: 2px solid var(--fp-quiet);
    border-bottom: 2px solid var(--fp-quiet);
    transform: rotate(45deg);
}

.fp-faqpage-q button[aria-expanded="true"] .fp-faqpage-mark {
    margin: 4px 4px 0;
    transform: rotate(225deg);
}

.fp-faqpage-a {
    padding: 4px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fp-body);
    overflow-wrap: anywhere;
}

.fp-faqpage-a[hidden] {
    display: none;
}

.fp-faqpage-a > :last-child {
    margin-bottom: 0;
}

.fp-faqpage-a img {
    max-width: 100%;
    height: auto;
}

.fp-faqpage-a a,
.fp-faqpage-empty a {
    color: var(--fp-link);
    font-weight: 600;
}

.fp-faqpage-empty {
    margin: 0;
    padding: 32px 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fp-body);
}

.fp-faqpage a:focus-visible,
.fp-faqpage button:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

/* Inside the card's rounded corners, so the card does not cut the ring. */
.fp-faqpage-q button:focus-visible {
    outline-offset: -2px;
}

@media (max-width: 960px) {
    .fp-faqpage-in {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .fp-faqpage-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-faqpage-head h1 {
        font-size: 36px;
    }

    .fp-faqpage-head-text {
        font-size: 17px;
    }

    .fp-faqpage-in {
        padding-top: 28px;
        padding-bottom: 52px;
    }

    .fp-faqpage-q button {
        padding: 12px 16px;
    }

    .fp-faqpage-a {
        padding: 4px 16px 16px;
    }
}

/* ---- Help Center (Pages/HelpCenter/Index.razor, Page.razor, Shared/HelpCenterSearch.razor) ---- */

/* Its own stacking context on every page, so nothing lies over the search box and takes its clicks. */
.fp-hc-band {
    position: relative;
    z-index: 2;
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-hc-band-in {
    max-width: 908px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.fp-hc-band h1 {
    margin: 0 0 24px;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    color: var(--fp-night-text);
}

.fp-hc-search {
    position: relative;
    z-index: 2;
}

.fp-hc-search-box {
    display: flex;
    align-items: center;
    background: var(--fp-input);
    border: 1px solid var(--fp-line);
    border-radius: 12px;
    overflow: hidden;
}

.fp-hc-search-box:focus-within {
    outline: 2px solid var(--fp-night-link);
    outline-offset: 2px;
}

.fp-hc-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    box-sizing: border-box;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 17px;
    color: var(--fp-text);
}

.fp-hc-search-input::placeholder {
    color: var(--fp-faint);
}

.fp-hc-search-go {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fp-link);
    cursor: pointer;
}

.fp-hc-search-go:hover {
    background: var(--fp-tint);
}

.fp-hc-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 50vh;
    overflow-y: auto;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 12px;
    box-shadow: 0 16px 40px var(--fp-shadow-lg);
}

.fp-hc-result {
    display: block;
    padding: 14px 18px;
    color: var(--fp-text);
    text-decoration: none;
    border-bottom: 1px solid var(--fp-line-soft);
    overflow-wrap: anywhere;
}

.fp-hc-result:last-child {
    border-bottom: 0;
}

.fp-hc-result:hover,
.fp-hc-result:focus {
    background: var(--fp-tint);
    color: var(--fp-text);
    text-decoration: none;
}

.fp-hc-result strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
}

.fp-hc-result span {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fp-quiet);
}

.fp-hc-results-note {
    margin: 0;
    padding: 16px 18px;
    font-size: 15px;
    color: var(--fp-quiet);
}

/* Under the search box and its results, over the rest of the page: a click outside closes the results. */
.fp-hc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: default;
}

.fp-hc-english {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fp-night-quiet);
}

.fp-hc {
    background: var(--fp-band);
}

.fp-hc-in {
    max-width: 908px;
    padding-top: 36px;
    padding-bottom: 72px;
}

.fp-hc-note {
    margin: 0;
    padding: 32px 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fp-body);
}

.fp-hc-note a,
.fp-hc-crumbs a {
    color: var(--fp-link);
    font-weight: 600;
    text-decoration: none;
}

.fp-hc-note a:hover,
.fp-hc-crumbs a:hover {
    color: var(--fp-link-hover);
    text-decoration: underline;
}

.fp-hc-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fp-quiet);
    overflow-wrap: anywhere;
}

.fp-hc-crumb-sep {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--fp-arrow);
    border-right: 1.5px solid var(--fp-arrow);
    transform: rotate(45deg);
}

.fp .fp-hc-title {
    margin: 14px 0 24px;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.15;
    color: var(--fp-text);
    overflow-wrap: anywhere;
}

.fp-hc-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fp-hc-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    color: var(--fp-text);
    text-decoration: none;
}

.fp-hc-card:hover,
.fp-hc-card:focus {
    border-color: var(--fp-line-hover);
    box-shadow: 0 6px 16px var(--fp-shadow);
    color: var(--fp-text);
    text-decoration: none;
}

.fp-hc-card-icon {
    flex: 0 0 32px;
    width: 32px;
    margin-top: 2px;
    font-size: 26px;
    line-height: 1;
    text-align: center;
    color: var(--fp-accent);
}

.fp-hc-card-text {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.fp-hc-card-title {
    display: block;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    color: var(--fp-link);
}

.fp-hc-card-desc {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fp-quiet);
}

.fp-hc-card-desc:empty {
    display: none;
}

.fp-hc-ask {
    margin-top: 56px;
    text-align: center;
}

.fp-hc-ask h2 {
    margin: 0 0 20px;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    color: var(--fp-text);
}

.fp-hc a:focus-visible,
.fp-hc-search-go:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

/* An article's body is HTML from the database (Administration ▸ Help Center): everything inside is styled from here. */
.fp-hc-article {
    padding: 28px 32px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--fp-body);
    overflow-wrap: anywhere;
}

.fp-hc-article > :first-child {
    margin-top: 0;
}

.fp-hc-article > :last-child {
    margin-bottom: 0;
}

.fp-hc-article h1,
.fp-hc-article h2,
.fp-hc-article h3,
.fp-hc-article h4,
.fp-hc-article h5,
.fp-hc-article h6 {
    margin: 1.6em 0 0.6em;
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--fp-text);
}

.fp-hc-article h1 {
    font-size: 28px;
}

.fp-hc-article h2 {
    font-size: 24px;
}

.fp-hc-article h3 {
    font-size: 20px;
}

.fp-hc-article h4,
.fp-hc-article h5,
.fp-hc-article h6 {
    font-size: 17px;
}

.fp-hc-article p {
    margin: 0 0 1em;
}

.fp-hc-article ul,
.fp-hc-article ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.fp-hc-article li {
    margin-bottom: 0.35em;
}

.fp-hc-article li > ul,
.fp-hc-article li > ol {
    margin-top: 0.35em;
    margin-bottom: 0;
}

.fp-hc-article a {
    color: var(--fp-link);
    font-weight: 600;
    text-decoration: underline;
}

.fp-hc-article a:hover {
    color: var(--fp-link-hover);
}

.fp-hc-article img,
.fp-hc-article video,
.fp-hc-article iframe {
    max-width: 100%;
}

.fp-hc-article img {
    height: auto;
    border-radius: 8px;
}

.fp-hc-article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 0 1em;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.fp-hc-article th,
.fp-hc-article td {
    padding: 8px 12px;
    border: 1px solid var(--fp-line);
    text-align: start;
    vertical-align: top;
}

.fp-hc-article th {
    background: var(--fp-tint);
    font-weight: 600;
    color: var(--fp-text);
}

.fp-hc-article code,
.fp-hc-article kbd {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--fp-code-bg);
    font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.9em;
    color: var(--fp-text);
}

.fp-hc-article pre {
    margin: 0 0 1em;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--fp-night);
    color: var(--fp-night-text-2);
    font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
    font-size: 14px;
    line-height: 1.55;
    overflow-x: auto;
    overflow-wrap: normal;
    white-space: pre;
}

.fp-hc-article pre code {
    padding: 0;
    background: transparent;
    font-size: inherit;
    color: inherit;
}

.fp-hc-article blockquote {
    margin: 0 0 1em;
    padding: 4px 0 4px 16px;
    border-left: 3px solid var(--fp-line-hover);
    color: var(--fp-quiet);
}

.fp-hc-article hr {
    margin: 1.6em 0;
    border: 0;
    border-top: 1px solid var(--fp-line);
}

.fp-hc-updated {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--fp-faint);
}

@media (max-width: 960px) {
    .fp-hc-band-in,
    .fp-hc-in {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .fp-hc-band-in {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .fp-hc-band h1 {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .fp-hc-in {
        padding-top: 24px;
        padding-bottom: 52px;
    }

    .fp .fp-hc-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .fp-hc-card {
        gap: 14px;
        padding: 16px;
    }

    .fp-hc-article {
        padding: 20px 16px;
        font-size: 16px;
    }

    .fp-hc-ask {
        margin-top: 40px;
    }

    .fp-hc-ask h2 {
        font-size: 24px;
    }
}

/* ---- news and one article (Pages/News.razor, Pages/Article.razor) ---- */

.fp-news-head,
.fp-article-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-news-head-in,
.fp-article-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-news-head h1,
.fp-article-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
    overflow-wrap: anywhere;
}

.fp-article-head h1 {
    font-size: 40px;
    line-height: 1.15;
    max-width: 22em;
    margin: 0 auto;
}

.fp-news-head-text,
.fp-article-date {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-article-date {
    font-size: 16px;
}

.fp-article-category {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fp-night-link);
    text-decoration: none;
}

.fp-article-category:hover {
    color: var(--fp-night-link-hover);
    text-decoration: underline;
}

.fp-article-head a:focus-visible {
    outline: 2px solid var(--fp-night-link);
    outline-offset: 2px;
}

.fp-news,
.fp-article {
    background: var(--fp-band);
}

.fp-news-in,
.fp-article-in {
    padding-top: 40px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fp-article-in {
    max-width: 908px;
}

.fp-news-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.fp-news-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 18px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fp-body);
    text-decoration: none;
}

.fp-news-chip:hover {
    border-color: var(--fp-link);
    color: var(--fp-link);
    text-decoration: none;
}

.fp-news-chip[aria-current="page"] {
    background: var(--fp-btn-hover);
    border-color: var(--fp-btn-hover);
    color: var(--fp-on-btn);
}

.fp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fp-news-card {
    display: flex;
    flex-direction: column;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    overflow: hidden;
    color: var(--fp-text);
    text-decoration: none;
}

.fp-news-card:hover {
    border-color: var(--fp-line-hover-2);
    color: var(--fp-text);
    text-decoration: none;
}

.fp-news-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--fp-line);
}

.fp-news-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.fp-news-card-title {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fp-news-card:hover .fp-news-card-title {
    color: var(--fp-link);
}

.fp-news-card-date {
    font-size: 14px;
    line-height: 1.4;
    color: var(--fp-quiet);
}

/* The newest article: the image beside the words, and larger. */
.fp-news-lead {
    flex-direction: row;
    align-items: stretch;
}

.fp-news-lead .fp-news-card-img {
    flex: 0 0 58%;
    width: 58%;
}

.fp-news-lead .fp-news-card-text {
    flex: 1 1 auto;
    justify-content: center;
    padding: 32px;
}

.fp-news-lead .fp-news-card-title {
    font-size: 30px;
    line-height: 1.2;
}

.fp-news-lead .fp-news-card-date {
    font-size: 15px;
}

.fp-news-empty,
.fp-article-note {
    margin: 0;
    padding: 32px 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fp-body);
}

.fp-article-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fp-article-images img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* The first image, and an image alone, take the full width. */
.fp-article-images img:first-child {
    grid-column: 1 / -1;
}

.fp-article-body {
    padding: 28px 32px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--fp-body);
    overflow-wrap: anywhere;
}

.fp-article-body > :last-child {
    margin-bottom: 0;
}

.fp-article-body img,
.fp-article-body video,
.fp-article-body iframe {
    max-width: 100%;
}

.fp-article-body img {
    height: auto;
}

.fp-article-body table,
.fp-article-body pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.fp-article-body a {
    color: var(--fp-link);
    font-weight: 600;
}

.fp .fp-article-related-title {
    margin: 16px 0 0;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    color: var(--fp-text);
}

.fp-news a:focus-visible,
.fp-article a:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .fp-article-in {
        max-width: none;
    }

    .fp-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-news-lead {
        flex-direction: column;
    }

    .fp-news-lead .fp-news-card-img {
        flex: 0 0 auto;
        width: 100%;
    }

    .fp-news-lead .fp-news-card-text {
        padding: 20px;
    }

    .fp-news-lead .fp-news-card-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .fp-news-head-in,
    .fp-article-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-news-head h1 {
        font-size: 36px;
    }

    .fp-article-head h1 {
        font-size: 30px;
    }

    .fp-news-head-text {
        font-size: 17px;
    }

    .fp-news-in,
    .fp-article-in {
        padding-top: 28px;
        padding-bottom: 52px;
    }

    .fp-news-grid,
    .fp-article-images {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-article-body {
        padding: 20px 16px;
    }
}

/* ---- sign-up (Pages/User/Register.razor) ---- */

.fp-signup-head {
    background: var(--fp-night);
    color: var(--fp-night-text);
}

.fp-signup-head-in {
    padding-top: 64px;
    padding-bottom: 56px;
    text-align: center;
}

.fp-signup-head h1 {
    margin: 0;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.08;
    color: var(--fp-night-text);
}

.fp-signup-head-text {
    margin: 16px auto 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--fp-night-quiet);
    max-width: 34em;
}

.fp-signup {
    background: var(--fp-band);
}

.fp-signup-in {
    padding-top: 40px;
    padding-bottom: 72px;
}

.fp-signup-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px 28px;
    box-sizing: border-box;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
}

.fp-signup-card a {
    color: var(--fp-accent);
}

.fp-signup-card a:hover {
    color: var(--fp-accent-hover);
}

.fp-signup-submit {
    width: 100%;
    font-size: 17px;
    cursor: pointer;
}

.fp-signup-card a:focus-visible,
.fp-signup-card button:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .fp-signup-card {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .fp-signup-head-in {
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .fp-signup-head h1 {
        font-size: 36px;
    }

    .fp-signup-head-text {
        font-size: 17px;
    }

    .fp-signup-in {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .fp-signup-card {
        padding: 24px 18px;
    }
}

/* ---- sign-in and password reset (Pages/User/SignIn.razor), and the two pages the account emails open
        (Pages/User/VerifyEmailAddress.razor, Pages/User/PasswordReset.razor), and the two the account-change
        emails open (Pages/User/EmailModify.razor, Pages/User/PasswordModify.razor) ---- */

.fp-login {
    background: var(--fp-band);
}

.fp-login-in {
    padding-top: 64px;
    padding-bottom: 88px;
}

.fp-login-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 32px 28px;
    box-sizing: border-box;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 14px;
}

.fp-login-card h1 {
    margin: 0;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.15;
    color: var(--fp-text);
}

.fp-login-line {
    margin: 10px 0 24px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fp-quiet);
}

/* A card that ends on its line (an account-change page with no button or link under the message). */
.fp-login-line:last-child {
    margin-bottom: 0;
}

/* A card that holds only a message (a link that cannot be used). */
.fp-login-msg {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    color: var(--fp-text);
}

.fp-login-forgot {
    margin: 0 0 20px;
    font-size: 15px;
    text-align: right;
}

.fp-login-foot {
    margin: 20px 0 0;
    font-size: 15px;
    text-align: center;
    color: var(--fp-quiet);
}

.fp-login-card a {
    color: var(--fp-accent);
}

.fp-login-card a:hover {
    color: var(--fp-accent-hover);
}

.fp-login-submit {
    width: 100%;
    font-size: 17px;
    cursor: pointer;
}

.fp-login-card a:focus-visible,
.fp-login-card button:focus-visible {
    outline: 2px solid var(--fp-focus);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .fp-login-card {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .fp-login-in {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .fp-login-card {
        padding: 24px 18px;
    }

    .fp-login-card h1 {
        font-size: 26px;
    }
}

/* ---- footer ---- */

.fp-foot {
    background: var(--fp-night-deep);
    color: var(--fp-night-muted);
}

.fp-foot-in {
    padding-top: 36px;
    padding-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.fp-foot-in img {
    height: 24px;
    width: auto;
    display: block;
}

.fp-foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
}

.fp-foot nav a {
    color: var(--fp-night-quiet);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.fp-foot nav a:hover {
    color: var(--fp-night-white);
    text-decoration: underline;
}

/* ---- phones ---- */

@media (max-width: 640px) {
    .fp-hero-in {
        padding-top: 48px;
        padding-bottom: 56px;
        gap: 40px;
    }

    .fp-hero h1 {
        font-size: 38px;
    }

    .fp-hero-text {
        font-size: 17px;
    }

    .fp-hero-copy,
    .fp-hero-shot,
    .fp-block-copy,
    .fp-block-shot,
    .fp-closing-copy {
        flex-basis: 100%;
    }

    .fp-block,
    .fp-block--rev {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .fp-features-head {
        padding-top: 56px;
        padding-bottom: 28px;
    }

    .fp-features-head h2 {
        font-size: 32px;
    }

    .fp-block h3 {
        font-size: 26px;
    }

    .fp-blocks {
        gap: 56px;
        padding-bottom: 64px;
    }

    .fp-closing-in {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .fp-closing h2 {
        font-size: 30px;
    }
}

/* ---- the dark look: the ground, and the template's form fields inside an fp page (sign-in, sign-up, the account pages) ---- */

html[data-theme="dark"] body:has(.fp) {
    background: var(--fp-ground);
    color: var(--fp-text);
}

html[data-theme="dark"] .fp .form-control,
html[data-theme="dark"] .fp .bootstrap-select > .dropdown-toggle {
    background-color: var(--fp-input);
    border-color: var(--fp-line);
    color: var(--fp-text);
}

html[data-theme="dark"] .fp .form-control::placeholder {
    color: var(--fp-faint);
}

html[data-theme="dark"] .fp .form-label-group > label {
    color: var(--fp-quiet);
}

html[data-theme="dark"] .fp .dropdown-menu {
    background-color: var(--fp-card);
    border-color: var(--fp-line);
    color: var(--fp-text);
}

html[data-theme="dark"] .fp .dropdown-menu a,
html[data-theme="dark"] .fp .dropdown-item {
    color: var(--fp-text);
}

html[data-theme="dark"] .fp .dropdown-item:hover,
html[data-theme="dark"] .fp .dropdown-item:focus,
html[data-theme="dark"] .fp .dropdown-item.active {
    background-color: var(--fp-hover);
    color: var(--fp-text);
}

html[data-theme="dark"] .fp .form-checkbox {
    color: var(--fp-body);
}

/* The sign-up page's newsletter and consent cards: the template's bg-light is !important, so this one is too. */
html[data-theme="dark"] .fp .fp-signup-consent.bg-light {
    background-color: var(--fp-tint) !important;
}
