/* Conversion-funnel presentation layered on top of the shared application styles. */

.ad-landing-page .ad-landing-copy > p.ad-landing-plan-qualifier,
.event-intent-page .event-intent-plan {
  max-width: 620px;
  margin: 2px 0 14px;
  border-left: 3px solid var(--accent);
  color: #40534e;
  padding: 8px 0 8px 12px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.event-intent-page .event-intent-plan {
  margin-top: 16px;
  border: 1px solid #c8ddd6;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: #f4faf7;
  padding: 12px 14px;
}

.pricing-page-heading > div > p:not(.eyebrow) {
  max-width: 760px;
}

.pricing-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 0 38px;
  border: 1px solid rgba(15, 123, 104, 0.3);
  border-radius: 10px;
  background: linear-gradient(135deg, #effaf6, #fff 64%, #fff5ee);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 18px 46px rgba(23, 33, 31, 0.08);
}

.pricing-recommendation h2,
.large-event-pricing h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.08;
}

.pricing-recommendation p:not(.eyebrow),
.large-event-pricing-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-consumer-heading {
  margin-bottom: 18px;
}

section.pricing-grid.pricing-consumer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 54px;
}

.pricing-grid.pricing-consumer-grid .outcome-pricing-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr auto;
  gap: 14px;
  min-height: 0;
  padding: clamp(20px, 3vw, 28px);
}

.outcome-plan-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.outcome-plan-heading .eyebrow {
  margin: 0;
}

.outcome-plan-price {
  color: var(--accent-dark);
  font-size: 2.05rem;
  line-height: 1;
}

.outcome-plan-fit {
  min-height: 4.8em;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.pricing-grid.pricing-consumer-grid .outcome-plan-highlights {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-plan-highlights li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.outcome-plan-highlights li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.outcome-plan-details {
  align-self: start;
  border-top: 1px solid #dce6e2;
  padding-top: 12px;
}

.outcome-plan-details summary {
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.pricing-grid.pricing-consumer-grid .outcome-plan-details ul,
.large-event-plan-card .outcome-plan-details ul {
  margin: 10px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.large-event-pricing {
  margin: 0 0 42px;
  border-top: 1px solid #cfddd8;
  border-bottom: 1px solid #cfddd8;
  background: #f8fbfa;
  padding: clamp(28px, 5vw, 48px);
}

.large-event-pricing-copy {
  max-width: 850px;
  margin-bottom: 26px;
}

.large-event-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.large-event-plan-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid #d3e0dc;
  border-radius: 9px;
  background: #fff;
  padding: 24px;
}

.large-event-plan-card h3,
.large-event-plan-card p,
.large-event-plan-card ul {
  margin: 0;
}

.large-event-plan-card h3 {
  font-size: 1.55rem;
}

.large-event-plan-card > strong {
  color: var(--accent-dark);
  font-size: 1.75rem;
}

.large-event-plan-card > p:not(.eyebrow),
.large-event-plan-card > ul {
  color: var(--muted);
  line-height: 1.55;
}

.large-event-plan-card > ul {
  padding-left: 20px;
}

.large-event-plan-card > .button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.pricing-trust-panel .featured-comparison p {
  margin: 0;
  line-height: 1.6;
}

.gallery-preview-autosave-status {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.gallery-preview-local-photos {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: -12px 0 30px;
  border: 1px solid #d3e0dc;
  border-radius: 9px;
  background: linear-gradient(135deg, #f8fbfa, #fff);
  padding: 24px;
}

.gallery-preview-local-copy h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.12;
}

.gallery-preview-local-copy > p:not(.eyebrow) {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.55;
}

.gallery-preview-local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.gallery-preview-local-actions a {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.gallery-preview-local-copy > small,
.gallery-preview-local-status {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.gallery-preview-local-status {
  min-height: 1.1em;
  margin-top: 5px;
}

.gallery-preview-local-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.gallery-preview-local-gallery[hidden] {
  display: none;
}

.gallery-preview-local-gallery figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d7e3df;
  border-radius: 8px;
  background: #fff;
}

.gallery-preview-local-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-preview-local-gallery figcaption {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 9px;
}

.gallery-preview-local-gallery figcaption span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-preview-local-gallery figcaption button {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #8d4139;
  padding: 3px;
  font-size: 0.7rem;
  font-weight: 850;
  box-shadow: none;
}

.gallery-preview-email-form .gallery-preview-terms {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-column: 1 / -1;
  gap: 7px 9px;
  align-items: start;
}

.gallery-preview-email-form .gallery-preview-terms input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.gallery-preview-email-form .gallery-preview-terms label {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.gallery-preview-email-form .gallery-preview-terms .errorlist {
  grid-column: 1 / -1;
}

.gallery-preview-email-form > small {
  grid-column: 1 / -1;
}

.gallery-preview-change-email {
  border-top: 1px solid #d8e3df;
  padding-top: 8px;
}

.gallery-preview-change-email summary {
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.gallery-preview-change-email form {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.gallery-preview-change-email label {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.gallery-preview-change-email input[type="email"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aabeb8;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 11px;
}

.gallery-preview-change-email small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.gallery-preview-page .gallery-preview-claim .gallery-preview-plan-intent {
  margin-top: 12px;
  color: #345b53;
  font-size: 0.86rem;
  font-weight: 750;
}

.magic-link-confirm-page main {
  width: min(900px, calc(100% - 32px));
}

.magic-link-confirm-shell {
  margin: clamp(28px, 7vw, 76px) auto 48px;
}

.magic-link-confirm-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbdcd6;
  border-radius: 12px;
  background: #fff;
  padding: clamp(26px, 6vw, 54px);
  box-shadow: 0 24px 64px rgba(23, 33, 31, 0.12);
}

.magic-link-confirm-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), #e2ad5b);
}

.magic-link-confirm-card h1 {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.magic-link-confirm-card > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.magic-link-state-mark {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e8f6f1;
  box-shadow: inset 0 0 0 1px #b9d8ce;
}

.magic-link-state-mark::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 12px;
  width: 22px;
  height: 13px;
  transform: rotate(-45deg);
  border-bottom: 3px solid var(--accent-dark);
  border-left: 3px solid var(--accent-dark);
}

.magic-link-state-expired .magic-link-state-mark,
.magic-link-state-revoked .magic-link-state-mark,
.magic-link-state-used .magic-link-state-mark,
.magic-link-state-account_mismatch .magic-link-state-mark,
.magic-link-state-rate_limited .magic-link-state-mark,
.magic-link-state-account_error .magic-link-state-mark {
  background: #fff3eb;
  box-shadow: inset 0 0 0 1px #e7c8b5;
}

.magic-link-state-expired .magic-link-state-mark::before,
.magic-link-state-revoked .magic-link-state-mark::before,
.magic-link-state-used .magic-link-state-mark::before,
.magic-link-state-account_mismatch .magic-link-state-mark::before,
.magic-link-state-rate_limited .magic-link-state-mark::before,
.magic-link-state-account_error .magic-link-state-mark::before {
  top: 12px;
  left: 22px;
  width: 3px;
  height: 24px;
  transform: rotate(45deg);
  border: 0;
  background: #9a4f3d;
  box-shadow: 0 0 0 0 transparent;
}

.magic-link-state-expired .magic-link-state-mark::after,
.magic-link-state-revoked .magic-link-state-mark::after,
.magic-link-state-used .magic-link-state-mark::after,
.magic-link-state-account_mismatch .magic-link-state-mark::after,
.magic-link-state-rate_limited .magic-link-state-mark::after,
.magic-link-state-account_error .magic-link-state-mark::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 22px;
  width: 3px;
  height: 24px;
  transform: rotate(-45deg);
  background: #9a4f3d;
}

.magic-link-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 22px;
}

.magic-link-summary > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  background: #f8fbfa;
  padding: 14px;
}

.magic-link-summary span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.magic-link-summary strong {
  overflow-wrap: anywhere;
}

.magic-link-confirm-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.magic-link-confirm-form .button {
  width: 100%;
  min-height: 54px;
  justify-content: center;
}

.magic-link-confirm-form small {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.magic-link-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  border-top: 1px solid #dce6e2;
  padding-top: 20px;
}

.magic-link-next-steps span {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #42534f;
  font-size: 0.8rem;
  line-height: 1.4;
}

.magic-link-next-steps strong {
  display: inline-grid;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #e9f5f1;
  color: var(--accent-dark);
  font-size: 0.7rem;
}

.magic-link-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 26px;
}

.magic-link-state-actions > a:not(.button) {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.magic-link-state-actions form {
  margin: 0;
}

.magic-link-security-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 16px;
  margin: 16px auto 0;
  border: 1px solid #d7e2de;
  border-radius: 9px;
  background: #f8fbfa;
  padding: 16px 18px;
}

.magic-link-security-note strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.magic-link-security-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  section.pricing-grid.pricing-consumer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-recommendation,
  .gallery-preview-local-photos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  section.pricing-grid.pricing-consumer-grid,
  .large-event-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-recommendation {
    align-items: stretch;
  }

  .pricing-recommendation .button {
    width: 100%;
    justify-content: center;
  }

  .outcome-plan-fit {
    min-height: 0;
  }

  .magic-link-summary,
  .magic-link-next-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pricing-recommendation,
  .large-event-pricing,
  .large-event-plan-card,
  .gallery-preview-local-photos {
    padding: 18px;
  }

  .gallery-preview-local-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-preview-local-gallery figure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .gallery-preview-local-actions,
  .gallery-preview-local-actions .button {
    width: 100%;
  }

  .gallery-preview-local-actions .button {
    justify-content: center;
  }

  .magic-link-security-note {
    grid-template-columns: 1fr;
  }

  .magic-link-state-actions,
  .magic-link-state-actions .button,
  .magic-link-state-actions form {
    width: 100%;
  }

  .magic-link-state-actions .button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-preview-local-photos,
  .pricing-recommendation {
    scroll-behavior: auto;
  }
}
