@font-face {
    font-family: GLD Poppins;
    src: url("../fonts/poppins-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: GLD Poppins;
    src: url("../fonts/poppins-latin-500.woff2") format("woff2");
    font-weight: 500 700;
    font-display: swap;
}

.gld-pilot,
.gld-footer-shell {
    --gld-ink: #201b17;
    --gld-paper: #fffdfa;
    --gld-line: #d5c9ba;
    --gld-navy: #172733;
    --gld-gold: #f3d58c;
    --gld-gutter: clamp(18px, 4.5vw, 64px);
    --gld-type: "GLD Poppins", sans-serif;
    --font-family-one: var(--gld-type);
    --font-family-two: var(--gld-type);
    position: relative;
    isolation: isolate;
    font-family: var(--gld-type);
}

:is(.gld-pilot, .gld-footer-shell) .gld-container {
    box-sizing: border-box;
    width: min(1320px, calc(100% - 2 * var(--gld-gutter)));
    margin-inline: auto;
}

.gld-pilot [hidden] { display: none !important; }
.gld-pilot :focus-visible { outline: 2px solid #276388; outline-offset: 3px; }

.gld-masthead {
    position: relative;
    z-index: 1200;
    border-bottom: 1px solid var(--gld-line);
    background: var(--gld-paper);
    color: var(--gld-ink);
    font: 400 14px/1.5 var(--gld-type);
}

.gld-masthead-inner {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
}

.gld-wordmark { flex: 0 0 auto; }
.gld-wordmark img { display: block; width: 360px; height: auto; }

.gld-skip {
    position: absolute;
    inset: 6px auto auto 6px;
    padding: 10px;
    background: var(--gld-paper);
    transform: translateY(-150%);
}
.gld-skip:focus { transform: none; }

.gld-nav {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    margin-inline-start: clamp(8px, 2vw, 28px);
}

.gld-nav :is(ul, li) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gld-nav-list, .gld-nav-utilities {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.gld-nav-list { gap: clamp(6px, 1.25vw, 18px); }
.gld-nav-list > li { position: relative; flex: 0 0 auto; }
.gld-nav-utilities { gap: 10px; }

.gld-masthead :is(a,button,.gld-nav-measured) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.gld-masthead a:hover,
.gld-masthead button:hover,
.gld-masthead [aria-current] { text-decoration: underline; }

.gld-masthead :is(.gld-disclosure,.gld-nav-utilities button) { padding-inline: 4px; }
.gld-masthead .gld-disclosure { gap: 7px; }
.gld-chevron {
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
[aria-expanded="true"] > .gld-chevron { transform: translateY(2px) rotate(225deg); }

.gld-nav .gld-panel {
    position: absolute;
    inset: 100% auto auto -10px;
    box-sizing: border-box;
    min-width: 256px;
    padding: 7px 10px;
    border: 1px solid var(--gld-line);
    border-radius: 6px;
    background: var(--gld-paper);
    box-shadow: 0 10px 24px #281a0d1c;
}
.gld-panel a { display: flex; padding-inline: 6px; }
.gld-masthead .gld-more-toggle { min-width: 44px; justify-content: center; }
.gld-more-toggle span { font-size: 24px; line-height: 1; }
.gld-nav #gld-more-menu {
    inset-inline: auto 0;
    max-height: 72dvh;
    overflow: auto;
}
#gld-more-menu .gld-disclosure { width: 100%; justify-content: space-between; }
#gld-more-menu a { white-space: normal; }
#gld-more-menu .gld-panel {
    position: static;
    min-width: 0;
    margin-inline-start: 6px;
    padding: 0 0 0 10px;
    border: 0;
    border-inline-start: 1px solid var(--gld-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gld-nav .gld-nav-measure {
    display: flex;
    position: absolute;
    inset: 0 auto auto 0;
    width: 0;
    height: 0;
    overflow: clip;
    visibility: hidden;
    pointer-events: none;
}
.gld-nav-measure > li { flex: 0 0 auto; }

.gld-masthead .gld-menu-toggle {
    display: none;
    gap: 7px;
    padding-inline: 11px;
    border: 1px solid #aa9b8a;
    border-radius: 6px;
}
.gld-menu-icon { display: grid; width: 12px; gap: 3px; }
.gld-menu-icon::before, .gld-menu-icon::after { content: ""; border-top: 1.5px solid currentColor; }

@media (max-width: 1199.98px) {
    .gld-wordmark img { width: min(240px, calc(100vw - 118px)); }
    .gld-masthead-inner { min-height: 86px; }
    .gld-nav { margin-inline-start: 0; }
}
@media (max-width: 1024px) {
    .gld-masthead .gld-menu-toggle { display: inline-flex; }
    .gld-nav {
        position: absolute;
        inset: calc(100% + 1px) 0 auto auto;
        display: block;
        box-sizing: border-box;
        width: min(352px, 100%);
        max-height: 72dvh;
        padding: 11px 16px;
        overflow: auto;
        border: 1px solid var(--gld-line);
        border-radius: 0 0 8px 8px;
        background: var(--gld-paper);
        box-shadow: 0 9px 18px #241b1433;
    }
    .gld-nav:not([data-menu-open]) { display: none; }
    .gld-nav-list, .gld-nav-utilities { display: block; }
    .gld-nav-list > li + li, .gld-nav-utilities { border-top: 1px solid var(--gld-line); }
    .gld-nav .gld-disclosure { width: 100%; justify-content: space-between; }
    .gld-nav .gld-panel {
        position: static;
        min-width: 0;
        padding: 0 0 4px 13px;
        border: 0;
        border-inline-start: 2px solid var(--gld-line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .gld-nav .gld-more-toggle, .gld-nav .gld-nav-measure { display: none; }
    .gld-nav #gld-more-menu { max-height: none; padding: 0; overflow: visible; border: 0; }
    #gld-more-menu a { padding-inline: 0; }
    #gld-more-menu > li + li { border-top: 1px solid var(--gld-line); }
}
@media (max-width: 650px) {
    .gld-masthead-inner { min-height: 77px; }
}

.gld-pilot[data-masthead="image-bleed"] > .global-cover {
    height: clamp(410px, 56vw, 520px);
    opacity: .35;
    pointer-events: none;
}
.gld-pilot[data-masthead="image-bleed"] .gld-masthead {
    background: transparent;
    border-bottom-color: transparent;
}
@media (max-width: 599px) {
    .gld-pilot[data-masthead="image-bleed"] > .global-cover {
        height: clamp(300px, 90vw, 360px);
    }
}
@media (forced-colors: active) {
    .gld-pilot[data-masthead="image-bleed"] > .global-cover { display: none; }
}

:is(.gld-pilot, .gld-footer-shell) .gld-site-footer {
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--gld-navy);
    color: #fbf7ec;
    font: 400 14px/1.65 var(--gld-type);
}

.gld-footer-inner {
    display: grid;
    grid-template-columns: minmax(208px,.8fr) 1fr;
    gap: 22px 48px;
    align-items: start;
    padding-block: 32px;
}
.gld-footer-logo { display: inline-block; }
.gld-footer-logo img { display: block; width: 190px; height: auto; }
:is(.gld-pilot, .gld-footer-shell) .gld-site-footer .gld-footer-desc { max-width: 50ch; margin: 12px 0 0; color: #e6e3d6; text-wrap: pretty; }
.gld-footer-groups { display: flex; flex-wrap: wrap; gap: 10px 26px; }
:is(.gld-pilot, .gld-footer-shell) .gld-site-footer .gld-footer-groups h2 {
    margin: 0;
    color: var(--gld-gold);
    font: 500 13px/1.4 var(--gld-type);
    letter-spacing: normal;
}
.gld-footer-links { display: flex; align-items: start; flex-wrap: wrap; gap: 0 14px; padding: 0; margin: 0; list-style: none; }
.gld-footer-links li { margin: 0; }
:is(.gld-pilot, .gld-footer-shell) .gld-site-footer .gld-footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: #fbf7ec; text-decoration: underline; }
:is(.gld-pilot, .gld-footer-shell) .gld-site-footer :focus-visible { outline: 2px solid var(--gld-gold); outline-offset: 3px; }

@media (max-width: 650px) {
    .gld-footer-inner { display: block; }
    .gld-footer-groups { margin-top: 19px; }
}

.gld-support-story {
    padding: 1em;
    background: #ececec;
    color: #292a2e;
    text-align: center;
    font: 400 16px/1.55 var(--gld-type);
}
:is(.gld-pilot, .gld-footer-shell) .gld-site-footer + .gld-support-story p { margin: 0 0 .5em; }
.gld-support-story a { color: #195ba9; }
.gld-support-story span { display: block; margin-top: .2em; color: #555; }
body:has(.gld-pilot, .gld-footer-shell) > div:has(> p):has(> a[href="https://www.digest.andymarshall.co/an-anxiety-of-memberships"]),
body:has(.gld-pilot, .gld-footer-shell) > div:has(> p):has(> a[href="https://www.digest.andymarshall.co/an-anxiety-of-memberships/"]) {
    display: none;
}

.gld-pilot #gld-home-hero .gld-title,
.gld-pilot #gld-home-hero :is(.gld-intro,.gld-smallprint,.gld-form-slot),
.gld-pilot #archive-lens-gateway .alg-title,
.gld-pilot #gld-lens-ribbon-global h2 {
    font-family: var(--gld-type);
}
.gld-pilot #gld-home-hero .gld-title { font-size: clamp(40px,4.45vw,54px); }
.gld-pilot :is(.gld-title-end, .loci-title-end) { display: inline-block; white-space: nowrap; }
.gld-pilot :is(.gld-title-end img, .loci-title-end .loci-inline-mark) {
    display: inline-block;
    width: auto;
    height: .72em;
    height: 1cap;
    max-width: none;
    object-fit: contain;
    margin-inline-start: .14em;
    vertical-align: -.045em;
}
@media (max-width: 640px) {
    .gld-pilot #gld-home-hero .gld-title { font-size: clamp(38px,10.9vw,51px); }
}

@media (max-width: 380px) {
    .gld-pilot #gld-lens-ribbon-global .pc-lens-heading { flex-wrap: wrap; gap: 4px 14px; }
}

.gld-issue-signup-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 5px;
    background: #e8ae31;
    color: #262328;
}
.gld-pilot .kg-signup-card:has(#gld-issue-signup) :is(.kg-signup-card-heading,.kg-signup-card-subheading,.kg-signup-card-disclaimer,.kg-signup-card-success,.kg-signup-card-error) { color: #262328 !important; }
#gld-issue-signup .gld-signup-email-label { display: block; margin-bottom: 8px; color: #262328; }
#gld-issue-signup { scroll-margin-top: 24px; }
