:root {
  --bg: #f3f3f1;
  --bg2: #e3e3e1;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5e5e5e;
  --accent: #ff2525;
  --accent2: #171717;
  --line: rgba(255, 37, 37, 0.28);
  --edge: #dededb;
  --edge2: #cacac7;
  --field: #f6f6f4;
  --accent-ink: #ffffff;
}

body {
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.025) 0 16%, transparent 16% 84%, rgba(255, 37, 37, 0.035) 84%),
    var(--bg);
  color: var(--text);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #d5d5d2;
  box-shadow: 0 10px 32px rgba(23, 23, 23, 0.055);
}

.site-header::after {
  height: 3px;
  background: linear-gradient(90deg, #ff2525 0 31%, #b9b9b7 31% 67%, #171717 67% 100%);
}

.bar {
  min-height: 82px;
  height: auto;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: clamp(172px, 18vw, 210px);
  height: auto;
}

.site-nav {
  gap: clamp(12px, 1.5vw, 22px);
}

.site-nav > a:not(.nav-route) {
  color: #3f3f3f;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-nav > a:not(.nav-route):hover {
  color: #ff2525;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.62)),
    linear-gradient(145deg, transparent 0 68%, rgba(255, 37, 37, 0.085) 68% 82%, rgba(23, 23, 23, 0.05) 82%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 42px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(23, 23, 23, 0.07);
  background: linear-gradient(135deg, rgba(255, 37, 37, 0.08), transparent 58%);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero .shell {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #171717;
  text-wrap: balance;
}

.eyebrow,
.module-label,
main.numbered .shell > .module:not(.no-count) .module-label::before {
  color: #e2181e;
}

.module {
  border-color: #d8d8d5;
  box-shadow: 0 18px 48px -36px rgba(23, 23, 23, 0.4);
}

.canon-pointer {
  border-left-color: #ff2525;
  background: linear-gradient(105deg, #ffffff 0 64%, rgba(255, 37, 37, 0.07));
  box-shadow: 0 16px 38px -30px rgba(23, 23, 23, 0.55);
}

.canon-pointer .cp-txt b {
  color: #e2181e;
}

.route-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(155, 0, 0, 0.34);
  background: linear-gradient(135deg, #ff3535 0%, #e3131b 48%, #b90910 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 12px 24px -14px rgba(190, 0, 10, 0.86),
    0 0 0 0 rgba(255, 37, 37, 0.34);
  animation: wtn-route-pulse 3.2s ease-in-out infinite;
}

.route-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% auto -45% -55%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: skewX(-20deg);
  animation: wtn-route-sheen 4.5s ease-in-out infinite;
}

.route-btn:hover {
  filter: brightness(1.06) saturate(1.06);
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 18px 32px -17px rgba(190, 0, 10, 0.95),
    0 0 0 5px rgba(255, 37, 37, 0.12);
}

.nav-route {
  min-height: 42px;
  padding: 0.68rem 1rem !important;
  margin-left: 2px;
  border-radius: 10px;
  font-size: 0.76rem !important;
  letter-spacing: 0.055em !important;
}

.site-footer {
  background: #171717;
  color: #d7d7d7;
  border-top: 4px solid #ff2525;
}

.site-footer a,
.site-footer .module-label {
  color: #ffffff;
}

.site-footer a:hover {
  color: #ff5555;
}

.footer-brand {
  color: #ffffff;
}

.footer-brand .fb-sub {
  color: #ff3535;
}

@keyframes wtn-route-pulse {
  0%, 100% { box-shadow: 0 12px 24px -14px rgba(190, 0, 10, 0.86), 0 0 0 0 rgba(255, 37, 37, 0.32); }
  52% { box-shadow: 0 15px 28px -14px rgba(190, 0, 10, 0.9), 0 0 0 8px rgba(255, 37, 37, 0); }
}

@keyframes wtn-route-sheen {
  0%, 58% { left: -55%; opacity: 0; }
  66% { opacity: 1; }
  82%, 100% { left: 125%; opacity: 0; }
}

@media (max-width: 980px) {
  .site-nav { gap: 10px; }
  .site-nav > a:not(.nav-route) { font-size: 0.69rem; }
  .brand-logo img { width: 168px; }
}

@media (max-width: 760px) {
  .bar { min-height: 74px; }
  .brand-logo img { width: 158px; }
  .site-header.open .site-nav {
    top: 74px;
    background: #ffffff;
    border-color: #d1d1ce;
    box-shadow: 0 18px 42px rgba(23, 23, 23, 0.16);
  }
  .site-header.open .site-nav > a:not(.nav-route) {
    padding: 0.72rem 0.3rem;
  }
  .nav-route {
    width: 100%;
    margin: 5px 0 0;
  }
  .hero::after {
    right: -210px;
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-btn,
  .route-btn::after {
    animation: none !important;
  }
}
