:root {
  color-scheme: light;
  --background: #f5f5f0;
  --ink: #26352e;
  --muted: #747c74;
  --accent: #647c65;
  --line: #dfe3d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px clamp(24px, 5vw, 80px) 24px;
  background: radial-gradient(ellipse at 50% 42%, #fffef9 0%, var(--background) 65%);
}

.page-header,
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.mark {
  width: 18px;
  height: 18px;
  border: 5px solid var(--accent);
  border-radius: 50%;
}

.header-note {
  color: var(--muted);
  font-size: 12px;
}

.welcome {
  align-self: center;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 0 56px;
  text-align: center;
}

.illustration {
  position: relative;
  width: 216px;
  height: 160px;
  margin: 0 auto 36px;
}

.orbit {
  position: absolute;
  border: 1px solid #d7ddcf;
  border-radius: 50%;
  inset: 6px 34px;
}

.orbit-outer { transform: rotate(-25deg) scaleX(1.4); }
.orbit-inner { transform: rotate(30deg) scaleX(0.76); }

.core {
  position: absolute;
  inset: 43px 71px;
  display: grid;
  place-items: center;
  border: 1px solid #bac8ad;
  border-radius: 22px;
  background: linear-gradient(145deg, #e9eddf, #c6d2b9);
  box-shadow: 0 18px 35px -20px #7b8d67;
  transform: rotate(-12deg);
  animation: drift 7s ease-in-out infinite;
}

.core span {
  width: 30px;
  height: 30px;
  border: 8px solid #647c65;
  border-radius: 50%;
}

.satellite {
  position: absolute;
  border-radius: 50%;
}

.satellite-one {
  top: 23px;
  right: 34px;
  width: 13px;
  height: 13px;
  background: #a9b995;
  box-shadow: 0 0 0 5px var(--background);
}

.satellite-two {
  bottom: 20px;
  left: 33px;
  width: 7px;
  height: 7px;
  background: #85907d;
  box-shadow: 0 0 0 5px var(--background);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 94px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.title-dot { color: var(--accent); }

.greeting {
  margin: 24px 0 0;
  color: #5f695f;
  font-size: 16px;
  letter-spacing: 0.18em;
  line-height: 1.8;
}

.divider {
  width: 28px;
  height: 1px;
  margin: 28px auto 22px;
  background: #bbc5b4;
}

.wish {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.015em;
}

.page-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.year { font-variant-numeric: tabular-nums; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
}

@media (max-width: 480px) {
  .page { padding: 24px 24px 20px; }
  .header-note { display: none; }
  .welcome { padding: 36px 0 44px; }
  .illustration { margin-bottom: 28px; }
  .greeting { margin-top: 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .core { animation: none; }
}
