*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-primary);
  background: var(--canvas);
  font-family: var(--font-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--action-primary); text-underline-offset: 0.2em; }
a:hover { color: var(--action-hover); }
button, input, select, textarea { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
img, svg { display: block; max-width: 100%; }
code, samp, kbd, .mono { font-family: var(--font-mono); overflow-wrap: anywhere; }
[translate="no"], .amount { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { color: var(--showcase-dark); background: var(--showcase-accent); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text-primary); line-height: 1.18; text-wrap: balance; }
h1 { margin-bottom: var(--space-5); font-size: clamp(2.25rem, 5vw, 4.75rem); letter-spacing: -0.045em; }
h2 { margin-bottom: var(--space-4); font-size: clamp(1.55rem, 2.5vw, 2.45rem); letter-spacing: -0.025em; }
h3 { margin-bottom: var(--space-3); font-size: 1.08rem; }
h1[id], h2[id], h3[id], section[id], main[id] { scroll-margin-top: 7rem; }

.site-shell { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.lede { max-width: 66ch; color: var(--text-secondary); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.text-danger { color: var(--danger); }
.text-link { font-weight: 650; }

.brand { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text-primary); text-decoration: none; }
.brand:hover { color: var(--text-primary); }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.brand-monogram { width: 44px; height: 32px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--action-primary); color: white; font-size: 0.875rem; font-weight: 750; }
.brand-copy { min-width: 0; max-width: 14rem; overflow-wrap: anywhere; }
.branding-preview { width: auto; max-width: min(100%, 260px); max-height: 120px; object-fit: contain; margin-block: 1rem; }
.company-introduction { white-space: pre-line; overflow-wrap: anywhere; max-width: 72ch; margin-block: 1.5rem; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 0.98rem; line-height: 1.05; letter-spacing: -0.015em; }
.brand-copy small { margin-top: 0.24rem; color: var(--text-secondary); font-size: 0.8125rem; line-height: 1; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-4);
  color: #fff;
  background: var(--showcase-dark);
  transform: translateY(-180%);
}
.skip-link:focus { color: #fff; transform: none; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; color: var(--text-secondary); font-size: 0.82rem; list-style: none; }
.breadcrumbs a { color: inherit; }
.breadcrumbs span[aria-hidden="true"] { color: var(--border-strong); }

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--action-primary);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .site-shell { width: min(calc(100% - 1.5rem), var(--content)); }
  h1 { font-size: clamp(2rem, 11vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .environment-bar, .site-header, .site-footer, .workspace-topbar, .workspace-sidebar, .workspace-mobile-nav, .hero-actions, .account-actions { display: none !important; }
  body { background: #fff; }
  a { color: #000; text-decoration: none; }
}
