/* CUI design system: reusable defaults for new and converted pages. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{color:var(--brand-body);font-family:var(--sans);background:var(--brand-surface);line-height:1.65}
img,svg{max-width:100%}
:where(h1,h2,h3,h4,p,ul,ol,figure,blockquote){margin-top:0}
:where(h1,h2,h3,h4){color:var(--brand-ink);text-wrap:balance}
:where(p,li){text-wrap:pretty}
.cui-container,.content-container,.section-inner{width:min(calc(100% - 48px),var(--content-width));margin-inline:auto}
.cui-section{padding-block:var(--section-space)}
.cui-section--compact{padding-block:clamp(36px,5vw,64px)}
.cui-section--alt{background:var(--brand-surface-alt)}
.cui-section + .cui-section{border-top:1px solid color-mix(in srgb,var(--brand-border) 72%,transparent)}
.cui-eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--red);margin-bottom:1rem}
.cui-heading{font-family:var(--serif);font-weight:300;line-height:.98;letter-spacing:-.025em;font-size:clamp(2.35rem,5vw,4.75rem);margin-bottom:1.25rem}
.cui-lead{font-size:clamp(1.05rem,1.4vw,1.3rem);line-height:1.65;color:var(--brand-muted);max-width:760px}
.cui-grid{display:grid;gap:clamp(20px,3vw,38px)}
.cui-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.cui-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cui-card{background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:var(--ui-radius);padding:clamp(24px,3vw,40px)}
.cui-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--brand-border);background:var(--brand-surface)}
.cui-table,table.cui-standard{width:100%;border-collapse:collapse;font-size:.95rem}
.cui-table th,table.cui-standard th{padding:15px 18px;text-align:left;background:var(--brand-ink);color:#fff;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500}
.cui-table td,table.cui-standard td{padding:15px 18px;border-bottom:1px solid var(--brand-border);vertical-align:top}
.cui-table tbody tr:nth-child(even),table.cui-standard tbody tr:nth-child(even){background:var(--brand-surface-alt)}
.cui-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border:1px solid var(--red);background:var(--red);color:#fff;font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}
.cui-button--secondary{background:transparent;color:var(--brand-ink);border-color:var(--brand-ink)}
.cui-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cui-field{display:grid;gap:8px}.cui-field label{font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-ink)}
.cui-field :where(input,select,textarea){width:100%;min-height:52px;border:1px solid var(--brand-border);background:#fff;padding:12px 15px;font:inherit;color:var(--brand-ink)}
.cui-field textarea{min-height:140px;resize:vertical}
.footer{background:var(--demo-footer-bg,var(--brand-footer-bg));color:var(--demo-footer-text,var(--brand-footer-text))}
@media(max-width:760px){.cui-container,.content-container,.section-inner{width:min(calc(100% - 32px),var(--content-width))}.cui-grid--2,.cui-grid--3,.cui-form-grid{grid-template-columns:1fr}}
