/* Older inner pages on Design System 4 (Oct 19, 2026).
 *
 * The guides, resources, support, gift, sharing, the self-assessment and
 * the research page moved from the dark field onto the DS4 chrome with the
 * smallest safe change: their body text and markup stay, their own dark
 * <style> blocks were rewritten light, here, scoped by a body class
 * (lg-guide, lg-resources, lg-support, lg-gift, lg-sharing, lg-assessment,
 * lg-sources). The policy pages (made by the app repo's
 * scripts/build-legal-pages.mjs, which still loads /doc.css) are made light
 * here too, under body.ls-page .doc-main.
 *
 * DS4 tokens only (ds.css). No keyframes, no reveals, no hover lifts, no
 * glow. Colour means state. Glass stays off these pages: cards are solid.
 */

/* ------------------------------------------------------------ shared */
.lg-page main { position: relative; }
.lg-shell { position: relative; }
.lg-page a[href^="tel:"] { white-space: nowrap; }
/* A light hero for every inner page: DS4 label, heading and lead. */
.lg-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4.5vw, 56px); }
.lg-hero .ls-label { display: block; margin-bottom: 16px; }
.lg-hero .ls-h1 { font-size: clamp(40px, 5vw, 68px); max-width: 18ch; }
.lg-hero.ls-center .ls-h1 { margin-left: auto; margin-right: auto; }
.lg-hero .ls-lead { margin-top: 20px; }
.lg-hero.ls-center .ls-lead { margin-left: auto; margin-right: auto; }
.lg-hero .ls-ctas { margin-top: 28px; }
.lg-narrow { max-width: calc(760px + var(--gutter) * 2); }
.lg-mid { max-width: calc(860px + var(--gutter) * 2); }
.lg-block { padding-bottom: clamp(36px, 4.5vw, 56px); }
.lg-block:last-child { padding-bottom: var(--section); }
.lg-label { display: block; margin: 0 0 14px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-fine { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.lg-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.lg-help {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(166,71,54, .07); box-shadow: inset 0 0 0 1px rgba(166,71,54, .22);
  font-size: 15px; line-height: 1.6; color: var(--ink);
}
.lg-help a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .35); text-underline-offset: 3px; }
.lg-uline { text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lg-uline:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------ guides (lg-guide) */
.lg-guide .g-main { position: relative; z-index: 1; max-width: calc(680px + var(--gutter) * 2); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) var(--section); }
.lg-guide .g-back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 18px; font: 500 14px/1 var(--sans); color: var(--ink-3); text-decoration: none; }
.lg-guide .g-back:hover { color: var(--ink); }
.lg-guide .g-h1 { margin: 0 0 22px; font: 300 clamp(38px, 4.6vw, 58px)/1.04 var(--serif); letter-spacing: -.026em; text-wrap: balance; }
.lg-guide .g-h1 em { font-weight: 300; }
.lg-guide .g-lede { margin: 0 0 48px; max-width: 58ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.lg-guide .g-h2, .lg-guide .gf-h2 { margin: 0 0 14px; font: 400 clamp(24px, 2.2vw, 28px)/1.2 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.lg-guide .gf-h2 { margin-top: 48px; }
.lg-guide .g-p, .lg-guide .gf-p { margin: 0 0 14px; max-width: 62ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.lg-guide .g-p strong, .lg-guide .gf-p strong, .lg-guide .gf-ul strong { color: var(--ink); font-weight: 600; }
.lg-guide .g-p.end { margin-bottom: 48px; }
.lg-guide .g-p.end-lg { margin-bottom: 52px; }
.lg-guide .g-p a:not(.g-ref), .lg-guide .gf-p a, .lg-guide .gf-ul a, .lg-guide .g-srcs a, .lg-guide .g-note a {
  color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .35); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.lg-guide .g-p a:not(.g-ref):hover, .lg-guide .gf-p a:hover, .lg-guide .g-srcs a:hover { text-decoration-color: currentColor; }
.lg-guide .g-ref { font: 500 12px/1 var(--sans); color: var(--ink-3); text-decoration: none; white-space: nowrap; vertical-align: 1px; }
.lg-guide .g-ref:hover { color: var(--ink); }
.lg-guide .gf-ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.lg-guide .gf-ul li { max-width: 60ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

/* The prompt card in every guide: one sage pill, the same words as everywhere. */
.lg-guide .g-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin: 8px 0 52px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.lg-guide .g-cta > div { flex: 1; min-width: 220px; }
.lg-guide .g-cta p:first-child { margin: 0 0 6px; font: 400 22px/1.25 var(--serif); letter-spacing: -.01em; }
.lg-guide .g-cta p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 480px) { .lg-guide .g-cta .ls-btn { width: 100%; } }

.lg-guide .g-label { margin: 0 0 14px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-guide .g-srcs { margin: 0 0 40px; padding-top: 22px; border-top: 1px solid var(--hair); }
.lg-guide .g-srcs p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); scroll-margin-top: calc(var(--nav-h) + 24px); overflow-wrap: anywhere; }
.lg-guide .g-srcs p:last-child { margin: 0; }
.lg-guide .g-srcs p:target { color: var(--ink); }
.lg-guide .g-srcs .stack { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.lg-guide .g-srcs .stack p { margin: 0; }
.lg-guide .g-note { margin: 0 0 40px; max-width: 60ch; font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.lg-guide .g-more { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; border-top: 1px solid var(--hair); }
.lg-guide .g-more a { display: inline-flex; align-items: center; min-height: 40px; align-self: flex-start; font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .3); text-underline-offset: 4px; }
.lg-guide .g-more a:hover { text-decoration-color: currentColor; }
.lg-guide .g-more a.all { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); text-decoration: none; }
.lg-guide .g-more a.all:hover { color: var(--ink); }

/* Figures: coded, still, on a solid card. */
.lg-guide .g-fig { margin: 22px 0 26px; }
.lg-guide .g-fig > div { border-radius: var(--radius); padding: 22px 22px 16px; background: var(--surface); box-shadow: var(--shadow-card); }
.lg-guide .g-fig figcaption, .lg-guide .g-fig > p { margin: 10px 0 0; font: 400 13px/1.5 var(--sans); letter-spacing: 0; color: var(--ink-3); }
.lg-guide .g-two, .lg-guide .g-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 0 0 48px; }
.lg-guide .g-two > div, .lg-guide .g-vs > div { border-radius: var(--radius); padding: 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.lg-guide .g-two p:first-child, .lg-guide .g-vs p:first-child { margin: 0 0 8px; font: 400 20px/1.25 var(--serif); color: var(--ink); }
.lg-guide .g-two p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-guide .g-vs .them { background: var(--well); box-shadow: none; }
.lg-guide .g-vs .them p:first-child { color: var(--ink-2); }
.lg-guide .g-vs .us { box-shadow: inset 0 0 0 1.5px rgba(16,117,80, .5), var(--shadow-card); }
.lg-guide .g-vs div > div { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lg-guide .g-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin: 0 0 44px; }
.lg-guide .g-three > div { border-radius: var(--radius); padding: 18px 20px; background: var(--surface); box-shadow: var(--shadow-card); }
.lg-guide .g-three p:first-child { margin: 0 0 8px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-guide .g-three p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-guide .g-signs { margin: 0 0 14px; border-radius: var(--radius); padding: 20px 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.lg-guide .g-signs > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px 24px; }
.lg-guide .g-signs p { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lg-guide .g-signs p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); flex: none; transform: translateY(-2px); }

/* ------------------------------------------------------------ resources (lg-resources) */
.lg-resources .rg { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 24px 4px; border-top: 1px solid var(--hair); color: var(--ink); text-decoration: none; }
.lg-resources .rg:hover .rg-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(15, 14, 12, .35); }
.lg-resources .rg-n { flex: none; width: 3.2em; font: 400 14px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.lg-resources .rg-b { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 220px; }
.lg-resources .rg-t { font: 400 clamp(21px, 2.2vw, 26px)/1.2 var(--serif); letter-spacing: -.01em; }
.lg-resources .rg-d { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-resources .rg-i { flex: none; align-self: center; width: 128px; height: 76px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.lg-resources .rg-more { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.lg-resources .rg-more > summary { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; min-height: 72px; padding: 22px 4px; cursor: pointer; list-style: none; }
.lg-resources .rg-more > summary::-webkit-details-marker { display: none; }
.lg-resources .rg-more > summary:hover .rg-more-t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lg-resources .rg-more[open] > summary { border-bottom: 1px solid var(--hair); }
.lg-resources .rg-more[open] > summary .rg-more-open { display: none; }
.lg-resources .rg-more:not([open]) > summary .rg-more-close { display: none; }
.lg-resources .rg-more .rg:first-of-type { border-top: 0; }
.lg-resources .rg-more .rg:last-child { border-bottom: 0 !important; }
.lg-resources .rc { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; }
.lg-resources .rc > span:first-child { font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; }
.lg-resources .rc-d { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-resources .rc-go { margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.lg-resources a.rc:hover .rc-go { text-decoration: underline; text-underline-offset: 4px; }
.lg-resources .rc a { color: var(--ink) !important; }
/* Help right now: the one card that must stand out, in plain ink on white. */
.lg-resources .rh { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 18px 32px; margin-top: 16px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--shadow-card); color: var(--ink); }
.lg-resources .rh p { margin: 0; }
.lg-resources .rh-k { font: 400 26px/1.1 var(--serif); letter-spacing: -.01em; }
.lg-resources .rh-t { margin-top: 8px !important; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-resources .rh-num { font: 300 clamp(26px, 3vw, 34px)/1.25 var(--serif); letter-spacing: -.015em; font-variant-numeric: lining-nums tabular-nums; }
.lg-resources .rh-num a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(15, 14, 12, .3); }
.lg-resources .rh-num span { font-size: .6em; color: var(--ink-3); }
.lg-resources .rh-sub { margin-top: 6px !important; font-size: 14.5px; color: var(--ink-2); }
.lg-resources .rh-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px !important; font-size: 14.5px; }
.lg-resources .rh-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .3); text-underline-offset: 3px; }
.lg-resources .rh-988 { margin-top: 12px !important; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 760px) { .lg-resources .rh { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lg-resources .rg-i { display: none; } .lg-resources .rg-n { width: auto; } }
.lg-resources .rc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.lg-resources .rc-links { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.lg-resources .rc-links a { display: inline-flex; align-items: center; min-height: 36px; align-self: flex-start; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 14, 12, .35); }

/* ------------------------------------------------------------ support (lg-support) */
.lg-support .sp-mail { font-family: var(--sans); }
.lg-support .sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 0; }
.lg-support .sp-row { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.lg-support .sp-row dt { margin: 0; font: 400 21px/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.lg-support .sp-row dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-support .sp-ic { box-sizing: content-box; padding: 9px; border-radius: var(--radius-sm); background: var(--well); color: var(--ink-2); }
.lg-support .sp-h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 38px); }

/* ------------------------------------------------------------ gift (lg-gift)
 * The gift page's own rules (gift.css stays for /redeem, which is copied from
 * the app repo and still dark), rewritten light. Hooks for gift.js unchanged. */
.lg-gift main [hidden] { display: none !important; }
.lg-gift .gf-h1 em { font-style: italic; }
.lg-gift .gf-h2 { margin: 0 0 16px; font: 400 clamp(26px, 2.6vw, 32px)/1.15 var(--serif); letter-spacing: -.015em; }
.lg-gift .gf-wrap { max-width: calc(1100px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
.lg-gift .gf-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.lg-gift .gf-single:last-of-type { padding-bottom: var(--section); }
.lg-gift .gf-card, .lg-gift .gf-steps, .lg-gift .gf-gift { position: relative; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 36px); background: var(--surface); box-shadow: var(--shadow-card); }
.lg-gift .gf-label { margin: 0 0 14px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-gift .gf-plans { display: grid; gap: 10px; margin-bottom: 12px; }
.lg-gift .gf-plan { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .14); cursor: pointer; }
.lg-gift .gf-plan:hover { box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .4); }
.lg-gift .gf-plan input { accent-color: var(--sage); width: 20px; height: 20px; flex: none; margin: 0; }
.lg-gift .gf-plan span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lg-gift .gf-plan b { font-weight: 600; font-size: 16px; }
.lg-gift .gf-plan small { font-size: 13.5px; color: var(--ink-3); }
.lg-gift .gf-plan em { font-style: normal; font: 300 28px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.lg-gift .gf-plan:has(input:checked) { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 2px var(--ink); }
.lg-gift .gf-field { display: grid; gap: 7px; margin: 18px 0 0; font-size: 14.5px; font-weight: 500; }
.lg-gift .gf-field span { color: var(--ink-3); font-weight: 400; font-size: 13.5px; }
.lg-gift .gf-field input { display: block; width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .28); color: var(--ink); font: 400 16px/1.2 var(--sans); }
.lg-gift .gf-field input:hover { box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .5); }
.lg-gift .gf-field input:focus { outline: none; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ink); }
.lg-gift .gf-check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.lg-gift .gf-check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--sage); }
.lg-gift .gf-check a, .lg-gift .gf-note a, .lg-gift .gf-help a, .lg-gift .gf-tips a, .lg-gift .gf-faq a, .lg-gift .gf-safety a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .35); text-underline-offset: 3px; }
.lg-gift .gf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; margin-top: 20px; border: 0; border-radius: 999px; background: var(--sage); color: #FFFFFF; font: 700 19px/1 var(--sans); letter-spacing: -.012em; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px -14px rgba(46, 70, 52, .7); }
.lg-gift .gf-btn:hover { background: #557760; }
.lg-gift .gf-form-btn { width: 100%; }
.lg-gift .gf-btn:disabled { opacity: .6; cursor: default; }
.lg-gift .gf-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .5); }
.lg-gift .gf-quiet:hover { background: rgba(255, 255, 255, .35); }
.lg-gift .gf-status { min-height: 1.4em; margin: 12px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.lg-gift .gf-fine { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.lg-gift .gf-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.lg-gift .gf-help { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.lg-gift .gf-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lg-gift .gf-steps b, .lg-gift .gf-tips b { color: var(--ink); font-weight: 600; }
.lg-gift .gf-tips { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.lg-gift .gf-faq { border-top: 1px solid var(--hair); }
.lg-gift .gf-faq details { border-bottom: 1px solid var(--hair); }
.lg-gift .gf-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; font: 400 clamp(18px, 1.6vw, 21px)/1.3 var(--serif); letter-spacing: -.006em; }
.lg-gift .gf-faq summary::-webkit-details-marker { display: none; }
.lg-gift .gf-faq summary::after { content: ''; flex: none; width: 14px; height: 14px; margin-right: 4px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; }
.lg-gift .gf-faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat; }
.lg-gift .gf-faq p { margin: 0; padding: 0 40px 20px 0; max-width: 62ch; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.lg-gift .gf-safety { margin: 22px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.lg-gift .gf-wait { max-width: 760px; margin: 0 auto 40px; padding: 0 var(--gutter); font-size: 16px; color: var(--ink-2); }
.lg-gift .gf-gift { text-align: left; background: var(--surface-2); }
.lg-gift .gf-gift-len { margin: 0; font: 300 clamp(34px, 5vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; }
.lg-gift .gf-gift-from { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.lg-gift .gf-gift-code { margin: 22px 0 0; font: 400 clamp(26px, 5vw, 38px)/1.1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .12em; color: var(--ink); }
.lg-gift .gf-gift-how { margin: 18px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-gift .gf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lg-gift .gf-actions .gf-btn { margin-top: 16px; }
.lg-gift .gf-card.is-closed .gf-plans, .lg-gift .gf-card.is-closed .gf-field, .lg-gift .gf-card.is-closed .gf-check { opacity: .55; }
@media (max-width: 820px) { .lg-gift .gf-wrap { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .lg-gift body * { visibility: hidden; }
  .lg-gift .gf-gift, .lg-gift .gf-gift * { visibility: visible; }
  .lg-gift .gf-gift { position: fixed; left: 0; top: 0; width: 100%; box-shadow: none; border: 1px solid #999; background: #fff !important; color: #000; }
}

/* ------------------------------------------------------------ sharing (lg-sharing)
 * Hooks for sharing.js and the level demo are unchanged. */
.lg-sharing #sh-err[hidden], .lg-sharing #sh-page[hidden] { display: none; }
.lg-sharing .sh-entry { padding: clamp(24px, 3.4vw, 36px); text-align: center; }
.lg-sharing .sh-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.lg-sharing #sh-code, .lg-sharing #sh-email {
  min-height: 54px; padding: 0 18px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .72); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .28); outline: none;
}
.lg-sharing #sh-code { width: 200px; text-align: center; font: 500 21px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .2em; }
.lg-sharing #sh-email { width: 260px; text-align: left; font: 400 16px/1.2 var(--sans); }
.lg-sharing #sh-code:hover, .lg-sharing #sh-email:hover { box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .5); }
.lg-sharing #sh-code:focus, .lg-sharing #sh-email:focus { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ink); }
.lg-sharing #sh-code:focus-visible, .lg-sharing #sh-email:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lg-sharing .sh-under { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }
.lg-sharing .sh-under a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 14, 12, .35); }
.lg-sharing .sh-errbox { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--well); }
.lg-sharing .sh-errbox p:first-child { margin: 0 0 5px; font: 400 20px/1.25 var(--serif); color: var(--ink); }
.lg-sharing .sh-errbox p:last-child { margin: 0 auto; max-width: 40ch; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.lg-sharing .sh-assure { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; border-top: 1px solid var(--hair); }
.lg-sharing .sh-assure:last-child { border-bottom: 1px solid var(--hair); }
.lg-sharing .sh-assure svg { stroke: var(--sage); }
.lg-sharing .sh-assure span { flex: 1; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lg-sharing .sh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lg-sharing .sh-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lg-sharing .sh-steps b { font: 400 21px/1.25 var(--serif); color: var(--ink); }
.lg-sharing .sh-steps code { font: 500 13.5px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em; color: var(--ink); }
.lg-sharing .sh-sn { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: var(--ink); color: var(--bone); font: 500 14px/1 var(--sans); }
.lg-sharing .sh-steps li:nth-child(3) .sh-sn { background: var(--sage); color: #FFFFFF; }
.lg-sharing .sh-line { display: none; }
.lg-sharing .sh-mono { font: 400 13px/1.45 var(--sans); color: var(--ink-3); }
.lg-sharing .sh-tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 20px 22px 20px 26px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--hair-2); }
.lg-sharing .sh-tile::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--rail, var(--ink-3)); }
.lg-sharing .sh-tile > p:first-child { margin: 0 0 10px; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-sharing .sh-sample { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-card); }
.lg-sharing .sh-sample-bar { display: flex; align-items: center; gap: 10px; padding: 14px clamp(18px, 2.6vw, 26px); border-bottom: 1px solid var(--hair); background: var(--well); font-size: 13.5px; color: var(--ink-3); }
.lg-sharing .sh-well { padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.lg-sharing .sh-well p:first-child { margin: 0 0 8px; font: 400 22px/1.2 var(--serif); color: var(--ink); }
.lg-sharing .sh-well p:not(:first-child) { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lg-sharing .sh-well a:not(.sh-btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 14, 12, .35); }
.lg-sharing .sh-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .5); font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--ink); text-decoration: none; }
.lg-sharing .sh-btn:hover { background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .75); }
.lg-sharing .sv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.lg-sharing .sv-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lg-sharing .sh-level { border: 0; border-radius: var(--radius); padding: 18px; background: rgba(255, 255, 255, .5); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .14); }
.lg-sharing .sv-lv { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; font: inherit; cursor: pointer; }
.lg-sharing .sv-lv:hover { box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .4); }
.lg-sharing .sv-lv[aria-pressed="true"] { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 2px var(--sage); }
.lg-sharing .sv-t { display: flex; align-items: center; gap: 10px; font: 400 19px/1.2 var(--serif); color: var(--ink); }
.lg-sharing .sv-d { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.lg-sharing .sv-box { position: relative; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .5); flex: none; }
.lg-sharing .sv-lv[aria-pressed="true"] .sv-box { background: var(--sage); box-shadow: none; }
.lg-sharing .sv-lv[aria-pressed="true"] .sv-box::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 4.5px; height: 9px; border: solid #FFFFFF; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.lg-sharing .sv-page { position: sticky; top: calc(var(--nav-h) + 24px); padding: 18px 18px 16px; border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--shadow-card); }
.lg-sharing .sv-bar { display: flex; align-items: center; gap: 8px; padding: 0 2px 12px; border-bottom: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-3); }
.lg-sharing .sv-bar svg { stroke: var(--ink-3); }
.lg-sharing .sv-bar em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.lg-sharing .sv-count { margin: 12px 2px; font-size: 14px; color: var(--ink-2); }
.lg-sharing .sv-count b { font-weight: 600; color: var(--ink); }
.lg-sharing .sv-tiles { display: flex; flex-direction: column; }
.lg-sharing .sv-tile { margin-bottom: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--hair-2); }
.lg-sharing .sv-tile.is-off { display: none; }
.lg-sharing .sv-tile p { margin: 0; }
.lg-sharing .sv-k { margin-bottom: 6px !important; font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-sharing .sv-green { font: 300 28px/1.1 var(--serif); color: #3D5A46; }
.lg-sharing .sv-big { font: 300 28px/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.lg-sharing .sv-big span { font: 400 13.5px/1.3 var(--sans); color: var(--ink-2); }
.lg-sharing .sv-big .sv-arrow { font-size: 18px; color: var(--ink-3); }
.lg-sharing .sv-s { margin-top: 6px !important; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.lg-sharing .sv-meter { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--well); overflow: hidden; }
.lg-sharing .sv-meter i { display: block; height: 100%; border-radius: 3px; background: var(--sage); }
.lg-sharing .sv-win { display: grid; grid-template-columns: 34px 1fr 64px; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; color: var(--ink); }
.lg-sharing .sv-win span:first-child { font-size: 12.5px; color: var(--ink-3); }
.lg-sharing .sv-win i { position: relative; height: 6px; border-radius: 3px; background: var(--well); }
.lg-sharing .sv-win b { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--clay); }
.lg-sharing .sv-empty { margin: 6px 2px 12px; font-size: 14px; color: var(--ink-3); }
.lg-sharing .sv-note { margin: 6px 2px 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.lg-sharing .sh-h2 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 44px); max-width: 24ch; }
.lg-sharing .sh-lead2 { margin: 0 0 26px; }
@media (max-width: 860px) { .lg-sharing .sv { grid-template-columns: 1fr; } .lg-sharing .sv-page { position: relative; top: 0; order: -1; } }
@media (max-width: 620px) { .lg-sharing .sh-steps, .lg-sharing .sv-levels { grid-template-columns: 1fr; } .lg-sharing #sh-code, .lg-sharing #sh-email { width: 100%; } .lg-sharing #sh-open { width: 100%; justify-content: center; } }

/* ------------------------------------------------------------ self-assessment (lg-assessment)
 * assessment-email-v1.js writes some inline colours from the dark era; the
 * !important rules below re-read them in the light look. The script and
 * every answer still stay on this page. */
.lg-assessment #pg-quiz[hidden], .lg-assessment #pg-done[hidden], .lg-assessment [data-high][hidden], .lg-assessment #pg-back[hidden], .lg-assessment #pg-carried[hidden] { display: none; }
.lg-assessment #pg-done { outline: none; }
.lg-assessment .pg-mono { font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.lg-assessment .pg-card { position: relative; padding: clamp(24px, 4vw, 40px); }
.lg-assessment #pg-ticks span { background: var(--well) !important; height: 5px !important; border-radius: 999px !important; }
.lg-assessment #pg-ticks span[style*="15, 14, 12"],
.lg-assessment #pg-ticks span[style*="242, 238, 231"] { background: var(--sage) !important; }
.lg-assessment #pg-options button {
  min-height: 52px !important; padding: 12px 20px !important; border: 0 !important; border-radius: var(--radius-sm) !important;
  background: rgba(255, 255, 255, .5) !important; color: var(--ink) !important;
  box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .16) !important; font: 500 16px/1.3 var(--sans) !important; transition: none !important;
}
.lg-assessment #pg-options button:hover { background: rgba(255, 255, 255, .8) !important; box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .45) !important; }
.lg-assessment #pg-options button[aria-pressed="true"] { background: var(--ink) !important; color: var(--bone) !important; box-shadow: none !important; }
.lg-assessment #pg-back { min-height: 44px; font-size: 15px !important; color: var(--ink-2) !important; text-decoration: underline; text-underline-offset: 4px; border-bottom: 0 !important; }
.lg-assessment #pg-band { color: var(--ink-2) !important; background: var(--well) !important; font-weight: 600 !important; }
.lg-assessment #pg-band[style*="131, 167, 140"] { background: rgba(16,117,80, .16) !important; color: #3D5A46 !important; }
.lg-assessment #pg-band[style*="220, 174, 124"] { background: rgba(156, 106, 47, .14) !important; color: #6E4A20 !important; }
.lg-assessment #pg-band[style*="192, 122, 110"] { background: rgba(166,71,54, .12) !important; color: #7A3A32 !important; }
.lg-assessment #pg-bands { border-radius: var(--radius-sm); padding: 12px 16px; background: var(--well); margin-bottom: 22px; }
.lg-assessment #pg-bands > div { border-bottom-color: var(--hair) !important; }
.lg-assessment #pg-bands span { color: var(--ink-3) !important; font-family: var(--sans) !important; font-size: 13.5px !important; letter-spacing: 0 !important; }
.lg-assessment #pg-bands span[style*="font-weight"] { color: var(--ink) !important; }
.lg-assessment #pg-email-gate h2 { font-weight: 300 !important; letter-spacing: -.018em; }
.lg-assessment #pg-email-gate label { font-size: 14.5px; color: var(--ink); }
.lg-assessment #pg-email-gate label[for="pg-email"] { font-weight: 500; }
.lg-assessment #pg-email { min-height: 52px; border: 0 !important; border-radius: var(--radius-sm) !important; background: rgba(255, 255, 255, .72) !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px rgba(15, 14, 12, .28); }
.lg-assessment #pg-email:focus { outline: none; background: #FFFFFF !important; box-shadow: inset 0 0 0 2px var(--ink); }
.lg-assessment #pg-email-gate input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--sage); }
.lg-assessment #pg-email-gate a, .lg-assessment #pg-done a:not(#pg-cta) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 14, 12, .35); }
.lg-assessment #pg-email-back { min-height: 44px; color: var(--ink-2); }
.lg-assessment #pg-email-error { font-weight: 500; }
.lg-assessment #channel-referral-note { color: var(--ink-2); }
.lg-assessment .pg-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.lg-assessment .pg-facts p { margin: 0; font-size: 14px; color: var(--ink-2); }
.lg-assessment .pg-facts p::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--sage); }

/* ------------------------------------------------------------ research (lg-sources)
 * /assets/ds4/pages/sources.css (moved from the DS3 folder) lays the page out from DS3 variables; here the
 * same variables are given DS4 light values, and the few fixed light-on-dark
 * underline colours are re-set. */
.lg-sources .sr-main {
  --bone: var(--ink); --ash: var(--ink-2); --muted: var(--ink-3); --faint: var(--ink-3); --numbers: var(--ink);
  --rim: rgba(15, 14, 12, .16); --rim-lo: var(--hair); --measure: 760px;
}
.lg-sources .sr-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 5vw, 56px); }
.lg-sources .sr-title { max-width: 14ch; font-size: clamp(40px, 5vw, 68px); }
.lg-sources .sr-lead { margin-top: 20px; color: var(--ink-2); }
.lg-sources .sr-tag { background: rgba(255, 255, 255, .45); }
.lg-sources .sr-index a::after { background: var(--sage); }
.lg-sources .sr-back a, .lg-sources .sr-cite .sr-ti, .lg-sources .sr-alt, .lg-sources .sr-inline, .lg-sources .sr-gused a,
.lg-sources .sr-facts dd a:not(.sr-cite):not(.sr-alt):not(.sr-inline), .lg-sources .sr-help a { text-decoration-color: rgba(15, 14, 12, .35); }
.lg-sources .sr-cite:hover .sr-ti, .lg-sources .sr-alt:hover, .lg-sources .sr-inline:hover, .lg-sources .sr-gused a:hover,
.lg-sources .sr-facts dd a:not(.sr-cite):not(.sr-alt):not(.sr-inline):hover { text-decoration-color: currentColor; }
.lg-sources .sr-entry:target .sr-claim { text-decoration-color: rgba(15, 14, 12, .35); }
.lg-sources .sr-close { padding: clamp(24px, 4vw, 48px) 0 var(--section); }
.lg-sources .sr-clin { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.lg-sources .sr-clin .ls-link { color: var(--ink); text-decoration-color: rgba(15, 14, 12, .35); }
.lg-sources .sr-fix .ls-link { color: var(--ink); }
@media (max-width: 560px) { .lg-sources .sr-hero { padding-top: 48px; } }

/* ------------------------------------------------------------ policy pages
 * Made by scripts/build-legal-pages.mjs in the app repo. Its head loads
 * /doc.css (dark) and, today, /site.css and /heading-typography.css; with
 * ds.css and this file after them and <body class="ls-page">, the page reads
 * light. The !important lines answer heading-typography.css, which forces
 * every heading to Newsreader 400 with !important. */
body.ls-page { background-color: var(--paper); color: var(--ink); font-family: var(--sans); }
body.ls-page .ls-footer h2 { font-family: var(--sans) !important; font-weight: 500 !important; }
body.ls-page .ls-h1, body.ls-page .ls-h2 { font-weight: 300 !important; }
body.ls-page .doc-main { position: relative; z-index: 1; max-width: calc(820px + var(--gutter) * 2); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) var(--section); overflow-wrap: anywhere; }
body.ls-page .doc-main a { color: var(--ink); opacity: 1; transition: none; }
body.ls-page .legal-directory { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0 0 22px; font-size: 14.5px; color: var(--ink-3); }
body.ls-page .legal-directory a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .3); text-underline-offset: 4px; }
body.ls-page .legal-directory a:hover { color: var(--ink); }
body.ls-page .doc-h1 { margin: 0 0 26px; max-width: 20ch; font: 300 clamp(38px, 4.6vw, 58px)/1.04 var(--serif) !important; letter-spacing: -.026em; color: var(--ink); text-wrap: balance; }
body.ls-page .doc h2 { margin: 44px 0 12px; font: 400 clamp(23px, 2.1vw, 27px)/1.2 var(--serif) !important; letter-spacing: -.012em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
body.ls-page .doc h3 { margin: 30px 0 8px; font: 400 21px/1.25 var(--serif) !important; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
body.ls-page .doc h4 { margin: 22px 0 6px; font: 600 15px/1.4 var(--sans) !important; color: var(--ink); }
body.ls-page .doc p, body.ls-page .doc li { max-width: 72ch; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
body.ls-page .doc strong { color: var(--ink); font-weight: 600; }
body.ls-page .doc p:first-child strong { font-weight: 600; }
body.ls-page .doc ul, body.ls-page .doc ol { margin: 8px 0 14px; padding-left: 22px; }
body.ls-page .doc li { margin: 5px 0; }
body.ls-page .doc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; border-bottom: 0; }
body.ls-page .doc a:hover { text-decoration-color: currentColor; opacity: 1; }
body.ls-page .doc blockquote { margin: 16px 0; padding: 14px 18px; border-left: 0; border-radius: var(--radius-sm); background: var(--well); color: var(--ink-2); }
body.ls-page .doc code { padding: 1px 6px; border-radius: 5px; background: var(--well); color: var(--ink); font-size: 13.5px; }
body.ls-page .doc hr { border: 0; border-top: 1px solid var(--hair); margin: 36px 0; }
body.ls-page .doc-table { margin: 14px 0 20px; overflow-x: auto; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-card); }
body.ls-page .doc-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
body.ls-page .doc-table th, body.ls-page .doc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
body.ls-page .doc-table tr:last-child td { border-bottom: 0; }
body.ls-page .doc-table th { font: 600 13px/1.35 var(--sans) !important; letter-spacing: .02em; text-transform: none; color: var(--ink); }
body.ls-page .doc-lede { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
body.ls-page .doc-eyebrow { font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: none; color: var(--ink-3); }
body.ls-page .doc-note { margin: 0 0 18px; padding: 14px 18px; border: 0; border-radius: var(--radius-sm); background: rgba(166,71,54, .07); box-shadow: inset 0 0 0 1px rgba(166,71,54, .22); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
body.ls-page .doc-index { margin: 18px 0 24px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15px; line-height: 1.75; }
body.ls-page .doc-index a { color: var(--ink); border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(15, 14, 12, .3); text-underline-offset: 3px; }
body.ls-page ::selection { background: rgba(16,117,80, .28); }
body.ls-page :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* resources: section heads */
.lg-resources .lg-block .ls-h3 { margin: 0 0 8px; }
.lg-resources .lg-sub { margin: 0 0 18px; max-width: 58ch; }
.lg-resources .lg-sub-h { margin-bottom: 18px; }
.lg-support .sp-else { margin-top: 20px; } .lg-support .sp-else a { color: var(--ink); }
.lg-gift .gf-title { max-width: 20ch; }
.lg-gift .gf-lead { max-width: 62ch; }
.lg-sharing .sh-title { max-width: 18ch; }
.lg-sharing .sh-narrow { max-width: calc(680px + var(--gutter) * 2); }
.lg-sharing .lg-label { margin-bottom: 10px; }
.lg-sharing .sh-entry-help { margin: 0 auto 22px; max-width: 42ch; }
.lg-sharing .sh-assures { margin-top: 22px; }
.lg-sharing .sh-sample-bar svg { stroke: var(--ink-3); }
.lg-sharing .sh-close { flex: none; }
.lg-sharing .sh-wells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.lg-sharing .sh-well p + p { margin-top: 0; }
.lg-sharing .sh-well .sh-btn { margin-top: 16px; }
.lg-sharing .sh-foot { margin-top: 20px; max-width: 70ch; }
.lg-assessment .pg-title { max-width: 18ch; }
.lg-assessment .pg-narrow { max-width: calc(720px + var(--gutter) * 2); }
.lg-assessment .pg-email { margin: 10px 0 18px !important; }
.lg-assessment .pg-submit { margin-top: 10px; }
.lg-assessment #pg-done .ls-btn { min-height: 52px; }
.lg-assessment .pg-about { max-width: 70ch; }
/* ds.css zeroes paragraph margins; prose needs them back. */
body.ls-page .doc p { margin: 0 0 14px; }
body.ls-page .doc li > p { margin: 0 0 6px; }
body.ls-page .doc blockquote p { margin: 0; }
body.ls-page .doc h2:first-child, body.ls-page .doc > p:first-child + h2 { margin-top: 34px; }
/* "Apps that connect": three layers, the last one Lessen. */
.lg-guide .g-tier { border-radius: var(--radius); padding: 18px 22px; background: var(--well); }
.lg-guide .g-tier.is-us { padding: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px rgba(16,117,80, .5), var(--shadow-card); }
.lg-guide .g-tier p:first-child { color: var(--ink-2) !important; }
.lg-guide .g-tier.is-us p:first-child { color: var(--ink) !important; }
.lg-guide .g-tier p:last-child { color: var(--ink-2) !important; }
.lg-sharing .sh-btn { border: 0; background: transparent; font-family: var(--sans); cursor: pointer; }
