/* Shared public-page styling matches the McKinley Beach account emails. */
.brand-page {
  background: #f4f4f2;
  font-family: Arial, Helvetica, sans-serif;
}

.brand-page main {
  min-height: 100vh;
  min-height: 100svh;
  padding: 40px 20px;
  align-items: center;
}

.brand-shell {
  width: 100%;
  max-width: 540px;
  min-width: 0;
}

.brand-shell-wide {
  max-width: 760px;
}

.brand-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgb(34 34 34 / 4%);
}

.brand-logo {
  display: flex;
  justify-content: center;
  padding: 24px 32px 20px;
}

.brand-logo img {
  display: block;
  width: 144px;
  height: 118px;
  object-fit: contain;
}

.brand-header {
  padding: 26px 32px 28px;
  color: #fff;
  background: #222;
}

.brand-header .brand-eyebrow {
  margin: 0 0 12px;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.brand-header :is(h1, h2) {
  margin: 0;
  color: inherit;
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}

.brand-content {
  padding: 28px 32px 24px;
}

.brand-intro {
  margin: 0 0 26px;
  color: #495057;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.brand-actions {
  display: grid;
  gap: 12px;
}

.brand-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.brand-page .button {
  min-height: 50px;
  border-radius: 7px;
  font-family: inherit;
  line-height: 1.4;
}

.brand-page .button:hover:not(:disabled) {
  background: #f4f4f2;
}

.brand-page .button.primary:hover:not(:disabled) {
  background: #3a3a3a;
}

.brand-page :is(a, button):focus-visible {
  outline: 2px solid #222;
  outline-offset: 4px;
}

.brand-page .alert {
  margin: 0 0 22px;
  border-radius: 7px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.brand-page .meta {
  margin: 22px 0 16px;
  line-height: 1.6;
}

.brand-page .meta:last-child {
  margin-bottom: 0;
}

.brand-page .location-badge {
  margin: 18px 0 0;
  padding: 6px 12px;
  background: #363636;
  border-color: #555;
  color: #fff;
  border-radius: 7px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.brand-page form {
  gap: 22px;
}

.brand-page .form-group {
  gap: 8px;
  min-width: 0;
}

.brand-page label {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

.brand-page input:not([type='checkbox']),
.brand-page textarea {
  min-height: 50px;
  border-color: #d3d5d6;
  border-radius: 7px;
  font-family: inherit;
  font-size: 16px;
}

.brand-page :is(input, textarea):focus {
  border-color: #222;
  box-shadow: 0 0 0 3px rgb(34 34 34 / 12%);
}

.brand-page .link-button {
  min-height: 44px;
  font-family: inherit;
  text-underline-offset: 4px;
}

.brand-page .link-button:hover {
  text-decoration: underline;
}

.brand-page .additional-guests:empty {
  margin-top: 0;
}

.brand-page .remove-additional-guest {
  height: 50px;
  border-radius: 7px;
}

.brand-page .checkbox-row {
  font-size: 13px;
}

.brand-page .checkbox-row input {
  padding: 0;
}

.brand-page .success-overlay {
  padding: 24px 16px;
  background: rgb(244 244 242 / 97%);
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.brand-page .success-content {
  width: 100%;
  max-width: 540px;
  padding: 0;
  margin: auto;
  flex-shrink: 0;
  text-align: left;
}

.brand-page .success-message {
  line-height: 1.65;
}

.brand-page .success-icon {
  margin: 0 0 20px;
}

.brand-card.legal .brand-content > :first-child {
  margin-top: 0;
}

.brand-card.legal .brand-content :is(p, li) {
  color: #495057;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.brand-card.legal h2 {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.4;
}

.brand-card.legal a {
  color: #222;
  text-underline-offset: 3px;
}

.brand-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  font-size: 13px;
}

.brand-legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-footer {
  padding: 24px 16px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #6c757d;
}

.brand-footer p {
  margin: 0 0 4px;
}

.brand-footer p:first-child {
  color: #222;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Author display rules must never reveal gated handoff links. */
.brand-page [hidden] {
  display: none !important;
}

@media (max-width: 540px) {
  .brand-page main {
    padding: 24px 16px;
    align-items: flex-start;
  }

  .brand-logo {
    padding: 20px 24px 16px;
  }

  .brand-logo img {
    width: 122px;
    height: 100px;
  }

  .brand-header,
  .brand-content {
    padding: 24px;
  }

  .brand-stores .button,
  .brand-page .store-row .button {
    padding: 12px 10px;
    font-size: 14px;
  }

  .brand-page .store-row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-page .button,
  .brand-page .success-overlay,
  .brand-page .success-content {
    animation: none;
    transition: none;
  }
}
