:root {
  --color-page: #f5f8fc;
  --color-surface: #ffffff;
  --color-primary: #214f9d;
  --color-primary-soft: #edf3fb;
  --color-accent: #38bdef;
  --color-highlight: #cedc29;
  --color-heading: #162337;
  --color-body: #4e6076;
  --color-muted: #718096;
  --color-border: #e1e8f0;
  --color-success: #2f8a68;
  --shadow-card: 0 1.125rem 3rem rgba(32, 67, 112, 0.11);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-heading);
  background: var(--color-page);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--color-page);
}

body {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% 11%, rgba(56, 189, 239, 0.18), transparent 24rem),
    var(--color-page);
}

.site-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

.page-main {
  display: flex;
  width: 100%;
  max-width: 45rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-mark {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.brand-mark__ring {
  position: absolute;
  inset: 0.375rem;
  border: 0.5rem solid #2959a7;
  border-radius: 50%;
}

.brand-mark__light {
  position: absolute;
  top: 1.4375rem;
  left: 1.75rem;
  width: 2rem;
  height: 1rem;
  border: 0.375rem solid var(--color-highlight);
  border-bottom: 0;
  border-radius: 2rem 2rem 0 0;
}

.brand-mark__door {
  position: absolute;
  right: 1.1875rem;
  bottom: 0.875rem;
  width: 1.5rem;
  height: 2.375rem;
  border-radius: 0.25rem 0.25rem 0 0;
  background: var(--color-accent);
  transform: skewY(-10deg);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 0.75rem;
  color: var(--color-primary);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.brand__subtitle {
  margin-top: 0.5rem;
  color: #7b8797;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.service-card {
  width: 100%;
  margin-top: 1.75rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 1.875rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.service-card__heading {
  text-align: center;
}

.service-card__eyebrow {
  display: inline-flex;
  padding: 0.4375rem 0.75rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0.25rem rgba(47, 138, 104, 0.12);
}

h2 {
  max-width: 35rem;
  margin: 1rem auto 0;
  color: var(--color-primary);
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.45;
}

.service-card__description {
  max-width: 31rem;
  margin: 0.75rem auto 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.service-list {
  display: grid;
  margin-top: 1.75rem;
  gap: 0.75rem;
}

.service-item {
  display: grid;
  padding: 1rem;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.875rem;
  border: 1px solid #dce5ef;
  border-radius: 1.3125rem;
  background: var(--color-surface);
}

.service-item__index {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
}

h3 {
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.service-item p {
  margin-top: 0.25rem;
  color: var(--color-body);
  font-size: 0.875rem;
  line-height: 1.65;
}

.access-note {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  background: #f7f9fc;
  color: var(--color-muted);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.site-footer {
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  flex: 0 0 auto;
  color: #7c8999;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.75;
}

.site-footer a {
  display: inline-block;
  margin-top: 0.125rem;
  color: #596b82;
  text-decoration: none;
  text-underline-offset: 0.1875rem;
}

.site-footer a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.site-footer a:focus-visible {
  border-radius: 0.25rem;
  outline: 0.1875rem solid rgba(41, 89, 167, 0.3);
  outline-offset: 0.1875rem;
}

@media (min-width: 48rem) {
  .page-main {
    padding-top: 4.5rem;
  }

  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-item {
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (max-width: 23rem) {
  .page-main {
    padding-right: 0.875rem;
    padding-left: 0.875rem;
  }

  .service-card {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .brand__subtitle {
    letter-spacing: 0.06em;
  }
}

@media (max-height: 46.25rem) and (min-width: 30rem) {
  .page-main {
    padding-top: 2rem;
  }

  .brand-mark {
    width: 4.5rem;
    height: 4.5rem;
    transform: scale(0.82);
  }

  .service-card {
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
