html[data-partner="typ"] {
  --typ-ink: #162b32;
  --typ-paper: #f7f4ec;
  --typ-bronze: #9c542d;
  --typ-rule: #d6cbbb;
  --typ-serif: Georgia, "Times New Roman", serif;
  --typ-sans: "Segoe UI", system-ui, sans-serif;
  --color-bg: #f7f4ec;
  --color-surface: #fffdfa;
  --color-border: #d6cbbb;
  --color-text: #162b32;
  --color-text-muted: #536367;
  --color-primary: #23565a;
  --color-primary-strong: #163f44;
  --color-link: #23565a;
  --color-link-hover: #163f44;
}
html[data-partner="typ"][data-theme="dark"] {
  --color-bg: #122126;
  --color-surface: #1a3035;
  --color-border: #435b5e;
  --color-text: #f7f4ec;
  --color-text-muted: #c2cfd0;
  --color-primary: #27676a;
  --color-primary-strong: #2e7577;
  --color-link: #a2d8d2;
  --color-link-hover: #d2ece6;
}
html[data-partner="typ"] body { font-family: var(--typ-sans); }
.typ-public { margin: 0; background: var(--typ-paper); color: var(--typ-ink); }
.typ-public *, .typ-public *::before, .typ-public *::after { box-sizing: border-box; }
.typ-public h1, .typ-public h2, .typ-public h3, .typ-public p, .typ-public figure { margin: 0; }
.typ-public h1, .typ-public h2 { font-family: var(--typ-serif); font-weight: 400; letter-spacing: -.045em; }
.typ-public h1 { font-size: clamp(3rem, 6.1vw, 6rem); line-height: 1.01; }
.typ-public h2 { font-size: clamp(2rem, 4.1vw, 3.55rem); line-height: 1.08; }
.typ-public h3 { font-size: 1.22rem; line-height: 1.3; }
.typ-public p, .typ-public li, .typ-public address { line-height: 1.65; }
.typ-public a { color: inherit; text-underline-offset: .22em; }
.typ-public a:focus-visible, [data-partner="typ"] .typ-brand:focus-visible { outline: 3px solid #b87146; outline-offset: 4px; }
.typ-wrap { width: min(100% - 4rem, 77rem); margin-inline: auto; }
.typ-header { background: var(--typ-ink); color: var(--typ-paper); }
.typ-header-inner, .typ-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; }
.typ-header-inner { min-height: 5.4rem; }
.typ-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.5vw, 2.2rem); }
.typ-header nav a { text-decoration: none; font-size: .93rem; }
.typ-header nav a:hover, .typ-footer a:hover { text-decoration: underline; }
.typ-brand { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; color: inherit; }
.typ-wordmark { display: inline-flex; align-items: baseline; background: #162b32; color: #fffaf1; padding: .35rem .50rem .43rem; line-height: 1; border: 1px solid #bd8b68; font-family: var(--typ-serif); font-size: 1.6rem; letter-spacing: -.07em; }
.typ-wordmark i { width: .24em; height: .24em; margin-left: .18em; background: #cf925d; }
.typ-wordmark-name { font-weight: 650; font-size: .92rem; line-height: 1.15; letter-spacing: -.024em; }
.typ-wordmark-name span { white-space: nowrap; }
.typ-public .typ-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: .84rem 1rem; color: #fffaf2; background: var(--typ-ink); border: 1px solid var(--typ-ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.typ-public .typ-button:hover { background: #2a484d; color: white; }
.typ-public .typ-button-outline { background: transparent; border-color: #baa48e; }
.typ-hero { padding-block: clamp(2.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.typ-hero-copy { display: grid; justify-items: start; gap: 1.4rem; }
.typ-hero h1 { font-size: clamp(2.85rem, 5.2vw, 5.1rem); }
.typ-kicker { text-transform: uppercase; font-weight: 700; font-size: .77rem; letter-spacing: .14em; color: #814323; }
.typ-lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 38rem; color: #425658; }
.typ-hero-visual { position: relative; }
.typ-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; object-position: center; }
.typ-hero-visual figcaption { position: absolute; inset: auto 0 0; background: #162b32; color: #f7f4ec; padding: .65rem .8rem; font-size: .78rem; }
.typ-section { background: #ebe6da; border-block: 1px solid var(--typ-rule); padding-block: clamp(2.5rem, 5vw, 4.6rem); }
.typ-section h2 { margin: .45rem 0 1.8rem; }
.typ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.typ-grid article { padding: 1.25rem 1.35rem 1.5rem; border-top: 2px solid #a16e4b; background: #f7f4ec; }
.typ-grid h3 { margin-bottom: .7rem; }
.typ-grid h3 a { text-decoration: none; }
.typ-grid h3 a:hover { text-decoration: underline; }
.typ-grid h3 span { color: #874828; }
.typ-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.typ-split p { margin-bottom: .65rem; }
.typ-detail { display: grid; justify-items: start; gap: 1.2rem; min-height: 55vh; padding-block: clamp(3rem, 7vw, 6rem); }
.typ-detail p, .typ-detail ul { max-width: 48rem; }
.typ-detail ul { margin-block: 0 .5rem; }
.typ-detail h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.typ-contact .typ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 48rem; }
.typ-contact address { margin: .85rem 0; font-style: normal; }
.typ-footer { background: var(--typ-ink); color: var(--typ-paper); padding-block: 1.7rem; }
.typ-footer-inner p, .typ-footer-inner > a:last-child { font-size: .87rem; }
.typ-skip { position: absolute; left: 1rem; top: -10rem; padding: .5rem; background: white; z-index: 3; }
.typ-skip:focus { top: 1rem; }
[data-partner="typ"] .global-nav > .typ-brand { flex-shrink: 0; color: var(--color-text); margin-right: .65rem; }
[data-partner="typ"] .portal-partnership { text-align: center; color: var(--color-text-muted); padding: 1rem; font-size: .85rem; }
[data-partner="typ"] .auth-page .auth-header,
[data-partner="typ"] .account-page .account-header { background: var(--typ-ink); color: #fff9ee; }
[data-partner="typ"] .auth-page .auth-header p,
[data-partner="typ"] .account-page .account-header p { color: #e0dcd1; }
[data-partner="typ"] .auth-page .auth-header .eyebrow { color: #f4ba8e; }
[data-partner="typ"] .auth-header h1 { font-family: var(--typ-serif); font-weight: 400; }
[data-partner="typ"] .site-page .auth-submit { color: #fffaf2; background: #23565a; border-color: #23565a; }
@media (max-width: 800px) {
  .typ-wrap { width: min(100% - 2.5rem, 77rem); }
  .typ-header-inner { align-items: flex-start; flex-direction: column; padding-block: .85rem; }
  .typ-hero, .typ-split { grid-template-columns: 1fr; }
  .typ-hero-visual img { max-height: 29rem; aspect-ratio: 1.5; }
  .typ-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .typ-grid, .typ-contact .typ-grid { grid-template-columns: 1fr; }
  .typ-header nav { gap: .85rem; width: 100%; }
  .typ-header nav .typ-button { margin-left: auto; padding: .55rem .65rem; }
}
