/* Inter is served locally; provenance and SIL OFL are bundled with the project. */
@font-face{font-family:Inter;src:url('/fonts/inter/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter/InterVariable-Italic.woff2') format('woff2');font-style:italic;font-weight:100 900;font-display:swap}
:root{--font-heading-weight:600;--font-body-weight:200}
/* Shared editorial eyebrows for public, family and platform pages. */
:root{--eyebrow-color:#64738b}
html[data-color-scheme=dark]{--eyebrow-color:#b1becf}
:is(.eyebrow,.public-eyebrow,.photo-memory-eyebrow){font:var(--font-body-weight) 10px/1.5 var(--font-text,'Helvetica Neue',Helvetica,system-ui,sans-serif)!important;letter-spacing:1.7px!important;text-transform:uppercase!important;color:var(--eyebrow-color)!important}
.family-focus{--eyebrow-color:#d4dfef}
.family-focus[data-sex=female]{--eyebrow-color:#fbe9f1}
html[data-color-scheme=dark] .family-focus{--eyebrow-color:#b1becf}

/* One control typography across public pages, workspaces and dialogs. */
:root{--ui-filter-font-size:14px}
:is(select,input[type=search],input[name=q],input[role=combobox],.country-query,.city-query),
:is(.country-options,.profile-selector-results,.directory-suggestions,.tag-picker-results) :is(button,a,[role=option]){font-family:var(--font-text,'Helvetica Neue',Helvetica,system-ui,sans-serif)!important;font-size:var(--ui-filter-font-size)!important;line-height:1.5!important}
/* Pagination is centered consistently on every list. */
.result-pagination{justify-content:center!important}

/* Editorial typography shared by public pages, family workspaces and dialogs. */
:root{--font-editorial:Inter,system-ui,sans-serif;--font-text:Inter,system-ui,sans-serif;--font-caption:var(--font-text)}
body{font-optical-sizing:auto;font-family:var(--font-text)!important;font-weight:var(--font-body-weight)!important}
button,input,select,textarea{font-family:var(--font-text)!important}
:where(body) :where(p,li,dd,blockquote){font-family:var(--font-text)!important;font-weight:var(--font-body-weight)!important}
:where(body) :where(h1,h2,h3,h4,h5,h6){font-family:var(--font-editorial)!important;font-weight:var(--font-heading-weight)!important}
/* Main editorial copy follows the approved homepage reference. */
.public-site :is(.album-copy,.section-intro,.public-page-heading,.hero-copy,.home-section-heading)>p:not(.public-eyebrow):not(.hero-free):not(.immersive-free){font-family:var(--font-text)!important;font-size:18px;line-height:1.7;font-weight:var(--font-body-weight)}
/* Captions, notes and compact interface text keep their existing sizes. */
:is(small,figcaption,.muted,.field-help,.help-text,.pricing-note,.hero-free,.immersive-free,.public-eyebrow,.eyebrow,.photo-memory-eyebrow,.photo-credit,.memory-credit,.ui-notice,.workspace-feedback,.site-footer){font-family:var(--font-caption)!important;font-weight:var(--font-body-weight)}
:is(.ui-notice,.workspace-feedback,.site-footer) :is(p,li,dd,small){font-family:var(--font-caption)!important;font-weight:var(--font-body-weight)}
/* Heading elements consistently use the editorial family. */
:is(h1,h2,h3,h4,h5,h6){font-family:var(--font-editorial)!important;font-weight:var(--font-heading-weight)!important;font-optical-sizing:auto}

/* Display names, amounts and form section titles share the heading hierarchy. */
:is(.page-title-label,.issue-mobile-title,.account-family-name,.home-overview strong,.subscription-usage-item strong,.subscription-price,.platform-chart-total,.platform-resource-value,.subscription-acquisition-price,.subscription-order-price,.subscription-prepared-action>strong,.pricing-amount,.platform-metric strong,.family-focus p,.roles-group th,.profile-editor legend){font-family:var(--font-editorial)!important;font-weight:var(--font-heading-weight)!important;font-optical-sizing:auto}
button,input,select,textarea{font-weight:var(--font-body-weight)}

:is(h1,h2,h3,h4,h5,h6) :is(span,em,strong){font-weight:inherit!important}

/* Shared weights apply to controls and compact copy; semantic emphasis is retained. */
:is(a,label,button,input,select,textarea,small,figcaption,td,th,summary,.person-chip,.photo-person,.memory-author){font-weight:var(--font-body-weight)!important}
:is(strong,b){font-weight:var(--font-heading-weight)}
