@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/commercial-inter-var.woff2') format('woff2-variations');
  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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/commercial-inter-var-ext.woff2') format('woff2-variations');
  unicode-range:
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

.commercial-site {
  --color-primary-700: #32040c;
  --color-primary-600: #640817;
  --color-primary-500: #960c23;
  --color-primary-400: #c8102e;
  --color-primary-300: #d64c63;
  --color-primary-200: #e38796;
  --color-primary-100: #fcf3f5;
  --color-secondary-700: #403400;
  --color-secondary-600: #806900;
  --color-secondary-500: #bf9d00;
  --color-secondary-400: #ffd100;
  --color-secondary-300: #ffdd40;
  --color-secondary-200: #ffe87f;
  --color-secondary-100: #fff9df;
  --color-ink: #000b1c;
  --color-ink-soft: #2f2f2f;
  --color-muted: #6d6d6d;
  --color-divider: #e6e6e6;
  --color-surface: #f8f8f8;
  --color-surface-warm: #fdfdfd;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow-lg: 0 10px 30px rgba(11, 37, 69, 0.08);
  --commercial-radius: 6px;
  min-height: 100vh;
  background: #fff;
  color: var(--color-ink-soft);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.commercial-site h1,
.commercial-site h2,
.commercial-site h3,
.commercial-site h4,
.commercial-site h5,
.commercial-site h6 {
  color: var(--color-ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
}

/* Preserve the reference display tracking on headings that do not opt into a
   Tailwind tracking utility. Template headings with `tracking-tight` retain
   that utility's exact metrics. */
.commercial-site h1:not([class*='tracking-']) {
  letter-spacing: -0.028em;
}

.commercial-site h2:not([class*='tracking-']) {
  letter-spacing: -0.022em;
}

/* Preserve explicit inverse headings inside dark Commercial sections. */
.commercial-site h1.text-white,
.commercial-site h2.text-white,
.commercial-site h3.text-white,
.commercial-site h4.text-white,
.commercial-site h5.text-white,
.commercial-site h6.text-white {
  color: #fff;
}

/* Footer section labels are gold on the ink background. Keep this selector
   more specific than the global heading color rule above. */
.commercial-site footer h3 {
  color: #ffd100;
}

.commercial-site .bg-dot-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.commercial-site .card-lift {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.commercial-site .card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-400);
}

.commercial-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--commercial-radius);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.commercial-site .btn-primary {
  background: var(--color-primary-400);
  color: #fff;
}

.commercial-site .btn-primary:hover {
  background: var(--color-primary-500);
  transform: translateY(-1px);
}

.commercial-site .btn-secondary {
  border: 1.5px solid var(--color-primary-400);
  background: #fff;
  color: var(--color-primary-400);
}

.commercial-site .btn-secondary:hover {
  background: var(--color-primary-100);
}

.commercial-site .btn-ghost {
  padding: 0.5rem 0.75rem;
  color: var(--color-ink);
}

.commercial-site .btn-ghost:hover {
  color: var(--color-primary-400);
}

.commercial-site .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.commercial-site .phone-link {
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.commercial-site .phone-link:hover {
  color: var(--color-primary-400);
}

.commercial-site .prose-amax h1 {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.commercial-site .prose-amax h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.commercial-site .prose-amax h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.commercial-site .prose-amax p,
.commercial-site .prose-amax ul,
.commercial-site .prose-amax ol {
  margin-bottom: 1rem;
  color: var(--color-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.commercial-site .prose-amax ul,
.commercial-site .prose-amax ol {
  margin-left: 1.5rem;
}

.commercial-site .prose-amax ul {
  list-style: disc;
}

.commercial-site .prose-amax ol {
  list-style: decimal;
}

.commercial-site .prose-amax li {
  margin-bottom: 0.375rem;
}

.commercial-site .prose-amax a {
  color: var(--color-primary-400);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.commercial-site .prose-amax strong {
  color: var(--color-ink);
  font-weight: 600;
}

@media (min-width: 768px) {
  .commercial-site .prose-amax h1 {
    font-size: 3rem;
  }

  .commercial-site .prose-amax h2 {
    font-size: 1.875rem;
  }
}

.commercial-site .skip-link {
  position: absolute;
  top: 1rem;
  left: -9999px;
  z-index: 100;
  border-radius: var(--commercial-radius);
  background: var(--color-ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.commercial-site .skip-link:focus {
  left: 1rem;
}

.commercial-site :focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 2px;
}
