/* Momentus proposal for the Learn library: Hallmark direction (brand kept, editorial discipline), Impeccable polish (Read mode).
   Shares tokens, header and footer with proposed/index.html. */
:root{
  --white:#F7F4EE; --cream:#ECE7DE; --ink:#1D1E20; --ink2:#33353A; --text:#33353A; --muted:#5E6066;
  --gold:#DBC498; --gold-deep:#7E5F33; --gold-text:#7E5F33; --sand:#CCC5B9; --line:rgba(29,30,32,.14);
}
html{overflow-x:clip;scrollbar-color:#7E5F33 #ECE7DE;caret-color:#7E5F33}
body.mf{background:#F7F4EE;overflow-x:clip}
::selection{background:#DBC498;color:#1D1E20}
.mf a{text-underline-offset:4px;text-decoration-thickness:1.5px}
.mf a:focus-visible,.mf button:focus-visible,.mf summary:focus-visible,.mf input:focus-visible{outline:3px solid #7E5F33;outline-offset:3px;border-radius:4px}
.mf-hero a:focus-visible{outline-color:#DBC498}
.mf h1,.mf h2,.mf h3{text-wrap:balance}
.vdur,.stats b,.ix-n,.tbl td.r{font-variant-numeric:tabular-nums}

/* Header: the same sand bar and gold logo as the homepage */
.mf-header{background:#CCC5B9;border-bottom:1px solid rgba(29,30,32,.14)}
.mf-header .wrap{min-height:84px}
.mf-logo img{height:52px;width:auto}
.mf-header nav{gap:4px}
.mf-header nav a{color:#1D1E20;font-size:16px;padding:10px 12px;border-bottom:2px solid transparent}
.mf-header nav a:hover{color:#1D1E20;background:rgba(29,30,32,.06);border-radius:8px}
.mf-header nav a[aria-current]{color:#1D1E20;border-color:#1D1E20;border-radius:0;background:none}
.mf-menu span{background:#1D1E20}
@media (max-width:760px){
  .mf-header .wrap{min-height:72px}
  .mf-logo img{height:44px}
  .mf-header nav{top:72px;background:#CCC5B9}
  .mf-header nav a{border-bottom:1px solid rgba(29,30,32,.14)!important;padding:14px 4px}
  .jump,.gl-tools{top:72px}
}
.gl-tools{top:84px;background:#F7F4EE}
.side{top:104px}

/* Hero: charcoal like the homepage's video hero, gold italic line kept */
.mf-hero{background:#1D1E20}
.mf-hero h1{font-weight:800;letter-spacing:-.03em;line-height:1.06}
@media (prefers-reduced-motion:no-preference){
  .mf-hero h1{animation:mf-settle .7s cubic-bezier(.16,1,.3,1) both}
  @keyframes mf-settle{from{transform:translateY(12px)}to{transform:none}}
}

/* Labels: sentence case, never tracked caps */
.label,.ix summary,.g-sources h2,.tbl th,.pn-label,.gmeta,.topic,.vsoon{letter-spacing:0!important;text-transform:none!important}
.label{font:700 14px Oxygen,sans-serif;color:#1D1E20}
.ix summary{font:700 14px Oxygen,sans-serif;color:#1D1E20}
.gmeta{font:700 13px Oxygen,sans-serif;color:#7E5F33}
.topic{font:700 13px Oxygen,sans-serif;color:#7E5F33}
.vsoon{font:700 12px Oxygen,sans-serif}
.pn-label{font:700 13px Oxygen,sans-serif}
.g-sources h2{font:700 15px Oxygen,sans-serif;color:#1D1E20}
.tbl th{font:700 14px Oxygen,sans-serif;color:#1D1E20;background:#ECE7DE}

/* Cards: full hairline, no coloured side stripe; depth only on hover */
.gcard{border:1px solid rgba(29,30,32,.14);border-radius:12px;background:#fff}
.gcard:hover,.gcard:focus-visible{border-color:rgba(29,30,32,.32);box-shadow:0 14px 30px -20px rgba(29,30,32,.4)}
.vcard{border-radius:12px;background:#fff}
.ch-num{color:#7E5F33}
.ch-watch,.g-watch{background:#ECE7DE}
.hub-videos{background:#1D1E20}
.mf-note-card{background:#ECE7DE;border:0}
.note-h{font-size:22px;margin:0 0 12px}

/* Reading column: 18px, comfortable measure, more air above headings than below */
.g-main{max-width:720px}
.mf-article{font-size:18px}
.mf-article p,.mf-article li{line-height:1.75}
.mf-article h2{margin:2.1em 0 .5em}
.mf-article h3{margin:1.7em 0 .35em}
.short{background:#1D1E20}
.byline,.crumbs{color:#B9B5AD}

/* Footer: same as the homepage */
.site-footer{background:#1D1E20;color:#B9B5AD;padding:64px 0 40px;font:400 16px/1.6 Oxygen,sans-serif}
.site-footer .wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.foot-grid{display:grid;grid-template-columns:minmax(0,4fr) repeat(3,minmax(0,3fr));gap:40px}
.foot-brand img{height:96px;width:auto}
.site-footer .tagline{margin:16px 0 0;font:700 13px/1.4 Montserrat,sans-serif;letter-spacing:.12em;color:#DBC498}
.social{display:flex;gap:8px;margin-top:16px}
.social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;border:1px solid rgba(255,255,255,.14)}
.social a:hover{border-color:#DBC498;color:#DBC498}
.social svg{width:20px;height:20px}
.site-footer h2{font:700 15px Montserrat,sans-serif;color:#DBC498;margin:0 0 12px}
.site-footer p{margin:0 0 12px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li a,.site-footer p a{display:inline-flex;align-items:center;min-height:44px;padding:0}
.site-footer p a + br{display:none}
.site-footer p a{margin-right:16px}
.foot-note{color:#fff;font-weight:700}
.copyright{border-top:1px solid rgba(255,255,255,.14);margin-top:40px!important;padding-top:24px;font-size:14px}
.site-footer .legal-note{font-size:13px;color:#8F8A80;max-width:900px;margin-top:16px}
@media (max-width:980px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr}.site-footer .wrap{padding:0 20px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Impeccable audit fixes: comfortable tap targets on phones, readable small labels */
.vdur,.vsoon{font-size:13px!important}
@media (max-width:960px){
  .ix-chlink,.ix-start,.ix-extra{min-height:44px;display:flex!important;align-items:center}
  .ix-guides>li>a,.ix-sec a{min-height:44px;display:flex!important;align-items:center}
  .ix summary{min-height:44px}
  .crumbs a{display:inline-flex;align-items:center;min-height:44px}
}
