/* Shared palette and accessibility defaults for all customer-facing pages. */
:root {
  color-scheme: light;
  --red: #b3202a;
  --red-dark: #901a23;
  --red-hover: var(--red-dark);
  --ink: #171719;
  --muted: #56585e;
  --line: #d6d0c9;
  --paper: #f7f5f1;
  --surface: #fff;
  --soft-red: #fbecea;
  --substep: #a76f74;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 5;
  padding: 8px 12px;
  background: var(--surface);
}
.skip:focus {
  top: 12px;
}
:root.dark {
  color-scheme: dark;
  --paper: #171719;
  --surface: #252528;
  --ink: #f5f3f0;
  --muted: #c7c5c4;
  --line: #646166;
  --soft-red: #382021;
  --red: #f45850;
  --red-hover: #ff6259;
  --substep: #f45850;
}

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

/* Shared site chrome. The standalone homepage uses the same class contract as Header.astro. */
.site-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 16px 22px;
  background: #171719;
  color: #fff;
  font:
    400 16px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: normal;
}
.site-header__inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.site-header .site-logo {
  display: block;
  flex: none;
}
.site-logo__home {
  display: block;
  text-decoration: none;
}
.site-logo__image {
  display: block;
  width: 210px;
  height: auto;
}
.site-logo__tagline a {
  color: inherit;
  text-underline-offset: 3px;
}
.site-logo__tagline {
  display: block;
  padding-left: 43px;
  color: #d5d4d3;
  font:
    600 10px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: none;
}
.site-header__nav {
  display: none;
  flex-wrap: wrap;
  gap: 4px 20px;
  width: 100%;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d5d4d3;
  cursor: pointer;
}
.theme-toggle:hover {
  background: #303033;
  color: #fff;
}
.theme-toggle[hidden],
.theme-toggle [data-theme-icon='light'],
:root.dark .theme-toggle [data-theme-icon='dark'] {
  display: none;
}
:root.dark .theme-toggle [data-theme-icon='light'] {
  display: block;
}
@media (max-width: 399px) {
  .site-header {
    padding-inline: 16px;
  }
  .site-header__inner {
    gap: 12px;
  }
  .site-logo__image {
    width: 180px;
  }
  .site-logo__tagline {
    padding-left: 37px;
  }
}
.site-header__menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}
.site-header__menu summary::-webkit-details-marker {
  display: none;
}
.site-header__menu-icon {
  display: grid;
  gap: 5px;
  width: 24px;
}
.site-header__menu-icon span {
  height: 2px;
  background: #fff;
}
.site-header__menu[open] .site-header__menu-icon span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.site-header__menu[open] .site-header__menu-icon span:nth-child(2) {
  visibility: hidden;
}
.site-header__menu[open] .site-header__menu-icon span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.site-header__menu .site-header__nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(280px, calc(100vw - 44px));
  padding: 12px 20px;
  border: 1px solid #646166;
  background: #171719;
  box-shadow: 0 12px 24px #0003;
}
.site-header .site-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font:
    600 14px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  text-decoration: none;
  text-underline-offset: 3px;
}
.site-header__nav a:hover,
.site-header__nav a[aria-current='page'] {
  text-decoration: underline;
}
.site-header__nav a[aria-current='page'] {
  color: #ef858a;
}
.site-header :focus-visible {
  outline: 3px solid #ef858a;
  outline-offset: 4px;
}
@media (min-width: 1000px) {
  .site-header {
    min-height: 96px;
    padding: 20px 40px;
  }
  .site-header__inner {
    max-width: 1160px;
  }
  .site-header__nav {
    display: flex;
    width: auto;
  }
  .site-header__menu {
    display: none;
  }
  .site-logo__image {
    width: 250px;
  }
  .site-logo__tagline {
    padding-left: 51px;
  }
}
:root.dark .site-header {
  background: #09090a;
}

@media print {
  .site-header {
    display: none;
  }
}

.brand-domain {
  text-transform: none;
}

.service-name {
  color: var(--red);
  text-transform: none;
}
