.p-entryPage {
  background: var(--bg, #fbf8f2);
  color: var(--ink, #3e3a39);
  font-family: inherit;
  padding-top: 64px;
  padding-bottom: 48px;
}

.p-entryContainer {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.p-entryHero {
  padding: 42px 0 22px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.p-entryHero--compact {
  padding-bottom: 16px;
}

.p-entryHero__eyebrow,
.p-entrySectionLabel {
  margin: 0 0 8px;
  color: var(--accent, #8e79a8);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.p-entryHero__title {
  margin: 0;
  color: #3f3832;
  font-size: clamp(26px, 7vw, 42px);
  line-height: 1.25;
  letter-spacing: .02em;
}

.p-entryHero__lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: #6d6259;
  font-size: 15px;
  line-height: 1.9;
}

.p-entryChoice,
.p-entryLine,
.p-entrySelf,
.p-entryForm,
.p-entryNotice,
.p-entryLinkedShop {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #efe7dd;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(95, 78, 130, .05);
}

.p-entryChoice {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.p-entryChoice--primary {
  border-color: rgba(142, 121, 168, .22);
  box-shadow: 0 14px 34px rgba(95, 78, 130, .07);
}

.p-entryChoice--primary .p-entrySubmit {
  width: 100%;
}

.p-entryChoice__body h2,
.p-entryLine h2,
.p-entrySelf h2,
.p-entryFormSection h2,
.p-entryNotice h2 {
  margin: 0;
  color: #403932;
  font-size: 20px;
  line-height: 1.45;
}

.p-entryChoice__body p,
.p-entryLine p,
.p-entrySelf p,
.p-entryFormSection__note,
.p-entryField p,
.p-entryNotice p {
  margin: 10px 0 0;
  color: #746a61;
  font-size: 14px;
  line-height: 1.8;
}

.p-entrySteps {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: entry-step;
}

.p-entrySteps li {
  position: relative;
  min-height: 30px;
  padding-left: 38px;
  color: #5a5149;
  font-size: 14px;
  line-height: 1.7;
  counter-increment: entry-step;
}

.p-entrySteps li::before {
  content: counter(entry-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #8e79a8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.p-entryForm {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.p-entryForm--wide {
  margin-top: 22px;
}

.p-entryFormSection {
  display: grid;
  gap: 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid #f0e8df;
}

.p-entryFormSection:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.p-entryGrid {
  display: grid;
  gap: 14px;
}

.p-entryField {
  display: grid;
  gap: 7px;
}

.p-entryField label,
.p-entryCheckGroup legend {
  color: #4a443e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.p-entryField label span,
.p-entryCheckGroup legend span {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #8e79a8;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
}

.p-entryField label em,
.p-entryCheckGroup legend em {
  display: inline-flex;
  margin-left: 6px;
  color: #9b9289;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.p-entryField input,
.p-entryField textarea,
.p-entryField select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e7ded3;
  border-radius: 12px;
  background: #fffdf9;
  color: #3f3934;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.p-entryField textarea {
  min-height: 110px;
  resize: vertical;
}

.p-entryField input[type="file"] {
  padding: 11px;
  background: #fff;
}

.p-entryField input:focus,
.p-entryField textarea:focus,
.p-entryField select:focus {
  outline: 3px solid rgba(142, 121, 168, .18);
  border-color: var(--accent, #8e79a8);
}

.p-entryCheckGroup {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-entryCheckGroup label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fffdf9;
  color: #554d46;
  font-size: 14px;
  font-weight: 700;
}

.p-entryCheckGroup input {
  width: 18px;
  height: 18px;
}

.p-entrySubmit,
.p-entryNotice__link,
.p-entrySelf__links a,
.p-entryTextLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-primary, #8e79a8);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 0 18px;
  cursor: pointer;
  transition: opacity .2s ease, transform .1s ease;
}

.p-entrySubmit:disabled {
  cursor: wait;
  opacity: .72;
}

.p-entrySubmit:active,
.p-entryNotice__link:active,
.p-entrySelf__links a:active,
.p-entryTextLink:active {
  transform: translateY(1px);
}

.p-entryNotice {
  padding: 18px;
}

.p-entryNotice--success {
  border-color: #d7ead2;
  background: #fbfff9;
}

.p-entryNotice--error {
  border-color: #f1d5d0;
  background: #fffafa;
}

.p-entryNotice ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: #7c3d37;
  line-height: 1.7;
}

.p-entryNotice__actions,
.p-entrySelf__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.p-entryNotice__link--sub,
.p-entrySelf__links a + a {
  background: #b7a8ca;
}

.p-entryLine,
.p-entrySelf {
  padding: 18px;
}

.p-entryLine {
  display: grid;
  gap: 14px;
}

.p-entryLine__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.p-entryTextLink--line {
  min-width: min(100%, 260px);
  background: #55b35a;
}

.p-entryLine__qr {
  display: grid;
  gap: 8px;
  width: min(100%, 156px);
  color: #8b8177;
  font-size: 12px;
  line-height: 1.6;
}

.p-entryLine__qr img {
  width: 112px;
  height: 112px;
  padding: 8px;
  background: #fff;
  border: 1px solid #efe7dd;
  border-radius: 12px;
  object-fit: contain;
}

.p-entryLine__note {
  color: #8b8177;
  font-size: 13px;
}

.p-entryLinkedShop {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.p-entryLinkedShop span {
  color: #8d8278;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.p-entryLinkedShop strong {
  color: #403932;
  font-size: 16px;
}

.p-entryHoneypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .p-entryPage {
    padding-top: 76px;
  }

  .p-entryHero {
    padding: 58px 0 30px;
  }

  .p-entryChoice {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
    gap: 26px;
    padding: 28px;
  }

  .p-entryForm,
  .p-entryLine,
  .p-entrySelf,
  .p-entryNotice {
    padding: 28px;
  }

  .p-entryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-entryLine {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .p-entryLine__actions {
    justify-items: end;
  }

  .p-entryLine__qr {
    justify-items: center;
    text-align: center;
  }

  .p-entryCheckGroup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
