/* Public Sans (SIL Open Font License, public/fonts/public-sans-OFL.txt), served with the site. One variable file per script covers every weight. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/public-sans-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/public-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/public-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
body:has(.public-page) { margin: 0; background: #fffefa; color: #302e32; }
.public-page { box-sizing: border-box; max-width: 42rem; margin: 0 auto; padding: 48px 24px 80px; font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; }
.public-page * { box-sizing: border-box; }
.public-page h1 { font-size: 2.6rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 16px; }
.public-page h2 { font-size: 1.15rem; font-weight: 650; margin: 28px 0 8px; }
.public-page p { margin: 0 0 14px; }
.public-page a { color: #26374f; }
.public-page > nav { margin: 0 0 30px; font-size: 0.9rem; }
.public-page .public-brand { margin: 0 0 28px; font-size: 29px; line-height: 1; letter-spacing: -1.5px; }
.public-page .public-brand a { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 750; text-decoration: none; }
.public-brand img { display: block; flex-shrink: 0; width: 29px; height: 32px; }
.public-lead { font-size: 1.15rem; }
.public-kicker { color: #6e6970; }
.public-spaces { list-style: none; padding: 0; margin: 0; }
.public-spaces li { padding: 14px 0; border-top: 1px solid #e1ddd6; }
.public-spaces a { font-weight: 650; }
.public-message { padding: 16px 0; border-top: 1px solid #e1ddd6; }
.public-events { list-style: none; padding: 0; margin: 0; }
.public-events li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid #e1ddd6; }
.public-events time, .public-events p { color: #6e6970; font-size: 0.85rem; margin: 0; }
.public-message header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.public-message time, .public-reply, .public-reactions { color: #6e6970; font-size: 0.85rem; }
.public-doc h2, .public-doc h3, .public-doc h4 { margin-top: 1.4em; }
.public-doc :is(p, h1, h2, h3, h4) { white-space: pre-wrap; }
.public-doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1em; }
.public-doc :is(td, th) { padding: .3em .6em; border: 1px solid #c9c9c9; vertical-align: top; text-align: left; }
.public-doc :is(td, th) > p { margin: 0; }
.public-doc img { display: block; max-width: 100%; max-height: 720px; width: auto; height: auto; margin: 8px 0; object-fit: contain; }
@media (max-width: 600px) { .public-page h1 { font-size: 2rem; } }

/* Company pages (src/host/site.ts) wear the landing page's top bar, footer and type, as plain HTML and CSS. */
body:has(.site-page) { margin: 0; background: #fffefa; color: #302e32; }
.site-page { --ink: #302e32; --paper: #fffefa; display: flex; flex-direction: column; min-height: 100vh; font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; }
.site-page *, .site-page *::before, .site-page *::after { box-sizing: border-box; }
:where(.site-page) a { color: inherit; text-decoration: none; }
:where(.site-page) :is(h1, h2, p) { margin: 0; }
.site-page .tone-coral { background: #efb29a; }
.site-page .tone-butter { background: #efd294; }
.site-page .tone-mint { background: #c5ddd0; }
.site-page .tone-blue { background: #abc6ed; }
.site-page .tone-lilac { background: #cec3e8; }
.site-page .tone-paper { background: #fffefa; }
.site-width { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 14px 4%; border-bottom: 2px solid var(--ink); background: var(--paper); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 33px; font-weight: 750; letter-spacing: -2px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 12px; font-weight: 750; }
.site-nav a:hover, .site-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 37px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 3px; background: #efb29a; font-size: 11px; font-weight: 750; white-space: nowrap; transition: transform .12s, box-shadow .12s; }
.site-button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #000; }
.site-menu { display: none; position: relative; margin-right: auto; }
.site-menu > summary { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 3px; list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu[open] > summary { background: #c5ddd0; }
.site-menu > nav { position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; display: flex; flex-direction: column; min-width: 200px; padding: 8px; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); box-shadow: 4px 4px 0 #000; font-size: 14px; font-weight: 750; }
.site-menu > nav > a { padding: 10px 12px; border-radius: 3px; }
.site-menu > nav > a:hover { background: #efd294; }
.site-main { flex: 1; padding-block: 96px 110px; }
.site-main h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 750; letter-spacing: -.03em; line-height: 1.02; }
.site-card { max-width: 640px; margin-top: 40px; padding: 26px 30px 28px; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); box-shadow: 6px 6px 0 #000; }
.site-card p + p { margin-top: 14px; }
.site-card h2 { margin: 28px 0 10px; font-size: 20px; }
.site-card ul { margin: 12px 0; padding-left: 22px; }
.site-card li + li { margin-top: 6px; }
.site-card .site-swatches { padding: 0; list-style: none; }
.site-swatches i { display: inline-block; width: 16px; height: 16px; margin-right: 10px; border: 1.5px solid var(--ink); border-radius: 3px; vertical-align: -3px; }
/* Documents to read, such as the policies: the same bars around a plain page. */
.site-plain { padding-block: 0; background: var(--paper); }
.site-plain .public-page { padding-block: 64px 96px; }
.site-plain .public-page a { text-decoration: underline; text-underline-offset: 3px; }
.site-card a { font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.site-lead { font-size: 22px; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }
.site-footer { border-top: 2px solid var(--ink); }
.site-call { background: #c5ddd0; }
.site-call > .site-width { display: flex; align-items: center; gap: 32px; padding-block: 65px; }
.site-call h2 { font-size: 46px; font-weight: 750; letter-spacing: -.02em; line-height: 1.06; }
.site-call .site-button { margin-left: auto; min-height: 48px; padding: 12px 20px; gap: 24px; font-size: 13px; box-shadow: 3px 3px 0 #000; }
.site-map { border-top: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.site-links { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(6, minmax(0, 1fr)); gap: 34px 26px; padding-block: 58px 50px; font-size: 13px; }
.site-about { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 20px; }
.site-about > span { display: inline-flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 750; letter-spacing: -1.6px; line-height: 1; }
.site-about > p { max-width: 250px; line-height: 1.6; opacity: .8; }
.site-about > a { font-weight: 750; text-decoration: underline !important; text-underline-offset: 5px; }
.site-links > nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-links > nav > strong { margin-bottom: 6px; padding: 3px 8px; border-radius: 2px; color: var(--ink); font-size: 11px; font-weight: 750; line-height: 1.3; }
.site-links > nav > a { opacity: .86; }
.site-links > nav > a:hover { opacity: 1; }
.site-legal { padding-block: 20px 26px; border-top: 1px solid #fffefa40; font-size: 11px; opacity: .7; }
@media (max-width: 1100px) {
  .site-width { width: calc(100% - 72px); }
  .site-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-about { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
}
@media (max-width: 850px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
}
@media (max-width: 640px) {
  .site-width { width: calc(100% - 40px); }
  .site-header { min-height: 66px; padding: 10px 20px; gap: 12px; }
  .site-brand { font-size: 28px; gap: 7px; }
  .site-brand > img { width: 24px; height: 29px; }
  .site-main { padding-block: 56px 70px; }
  .site-card { margin-top: 28px; padding: 20px 20px 22px; box-shadow: 4px 4px 0 #000; }
  .site-lead { font-size: 19px; }
  .site-call > .site-width { flex-wrap: wrap; gap: 22px; padding-block: 43px; }
  .site-call img { width: 36px; height: 54px; }
  .site-call h2 { font-size: 34px; }
  .site-call .site-button { margin: 6px 0 0; }
  .site-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; padding-block: 40px 34px; }
}
.public-page .agent-error { scroll-margin-top: 24px; margin: 0 -16px; padding: 1px 16px; border-radius: 12px; }
.public-page .agent-error:target { background: #fff3cf; }
.public-page .agent-error h2 { margin-top: 20px; }
.public-page code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: #f1eee6; }
