body:has(.sai-brand-guide) { margin: 0; }
.sai-brand-guide {
  --bg-ink: light-dark(#282824, #ebe8e1);
  --bg-muted: light-dark(#64635c, #bdb7ae);
  --bg-paper: light-dark(#fffdfa, #1c1c1b);
  --bg-surface: light-dark(#ffffff, #262623);
  --bg-line: light-dark(#e6dfd5, #44413a);
  --bg-accent: light-dark(#ac3c09, #ffb07a);
  --bg-good: light-dark(#256342, #a7dbb7);
  --bg-bad: light-dark(#a3382e, #f2a49a);
  background: radial-gradient(ellipse at 90% 0%, light-dark(#fff0df, #35281d), transparent 32%), var(--bg-paper);
  color: var(--bg-ink);
  font: 16px/1.7 Inter, "Avenir Next", "Segoe UI", sans-serif;
}
.sai-brand-guide *, .sai-brand-guide *::before, .sai-brand-guide *::after { box-sizing: border-box; }
.sai-brand-guide [hidden] { display: none !important; }
.sai-brand-guide :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.sai-brand-guide :is(h1,h2,h3) { font-family: inherit; line-height: 1.1; letter-spacing: -.045em; font-weight: 650; text-wrap: pretty; }
.sai-brand-guide a { color: inherit; text-decoration: none; }
.sai-brand-guide :is(a,button):focus-visible { outline: 2px solid var(--bg-accent); outline-offset: 5px; }
.sai-brand-guide img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.sai-brand-guide svg { flex-shrink: 0; }
.sai-bg-shell { width: min(1320px, calc(100% - clamp(36px, 8vw, 128px))); margin-inline: auto; }
.sai-bg-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-block: 24px; color: var(--bg-muted); font-size: 12px; }
.sai-bg-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.sai-bg-breadcrumb a:hover, .sai-bg-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.sai-bg-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: 28px 72px; }
.sai-brand-guide .sai-bg-eyebrow { color: var(--bg-accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.sai-brand-guide h1 { margin-top: 22px; font-size: clamp(38px, 4.3vw, 64px); line-height: 1.06; letter-spacing: -.058em; }
.sai-brand-guide h1 span { display: block; margin-top: 16px; color: var(--bg-accent); font-size: .61em; letter-spacing: -.04em; line-height: 1.2; }
.sai-bg-lead { max-width: 47ch; margin-top: 24px !important; font-size: 16px; line-height: 1.8; color: var(--bg-muted); }
.sai-bg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.sai-brand-guide .sai-bg-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 20px; border: 1px solid #c54300; border-radius: 9px; color: #fff; background: #c54300; font-size: 13px; font-weight: 650; line-height: 1.5; }
.sai-brand-guide .sai-bg-button:hover { background: #ac3c09; border-color: #ac3c09; }
.sai-bg-text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: var(--bg-accent) !important; font-size: 13px; font-weight: 600; }
.sai-bg-fine { margin-top: 14px !important; font-size: 11px; color: var(--bg-muted); }
.sai-bg-hero-art { min-width: 0; border: 1px solid var(--bg-line); border-radius: 18px; overflow: hidden; background: var(--bg-surface); box-shadow: 0 20px 55px -34px light-dark(#6e45295c, #0009); }
.sai-bg-art-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 17px 22px; font-size: 10px; color: var(--bg-muted); }
.sai-bg-art-top span:first-child { color: var(--bg-ink); font-weight: 650; }
.sai-bg-specimen { display: grid; gap: 20px; min-height: 204px; padding: 20px 25px; border-top: 1px solid var(--bg-line); }
.sai-bg-specimen img { width: 76%; max-width: 320px; justify-self: center; }
.sai-bg-specimen-label { font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.sai-bg-specimen-note { font-size: 10px; text-align: end; }
.sai-bg-white { background: #fff; color: #64635c; color-scheme: light; }
.sai-bg-charcoal { background: #171716; color: #bdb7ae; color-scheme: dark; }
.sai-bg-hero-art > figcaption { padding: 14px 22px; font-size: 10px; color: var(--bg-muted); }
.sai-bg-jump { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 15px; border-block: 1px solid var(--bg-line); }
.sai-bg-jump a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-inline: 20px; border-inline-end: 1px solid var(--bg-line); font-size: 12px; font-weight: 550; }
.sai-bg-jump a:first-child { padding-inline-start: 0; }.sai-bg-jump a:last-child { border: 0; }
.sai-bg-jump a:hover { color: var(--bg-accent); }
.sai-bg-jump span { color: var(--bg-accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.sai-bg-section { padding-block: clamp(64px, 7vw, 100px); border-bottom: 1px solid var(--bg-line); scroll-margin-top: 105px; }
.sai-bg-section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); gap: 32px; align-items: end; margin-bottom: 36px; }
.sai-brand-guide h2 { margin-top: 16px; font-size: clamp(30px, 3.3vw, 46px); }
.sai-bg-section-heading > p { max-width: 47ch; color: var(--bg-muted); font-size: 14px; line-height: 1.8; }
.sai-bg-assets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sai-bg-asset { min-width: 0; border: 1px solid var(--bg-line); border-radius: 14px; overflow: hidden; background: var(--bg-surface); }
.sai-bg-asset-preview { display: grid; place-items: center; height: 210px; padding: 32px; border-bottom: 1px solid var(--bg-line); background-image: radial-gradient(light-dark(#d7cabc70, #7868513d) .7px, transparent .7px); background-size: 14px 14px; }
.sai-bg-asset-copy { padding: 24px; }
.sai-bg-small-label { display: block; color: var(--bg-muted); font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .09em; }
.sai-brand-guide h3 { margin-top: 10px; font-size: 24px; }
.sai-bg-asset-copy > p { margin-top: 16px; color: var(--bg-muted); font-size: 13px; line-height: 1.8; }
.sai-bg-downloads { margin-top: 22px; border-top: 1px solid var(--bg-line); }
.sai-bg-downloads > div { display: flex; gap: 16px; align-items: center; min-height: 51px; border-bottom: 1px solid var(--bg-line); }
.sai-bg-downloads > div > span { margin-inline-end: auto; font-size: 11px; color: var(--bg-muted); }
.sai-bg-downloads a { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.sai-bg-downloads a:hover { color: var(--bg-accent); text-decoration: underline; text-underline-offset: 4px; }
.sai-bg-downloads > a { width: 100%; min-height: 51px; border-bottom: 1px solid var(--bg-line); }
.sai-bg-downloads > a span { margin-inline-start: auto; color: var(--bg-muted); font-size: 10px; font-weight: 400; }
.sai-bg-asset-copy .sai-bg-asset-note { font-size: 10px; line-height: 1.7; }
.sai-bg-auto-dark { display: none !important; }
html[data-sai-theme=dark] .sai-bg-auto-light { display: none !important; }
html[data-sai-theme=dark] .sai-bg-auto-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  html:not([data-sai-theme=light]) .sai-bg-auto-light { display: none !important; }
  html:not([data-sai-theme=light]) .sai-bg-auto-dark { display: block !important; }
}
.sai-bg-background-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sai-bg-background-grid figure { min-width: 0; }
.sai-bg-surface { height: 190px; padding: 30px; display: grid; place-items: center; border: 1px solid var(--bg-line); border-radius: 12px; }
.sai-bg-busy { background: repeating-linear-gradient(135deg,#ffc797 0 20px,#e69f6b 20px 40px); }
.sai-bg-safe-plate { background: #fff; padding: 22px; border-radius: 4px; }
.sai-bg-background-grid figcaption { padding-top: 18px; }
.sai-bg-background-grid strong, .sai-bg-clear-space figcaption strong { display: block; font-size: 13px; font-weight: 650; }
.sai-bg-background-grid figcaption p, .sai-bg-clear-space figcaption p { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--bg-muted); }
.sai-bg-space-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; margin-top: 56px; }
.sai-bg-clear-space { min-width: 0; }
.sai-bg-clear-frame { position: relative; width: min(100%, 368px); padding: 36px; margin: 0 auto 24px; border: 1px dashed var(--bg-accent); background: light-dark(#fff5e9, #33281e); }
.sai-bg-clear-frame img { border: 1px solid light-dark(#e2b494, #7a563b); }
.sai-bg-measure { position: absolute; top: 7px; inset-inline-start: 50%; transform: translateX(-50%); font-size: 9px; color: var(--bg-accent); white-space: nowrap; }
.sai-bg-minimum { padding: 28px; border: 1px solid var(--bg-line); border-radius: 12px; background: var(--bg-surface); }
.sai-bg-minimum h3 { font-size: 21px; }
.sai-bg-minimum dl { margin-top: 20px; }
.sai-bg-minimum dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 10px; border-bottom: 1px solid var(--bg-line); font-size: 12px; }
.sai-bg-minimum dt { font-weight: 600; }.sai-bg-minimum dd { color: var(--bg-muted); }
.sai-bg-minimum > p { margin-top: 17px; font-size: 11px; line-height: 1.8; color: var(--bg-muted); }
.sai-bg-swatches { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.sai-bg-swatch { min-width: 0; }
.sai-bg-color { height: 125px; margin-bottom: 16px; border-radius: 10px; border: 1px solid light-dark(#29251e1a, #ffffff26); }
.sai-bg-color--orange { background: #df4c00; }.sai-bg-color--peach { background: #ffb07a; }.sai-bg-color--ivory { background: #fff8f1; }.sai-bg-color--charcoal { background: #171716; }.sai-bg-color--white { background: #fff; }
.sai-bg-swatch strong { display: block; font-size: 12px; font-weight: 600; }
.sai-bg-swatch button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--bg-muted); cursor: pointer; }
.sai-bg-swatch button:hover { color: var(--bg-accent); }
.sai-bg-swatch code { font-size: 11px; background: transparent; color: inherit; }
.sai-bg-hex-fallback { display: block; padding-block: 12px; }
.sai-bg-swatch p { color: var(--bg-muted); font-size: 10px; }
.sai-bg-color-note { margin-top: 24px !important; color: var(--bg-muted); font-size: 12px; max-width: 82ch; }
.sai-bg-copy-status { min-height: 28px; color: var(--bg-accent); font-size: 12px; }
.sai-bg-type { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 64px; padding: 36px; margin-top: 24px; background: var(--bg-surface); border: 1px solid var(--bg-line); border-radius: 14px; }
.sai-bg-type h3 { font-size: 38px; }
.sai-bg-type > div > p:not(:first-child) { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--bg-muted); }
.sai-bg-type-specimen > p { font-size: 92px; line-height: 1; letter-spacing: -.07em; font-weight: 650; }
.sai-bg-type-specimen > span { display: block; margin-top: 16px; font-size: 19px; letter-spacing: -.03em; }
.sai-bg-type-specimen > span:last-child { font-size: 12px; letter-spacing: .04em; line-height: 1.9; overflow-wrap: anywhere; color: var(--bg-muted); }
.sai-bg-rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.sai-bg-rule-list { padding: 30px; border: 1px solid var(--bg-line); border-radius: 14px; background: var(--bg-surface); }
.sai-bg-rule-list h3 { display: flex; align-items: center; gap: 10px; margin-top: 0; font-size: 22px; }
.sai-bg-good { color: var(--bg-good); }.sai-bg-bad { color: var(--bg-bad); }
.sai-bg-rule-list ul { padding: 0; margin: 22px 0 0; list-style: none; }
.sai-bg-rule-list li { padding-block: 15px; border-top: 1px solid var(--bg-line); color: var(--bg-muted); font-size: 13px; line-height: 1.8; }
.sai-bg-rule-list li:last-child { padding-bottom: 0; }
.sai-bg-rule-list strong { color: var(--bg-ink); font-weight: 600; }
.sai-bg-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 20px; margin-top: 36px; }
.sai-bg-example-art { display: grid; place-items: center; height: 166px; padding: 32px; border: 1px solid var(--bg-line); border-radius: 12px; background: #fff; }
.sai-bg-example-art img { max-width: 210px; width: 100%; }
.sai-bg-example--stretch img { transform: scaleY(.52); }
.sai-bg-example--rotate img, .sai-bg-example--recolor img, .sai-bg-example--effects img { width: 76px; height: 76px; }
.sai-bg-example--rotate img { transform: rotate(-22deg); }
.sai-bg-example--recolor img { filter: hue-rotate(180deg); }
.sai-bg-example--contrast { background: #464641; }
.sai-bg-example--effects img { filter: drop-shadow(12px 12px 5px #44210080); }
.sai-bg-example figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; font-weight: 550; line-height: 1.5; }
.sai-bg-founder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(64px, 7vw, 100px); border-bottom: 1px solid var(--bg-line); scroll-margin-top: 105px; }
.sai-bg-founder-photo { min-width: 0; }
.sai-bg-founder-photo > img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--bg-line); }
.sai-bg-founder-photo figcaption { padding-top: 12px; color: var(--bg-muted); font-size: 11px; }
.sai-bg-founder-copy { min-width: 0; }
.sai-bg-founder-intro { max-width: 44ch; margin-top: 22px !important; color: var(--bg-muted); font-size: 14px; line-height: 1.8; }
.sai-bg-founder-signature { width: min(320px, 100%); margin-top: 18px; }
.sai-bg-founder-signature img { width: 100%; height: auto; }
.sai-bg-founder-name { font-size: 14px; font-weight: 650; line-height: 1.6; }
.sai-bg-founder-role { margin-top: 4px !important; color: var(--bg-muted); font-size: 12px; }
.sai-bg-contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 72px 88px; }
.sai-bg-contact h2 { font-size: clamp(28px,3vw,40px); }
.sai-bg-contact p:last-child { max-width: 62ch; margin-top: 16px; font-size: 14px; color: var(--bg-muted); }
.sai-brand-guide .sai-bg-button--secondary { flex-shrink: 0; color: var(--bg-ink); border-color: var(--bg-line); background: var(--bg-surface); }
.sai-brand-guide .sai-bg-button--secondary:hover { border-color: var(--bg-accent); color: var(--bg-accent); }
@media (max-width: 1100px) {
  .sai-bg-hero { gap: 30px; }.sai-bg-asset-preview { padding: 22px; height: 180px; }.sai-bg-asset-copy { padding: 20px; }
  .sai-bg-downloads > div { gap: 10px; }.sai-bg-surface { height: 160px; padding: 22px; }.sai-bg-safe-plate { padding: 18px; }
}
@media (max-width: 800px) {
  .sai-bg-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 16px 40px; }
  .sai-brand-guide h1 { font-size: clamp(38px,7vw,54px); }.sai-bg-lead { max-width: 58ch; }
  .sai-bg-hero-art { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.sai-bg-art-top, .sai-bg-hero-art > figcaption { grid-column: 1 / -1; }
  .sai-bg-specimen { min-height: 180px; padding: 18px; }.sai-bg-specimen img { width: 96%; }
  .sai-bg-jump { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 0; }.sai-bg-jump a { padding-inline: 16px; }.sai-bg-jump a:nth-child(odd) { padding-inline-start: 0; }.sai-bg-jump a:nth-child(even) { border: 0; }
  .sai-bg-section-heading { grid-template-columns: 1fr; gap: 20px; }.sai-bg-section-heading > p { max-width: 65ch; }
  .sai-bg-assets { grid-template-columns: 1fr; }.sai-bg-asset { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); }.sai-bg-asset-preview { height: auto; min-height: 220px; border-bottom: 0; border-inline-end: 1px solid var(--bg-line); }
  .sai-bg-background-grid { grid-template-columns: 1fr; gap: 28px; }.sai-bg-background-grid figure { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: center; }.sai-bg-background-grid figcaption { padding: 0; }
  .sai-bg-space-grid { gap: 30px; }.sai-bg-minimum { padding: 20px; }.sai-bg-clear-frame { padding: 28px; }
  .sai-bg-swatches { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 16px; }.sai-bg-color { height: 105px; }
  .sai-bg-type { gap: 30px; padding: 26px; }.sai-bg-rules { gap: 20px; }.sai-bg-rule-list { padding: 22px; }
  .sai-bg-founder { grid-template-columns: 1fr; gap: 32px; }.sai-bg-founder-intro { max-width: 58ch; }
  .sai-bg-examples { grid-template-columns: repeat(2,minmax(0,1fr)); }.sai-bg-contact { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 520px) {
  .sai-bg-shell { width: calc(100% - 36px); }.sai-bg-breadcrumb { padding-block: 12px; font-size: 10px; }
  .sai-bg-hero-art { grid-template-columns: 1fr; }.sai-bg-specimen { min-height: 170px; }.sai-bg-specimen img { max-width: 235px; width: 84%; }.sai-bg-art-top { padding: 14px 18px; }.sai-bg-hero-art > figcaption { padding: 14px 18px; }
  .sai-bg-jump a { gap: 8px; font-size: 10px; padding-inline: 12px; }.sai-bg-jump span { font-size: 9px; }
  .sai-bg-section { scroll-margin-top: 90px; }.sai-bg-section-heading { margin-bottom: 26px; }
  .sai-bg-asset { display: block; }.sai-bg-asset-preview { min-height: 170px; border-inline-end: 0; border-bottom: 1px solid var(--bg-line); padding: 32px; }.sai-bg-asset-copy { padding: 24px; }
  .sai-bg-background-grid figure { display: block; }.sai-bg-background-grid figcaption { padding-top: 16px; }.sai-bg-surface { height: 170px; }
  .sai-bg-space-grid, .sai-bg-type, .sai-bg-rules { grid-template-columns: 1fr; }.sai-bg-space-grid { margin-top: 40px; }.sai-bg-clear-frame { padding: 32px; }
  .sai-bg-swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }.sai-bg-color { height: 96px; }
  .sai-bg-type { padding: 24px; }.sai-bg-type-specimen { border-top: 1px solid var(--bg-line); padding-top: 24px; }
  .sai-bg-examples { gap: 24px 12px; }.sai-bg-example-art { height: 124px; padding: 18px; }.sai-bg-example--rotate img, .sai-bg-example--recolor img, .sai-bg-example--effects img { width: 54px; height: 54px; }.sai-bg-example figcaption { align-items: flex-start; font-size: 10px; }
  .sai-bg-contact { padding-block: 56px 64px; }
}
