@charset "UTF-8";

:root {
  color-scheme: light;
  --page: #f5f5f2;
  --ink: #252824;
  --muted: #858982;
  --line: #e6e7e1;
  --accent: #788477;
  --card: rgba(255, 255, 253, .94);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(255,255,255,.92) 0%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, #f3f4f0 0%, #f8f7f3 52%, #f0f1ed 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 30px clamp(22px, 5vw, 72px) 24px;
  position: relative;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  width: min(68vw, 820px);
  height: min(68vw, 820px);
  border: 1px solid rgba(130, 139, 126, .08);
  border-radius: 50%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-header, .site-footer {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cdd2c8;
  border-radius: 9px;
  color: #657260;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.brand-name {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .19em;
}

.header-note {
  color: #9a9e96;
  font-size: 9px;
  letter-spacing: .2em;
}

.center-stage {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  padding: 54px 0;
}

.portal-card {
  width: min(100%, 458px);
  min-height: 340px;
  padding: 48px 44px 38px;
  background: var(--card);
  border: 1px solid rgba(222, 224, 216, .9);
  border-radius: 18px;
  box-shadow:
    0 22px 65px rgba(43, 49, 39, .055),
    0 2px 8px rgba(43, 49, 39, .025);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: card-in .7s cubic-bezier(.2,.7,.2,1) both;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #92988d;
  font-size: 9px;
  letter-spacing: .28em;
  font-weight: 600;
}

.kicker-line {
  width: 19px;
  height: 1px;
  background: #cbd0c5;
}

h1 {
  margin: 27px 0 12px;
  font-size: clamp(23px, 3vw, 28px);
  line-height: 1.45;
  letter-spacing: .025em;
  font-weight: 600;
}

.intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .035em;
}

.home-button {
  margin-top: 34px;
  width: min(100%, 282px);
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 9px;
  background: #292e29;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 7px 18px rgba(31, 37, 30, .10);
}

.home-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.home-button:hover {
  background: #414a3f;
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(31, 37, 30, .14);
}

.home-button:hover svg { transform: translateX(3px); }
.home-button:focus-visible { outline: 3px solid #aeb9a7; outline-offset: 4px; }

.destination {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a0a49c;
  font-size: 10px;
  letter-spacing: .04em;
}

.destination strong {
  color: #737a70;
  font-weight: 550;
}

.destination-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ba891;
}

.site-footer {
  justify-content: center;
  gap: 10px;
  color: #a0a49c;
  font-size: 9px;
  letter-spacing: .16em;
  position: relative;
  z-index: 1;
}

.footer-separator { color: #c1c5bc; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .page { padding: 22px 18px 20px; }
  .header-note { font-size: 8px; letter-spacing: .13em; }
  .center-stage { padding: 36px 0; }
  .portal-card {
    min-height: 320px;
    padding: 40px 23px 32px;
    border-radius: 16px;
  }
  h1 { font-size: 23px; margin-top: 24px; }
  .intro { font-size: 12px; }
  .home-button { margin-top: 30px; width: 100%; }
  .site-footer { font-size: 8px; letter-spacing: .1em; }
  .page::before { width: 110vw; height: 110vw; }
}

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