/* Only schema-v2 documents that passed MicrositeLayoutRegistry.TryPlan receive ms-designed. */
.ms-designed {
  --ms-space: 2.5rem;
  --ms-radius: 18px;
  --ms-rule: 1px;
  --ms-depth: 0 12px 32px #00000018;
  --ms-max: 1160px;
  background: var(--ms-bg);
  color: var(--ms-fg);
  font-family: system-ui, "Segoe UI", sans-serif;
}
.ms-designed.ms-font-serif { font-family: Georgia, "Times New Roman", serif; }
.ms-designed.ms-font-display { font-family: "Arial Black", Impact, system-ui, sans-serif; }
.ms-designed.ms-font-mono { font-family: "Courier New", Consolas, monospace; }
.ms-designed.ms-density-compact { --ms-space: 1.15rem; }
.ms-designed.ms-density-airy { --ms-space: clamp(3rem, 8vw, 8rem); }
.ms-designed.ms-radius-sharp { --ms-radius: 0; }
.ms-designed.ms-radius-round { --ms-radius: 30px; }
.ms-designed.ms-border-none { --ms-rule: 0px; }
.ms-designed.ms-border-bold { --ms-rule: 3px; }
.ms-designed.ms-shadow-none { --ms-depth: none; }
.ms-designed.ms-width-narrow { --ms-max: 820px; }
.ms-designed.ms-width-wide { --ms-max: 1480px; }
.ms-designed .site-shell { width: min(var(--ms-max), calc(100% - 32px)); max-width: none; }
.ms-designed .public-site-header { background: var(--ms-bg); color: var(--ms-fg); border-bottom: var(--ms-rule) solid var(--ms-accent); }
.ms-designed .ms-layout { min-width: 0; gap: var(--ms-space); }
.ms-designed .ms-layout > * { min-width: 0; }
.ms-designed .ms-layout.ms-tone-accent { padding: var(--ms-space); background: var(--ms-accent); color: var(--ms-accent-fg); border-radius: var(--ms-radius); }
.ms-designed .ms-layout.ms-tone-base { background: var(--ms-bg); color: var(--ms-fg); }
.ms-designed .ms-layout.ms-scoped-colors { padding: var(--ms-space); background: var(--ms-panel-bg); color: var(--ms-panel-fg); border-radius: var(--ms-radius); }
.ms-designed .ms-layout.ms-section-height { min-height: var(--ms-min-height); align-content: center; }
.ms-designed .ms-layout.ms-align-center { text-align: center; }
.ms-designed .ms-layout.ms-align-end { text-align: right; }
.ms-designed .ms-layout.ms-align-center .ms-hero { justify-content: center; }
.ms-designed .ms-layout.ms-align-center .hero-copy { margin-inline: auto; }
.ms-designed .ms-layout.ms-align-center .ms-contact { justify-content: center; }
.ms-designed .ms-layout.ms-align-center .ms-links a { text-align: left; }
.ms-designed .site-shell a:not(.ms-primary) { color: inherit; }
.ms-designed .ms-section { padding: var(--ms-space) clamp(12px, 3vw, 42px); }
.ms-designed .ms-hero { min-height: clamp(440px, 72vh, 850px); margin: 0; border-radius: var(--ms-radius); background: var(--ms-accent); color: var(--ms-accent-fg); box-shadow: var(--ms-depth); }
.ms-designed .ms-hero > img { opacity: var(--hero-image-opacity, .4); }
.ms-designed .hero-copy { max-width: 850px; z-index: 2; background: var(--ms-accent); padding: clamp(24px, 5vw, 70px); border-radius: var(--ms-radius); }
.ms-designed .hero-copy h1 { font-size: clamp(2.8rem, 7.5vw, 7rem); overflow-wrap: anywhere; }
.ms-designed .ms-primary { border-radius: var(--ms-radius); background: var(--ms-accent); color: var(--ms-accent-fg); border: var(--ms-rule) solid currentColor; }
.ms-designed .ms-hero .ms-primary, .ms-designed .ms-tone-accent .ms-primary { background: var(--ms-bg); color: var(--ms-fg); }
.ms-designed .ms-inline-pay button,
.ms-designed .ms-catalog-form button { background: var(--ms-accent); color: var(--ms-accent-fg); }
.ms-designed .ms-links a,
.ms-designed .ms-services article,
.ms-designed .ms-catalog-card { border: var(--ms-rule) solid var(--ms-accent); border-radius: var(--ms-radius); background: var(--ms-bg); color: var(--ms-fg); box-shadow: var(--ms-depth); }
.ms-designed .ms-catalog-card { padding: clamp(14px, 2vw, 24px); }
.ms-designed .ms-catalog-card p,
.ms-designed .ms-catalog-form label { color: var(--ms-fg); }
.ms-designed .ms-about img,
.ms-designed .ms-gallery img,
.ms-designed .ms-catalog-card img { border-radius: var(--ms-radius); }
.ms-designed .ms-services a { color: var(--ms-fg); text-decoration: underline; }
.ms-designed .ms-footer { border-top: var(--ms-rule) solid var(--ms-accent); }
.ms-designed :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--ms-accent); outline-offset: 3px; }
@media (min-width: 800px) {
  .ms-designed .ms-layout.ms-cols-1 { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ms-designed .ms-layout.ms-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-designed .ms-layout.ms-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-designed .ms-layout.ms-layout-split.ms-split-custom { display: grid; grid-template-columns: minmax(0, var(--ms-split)) minmax(0, 1fr); }
  .ms-designed.ms-width-wide.ms-density-airy .ms-hero { min-height: min(90vh, 960px); }
  .ms-designed.ms-density-compact .ms-catalog { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}
/* Font, border and radius tokens combine to create a pixel-era presentation. */
.ms-designed.ms-font-mono.ms-radius-sharp.ms-border-bold .ms-hero,
.ms-designed.ms-font-mono.ms-radius-sharp.ms-border-bold .ms-catalog-card,
.ms-designed.ms-font-mono.ms-radius-sharp.ms-border-bold .ms-links a { box-shadow: 7px 7px 0 var(--ms-accent); }
.ms-designed.ms-font-mono.ms-radius-sharp.ms-border-bold .hero-copy h1 { text-transform: uppercase; letter-spacing: -.06em; }
.ms-motion-reveal .ms-reveal-pending { opacity: 0; transform: translateY(22px); }
.ms-motion-reveal .ms-reveal-ready { opacity: 1; transform: none; }
.ms-motion-reveal .ms-reveal-pending,
.ms-motion-reveal .ms-reveal-ready { transition: opacity .6s ease, transform .6s ease; }
@media (max-width: 799px) {
  .ms-designed .site-shell { width: calc(100% - 24px); }
  .ms-designed .ms-layout.ms-cols-2,
  .ms-designed .ms-layout.ms-cols-3 { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ms-designed .ms-layout.ms-tone-accent { padding: 18px; }
  .ms-designed .ms-hero { min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-motion-reveal .ms-reveal-pending,
  .ms-motion-reveal .ms-reveal-ready { opacity: 1; transform: none; transition: none; }
}
