/* Approved Concerts48 layout, shared with the Next.js preview. */
* { box-sizing: border-box; }
html, body { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.page {
  --soon-plum: #2c2035;
  --soon-white: #fffdfb;
  --soon-lilac: #e6ddeb;
  --soon-yellow: #f5d568;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--soon-plum);
  color: var(--soon-white);
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: clamp(28px, 4vw, 56px) 24px 28px;
}
.header {
  margin-bottom: clamp(44px, 6vh, 72px);
}
.wordmark {
  color: var(--soon-white);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -3px;
}
.wordmark span {
  color: var(--soon-yellow);
}
.header p {
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: 1.2px;
}
.main {
  width: 100%;
  max-width: 960px;
  flex: 1;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--soon-yellow);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.main h1 {
  margin: 0 auto;
  max-width: 960px;
  font-size: clamp(36px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  text-wrap: balance;
}
.description {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--soon-lilac);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  text-wrap: pretty;
}
.invitation {
  margin-top: 28px;
}
.invitation::before {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 0 auto 24px;
  background: var(--soon-yellow);
}
.invitation h2 {
  font-weight: 700;
  margin: 0;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.4;
  text-wrap: balance;
}
.invitation > p {
  margin: 8px 0 22px;
  color: var(--soon-lilac);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
}
.primaryButton,
.sendButton {
  min-height: 48px;
  padding: 14px 32px;
  border: 0;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.primaryButton {
  background: var(--soon-yellow);
  color: var(--soon-plum);
  min-width: 280px;
  min-height: 56px;
  font-size: 20px;
}
.primaryButton:hover {
  background: #ffe491;
}
.primaryButton:focus-visible,
.page a:focus-visible {
  outline: 3px solid var(--soon-yellow);
  outline-offset: 5px;
}
.footer {
  margin-top: 36px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--soon-lilac);
}
.footer p {
  margin: 0;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.dialog {
  margin: auto;
  color-scheme: light;
  color: #251631;
  background: var(--soon-white);
  border: 0;
  border-radius: 8px;
  padding: 0;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  text-align: left;
}
.dialog::backdrop {
  background: rgb(24 14 31 / 72%);
}
.dialogContent {
  padding: 44px 36px 32px;
  position: relative;
}
.closeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #251631;
  cursor: pointer;
}
.dialog h2 {
  font-weight: 700;
  margin: 0 auto;
  max-width: 390px;
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -1px;
  text-align: center;
  text-wrap: balance;
}
.dialogDescription {
  margin: 18px 0 26px;
  text-align: center;
  color: #49365e;
  line-height: 1.5;
  font-size: 17px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.botTrap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #49365e;
  font-size: 16px;
  font-weight: 700;
}
.form label span {
  display: contents;
  font-weight: 400;
}
.form input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #978b9f;
  border-radius: 4px;
  background: #fffdfb;
  color: #251631;
  font-size: 16px;
  font-weight: 400;
}
.form input::placeholder {
  color: #6d6475;
}
.dialog :focus-visible {
  outline: 3px solid #76579a;
  outline-offset: 3px;
}
.sendButton {
  width: 100%;
  background: #2c2035;
  color: #fffdfb;
}
.sendButton:hover {
  background: #49365e;
}
.sendButton:disabled {
  cursor: wait;
  opacity: 0.7;
}
.hint {
  margin: -8px 0 0;
  color: #62586e;
  line-height: 1.5;
  font-size: 14px;
}
.delivery {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.delivery a {
  color: #49365e;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.form > .hint:last-child {
  text-align: center;
}
.previewNotice {
  margin: 0;
  background: #eee8f2;
  color: #49365e;
  padding: 10px 12px;
  border-radius: 4px;
  line-height: 1.5;
  font-size: 14px;
}
.error {
  margin: 0;
  color: #8e3027;
  line-height: 1.5;
}
.previewResult {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  line-height: 1.6;
}
.previewResult .dialogDescription {
  margin: 0;
}
.confirmationPreview {
  margin: 0;
  color: #62586e;
  font-size: 14px;
  line-height: 1.5;
}
body:has(.dialog[open]) {
  overflow: hidden;
}
@media (max-width: 480px) {
  .page {
    padding-top: 36px;
  }
  .header {
    margin-bottom: 48px;
  }
  .header p {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
  .main h1 {
    max-width: 360px;
    font-size: clamp(32px, 9.2vw, 40px);
    letter-spacing: -1px;
    line-height: 1.1;
  }
  .description {
    margin-top: 20px;
    max-width: 300px;
    font-size: 18px;
    line-height: 1.5;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 18px;
  }
  .invitation {
    margin-top: 26px;
  }
  .invitation::before {
    width: 80px;
    margin-bottom: 24px;
  }
  .invitation > p {
    margin-bottom: 20px;
  }
  .footer {
    font-size: 14px;
  }
  .primaryButton {
    min-width: 220px;
    min-height: 52px;
    font-size: 18px;
  }
  .dialogContent {
    padding: 48px 24px 28px;
  }
  .dialogDescription {
    font-size: 16px;
  }
}
