.end-of-service-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(108, 228, 250, .2), transparent 32rem),
    linear-gradient(145deg, var(--surface), #fff 55%, #eaf2ff);
}

.service-notice {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(250px, 1fr);
  justify-items: center;
  padding: clamp(24px, 6vw, 72px);
}

.service-notice-card {
  grid-row: 2;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 28, 69, .12);
  text-align: center;
}

.service-notice-brand {
  grid-row: 3;
  align-self: center;
  display: inline-block;
}

.service-notice-brand img {
  width: clamp(174px, 30vw, 220px);
  height: auto;
}

.fieldviewer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}

.fieldviewer-logo img {
  width: 38px;
  height: 38px;
}

.service-notice-card h1 {
  max-width: none;
  margin-inline: auto;
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  white-space: nowrap;
}

.service-notice-message {
  max-width: 590px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}

.service-notice-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.service-notice-home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--cobalt);
  font-weight: 700;
}

.service-notice-home-link:hover {
  color: var(--cobalt-dark);
}

.service-notice-home-link span {
  transition: transform .2s ease;
}

.service-notice-home-link:hover span {
  transform: translateX(3px);
}

@media (max-width: 550px) {
  .service-notice {
    padding: 16px;
  }

  .service-notice-card {
    width: 100%;
    max-width: 100%;
    padding: 36px 24px 42px;
    border-radius: 12px;
  }

  .service-notice-card h1,
  .service-notice-message {
    overflow-wrap: anywhere;
  }

  .service-notice-card h1 {
    white-space: normal;
  }

  .service-notice-action {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-notice-action {
    transition: none;
  }
}
