:root {
  color-scheme: dark;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #f5f2ec;
  background: #041023;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 12%, #d5b5790a, transparent 60%),
    linear-gradient(180deg, #041023, #070d18);
}
main {
  width: min(100% - 40px, 720px);
  margin: auto;
  padding: 48px 0 18px;
  text-align: center;
}
.emblem {
  display: block;
  width: 154px;
  height: 154px;
  margin: 0 auto 16px;
  border-radius: 50%;
}
.wordmark {
  margin: 0;
  color: #e7ca8c;
  font:
    500 clamp(38px, 7vw, 58px)/1.15 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: 0.09em;
  padding-left: 0.09em;
}
.tagline {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.17em;
  color: #d2bc91;
}
.brand-rule {
  width: 270px;
  max-width: 72%;
  height: 1px;
  margin: 33px auto 30px;
  background: linear-gradient(90deg, transparent, #bda26b80 35%, #bda26b80 65%, transparent);
  position: relative;
}
.brand-rule i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #d5b579;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 50%;
  top: 50%;
}
h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.invitation {
  font-size: 20px;
  line-height: 1.6;
  margin: 18px 0 10px;
}
.intro {
  font-size: 15px;
  line-height: 1.9;
  color: #c7c8cd;
  margin: 0;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}
button,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}
button {
  border: 1px solid #d5b579;
  background: #d5b579;
  color: #211a0f;
}
button:hover {
  background: #e4c78f;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.actions .secondary {
  background: #ffffff05;
  border: 1px solid #ffffff30;
  color: #eee8db;
  gap: 12px;
}
.actions .secondary:hover {
  border-color: #d5b57985;
  background: #ffffff0b;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #e7ca8c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.link-label {
  display: block;
  font-size: 13px;
  color: #bcbfc7;
  margin-bottom: 8px;
}
input {
  display: block;
  width: min(100%, 390px);
  min-height: 42px;
  margin: auto;
  padding: 8px 12px;
  font:
    14px/1.5 'Segoe UI',
    sans-serif;
  background: #ffffff04;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  text-align: center;
  color: #dcd7cd;
}
.copy-status {
  min-height: 24px;
  font-size: 14px;
  color: #e4cf9f;
  margin: 10px 0 0;
}
footer {
  padding: 20px 12px 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #a5abb6;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  main {
    padding-top: 30px;
  }
  .emblem {
    width: 126px;
    height: 126px;
  }
  .tagline {
    font-size: 10px;
  }
  .brand-rule {
    margin: 25px auto;
  }
  .actions {
    margin-top: 24px;
    gap: 10px;
  }
  button,
  .actions a {
    padding: 0 16px;
    font-size: 14px;
  }
  footer {
    padding-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
