/*
 * WaysteStar site kit: the "Route sheet" marketing design language for the static sub-sites
 * (dev.waystestar.com, updates.waystestar.com, status.waystestar.com). Source of truth:
 * marketing/site-kit/ on the marketing branch; each site carries a copy in assets/site-kit/.
 * Spec: waystestar-marketing-design-system.md, "Sub-sites". Every class is sk-* so nothing here
 * collides with a site's own stylesheet. No inline styles or scripts are needed (strict CSP).
 */

@font-face {
  font-family: "MK Display";
  src: url("./fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MK Sans";
  src: url("./fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MK Mono";
  src: url("./fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --mk-paper: #f7f2e9;
  --mk-ink: #16201a;
  --mk-ground: #2b3c31;
  --mk-mist: #efe7d8;
  --mk-mint: #cfeedc;
  --mk-leaf: #6fd39d;
  --mk-forest: #036039;
  --mk-deep: #0a2a1b;
  --mk-glow: #23d585;
  --mk-white: #ffffff;
  --mk-alert: #b42318;
  --mk-warn: #a8670b;
  --mk-info: #2f6aa3;
  --mk-unknown: #7d8982;
  --mk-ink-80: rgb(22 32 26 / 0.8);
  --mk-ink-60: rgb(22 32 26 / 0.62);
  --mk-ink-50: rgb(22 32 26 / 0.56);
  --mk-ink-20: rgb(22 32 26 / 0.2);
  --mk-hairline: rgb(22 32 26 / 0.12);
  --mk-font-display: "MK Display", "Helvetica Neue", Arial, sans-serif;
  --mk-font-sans: "MK Sans", "Helvetica Neue", Arial, sans-serif;
  --mk-font-mono: "MK Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --mk-gutter: clamp(18px, 4.44vw, 64px);
  --mk-content: 1312px;
  --sk-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sk-pop: cubic-bezier(0.34, 1.45, 0.64, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
.sk-page,
.sk-page * {
  box-sizing: border-box;
}
.sk-page {
  margin: 0;
  background: var(--mk-paper);
  color: var(--mk-ink);
  font-family: var(--mk-font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.sk-page a {
  color: inherit;
}
.sk-page :focus-visible {
  outline: 2px solid var(--mk-forest);
  outline-offset: 3px;
  border-radius: 4px;
}
.sk-wrap {
  width: 100%;
  max-width: calc(var(--mk-content) + 2 * var(--mk-gutter));
  margin-inline: auto;
  padding-inline: var(--mk-gutter);
}
.sk-skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--mk-ink);
  color: var(--mk-paper) !important;
  transform: translateY(-160%);
  transition: transform 0.24s var(--sk-ease);
}
.sk-skip:focus {
  transform: none;
}
.sk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- type ---------- */
.sk-eyebrow {
  font-family: var(--mk-font-mono);
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sk-display {
  margin: 0;
  font-family: var(--mk-font-display);
  font-weight: 800;
  letter-spacing: -0.022em;
  font-size: clamp(40px, 4.44vw, 64px);
  line-height: 1.04;
}
.sk-display .sk-tint {
  color: var(--mk-forest);
}
.sk-h2 {
  margin: 0;
  font-family: var(--mk-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
}
.sk-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--mk-ink-80);
}
.sk-muted {
  color: var(--mk-ink-60);
}
.sk-tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons and links ---------- */
.sk-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 6px 0 18px;
  border: 0;
  border-radius: 11px;
  background: var(--mk-leaf);
  color: var(--mk-ink) !important;
  font: 500 14px/1 var(--mk-font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--sk-ease);
}
.sk-btn__go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mk-ink);
  color: var(--mk-leaf);
}
.sk-btn__go svg,
.sk-arrow {
  width: 12px;
  height: 12px;
  flex: none;
  transition: transform 0.55s var(--sk-pop);
}
.sk-btn:hover,
.sk-btn:focus-visible {
  background: color-mix(in srgb, var(--mk-leaf), var(--mk-white) 22%);
}
.sk-btn:hover .sk-btn__go svg,
.sk-btn:focus-visible .sk-btn__go svg,
.sk-link:hover .sk-arrow,
.sk-link:focus-visible .sk-arrow {
  transform: rotate(45deg);
}
.sk-btn--dark {
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--mk-ink);
  color: var(--mk-white) !important;
}
.sk-btn--dark:hover,
.sk-btn--dark:focus-visible {
  background: var(--mk-ground);
}
.sk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--mk-ink-20);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.3s var(--sk-ease);
}
.sk-link:hover {
  border-color: var(--mk-ink);
}

/* ---------- the dock (header) ---------- */
.sk-head {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--mk-gutter) 0;
  pointer-events: none;
}
.sk-dock {
  pointer-events: auto;
  width: min(100%, var(--mk-content));
  height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 8px;
  border-radius: 16px;
  background: rgb(10 42 27 / 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    inset 0 0 0 1px rgb(207 238 220 / 0.09),
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 18px 40px -26px rgb(0 0 0 / 0.55);
  color: var(--mk-white);
  transition:
    width 0.6s var(--sk-ease),
    height 0.6s var(--sk-ease);
}
.sk-head[data-condensed="true"] .sk-dock {
  width: min(100%, 1072px);
  height: 56px;
}
.sk-brand {
  flex: none;
  display: flex;
  align-items: center;
  height: 44px;
  padding-inline: 14px;
  border-radius: 10px;
  color: var(--mk-white) !important;
}
.sk-mark {
  --wm-h: 19px;
  display: block;
  height: var(--wm-h);
  width: calc(var(--wm-h) * 7.602);
  overflow: hidden;
  transition: width 0.6s var(--sk-ease);
}
.sk-mark svg {
  display: block;
  height: var(--wm-h);
  width: calc(var(--wm-h) * 7.602);
  max-width: none;
  fill: currentColor;
}
.sk-mark svg > g:nth-of-type(2) {
  transition: opacity 0.35s var(--sk-ease);
}
.sk-head[data-condensed="true"] .sk-mark {
  width: calc(var(--wm-h) * 1.76);
}
.sk-head[data-condensed="true"] .sk-mark svg > g:nth-of-type(2) {
  opacity: 0;
}
.sk-family {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sk-family a {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  color: rgb(247 242 233 / 0.8) !important;
  transition:
    background-color 0.3s var(--sk-ease),
    color 0.25s var(--sk-ease);
}
.sk-family a:hover,
.sk-family a:focus-visible {
  background: rgb(207 238 220 / 0.1);
  color: var(--mk-white) !important;
}
.sk-family a[aria-current] {
  color: var(--mk-white) !important;
}
/* the stop marker: you are here */
.sk-family a[aria-current]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--mk-leaf);
  box-shadow:
    0 0 0 3px rgb(111 211 157 / 0.16),
    0 0 12px rgb(111 211 157 / 0.55);
}
.sk-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sk-actions > a:not(.sk-btn) {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 12px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  color: rgb(247 242 233 / 0.8) !important;
  transition: background-color 0.3s var(--sk-ease);
}
.sk-actions > a:not(.sk-btn):hover,
.sk-actions > a:not(.sk-btn):focus-visible {
  background: rgb(207 238 220 / 0.1);
  color: var(--mk-white) !important;
}
@media (max-width: 1023px) {
  .sk-actions > a:not(.sk-btn) {
    display: none;
  }
}
@media (max-width: 760px) {
  .sk-dock {
    height: auto !important;
    min-height: 56px;
    flex-wrap: wrap;
    padding: 6px 6px 6px 2px;
    row-gap: 0;
  }
  .sk-mark {
    width: calc(var(--wm-h) * 1.76) !important;
  }
  .sk-mark svg > g:nth-of-type(2) {
    opacity: 0;
  }
  .sk-brand {
    padding-inline: 10px;
  }
  .sk-family {
    justify-content: flex-start;
  }
  .sk-family a {
    padding-inline: 10px;
    font-size: 13.5px;
  }
  .sk-actions {
    display: none;
  }
}

/* ---------- route sheet: numbered stops on a dashed line ---------- */
.sk-stops {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sk-stops > li {
  position: relative;
}
.sk-stops > li::before {
  content: "";
  position: absolute;
  left: 22.25px;
  top: 0;
  bottom: 0;
  border-left: 1.5px dashed var(--mk-ink-20);
  pointer-events: none;
}
.sk-stops > li:first-child::before {
  top: 50%;
}
.sk-stops > li:last-child::before {
  bottom: 50%;
}
.sk-stops > li:only-child::before {
  display: none;
}
.sk-stop {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s var(--sk-ease);
}
.sk-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 999px;
  background: var(--mk-paper);
  box-shadow: inset 0 0 0 1px var(--mk-ink-20);
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mk-ink-60);
  font-variant-numeric: tabular-nums;
  transition:
    background-color 0.3s var(--sk-ease),
    color 0.3s var(--sk-ease),
    box-shadow 0.3s var(--sk-ease);
}
a.sk-stop:hover,
a.sk-stop:focus-visible {
  background: rgb(207 238 220 / 0.5);
}
a.sk-stop:hover .sk-no,
a.sk-stop:focus-visible .sk-no,
.sk-stop[aria-current] .sk-no {
  background: var(--mk-forest);
  box-shadow: 0 0 0 4px rgb(3 96 57 / 0.14);
  color: var(--mk-white);
}
.sk-stop .sk-arrow {
  opacity: 0;
  transform: translate(-6px, 6px);
  transition:
    opacity 0.25s var(--sk-ease),
    transform 0.45s var(--sk-ease);
}
a.sk-stop:hover .sk-arrow,
a.sk-stop:focus-visible .sk-arrow {
  opacity: 1;
  transform: none;
}

/* the dark card version (hero cards) */
.sk-sheet {
  border-radius: 18px;
  padding: 24px 20px 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(111 211 157 / 0.16), transparent 55%), var(--mk-deep);
  color: var(--mk-white);
  box-shadow: 0 40px 80px -48px rgb(10 42 27 / 0.7);
}
.sk-sheet__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 0 8px 16px;
  border-bottom: 1px solid rgb(207 238 220 / 0.12);
  font-family: var(--mk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sk-sheet__head > * {
  white-space: nowrap;
}
.sk-sheet__head > :first-child {
  color: rgb(111 211 157 / 0.85);
}
.sk-sheet__head > :last-child {
  color: rgb(247 242 233 / 0.6);
}
.sk-sheet .sk-stops {
  padding-block: 8px;
}
.sk-sheet .sk-stops > li::before {
  border-color: rgb(207 238 220 / 0.22);
}
.sk-sheet .sk-no {
  background: var(--mk-deep);
  box-shadow: inset 0 0 0 1px rgb(207 238 220 / 0.26);
  color: rgb(247 242 233 / 0.65);
}
.sk-sheet a.sk-stop:hover,
.sk-sheet a.sk-stop:focus-visible {
  background: rgb(207 238 220 / 0.07);
}
.sk-sheet a.sk-stop:hover .sk-no,
.sk-sheet a.sk-stop:focus-visible .sk-no {
  background: var(--mk-leaf);
  box-shadow: 0 0 0 4px rgb(111 211 157 / 0.16);
  color: var(--mk-ink);
}
.sk-sheet .sk-arrow {
  color: var(--mk-leaf);
}
.sk-sheet__title {
  font-family: var(--mk-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.2;
}
.sk-sheet__sub {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: rgb(247 242 233 / 0.58);
}
.sk-sheet__foot {
  padding: 16px 8px 0;
  border-top: 1px solid rgb(207 238 220 / 0.12);
  font-size: 13.5px;
  line-height: 1.45;
  color: rgb(247 242 233 / 0.62);
}

/* ---------- small parts ---------- */
.sk-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mk-white);
  box-shadow: inset 0 0 0 1px var(--mk-hairline);
  color: var(--mk-ink);
  font: 400 14px/1 var(--mk-font-sans);
  cursor: pointer;
  transition:
    background-color 0.35s var(--sk-ease),
    color 0.35s var(--sk-ease),
    box-shadow 0.35s var(--sk-ease);
}
.sk-chip:hover {
  box-shadow: inset 0 0 0 1px var(--mk-ink-20);
}
.sk-chip[aria-pressed="true"] {
  background: var(--mk-ink);
  color: var(--mk-white);
  box-shadow: none;
}
.sk-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.sk-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--mk-white);
  color: var(--mk-ink);
  font: 400 16px var(--mk-font-sans);
  -webkit-appearance: none;
  appearance: none;
  box-shadow: inset 0 0 0 1px var(--mk-hairline);
  transition: box-shadow 0.24s var(--sk-ease);
}
.sk-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--mk-forest);
}
.sk-card {
  border-radius: 12px;
  background: var(--mk-white);
  box-shadow: inset 0 0 0 1px var(--mk-hairline);
}
.sk-note {
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--mk-mint);
  color: var(--mk-ink-80);
}
.sk-note > strong:first-child {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mk-font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--mk-ink);
}
.sk-live {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mk-unknown);
}
.sk-live::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.22;
  animation: sk-halo 2s ease-in-out infinite;
}
@keyframes sk-halo {
  50% {
    transform: scale(1.5);
    opacity: 0.06;
  }
}

/* ---------- footer: the four WaysteStar sites as one route ---------- */
.sk-foot {
  margin-top: clamp(64px, 8vw, 112px);
  background: var(--mk-ink);
  color: var(--mk-paper);
}
.sk-foot__inner {
  padding-block: clamp(48px, 6vw, 72px) 24px;
}
.sk-foot__title {
  margin: 0 0 28px;
  font-family: var(--mk-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}
.sk-foot__title span {
  color: var(--mk-leaf);
}
.sk-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sk-route > li {
  position: relative;
}
.sk-route > li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 25px;
  width: calc(100% + 8px);
  border-top: 1.5px dashed rgb(207 238 220 / 0.24);
}
.sk-route > li:last-child::before {
  display: none;
}
.sk-route a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s var(--sk-ease);
}
.sk-route .sk-no {
  background: var(--mk-ink);
  box-shadow: inset 0 0 0 1px rgb(207 238 220 / 0.26);
  color: rgb(247 242 233 / 0.65);
}
.sk-route a[aria-current] .sk-no {
  background: var(--mk-leaf);
  color: var(--mk-ink);
  box-shadow:
    0 0 0 4px rgb(111 211 157 / 0.16),
    0 0 16px rgb(111 211 157 / 0.5);
}
.sk-route a:hover {
  background: rgb(207 238 220 / 0.06);
}
.sk-route a:hover .sk-no {
  background: var(--mk-leaf);
  color: var(--mk-ink);
}
.sk-route strong {
  font-weight: 500;
  font-size: 16px;
}
.sk-route span:last-child {
  font-size: 13px;
  color: rgb(247 242 233 / 0.55);
}
.sk-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(247 242 233 / 0.12);
  font-size: 12.5px;
  color: rgb(247 242 233 / 0.6);
}
.sk-foot__legal a {
  text-decoration: none;
}
.sk-foot__legal a:hover {
  color: var(--mk-white);
}
.sk-foot__legal > :last-child {
  margin-left: auto;
}
@media (max-width: 760px) {
  .sk-route {
    grid-template-columns: 1fr 1fr;
    row-gap: 4px;
  }
  .sk-route > li:nth-child(2)::before {
    display: none;
  }
  .sk-foot__legal > :last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-page *,
  .sk-page *::before,
  .sk-page *::after {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}
