:root {
  color-scheme: light;
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
  color: #172724;
  background: #0d3934;
  --deep: #0c3c36;
  --accent: #0d6d61;
  --paper: #fbfaf6;
  --muted: #687873;
  --line: rgba(27, 68, 61, 0.16);
  --warm: #d7b26c;
}
* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(50, 140, 125, 0.34),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 86%,
      rgba(215, 178, 108, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, #082d29, #0e4b43 58%, #0a3531);
}
body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: linear-gradient(120deg, #000, transparent 78%);
}
.access-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: auto;
  padding: 48px 0;
}
.access-story {
  position: relative;
  min-width: 0;
  color: #f6f3e9;
}
.brand-lockup {
  display: flex;
  align-items: center;
}
.brand-signature {
  display: block;
  width: clamp(210px, 28vw, 330px);
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.2));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.story-copy {
  max-width: 640px;
  margin-top: clamp(72px, 10vh, 116px);
}
.eyebrow {
  margin: 0;
  color: var(--warm);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
}
.story-copy h1 {
  margin: 14px 0 22px;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.story-copy h1 span {
  display: block;
}
.story-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(246, 243, 233, 0.7);
  font-size: 17px;
  line-height: 1.8;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.trust-list span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}
.access-card {
  width: 100%;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  background: rgba(251, 250, 246, 0.975);
  box-shadow: 0 38px 92px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}
.access-card header h2 {
  margin: 7px 0 2px;
  font-size: clamp(30px, 3vw, 40px);
}
.access-card header > p:last-child,
.intro,
.access-card footer {
  color: var(--muted);
}
.access-card header > p:last-child {
  margin: 0;
  font-weight: 700;
}
.access-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 23px 0 20px;
  padding: 4px;
  border-radius: 13px;
  background: #e8ece8;
}
.access-mode button {
  min-width: 0;
  min-height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 10px;
  color: #60706b;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}
.access-mode [aria-selected="true"] {
  color: var(--deep);
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 57, 51, 0.1);
}
.access-mode button:hover {
  color: var(--deep);
}
.intro {
  margin: 0 0 18px;
  line-height: 1.65;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}
label:not(:first-child) {
  margin-top: 15px;
}
input,
button {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
}
input {
  border: 1px solid #9dafaa;
  color: #152723;
  background: #fff;
}
input::placeholder {
  color: #9aa6a2;
}
button {
  border: 0;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(13, 109, 97, 0.19);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}
:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}
#invite-help {
  margin: 9px 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
#owner-help {
  margin: 9px 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
#invite-error {
  min-height: 20px;
  margin: 0 0 8px;
  color: #a03e33;
  font-size: 13px;
}
#owner-error {
  min-height: 20px;
  margin: 0 0 8px;
  color: #8b6228;
  font-size: 13px;
  line-height: 1.5;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 76px;
}
.password-field button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: auto;
  min-height: 40px;
  padding: 7px 13px;
  color: var(--accent);
  background: #edf5f2;
  box-shadow: none;
  font-size: 12px;
}
.owner-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.owner-capabilities span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4c615b;
  background: #f4f7f4;
  font-size: 11px;
  font-weight: 700;
}
.registration-rules {
  margin-top: 20px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #54645f;
  background: #f0f5f1;
}
.registration-rules strong {
  color: #284a43;
  font-size: 13px;
}
.registration-rules ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.65;
}
.access-card footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  text-align: center;
}
noscript {
  display: block;
  margin-top: 10px;
  color: #a03e33;
  font-size: 12px;
}
@media (max-width: 860px) {
  .access-stage {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(620px, calc(100% - 32px));
    padding: 26px 0;
  }
  .story-copy {
    margin-top: 38px;
  }
  .story-copy h1 {
    font-size: clamp(36px, 7vw, 50px);
  }
  .story-copy > p:not(.eyebrow),
  .trust-list {
    display: none;
  }
  .access-story {
    min-height: 255px;
  }
}
@media (max-width: 480px) {
  .access-stage {
    gap: 18px;
    width: min(100% - 24px, 430px);
    padding: 18px 0;
  }
  .brand-signature {
    width: 205px;
  }
  .story-copy {
    margin-top: 26px;
  }
  .story-copy h1 {
    margin-bottom: 0;
    font-size: clamp(30px, 9.4vw, 39px);
  }
  .access-card {
    padding: 23px 18px;
    border-radius: 22px;
  }
  .access-mode {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
