/* Website-only campaign. Existing homepage/photo and legal styles are unchanged. */
.pack-dialog,
.pack-page {
  --pack-cream: #f8f6f0;
  --pack-forest: #233b2e;
  --pack-berry: #be0966;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--pack-forest);
}
.pack-dialog {
  width: min(600px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(
    100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)
  );
  padding: 0;
  margin: auto;
  border: 1px solid #d9dfd4;
  border-top: 4px solid var(--pack-berry);
  border-radius: 22px;
  background: var(--pack-cream);
  box-shadow: 0 24px 80px #13271c40;
  overflow: hidden;
}
.pack-dialog:not([open]) {
  display: none;
}
.pack-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: pack-arrive 180ms ease-out;
}
.pack-dialog::backdrop {
  background: #13271ca8;
}
html.pack-open {
  overflow: hidden;
}
.pack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 8px;
  flex-shrink: 0;
}
.pack-eyebrow {
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  overflow-wrap: anywhere;
}
.pack-dialog button,
.pack-page button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.pack-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #c6cec1;
  border-radius: 50%;
  background: transparent;
}
.pack-close span {
  font-size: 1.75rem;
  line-height: 1;
}
.pack-content {
  min-height: 0;
  padding: 12px 40px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  text-align: center;
}
.home .pack-content h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 750;
  line-height: 1.12;
  margin-bottom: 24px;
}
.home .pack-content p {
  margin-top: 16px;
}
.pack-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--pack-berry);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pack-primary:hover {
  background: #a00756;
}
.pack-note,
.pack-signin {
  font-size: 0.875rem;
}
.pack-later {
  min-height: 48px;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.pack-signin a {
  display: inline-block;
  padding-block: 10px;
  font-weight: 700;
}
.pack-dialog :focus-visible,
.pack-page :focus-visible {
  outline: 3px solid var(--pack-forest);
  outline-offset: 3px;
}
.pack-dialog h2:focus {
  outline: none;
}
.pack-page {
  max-width: 600px;
  padding-block: 48px;
}
.pack-page h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.home .pack-page p {
  margin-block: 20px;
}
.pack-page section {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #d9dfd4;
  scroll-margin-top: 24px;
}
@media (width < 480px) {
  .pack-top {
    padding-inline: 16px;
  }
  .pack-content {
    padding: 12px 20px 24px;
  }
}
@keyframes pack-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pack-dialog[open] {
    animation: none;
  }
}

.pack-screen[hidden] {
  display: none;
}

.pack-form {
  text-align: left;
}

.pack-form label {
  display: block;
  font-weight: 700;
  margin-top: 20px;
}

.pack-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #657366;
  border-radius: 8px;
  background: #fff;
  color: var(--pack-forest);
  font: inherit;
}

.pack-form input[aria-invalid="true"] {
  border: 2px solid var(--pack-berry);
}

.pack-form .pack-error {
  color: #8c064b;
  font-size: 0.9375rem;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.pack-form .pack-note {
  margin-top: 16px;
}

.pack-form .pack-primary,
.pack-screen > .pack-primary {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
}

.pack-form input:focus-visible {
  outline: 3px solid var(--pack-forest);
  outline-offset: 3px;
}

.pack-form .pack-primary:disabled {
  cursor: wait;
  opacity: 0.75;
}

.pack-dialog .pack-primary,
.pack-page .pack-primary {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.5;
}

/* Native single-select semantics with full-size pill tap targets. */
.pack-form .pack-choices {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}
.pack-choices legend {
  padding: 0;
  font-weight: 700;
}
.pack-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.pack-form .pack-choice-options label {
  position: relative;
  margin: 0;
  max-width: 100%;
  cursor: pointer;
}
.pack-form .pack-choice-options input {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  min-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}
.pack-choice-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #657366;
  border-radius: 24px;
  background: #fff;
  overflow-wrap: anywhere;
}
.pack-choice-options input:checked + span {
  background: var(--pack-forest);
  color: #fff;
  border-color: var(--pack-forest);
}
.pack-choice-options input:focus + span {
  outline: 3px solid var(--pack-forest);
  outline-offset: 3px;
}
.pack-choice-options input:disabled + span {
  opacity: 0.75;
  cursor: wait;
}
.pack-choices[aria-invalid="true"] .pack-choice-options span {
  border-color: var(--pack-berry);
}
