/* UNLOCK Performance — v2 "Spectrum" Ghost theme
   True-black ground, one spectrum that always flows toward teal, IBM Plex
   for every word, Plex Mono for labels. Tangled flow behind the hero only. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2"); }

:root {
    --bg: #000000; --panel: #080C12; --card: #0C1218; --border: #1A2C40; --hairline: #101A26;
    --white: #FFFFFF; --text: #E8ECF0; --text-soft: #C0DCE8; --body: #A9B8C6; --dim: #5A7088;
    --spectrum-red: #E95668; --purple: #8056D9; --blue: #397FE8; --teal: #26C6BA; --on-red: #FFFFFF;
    --link: #26C6BA;
    --gradient-h: linear-gradient(90deg, #E95668 0%, #DA4E8D 8.3%, #C34DAE 16.7%, #A550C8 25%, #8056D9 33.3%, #7461DD 41.7%, #666CE0 50%, #5376E4 58.3%, #397FE8 66.7%, #3393DE 75%, #2DA5D3 83.3%, #29B6C7 91.7%, #26C6BA 100%);
    --gradient-v: linear-gradient(0deg, #E95668 0%, #DA4E8D 8.3%, #C34DAE 16.7%, #A550C8 25%, #8056D9 33.3%, #7461DD 41.7%, #666CE0 50%, #5376E4 58.3%, #397FE8 66.7%, #3393DE 75%, #2DA5D3 83.3%, #29B6C7 91.7%, #26C6BA 100%);
    --font-sans: var(--gh-font-body, "IBM Plex Sans"), system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: var(--gh-font-heading, "IBM Plex Sans"), system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --wrap: 1120px; --narrow: 720px; --gutter: 24px;
}
.theme-light {
    --bg: #FFFFFF; --panel: #F3F6F9; --card: #F6F8FA; --border: #C3CED8; --hairline: #E1E7EC;
    --white: #0B1016; --text: #101820; --text-soft: #28394A; --body: #3F5062; --dim: #6E8295;
    --link: #127A72;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--card); color: var(--text); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.rule { height: 1.5px; background: var(--gradient-h); }
.bar { flex: 0 0 auto; width: 5px; border-radius: 2.5px; background: var(--gradient-v); align-self: stretch; }

/* mono labels */
.meta, .eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.6; color: var(--dim); }
.eyebrow { letter-spacing: .22em; display: flex; flex-direction: column; }
.eyebrow .e1 { color: var(--text); }
.eyebrow .e2 a:hover { color: var(--text-soft); }
.eyebrow .dash { width: 34px; height: 1.5px; margin-top: 10px; background: var(--gradient-h); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.btn-cta { background: var(--spectrum-red); color: var(--on-red); }
.btn-cta:hover { transform: translateY(-1px); }
.btn-outline { position: relative; color: var(--text); background: var(--bg); border: 1.5px solid transparent; background-image: linear-gradient(var(--bg), var(--bg)), var(--gradient-h); background-origin: border-box; background-clip: padding-box, border-box; }
.btn-outline:hover { transform: translateY(-1px); }
.link-quiet { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.link-quiet:hover { color: var(--text); }

/* top bar */
.topbar { background: var(--panel); border-bottom: 1px solid var(--hairline); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.social { display: flex; align-items: center; gap: 16px; }
.social svg, .tools svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social a { color: var(--dim); }
.social a:hover { color: var(--text); }
.today { margin-left: 6px; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.top-nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.top-nav a:hover, .top-nav .top-cta { color: var(--text); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 52px; width: auto; }
.theme-dark .logo-light, .theme-light .logo-dark { display: none; }
.tools { display: flex; align-items: center; gap: 12px; }
.search { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(380px, 38vw); height: 44px; padding: 0 16px 0 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--dim); font-family: var(--font-sans); font-size: 15px; cursor: pointer; }
.search:hover { border-color: var(--dim); color: var(--text); }
.search svg { color: var(--teal); }
.scheme-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 999px; color: var(--text); cursor: pointer; }
.scheme-toggle:hover { background: var(--card); }
.site-nav ul, .foot-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 30px; }
.site-nav .nav a { position: relative; display: inline-block; padding: 12px 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.site-nav .nav a:hover, .site-nav .nav-current a { color: var(--white); }
.site-nav .nav-current a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px 2px 0 0; background: var(--gradient-h); }
.foot-nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); padding: 6px 0; display: inline-block; }
.foot-nav a:hover { color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 6px 0; }

/* brand hero card */
.hero { padding-top: 40px; }
.hero-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: end; padding: clamp(28px, 4.5vw, 56px); padding-top: clamp(90px, 11vw, 150px); border-radius: 12px; border: 1px solid var(--border); background: var(--bg); }
.hero-card .flow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; pointer-events: none; }
.theme-dark .flow-light, .theme-light .flow-dark { display: none; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 45%, transparent 80%); }
.hero-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: var(--gradient-h); }
.hero-copy, .hero-stats { position: relative; z-index: 2; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.display { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; max-width: 13ch; text-wrap: balance; }
.hero-tag { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--text-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.hero-more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.hero-more:hover { color: var(--teal); }
.hero-stats { margin: 0; padding: 6px 22px 18px; border-radius: 10px; border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.hero-stats dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero-stats dd { margin: 0; font-size: 30px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-stats .stat-date { font-size: 17px; font-weight: 600; }
.hero-line { margin: 16px 0 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) {
    .hero-card { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
    .hero { padding-top: 24px; }
    .hero-stats dd { font-size: 24px; }
}

/* tag pill */
.pill { position: absolute; left: 18px; top: 18px; z-index: 2; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #E8ECF0; padding: 5px 13px; border-radius: 999px; border: 1.5px solid transparent; background-image: linear-gradient(#05080C, #05080C), var(--gradient-h); background-origin: border-box; background-clip: padding-box, border-box; }

/* featured post */
.spotlight-wrap { padding-top: 24px; }
.spotlight { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 42vw, 520px); border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.spotlight-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.spotlight:hover .spotlight-img { transform: scale(1.02); }
.spotlight.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.88) 100%); }
.spotlight-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 4vw, 44px); max-width: 860px; }
.spotlight-title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.spotlight-excerpt { font-size: 18px; line-height: 1.5; color: var(--text-soft); }
.spotlight.has-image .spotlight-title { color: #FFFFFF; }
.spotlight.has-image .spotlight-excerpt { color: #D6E0E8; }
.spotlight.has-image .meta { color: #A9B8C6; }

/* sections + feed */
.section { padding-top: 48px; padding-bottom: 80px; }
.section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.section-head .bar { height: 22px; align-self: center; }
.section-title { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.section-head .meta { margin-left: auto; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feed-home { grid-template-columns: repeat(4, 1fr); }
.feed-home .card:nth-child(-n+2) { grid-column: span 2; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--dim); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-image { position: relative; aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 18px; flex: 1 1 auto; }
.card-title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--text); text-wrap: balance; }
.card-foot { margin-top: auto; }
/* lead cards: text over the image, as on the featured post */
.feed-home .card:nth-child(-n+2) { position: relative; min-height: 340px; }
.feed-home .card:nth-child(-n+2) .card-image { position: absolute; inset: 0; aspect-ratio: auto; }
.feed-home .card:nth-child(-n+2).has-image .card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.9) 100%); }
.feed-home .card:nth-child(-n+2) .card-body { position: relative; z-index: 2; justify-content: flex-end; padding: 26px; }
.feed-home .card:nth-child(-n+2) .card-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.feed-home .card:nth-child(-n+2).has-image .card-title { color: #FFFFFF; }
.feed-home .card:nth-child(-n+2).has-image .meta { color: #A9B8C6; }
.feed-home .card:nth-child(-n+2) .card-foot { margin-top: 0; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pagination a { color: var(--text); }
.pagination a:hover { color: var(--teal); }
.pagination .page-number { margin: 0 auto; }

/* page + post heads */
.page-head { padding-top: 64px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 18px; }
.title-block { display: flex; gap: 16px; }
.page-title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.5; color: var(--text-soft); max-width: 60ch; }
.byline a { color: var(--text-soft); }
.feature { margin: 36px auto 0; }
.feature img { width: 100%; border-radius: 8px; border: 1px solid var(--border); }
figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--dim); text-align: center; margin-top: 10px; }

/* content */
.gh-canvas { display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 200px) [main-start] min(var(--narrow), calc(100% - 2 * var(--gutter))) [main-end] minmax(0, 200px) [wide-end] minmax(var(--gutter), 1fr) [full-end]; padding: 40px 0 24px; }
.gh-canvas > * { grid-column: main-start / main-end; }
.kg-width-wide { grid-column: wide-start / wide-end; }
.kg-width-full { grid-column: full-start / full-end; }
.kg-width-full img { width: 100%; }
.gh-content { color: var(--body); font-size: 18px; line-height: 1.7; }
.gh-content > * + * { margin-top: 1.35em; }
.gh-content h2, .gh-content h3, .gh-content h4 { margin-top: 2em; color: var(--white); }
.gh-content h2 { font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.gh-content h3 { font-size: 23px; font-weight: 600; }
.gh-content h4 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.gh-content h2 + *, .gh-content h3 + *, .gh-content h4 + * { margin-top: .7em; }
.gh-content a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--white); }
.gh-content strong { color: var(--text); font-weight: 600; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .45em; }
.gh-content li::marker { color: var(--dim); font-family: var(--font-mono); font-size: .85em; }
.gh-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; position: relative; color: var(--text-soft); font-size: 20px; line-height: 1.55; }
.gh-content blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--gradient-v); }
.gh-content hr { border: 0; height: 1.5px; background: var(--gradient-h); margin: 2.6em 0; }
.gh-content code { font-family: var(--font-mono); font-size: .86em; background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: .12em .4em; color: var(--text-soft); }
.gh-content pre { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.gh-content pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.gh-content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.gh-content th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.gh-content td { padding: 11px 14px; border-bottom: 1px solid var(--hairline); color: var(--text); }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content .kg-image { margin: 0 auto; border-radius: 6px; }
.gh-content .kg-callout-card { border: 1px solid var(--border); background: var(--card) !important; color: var(--text); border-radius: 8px; }
.gh-content .kg-bookmark-container { background: var(--card); border: 1px solid var(--border) !important; border-radius: 8px; color: var(--text) !important; text-decoration: none; }
.gh-content .kg-bookmark-title { color: var(--text); }
.gh-content .kg-bookmark-description, .gh-content .kg-bookmark-metadata { color: var(--body); }
.gh-content .kg-toggle-card { background: var(--card); border: 1px solid var(--border); box-shadow: none; }
.gh-content .kg-toggle-heading-text { color: var(--text); }
.gh-content .kg-toggle-card-icon svg { color: var(--dim); }
.gh-content .kg-btn { border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* post footer */
.post-foot { padding-top: 16px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); }
.chip:hover { border-color: var(--teal); color: var(--white); }
.subscribe { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.subscribe h2 { font-size: 22px; font-weight: 600; margin-top: 8px; }
.subscribe .btn-outline { background-image: linear-gradient(var(--card), var(--card)), var(--gradient-h); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 40px; padding-bottom: 80px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.pn-next { text-align: right; grid-column: 2; }
.pn-title { color: var(--text); font-weight: 600; line-height: 1.3; }
.pn:hover .pn-title { color: var(--white); }
.comments { padding-bottom: 80px; }
.page .gh-canvas { padding-bottom: 80px; }

/* footer */
.site-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 36px; padding-bottom: 44px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 64px; height: auto; }
.site-foot .meta { flex-basis: 100%; font-size: 10px; }

/* errors */
.hero-error .hero-in { min-height: 70vh; justify-content: center; padding-top: 80px; }

@media (max-width: 1000px) {
    .feed-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .today, .top-nav ul { display: none; }
    .masthead { height: 68px; }
    .brand img { height: 42px; }
    .search { width: 44px; padding: 0; justify-content: center; }
    .search span { display: none; }
    .nav-toggle { display: block; }
    .site-nav { display: none; border-top: 1px solid var(--border); padding: 10px 0 14px; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; }
    .site-nav .nav a { padding: 10px 0; }
    .site-nav .nav-current a::after { right: auto; width: 34px; }
    .feed-home { grid-template-columns: 1fr; }
    .feed-home .card:nth-child(-n+2) { grid-column: auto; min-height: 280px; }
    .section-head { flex-wrap: wrap; }
    .section-head .meta { margin-left: 0; flex-basis: 100%; }
    .gh-content { font-size: 17px; }
    .gh-content h2 { font-size: 25px; }
    .prev-next { grid-template-columns: 1fr; }
    .pn-next { grid-column: 1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.view-all { margin-left: auto; color: var(--text-soft); }
.view-all:hover { color: var(--teal); }

/* client CTA */
.head-cta { height: 44px; }
.home-template .head-cta { color: var(--text); background: var(--bg); border: 1.5px solid var(--spectrum-red); }
.btn-lg { height: 48px; padding: 0 26px; font-size: 13px; }
.nav-cta { display: none; }
.subscribe-text { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--body); max-width: 46ch; }
.subscribe-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 0 0 auto; }
@media (max-width: 760px) {
    .head-cta { display: none; }
    .nav-cta { display: inline-flex; margin-top: 12px; }
}

/* Ghost's members-only prompt, restyled to the brand */
.gh-post-upgrade-cta { margin-top: 32px; }
.gh-post-upgrade-cta-content { background: var(--card) !important; border: 1px solid var(--border); border-radius: 8px; padding: 40px 28px; text-align: center; color: var(--body); font-family: var(--font-sans); }
.gh-post-upgrade-cta-content h2 { font-size: 24px; font-weight: 700; color: var(--white); margin: 0 0 20px; }
.gh-post-upgrade-cta-content a.gh-btn { display: inline-flex !important; align-items: center; height: 44px !important; padding: 0 24px !important; border-radius: 999px !important; line-height: 1 !important; background: var(--spectrum-red) !important; color: var(--on-red) !important; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.gh-post-upgrade-cta-content p { margin: 18px 0 0; font-size: 14px; color: var(--body); }
.gh-post-upgrade-cta-content p a { color: var(--teal); text-decoration: underline; }

/* top bar links share one baseline */
.top-nav, .top-nav ul { align-items: center; }
.top-nav li { display: flex; align-items: center; margin: 0; padding: 0; }
.top-nav a { display: block; line-height: 1; padding: 4px 0; }
.empty-note { grid-column: 1 / -1; padding: 24px 0; }
