:root {
  color-scheme: light;
  --accent: #55c98b;
  --accent-strong: #32b874;
  --info: #4caaf4;
  --ink: #24272b;
  --muted: #8d949d;
  --line: #e8ebee;
  --surface: #f5f6f7;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(39, 57, 73, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--white);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 34%, rgba(76, 170, 244, 0.045), transparent 30%),
    var(--white);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

.page-shell {
  width: min(100%, 620px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(74px, 14svh, 144px) 28px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.visit-content {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  animation: contentEnter 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.info-mark {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--info);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(76, 170, 244, 0.2);
  animation: markFloat 4.2s ease-in-out 700ms infinite;
}

.info-mark::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(76, 170, 244, 0.18);
  border-radius: inherit;
  animation: markPulse 2.8s ease-out 900ms infinite;
}

.info-mark svg {
  width: 44px;
  height: 44px;
}

.visit-heading {
  margin: 42px 0 0;
  font-size: clamp(30px, 7.5vw, 40px);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.destination {
  width: min(100%, 480px);
  margin: 25px 0 0;
  color: #34383d;
  font-size: clamp(17px, 4.6vw, 22px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.continue-button {
  width: min(100%, 330px);
  min-height: 62px;
  margin-top: clamp(64px, 10svh, 106px);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  background: var(--surface);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 8px 26px rgba(44, 68, 84, 0.04);
  cursor: pointer;
  font-size: 21px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.continue-button:hover,
.continue-button:focus-visible {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 15px 34px rgba(50, 184, 116, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.continue-button:active {
  transform: translateY(1px) scale(0.985);
}

.continue-button.is-leaving {
  color: var(--white);
  background: var(--accent);
  pointer-events: none;
}

.page-footer {
  margin-top: 50px;
  color: #c1c6cb;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@keyframes contentEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes markPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.88);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (max-height: 760px) {
  .page-shell {
    padding-top: 52px;
  }

  .info-mark {
    width: 72px;
    height: 72px;
  }

  .visit-heading {
    margin-top: 30px;
  }

  .continue-button {
    margin-top: 46px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding-right: 22px;
    padding-left: 22px;
  }
}

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