:root {
  color-scheme: light;
  --background: #f5f8fc;
  --surface: #fff;
  --heading: #142740;
  --text: #344860;
  --secondary-text: #52657b;
  --blue: #245d96;
  --line: #d9e3ee;
  --gutter: clamp(1rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.65 system-ui, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

.page-width {
  width: min(56rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.site-mark {
  display: grid;
  width: 1.875rem;
  height: 1.875rem;
  flex: none;
  place-items: center;
}

.site-mark::after {
  width: 0.875rem;
  height: 0.875rem;
  border: 2px solid var(--blue);
  border-radius: 0.1875rem;
  background: #e4effc;
  transform: rotate(45deg);
  content: "";
}

.welcome {
  align-self: center;
  margin-block: clamp(1.5rem, 6vw, 4.5rem);
  padding: clamp(1.25rem, 6vw, 4.25rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at top right, #eaf3ff, transparent 62%), var(--surface);
  box-shadow: 0 0.75rem 2.5rem rgb(20 39 64 / 4%);
}

.welcome::before {
  display: block;
  width: 2.5rem;
  height: 0.1875rem;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
  border-radius: 1rem;
  background: var(--blue);
  content: "";
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
  color: var(--heading);
  font-size: clamp(1.875rem, 1.125rem + 3.4vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.description {
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.125rem);
  line-height: 1.75;
}

.status {
  margin-top: 0.5rem;
  color: var(--secondary-text);
  font-size: 0.9375rem;
}

.translation {
  max-width: 42rem;
  margin-top: clamp(1.25rem, 4vw, 2.25rem);
  padding-top: clamp(1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--line);
  color: var(--secondary-text);
}

.translation h2 {
  margin-bottom: 0.375rem;
  color: var(--heading);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.25rem);
  line-height: 1.4;
  text-wrap: balance;
}

.translation p {
  max-width: 60ch;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 1.25rem;
  padding-block: clamp(0.875rem, 2vw, 1.25rem);
  border-top: 1px solid var(--line);
  color: var(--secondary-text);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer a {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  color: #1d5086;
  font-size: 0.9375rem;
  text-underline-offset: 0.2em;
}

.site-footer a:focus-visible {
  border-radius: 0.125rem;
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}
