:root {
  --bg: #191412;
  --gold: #ab7b41;
  --orange: #ffa02d;
  --muted: #7d6b61;
  --soft: #df9f55;
  --mail-text: #e5d7cf;
  --card-border: #513a29;
  --dark-glass: rgba(8, 6, 5, 0.5);
  --card-top: rgba(41, 31, 27, 0.5);
  --card-bottom: rgba(8, 6, 5, 0.5);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
}

body {
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.desktop-scene {
  position: relative;
  min-height: 852px;
  overflow: hidden;
}

.desktop-bg {
  position: absolute;
  top: -229px;
  left: calc(50% - 417px);
  width: 1361px;
  height: 1017px;
  overflow: hidden;
  pointer-events: none;
}

.desktop-bg::before {
  content: "";
  position: absolute;
  inset: -23.71% -4.55% -6.09% -17.71%;
  background: url("/assets/bg-glow-desktop.1353f39cfc30.svg") center / 100% 100% no-repeat;
}

.desktop-shell {
  position: relative;
  z-index: 1;
  width: min(1230px, calc(100vw - 48px));
  min-width: 920px;
  height: 852px;
  margin: 0 auto;
}

.person {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.person-desktop {
  top: 26px;
  right: 0;
  width: 472px;
  height: 715px;
  object-fit: fill;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 99%);
}

.desktop-main {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 1px;
  width: 781px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.logo {
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.desktop-logo {
  width: 160px;
  height: 80px;
}

.headline-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.desktop-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  white-space: nowrap;
  font-size: 93.606px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 7.4885px;
  transform: skewX(-5deg) scaleX(0.88);
  transform-origin: left top;
}

.desktop-title span:first-child {
  color: #fff;
}

.desktop-title span:last-child {
  color: var(--orange);
}

.tagline-row {
  display: flex;
  align-items: center;
  gap: 9.34px;
}

.tagline-row p {
  margin: 0;
  color: var(--orange);
  font-size: 26.685px;
  line-height: 1.4;
  white-space: nowrap;
}

.desktop-scene .tagline-row img {
  width: 227.16px;
  height: 2px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(81, 58, 41, 0.5);
  border-radius: 16px;
  background: rgba(8, 6, 5, 0.5);
  box-shadow: inset 0 0 0 0.5px rgba(81, 58, 41, 0.16);
  backdrop-filter: blur(16.5px);
}

.mini-icon img {
  width: 16px;
  height: 16px;
}

.mini-text {
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.feature-dot {
  width: 4px;
  height: 4px;
}

.route-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 49px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-grid[data-count="1"] {
  grid-template-columns: 1fr;
}

.route-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.route-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  height: 96px;
  min-height: 0;
  padding: 23px 24px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  backdrop-filter: blur(16.5px);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.route-card.active {
  border-color: var(--gold);
}

.route-card:hover,
.route-card:focus-visible,
.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.route-card:focus-visible,
.pill-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 160, 45, 0.36);
}

.route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 0.5px solid rgba(81, 58, 41, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, #291f1b 0%, #080605 100%);
}

.route-icon img {
  width: 16px;
  height: 16px;
}

.route-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.route-copy strong {
  color: #fff;
  font-size: 18.457px;
  font-weight: 600;
  line-height: 1.35;
}

.route-copy small {
  color: var(--muted);
  font-size: 13.843px;
  font-weight: 400;
  line-height: 1.35;
}

.button-row {
  display: flex;
  width: 100%;
  gap: 9.229px;
}

.pill-button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 9.229px;
  min-width: 0;
  height: 46.686px;
  padding: 13.843px 16.15px;
  border-radius: 999px;
  background: #b98544;
  color: #fff;
  font-size: 13.843px;
  font-weight: 500;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  filter: brightness(1.06);
}

.pill-button img {
  width: 18.457px;
  height: 18.457px;
}

.copy-toast {
  position: fixed;
  z-index: 20;
  right: 50%;
  bottom: 32px;
  padding: 10px 18px;
  border: 1px solid rgba(171, 123, 65, 0.45);
  border-radius: 999px;
  background: rgba(8, 6, 5, 0.88);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
  backdrop-filter: blur(16px);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.mail-card {
  border: 1px solid rgba(81, 58, 41, 0.5);
  border-radius: 16px;
  background: rgba(8, 6, 5, 0.5);
  backdrop-filter: blur(16.5px);
}

.desktop-mail {
  position: absolute;
  z-index: 4;
  top: 605px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 146px;
  padding: 24px 32px;
}

.mail-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0.955px solid rgba(57, 54, 47, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(29, 25, 22, 0.5), rgba(19, 18, 16, 0.5));
  backdrop-filter: blur(31.5px);
}

.desktop-mail .mail-icon {
  width: 84px;
  height: 84px;
}

.desktop-mail .mail-icon img {
  width: 45.818px;
  height: 45.818px;
}

.mail-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--mail-text);
}

.mail-copy p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.mail-copy p span:last-child {
  color: var(--gold);
}

.mail-copy small {
  width: 504px;
  color: var(--mail-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.mail-object {
  width: 212px;
  height: 97.846px;
  object-fit: fill;
}

.site-footer {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  white-space: normal;
}

.site-footer p {
  margin: 0;
}

.desktop-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 16px;
  left: 0;
}

.mobile-scene {
  display: none;
}

@media (max-width: 1270px) and (min-width: 768px) {
  .desktop-shell {
    min-width: 920px;
  }

  .desktop-main {
    left: 0;
    width: 700px;
  }

  .desktop-title {
    font-size: 78px;
    letter-spacing: 5px;
  }

  .tagline-row p {
    font-size: 23px;
  }

  .person-desktop {
    width: 410px;
    height: 620px;
  }

  .route-copy strong {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .landing {
    min-height: 796px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .desktop-scene {
    display: none;
  }

  .mobile-scene {
    position: relative;
    display: block;
    width: 100%;
    max-width: 375px;
    min-height: 796px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg);
  }

  .mobile-bg {
    position: absolute;
    top: -94.72px;
    left: -54.29px;
    width: 736.433px;
    height: 417.548px;
    overflow: hidden;
    pointer-events: none;
  }

  .mobile-bg::before {
    content: "";
    position: absolute;
    inset: -20.71% -5.28% -5.85% -12.92%;
    background: url("/assets/bg-glow-mobile.0344d1768e77.svg") center / 100% 100% no-repeat;
  }

  .person-mobile {
    top: 7px;
    left: 198.6px;
    width: 165.717px;
    height: 251.1px;
    object-fit: fill;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  }

  .mobile-intro {
    position: absolute;
    z-index: 2;
    top: 46px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }

  .mobile-logo {
    width: 92px;
    height: 46px;
  }

  .mobile-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .mobile-heading h1 {
    margin: 0;
    color: var(--orange);
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.92px;
    white-space: nowrap;
  }

  .mobile-heading .tagline-row {
    gap: 3.986px;
  }

  .mobile-heading .tagline-row p {
    font-size: 11.39px;
    line-height: normal;
  }

  .mobile-heading .tagline-row img {
    width: 21.356px;
    height: 1px;
  }

  .mobile-actions {
    position: absolute;
    z-index: 3;
    top: 207px;
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .mobile-routes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .mobile-scene .route-card {
    justify-content: center;
    width: 100%;
    height: 80px;
    min-height: 0;
    padding: 15px 32px;
  }

  .mobile-scene .route-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .mobile-scene .route-copy {
    align-items: flex-start;
  }

  .mobile-scene .route-copy strong {
    font-size: 18.457px;
    line-height: 1.3;
  }

  .mobile-scene .route-copy small {
    font-size: 13.843px;
    line-height: 1.3;
  }

  .mobile-buttons {
    gap: 8px;
  }

  .mobile-buttons .pill-button {
    height: 40px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: normal;
  }

  .mobile-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 78px;
    padding: 12px;
  }

  .mobile-mail .mail-icon {
    width: 54px;
    height: 54px;
    border-width: 0.614px;
    backdrop-filter: blur(20.25px);
  }

  .mobile-mail .mail-icon img {
    width: 29.455px;
    height: 29.455px;
  }

  .mobile-mail .mail-copy {
    flex: 1 1 0;
    min-width: 0;
    margin-left: 8px;
  }

  .mobile-mail .mail-copy p {
    width: 100%;
    color: var(--mail-text);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    white-space: normal;
  }

  .mobile-footer {
    position: absolute;
    z-index: 2;
    top: 707px;
    right: 16px;
    left: 16px;
    font-size: 12px;
    line-height: normal;
  }
}

@media (max-width: 360px) {
  .person-mobile {
    left: 52.96vw;
  }

  .mobile-scene .route-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mobile-scene .route-copy strong {
    font-size: 17px;
  }

  .mobile-scene .route-copy small {
    font-size: 12.8px;
  }
}
