:root {
  --ui-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 4px 5px 0 rgba(0, 0, 0, 0.06), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
  fill: rgba(0, 0, 0, 0.54);
  --ui-shadow-border: 1px solid rgba(0, 0, 0, 0.14);
  --pardner-ink: #3b2922;
  --pardner-orange: #fe6019;
  /* Keep decorative brand orange; use darker colours for readable text/actions. */
  --pardner-orange-deep: #bd3d20;
  --pardner-action-fill: #c43f20;
  --pardner-action-hover: #a9321c;
  --pardner-cream: #fff8f1;
  --pardner-coral: #fa709a;
  --pardner-yellow: #fee140;
  --pardner-control-radius: 0.75rem;
  --pardner-action-radius: 0.5rem;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* Bootstrap uses !important for this shared utility. Set its brand default once;
   existing, more-specific dark-section colours continue to take precedence. */
body .text-primary {
  color: var(--pardner-orange-deep) !important;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  /* commented below as it caused content overlap first noticed on my-pardner-draw route */
  /* height: 100%; */
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  font-family: var(--font-body);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 10000;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1rem;
  border: 2px solid var(--pardner-orange);
  border-radius: var(--pardner-control-radius);
  background: #ffffff;
  color: var(--pardner-ink);
  box-shadow: 0 6px 18px rgba(74, 42, 36, 0.18);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 2rem));
  transition: opacity 120ms ease, transform 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: relative;
  inset: auto;
  display: block;
  max-width: calc(100% - 2rem);
  margin: max(0.75rem, env(safe-area-inset-top)) auto 0.75rem;
  text-align: center;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* The focused link enters normal flow before the header, reserving its true
   translated or wrapped height instead of covering a navigation control. */
body > .skip-link:focus + .header,
body > .skip-link:focus-visible + .header {
  position: relative;
  top: auto;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--pardner-orange) !important;
  outline-offset: 3px;
}

#main-content:focus {
  outline: none !important;
}

#CookieBanner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem max(1rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left)) !important;
  border-top: 1px solid #efc2aa;
  background: #4a2a24;
  color: #ffffff;
  box-shadow: 0 -12px 30px rgba(74, 42, 36, 0.18);
}

#CookieBanner p {
  max-width: 72rem;
  margin: 0 !important;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left !important;
}

#CookieBanner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.625rem;
}

#CookieBanner .cookie-btn,
.cookie-preferences .cookie-save {
  width: auto !important;
  min-width: 9.5rem;
  border: 1px solid var(--pardner-action-fill);
  border-radius: var(--pardner-control-radius);
  padding: 0.7rem 1rem;
  background: var(--pardner-action-fill);
  color: #ffffff;
  font-weight: 700;
}

#CookieBanner .cookie-btn:hover,
#CookieBanner .cookie-btn:focus-visible,
#CookieBanner .cookie-btn:active,
.cookie-preferences .cookie-save:hover,
.cookie-preferences .cookie-save:focus-visible,
.cookie-preferences .cookie-save:active {
  background: var(--pardner-action-hover);
}

#CookieBanner .cookie-customise {
  border-color: #ffffff;
  background: transparent;
}

.cookie-preferences[hidden] {
  display: none !important;
}

.cookie-preferences {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 1.25rem;
  background: rgba(40, 20, 16, 0.62);
}

.cookie-preferences-card {
  position: relative;
  width: min(100%, 38rem);
  border: 1px solid #efc2aa;
  border-radius: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fffaf4;
  box-shadow: 0 24px 70px rgba(40, 20, 16, 0.3);
}

.cookie-preferences-card h2 {
  padding-right: 2.25rem;
  font-size: clamp(1.6rem, 5vw, 2rem);
}

.cookie-preferences-intro {
  margin: 0.5rem 0 1.25rem;
  color: var(--pardner-copy, #5f636f);
}

.cookie-preferences-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e9bda7;
  border-radius: var(--pardner-control-radius);
  background: #ffffff;
  color: var(--pardner-ink);
  font-size: 1.5rem;
  line-height: 1;
}

.cookie-preferences-close:focus-visible {
  /* Keep the existing focus ring visible after scrolling a short viewport. */
  outline-offset: -4px;
}

.cookie-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-top: 0.75rem;
  border: 1px solid #efd3c4;
  border-radius: var(--pardner-control-radius);
  padding: 1rem;
  background: #ffffff;
}

.cookie-preference-row p {
  margin: 0.3rem 0 0;
  color: var(--pardner-copy, #5f636f);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-preference-state {
  border-radius: var(--pardner-control-radius);
  padding: 0.4rem 0.65rem;
  background: #f6e9df;
  color: var(--pardner-ink);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cookie-preferences-actions a:any-link {
  color: var(--pardner-orange-deep) !important;
  font-weight: 700;
}

body.cookie-preferences-open {
  overflow: hidden;
}

@media (max-width: 599px) {
  #CookieBanner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
  }

  #CookieBanner p {
    font-size: 0.8125rem;
  }

  #CookieBanner .cookie-btn {
    width: 100% !important;
    min-width: 0;
  }

  #CookieBanner .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .cookie-preference-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-transform: none;
  text-wrap: balance;

  padding: 0;
  margin: 0;

  color: var(--pardner-ink);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 40px;
}

/* Shared editorial hierarchy for public, authentication and product journeys. */
.brand-eyebrow {
  color: var(--pardner-orange-deep);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.brand-display-title {
  max-width: 22ch;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.brand-section-title {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.brand-lead {
  max-width: 62ch;
  color: #655850;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.62;
}

/* Recovered product workspace: keep legacy global heading styles from
   overriding the deliberate mixed-case, high-contrast dashboard design. */
.account-dashboard h1,
.account-dashboard h2,
.account-dashboard h3 {
  text-transform: none;
}

.account-dashboard h1 {
  overflow-wrap: anywhere;
}

.account-dashboard .account-hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(250, 112, 154, 0.14), transparent 27%),
    radial-gradient(circle at 76% 18%, rgba(254, 225, 64, 0.16), transparent 22%),
    linear-gradient(135deg, #fffdf9 0%, var(--pardner-cream) 100%);
  border-bottom: 1px solid #f4ded0;
  color: var(--pardner-ink);
}

.account-dashboard .account-hero h1 {
  color: var(--pardner-ink);
}

.account-dashboard .account-hero .brand-display-title {
  max-width: 19ch;
}

.account-dashboard .text-slate-900 {
  color: var(--pardner-ink) !important;
}

.account-dashboard .text-slate-600 {
  color: #655850 !important;
}

.account-dashboard .text-slate-500 {
  color: #7a6d66 !important;
}

.account-dashboard .border-slate-200 {
  border-color: #ead7cb !important;
}

.account-dashboard .bg-slate-50 {
  background-color: #fffaf5 !important;
}

.account-dashboard .bg-slate-100 {
  background-color: #f3e6dd !important;
}

.account-dashboard .account-eyebrow {
  color: var(--pardner-orange-deep);
}

.account-dashboard .account-primary-button {
  background: var(--pardner-action-fill);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(254, 96, 25, 0.2);
}

.account-dashboard .account-primary-button:hover {
  background: var(--pardner-action-hover);
  color: #ffffff;
}

.account-dashboard .account-secondary-button {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e8a17f;
  color: var(--pardner-orange-deep);
}

.account-dashboard .account-secondary-button:hover {
  background: #ffffff;
  border-color: var(--pardner-orange);
  color: var(--pardner-orange-deep);
}

.account-dashboard .account-text-link {
  color: var(--pardner-orange-deep);
}

.account-dashboard .account-text-link:hover {
  color: #a9321c;
}

.account-dashboard .account-next-steps {
  background: #4a2a24;
}

.account-dashboard .account-security-panel {
  background: #4a2a24;
}

.account-dashboard .account-step-number {
  background: var(--pardner-orange);
  color: #ffffff;
}

.account-dashboard .account-next-button {
  color: #4a2a24;
}

.account-dashboard .account-next-button:hover {
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
}

.member-summary-card,
.member-pardner-panel {
  border: 1px solid rgba(111, 77, 43, 0.14);
  box-shadow: 0 14px 34px rgba(80, 47, 19, 0.055);
}

.member-summary-card.has-attention {
  border-color: rgba(254, 96, 25, 0.45);
  background: linear-gradient(145deg, #fff 0%, #fff4e9 100%);
}

.member-empty-state {
  border: 1px dashed rgba(111, 77, 43, 0.28);
  background: #fffaf5;
}

.member-pardner-list > li {
  background: linear-gradient(155deg, #fff 0%, #fffcf8 100%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.member-pardner-list > li:hover {
  border-color: rgba(254, 96, 25, 0.32);
  box-shadow: 0 10px 24px rgba(80, 47, 19, 0.055);
}

.profile-readiness-bar {
  border: 1px solid rgba(254, 96, 25, 0.2);
  background: #fffaf5;
}

.profile-progress-track {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: #f2e3d8;
}

.profile-progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pardner-orange), #ffae63);
  transition: width 300ms ease;
}

.profile-progress-score {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
  font-size: 0.8rem;
}

.profile-progress-check {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #f1e7df;
  color: #806e66;
  font-weight: 900;
}

.profile-progress-check.is-complete {
  background: var(--pardner-orange);
  color: #ffffff;
}

.plus-dashboard-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(254, 225, 64, 0.16), transparent 7rem),
    linear-gradient(145deg, #fff 0%, #fff8ef 100%);
}

.plus-level-icon {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.plus-workspace h1,
.plus-workspace h2,
.plus-workspace h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.plus-hero {
  border-bottom: 1px solid #f4ded0;
  background:
    radial-gradient(circle at 88% 12%, rgba(250, 112, 154, 0.13), transparent 25%),
    radial-gradient(circle at 78% 20%, rgba(254, 225, 64, 0.2), transparent 20%),
    linear-gradient(135deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.plus-eyebrow,
.plus-back-link {
  color: var(--pardner-orange-deep);
}

.plus-back-link:hover {
  color: #a9321c;
}

.plus-hero-medal {
  display: grid;
  width: min(18rem, 70vw);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(254, 96, 25, 0.14) 0 54%,
    rgba(254, 225, 64, 0.12) 55% 67%,
    transparent 68%
  );
}

.plus-hero-medal img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.plus-progress-card,
.plus-pathways,
.plus-levels,
.plus-record,
.plus-benefits {
  border: 1px solid rgba(111, 77, 43, 0.14);
}

.plus-principle-card {
  background: #4a2a24;
}

.plus-milestone-list li {
  border: 1px solid #eadfd7;
  background: #fbf8f5;
}

.plus-milestone-list li.is-complete {
  border-color: rgba(254, 96, 25, 0.32);
  background: #fff8ef;
}

.plus-level-card {
  border: 1px solid #eadfd7;
  background: #fcfaf8;
  padding: 1.25rem;
}

.plus-level-card.is-current {
  border-color: rgba(254, 96, 25, 0.55);
  background: linear-gradient(145deg, #fff 0%, #fff4e9 100%);
  box-shadow: 0 12px 30px rgba(80, 47, 19, 0.08);
}

.plus-level-card > img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(80, 47, 19, 0.12));
  mix-blend-mode: multiply;
}

.plus-current-pill,
.plus-state-pill.is-now {
  background: #ecf8ef;
  color: #176a35;
}

.plus-state-pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.plus-state-pill.is-next {
  background: #fff1e5;
  color: #9c351c;
}

.plus-state-pill.is-partner {
  background: #eeeaf8;
  color: #513a82;
}

.plus-benefit-group li {
  position: relative;
  padding-left: 1.2rem;
}

.plus-benefit-group li::before {
  position: absolute;
  left: 0;
  color: var(--pardner-orange);
  content: "\2713";
  font-weight: 900;
}

.plus-empty-record,
.plus-separation-note {
  border: 1px solid rgba(254, 96, 25, 0.2);
  background: #fffaf5;
}

.plus-zone-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.plus-zone-card {
  min-width: 0;
  border: 1px solid #eadfd7;
  border-radius: 0.85rem;
  background: linear-gradient(155deg, #ffffff 0%, #fffaf5 100%);
  padding: 1.15rem;
}

.plus-zone-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.plus-zone-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 900;
}

.plus-zone-card--grow .plus-zone-mark,
.plus-zone-card--access .plus-zone-mark {
  background: #4a2a24;
}

.plus-zone-action,
.plus-zone-action:visited {
  color: var(--pardner-orange-deep);
}

.plus-zone-action:hover,
.plus-zone-action:focus-visible {
  color: #a9321c;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.plus-zone-offers,
.plus-offer-card + .plus-offer-card {
  border-top: 1px solid #eadfd7;
  padding-top: 1rem;
}

.plus-offer-card h4 {
  margin-top: 0.2rem;
  color: var(--pardner-ink);
  font-weight: 800;
}

.plus-offer-card p {
  margin-top: 0.45rem;
  color: #655a55;
  font-size: 0.82rem;
  line-height: 1.5;
}

.plus-offer-card .plus-offer-provider {
  color: var(--pardner-orange-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plus-offer-card .plus-offer-disclosure {
  color: #746963;
  font-size: 0.72rem;
}

@media (max-width: 1099px) {
  .plus-zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .plus-zone-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.draw-ideas-workspace h1,
.draw-ideas-workspace h2,
.draw-ideas-workspace h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.draw-ideas-hero {
  border-bottom: 1px solid #f4ded0;
  background:
    radial-gradient(circle at 85% 15%, rgba(250, 112, 154, 0.12), transparent 24%),
    radial-gradient(circle at 75% 22%, rgba(254, 225, 64, 0.19), transparent 20%),
    linear-gradient(135deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.draw-ideas-eyebrow,
.draw-ideas-back {
  color: var(--pardner-orange-deep);
}

.draw-ideas-back:hover {
  color: #a9321c;
}

.draw-ideas-form,
.draw-idea-card {
  border: 1px solid rgba(111, 77, 43, 0.14);
}

.draw-ideas-form {
  position: sticky;
  top: 6.5rem;
}

.draw-ideas-preview {
  min-height: 29rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(254, 96, 25, 0.28), transparent 9rem),
    #4a2a24;
  color: #ffffff;
}

.product-workspace .draw-ideas-preview h2 {
  color: #ffffff;
}

.draw-preview-number,
.draw-idea-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  background: var(--pardner-action-fill);
  color: #ffffff;
  font-weight: 900;
}

.draw-preview-number {
  border-radius: 50%;
}

.draw-ideas-mode {
  background: #fff1e5;
  color: #9c351c;
}

.draw-idea-card {
  background:
    radial-gradient(circle at 95% 5%, rgba(254, 225, 64, 0.12), transparent 6rem),
    #ffffff;
}

.draw-idea-check {
  color: var(--pardner-orange-deep);
  font-weight: 900;
}

.draw-ideas-note {
  border: 1px solid rgba(254, 96, 25, 0.2);
  background: #fffaf5;
  color: #5f5149;
}

.saved-draw-plan {
  border: 1px solid rgba(255, 91, 25, 0.18);
}

.draw-plan-success {
  color: #285943;
  background: #edf8f1;
  border: 1px solid #b8dfc8;
}

.saved-draw-progress .form-group {
  min-width: 12rem;
  margin: 0;
}

.plus-saved-plan {
  background: #fff8f2;
  border: 1px solid rgba(255, 91, 25, 0.18);
}

.pardner-room {
  border: 1px solid rgba(111, 77, 43, 0.14);
  background:
    radial-gradient(circle at 95% 5%, rgba(254, 225, 64, 0.1), transparent 10rem),
    #ffffff;
}

.pardner-person-card {
  border: 1px solid #eadfd7;
  background: #fcfaf8;
}

.pardner-person-card.is-pending {
  border-style: dashed;
  background: #faf8f6;
}

.pardner-person-card img,
.pardner-person-placeholder {
  width: 4.25rem;
  height: 4.25rem;
  flex: 0 0 auto;
  border: 3px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(254, 96, 25, 0.28);
}

.pardner-person-placeholder {
  display: grid;
  place-items: center;
  background: #f6dfd1;
  color: var(--pardner-orange-deep);
  font-size: 1.4rem;
  font-weight: 900;
}

.pardner-person-card .is-organiser {
  background: #fff1e5;
  color: #9c351c;
}

.pardner-person-card .is-member {
  background: #ecf8ef;
  color: #176a35;
}

.pardner-person-card.is-pending span.rounded-full {
  background: #f1ede9;
  color: #655b54;
}

.pardner-room-activity {
  border: 1px solid #eadfd7;
  background: #fffaf5;
}

.pardner-room-event {
  position: relative;
  padding-left: 1.25rem;
}

.pardner-room-event::before {
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pardner-orange);
  content: "";
}

.pardner-room-event:not(:last-child)::after {
  position: absolute;
  top: 1rem;
  bottom: -1.25rem;
  left: 0.25rem;
  width: 1px;
  background: #e8cbb9;
  content: "";
}

@media (min-width: 1024px) {
  .plus-hero-grid {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }

  .plus-progress-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  }

  .plus-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .draw-ideas-layout {
    grid-template-columns: 22rem minmax(0, 1fr);
  }

  .pardner-room-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  }
}

@media (max-width: 1023px) {
  .draw-ideas-form {
    position: static;
  }
}

@media (max-width: 639px) {
  .plus-hero-medal {
    width: min(13rem, 65vw);
  }

  .plus-level-card {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: start;
    padding: 1.25rem;
  }

  .plus-level-card > img {
    width: 4rem;
    height: 4rem;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .plus-level-card > .flex {
    grid-column: 2;
  }

  .plus-level-card > p {
    grid-column: 2;
    grid-row: 2;
  }
}

.profile-picture-preview {
  width: 9rem;
  height: 9rem;
  margin-inline: auto;
  border: 4px solid #ffffff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(254, 96, 25, 0.35), 0 14px 28px rgba(74, 42, 36, 0.16);
}

.profile-picture-primary {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  border-color: rgba(254, 96, 25, 0.3);
  background:
    radial-gradient(circle at 8% 18%, rgba(254, 225, 64, 0.15), transparent 10rem),
    #ffffff;
}

.profile-picture-primary .profile-picture-preview {
  margin: 0 auto;
}

.profile-picture-input {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid #e7cfc1;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #5b463e;
  font-size: 0.82rem;
}

.profile-picture-input::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .member-dashboard-summary,
  .member-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 639px) {
  .profile-picture-primary {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-picture-primary .btn {
    width: 100%;
  }
}

.profile-identity-card {
  border: 1px solid rgba(254, 96, 25, 0.24);
  background: linear-gradient(155deg, #fff 0%, #fff8ed 100%);
  box-shadow: 0 16px 38px rgba(80, 47, 19, 0.07);
}

@media (min-width: 1024px) {
  .profile-identity-card {
    position: sticky;
    top: 6.5rem;
  }
}

/* Shared Pardner product journey */
.product-workspace {
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 112, 154, 0.08), transparent 22rem),
    #fffaf5;
}

.product-workspace h1,
.product-workspace h2,
.product-workspace h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.product-page-heading {
  padding: 2rem;
  border: 1px solid #f3dfd2;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 112, 154, 0.12), transparent 30%),
    linear-gradient(135deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.product-page-heading .brand-display-title {
  max-width: 24ch;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.product-card,
.product-form {
  border: 1px solid #f0dfd4;
  box-shadow: 0 12px 34px rgba(91, 49, 32, 0.06);
}

.product-workspace .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(254, 96, 25, 0.16);
}

.product-workspace .btn-primary:hover:not(:disabled) {
  border-color: var(--pardner-orange-deep);
  background: var(--pardner-orange-deep);
  color: #ffffff;
}

.product-workspace .btn-primary:disabled {
  border-color: #d8c9c0;
  background: #e6ddd7;
  color: #7a6d66;
  box-shadow: none;
}

.product-workspace .btn-outline-primary {
  border-color: #e59a78;
  color: var(--pardner-orange-deep);
}

.product-workspace .btn-outline-primary:hover {
  border-color: var(--pardner-orange);
  background: #fff1e9;
  color: var(--pardner-orange-deep);
}

.product-workspace .form-control:focus,
.product-workspace input:focus,
.product-workspace select:focus {
  border-color: var(--pardner-orange);
  --tw-ring-color: rgba(254, 96, 25, 0.24);
}

.brand-status-pill {
  border: 1px solid #f3b89d;
  background: #fff0e8;
  color: #a9321c;
}

.brand-attention-text,
.product-workspace .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.brand-note,
.brand-summary-card {
  border: 1px solid #f1ddd0;
  background: var(--pardner-cream);
}

.brand-summary-card {
  box-shadow: inset 4px 0 0 var(--pardner-orange);
}

.brand-empty-state {
  border: 1px dashed #e7a889;
  background: var(--pardner-cream);
}

.brand-safety-note {
  border: 1px solid #efc4ad;
  background: #fff3eb;
  color: #683522;
}

.brand-success-note {
  border: 1px solid #bfddc6;
  background: #f3faf4;
  color: #275d33;
}

.brand-consent {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  margin-block: 1rem 0;
  padding: 1rem;
  border: 1px solid #e8b399;
  border-radius: 0.75rem;
  background: #fffdfa;
  line-height: 1.5;
}
.brand-consent > input[type='checkbox'] {
  position: static;
  float: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2em 0 0;
  accent-color: var(--pardner-orange-deep);
}
.brand-consent > span { min-width: 0; }
.invitation-dates {
  display: grid;
  gap: 0.75rem;
  margin-block: 1.25rem;
  padding: 1rem;
  border: 1px solid #f1ddd0;
  border-radius: 0.75rem;
  background: var(--pardner-cream);
}
.invitation-dates dt { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.invitation-dates dd { margin: 0.3rem 0 0 1.75rem; font-weight: 700; }
.auth-entry-help summary { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.auth-entry-help summary::after { content: '+'; margin-left: auto; }
.auth-entry-help[open] summary::after { content: '−'; }
[data-sign-in-label] { margin-inline-start: 0.5rem; }


.journey-step {
  border: 1px solid #ecd7ca;
  background: rgba(255, 255, 255, 0.72);
  color: #76584c;
}

.journey-step.is-current {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
}

.journey-step.is-complete {
  border-color: #edaa88;
  background: #fff0e8;
  color: var(--pardner-orange-deep);
}

.product-workspace .invitation-email {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.product-workspace .invitation-actions button {
  min-height: 2.75rem;
}

#language-selector {
  min-height: 2.75rem;
}

.brand-footer .chat-launcher {
  z-index: 70;
}

body.cookie-banner-visible .brand-footer .chat-launcher {
  display: none;
}

.brand-footer .chat-launcher #open-chat {
  background: var(--pardner-orange);
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(35, 20, 17, 0.35);
  font-weight: 700;
  opacity: 1;
}

.brand-footer .chat-launcher #open-chat:hover,
.brand-footer .chat-launcher #open-chat:focus-visible {
  background: var(--pardner-orange-deep);
  border-color: #ffffff;
  color: #ffffff;
}

.brand-footer .chat-launcher #open-chat .chat-label,
.brand-footer .chat-launcher #open-chat svg {
  color: #ffffff;
  opacity: 1;
  visibility: visible;
}

.ContentView .pplus-page-visual {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #f3dfcc;
  box-shadow: 0 16px 38px rgba(74, 42, 36, 0.13);
}

.ContentView .pplus-page-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ContentView:has(.pplus-legal) {
  max-width: 920px;
  margin: clamp(2rem, 5vw, 4.5rem) auto;
  padding: clamp(1.5rem, 5vw, 4rem) !important;
  border: 1px solid #ecd7ca;
  border-radius: 1.25rem;
  background: rgba(255, 253, 249, 0.96) !important;
  box-shadow: 0 20px 48px rgba(74, 42, 36, 0.1);
}

.pplus-legal {
  color: #5f5754;
  font-size: 1rem;
  line-height: 1.75;
}

.ContentView .pplus-legal__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--pardner-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ContentView .pplus-legal h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--pardner-brown, #4f2d25);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.ContentView .pplus-legal__lead {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: #665c58;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
}

.ContentView .pplus-legal__updated {
  display: inline-block;
  margin: 1.25rem 0 2.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  background: #fff0e7;
  color: #7a4a3c;
  font-size: 0.82rem;
  font-weight: 700;
}

.ContentView .pplus-legal h2 {
  margin: 2.5rem 0 0.7rem;
  color: var(--pardner-brown, #4f2d25);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ContentView .pplus-legal p,
.ContentView .pplus-legal li {
  overflow-wrap: anywhere;
}

.ContentView .pplus-legal ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.ContentView .pplus-legal a,
.ContentView .pplus-legal a:visited {
  color: var(--pardner-orange-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (max-width: 899px) {
  .product-workspace .invitation-row-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 539px) {
  .product-page-heading {
    padding: 1.5rem;
  }

  .product-workspace .workspace-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-workspace .workspace-split > * {
    min-width: 0;
  }

  .product-workspace .invitation-actions,
  .product-workspace .invitation-actions form,
  .product-workspace .invitation-actions button {
    width: 100%;
  }

  .product-workspace .journey-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .product-workspace .journey-actions,
  .product-workspace .journey-actions form,
  .product-workspace .journey-actions .btn,
  .product-workspace .journey-actions button {
    width: 100%;
  }

  .chat-launcher {
    right: 0.75rem;
    bottom: 0.75rem;
    margin: 0;
  }

  .chat-launcher #open-chat {
    width: 3rem;
    height: 3rem;
    padding: 0;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--pardner-orange);
    border-color: var(--pardner-orange);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(74, 42, 36, 0.22);
  }

  .chat-launcher #open-chat svg {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    margin: 0;
  }

  .chat-launcher .chat-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .chat-panel {
    right: 0.75rem;
    width: calc(100vw - 1.5rem);
  }
}

.chat-panel-header,
.chat-send-button {
  background: var(--pardner-orange);
}

.chat-launcher {
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-launcher.is-panel-open {
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.5rem);
}

.chat-panel {
  z-index: 69;
  max-height: calc(100vh - 5.5rem);
}

.chat-panel .guide-shell {
  overflow: hidden;
  border: 1px solid #efc4ad;
  box-shadow: 0 18px 50px rgba(58, 31, 25, 0.25);
}

.chat-panel .guide-body {
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
  color: #513b34;
}

.chat-panel .guide-mode {
  color: rgba(255, 255, 255, 0.88);
}

.chat-panel #close-chat {
  color: #ffffff;
}

.chat-panel #close-chat:hover,
.chat-panel #close-chat:focus-visible {
  color: #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.guide-quick-heading,
.guide-contact {
  color: var(--pardner-orange-deep) !important;
}

.guide-contact {
  min-height: 3.25rem;
  height: auto;
  padding: 0.75rem 1rem;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

.guide-contact:visited,
.guide-contact:hover,
.guide-contact:focus-visible {
  color: var(--pardner-orange-deep) !important;
}

.guide-question {
  border: 1px solid #edaa88;
  border-radius: 9999px;
  background: #fff7f2;
  color: #753923;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.guide-question:hover,
.guide-question:focus-visible {
  border-color: var(--pardner-orange);
  background: #ffeadf;
  color: #5b2b1c;
  outline: none;
}

.guide-input-row {
  display: grid;
  gap: 0.65rem;
}

.guide-input-row .form-control {
  min-width: 0;
  min-height: 5.75rem;
  max-height: 10rem;
  padding: 0.85rem 0.95rem;
  border-color: #dfc7bb;
  line-height: 1.45;
  resize: none;
}

.guide-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.guide-input-hint {
  color: #80665b;
  font-size: 0.72rem;
  line-height: 1.35;
}

.guide-input-actions .btn {
  flex: 0 0 auto;
  min-width: 5.5rem;
}

.guide-answer {
  border: 1px solid #edaa88;
  background: #fff7f2;
  color: #513b34;
}

.guide-caution {
  color: #76584c;
}

.chat-panel .btn-primary,
.chat-panel .btn-primary:visited {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
}

.chat-panel .btn-primary:hover,
.chat-panel .btn-primary:focus-visible {
  border-color: var(--pardner-orange-deep);
  background: var(--pardner-orange-deep);
  color: #ffffff;
}

.chat-send-button:hover {
  background: var(--pardner-orange-deep);
}

/* Account entry and authentication */
.auth-workspace {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 5%, rgba(250, 112, 154, 0.12), transparent 22rem),
    linear-gradient(150deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.auth-workspace h1,
.auth-workspace h2,
.auth-workspace h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.auth-workspace .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.auth-shell {
  border: 1px solid #f0dcd0;
  box-shadow: 0 24px 60px rgba(91, 49, 32, 0.1);
}

.auth-story-panel {
  background:
    radial-gradient(circle at 95% 5%, rgba(254, 225, 64, 0.22), transparent 30%),
    linear-gradient(145deg, #fff6ed 0%, #fff0e8 100%);
  border-left: 1px solid #f0d8ca;
}

.auth-trust-item {
  padding: 1rem;
  border: 1px solid rgba(229, 154, 120, 0.5);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.55);
}

.auth-workspace .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
}

.auth-workspace .btn-primary:hover {
  border-color: var(--pardner-orange-deep);
  background: var(--pardner-orange-deep);
  color: #ffffff;
}

.auth-workspace .form-control:focus {
  border-color: var(--pardner-orange);
  --tw-ring-color: rgba(254, 96, 25, 0.24);
}

.password-control {
  position: relative;
}

.password-control .form-control {
  padding-right: 3.4rem;
}

.password-visibility-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0.65rem !important;
  background: transparent;
  color: #655850;
  transform: translateY(-50%);
}

.password-visibility-toggle:hover {
  background: #fff3ea;
  color: var(--pardner-orange-deep);
}

.password-visibility-toggle:focus-visible {
  outline: 3px solid rgba(254, 96, 25, 0.3);
  outline-offset: 1px;
}

.password-visibility-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.password-visibility-toggle .password-eye-hide,
.password-visibility-toggle.is-visible .password-eye-show {
  display: none;
}

.password-visibility-toggle.is-visible .password-eye-hide {
  display: block;
}

@media (max-width: 1023px) {
  .auth-story-panel {
    border-top: 1px solid #f0d8ca;
    border-left: 0;
  }
}

/* Public homepage and footer */
.home-hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 112, 154, 0.13), transparent 25rem),
    radial-gradient(circle at 78% 18%, rgba(254, 225, 64, 0.14), transparent 18rem),
    linear-gradient(145deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.home-hero h1,
.home-hero h2,
.home-steps h2,
.home-steps h3,
.home-growth h2,
.home-growth h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.home-hero .text-primary,
.home-steps .text-primary,
.home-growth .text-primary,
.home-cta .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.home-hero .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(254, 96, 25, 0.2);
}

.home-hero .btn-primary:hover {
  border-color: var(--pardner-orange-deep);
  background: var(--pardner-orange-deep);
  color: #ffffff;
}

.home-hero .btn-outline-primary,
.home-hero .btn-outline-primary:visited {
  border-color: var(--pardner-orange) !important;
  background: rgba(255, 255, 255, 0.72);
  color: var(--pardner-orange-deep) !important;
}

.home-hero .btn-outline-primary:hover,
.home-hero .btn-outline-primary:focus-visible,
.home-hero .btn-outline-primary:active {
  border-color: var(--pardner-orange) !important;
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep) !important;
  outline-color: var(--pardner-orange) !important;
  box-shadow: none;
  transform: none;
}

.home-feature-card,
.home-future-card {
  border: 1px solid #efd9cb;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(91, 49, 32, 0.08);
}

.home-hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(91, 49, 32, 0.14);
}

.home-hero-media img {
  width: 100%;
  min-height: 31rem;
  object-fit: cover;
  object-position: 56% center;
}

.home-hero-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 7.5rem 1rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  background: rgba(255, 250, 245, 0.93);
  color: var(--pardner-ink);
  box-shadow: 0 10px 28px rgba(74, 42, 36, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-hero-media figcaption span {
  color: #6e5d55;
  font-size: 0.875rem;
}

.home-steps {
  background: #fff3ea;
}

.home-step-card {
  border: 1px solid #f0ddd1;
  box-shadow: 0 10px 26px rgba(91, 49, 32, 0.05);
}

.home-growth {
  background: #fffdf9;
}

.home-growth-visual {
  position: relative;
  padding: 0 0 4.5rem 3rem;
}

.home-growth-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(91, 49, 32, 0.13);
}

.home-growth-media img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  object-position: 50% center;
}

.home-growth-visual .home-future-card {
  position: absolute;
  right: 2rem;
  bottom: 0;
  left: 0;
  max-width: 31rem;
  background: rgba(255, 253, 249, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-cta {
  padding-top: clamp(3rem, 7vw, 5rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5rem) !important;
  background:
    radial-gradient(circle at 95% 10%, rgba(254, 225, 64, 0.28), transparent 28%),
    linear-gradient(135deg, var(--pardner-orange) 0%, #ef4f36 100%);
  box-shadow: 0 18px 42px rgba(254, 96, 25, 0.2);
}

.home-cta h2 {
  color: #ffffff;
  text-transform: none;
}

/* Cinematic conversion journey ----------------------------------------- */
.home-hero-cinematic h1 {
  max-width: 12ch;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-hero-eyebrow,
.home-section-eyebrow {
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.home-hero-intro {
  max-width: 50ch;
  line-height: 1.58;
}

.home-hero-note {
  max-width: 58ch;
  line-height: 1.55;
}

.home-section-heading {
  max-width: 54rem;
}

.home-section-title {
  max-width: 21ch;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-section-intro {
  max-width: 62ch;
  line-height: 1.62;
}

.home-cinema {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 5%, rgba(250, 112, 154, 0.12), transparent 23rem),
    linear-gradient(145deg, #fff4e9 0%, #fffdf9 58%, #fff7ef 100%);
}

.home-cinema h2,
.home-cinema h3,
.home-benefits h2,
.home-benefits h3,
.home-heritage h2,
.home-plus h2,
.home-plus h3,
.home-rewards h2,
.home-rewards h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.home-cinema .text-primary,
.home-benefits .text-primary,
.home-heritage .text-primary,
.home-plus .text-primary,
.home-rewards .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.home-cinema .btn-primary,
.home-cinema .btn-primary:visited,
.home-cinema .btn-primary:hover,
.home-cinema .btn-primary:focus-visible,
.home-cinema .btn-primary:active {
  border-color: var(--pardner-orange) !important;
  background: var(--pardner-orange);
  color: #ffffff !important;
  outline-color: var(--pardner-orange) !important;
  transform: none;
}

.cinema-shell {
  position: relative;
}

.cinema-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.cinema-track::-webkit-scrollbar {
  display: none;
}

.cinema-scene {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 33rem;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid rgba(111, 77, 43, 0.15);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(80, 47, 19, 0.1);
}

.cinema-scene::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pardner-orange), #ffae63);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.home-cinema.is-story-playing .cinema-scene.is-active::after {
  opacity: 1;
  animation: cinemaSceneProgress 7s linear forwards;
}

.cinema-scene-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 4rem);
}

.cinema-kicker {
  color: var(--pardner-orange-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.cinema-scene-copy h3 {
  max-width: 15ch;
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cinema-scene-copy > p:not(.cinema-kicker) {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: #6e5d55;
  font-size: 1.05rem;
  line-height: 1.75;
}

.cinema-punchline {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 1.75rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--pardner-orange);
  background: var(--pardner-cream);
  color: var(--pardner-ink);
}

.cinema-scene-media {
  position: relative;
  min-height: 22rem;
  margin: 0;
  overflow: hidden;
  background: #f2dfd2;
}

.cinema-scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cinema.is-story-playing .cinema-scene.is-active .cinema-scene-media img {
  animation: cinemaImageDrift 7s ease-out forwards;
  will-change: transform;
}

@keyframes cinemaImageDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes cinemaSceneProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.cinema-scene-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.9rem;
  background: rgba(255, 250, 245, 0.92);
  color: var(--pardner-ink);
  font-size: 0.86rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.circle-calculator {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(254, 225, 64, 0.25), transparent 38%),
    linear-gradient(145deg, #fff4e8 0%, #ffe3d3 100%);
}

/* Continue the existing calculator surface through its whole mobile scene.
   The controls remain unchanged; this only removes the white visual break
   above the calculator at the responsive scene boundary. */
.cinema-scene.cinema-scene-calculator {
  background:
    radial-gradient(circle at 90% 10%, rgba(254, 225, 64, 0.25), transparent 38%),
    linear-gradient(145deg, #fff4e8 0%, #ffe3d3 100%);
}

.cinema-scene-calculator .circle-calculator {
  background: transparent;
}

.circle-calculator-controls {
  display: grid;
  gap: 0.85rem;
}

.circle-calculator-controls label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--pardner-ink);
  font-weight: 700;
}

.circle-calculator-controls output {
  color: var(--pardner-orange-deep);
  font-size: 1.15rem;
  font-weight: 900;
}

.circle-currency-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, auto);
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.15rem;
}

.circle-currency-control label {
  display: block;
}

.circle-currency-control select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid rgba(254, 96, 25, 0.4);
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--pardner-ink);
  font-weight: 700;
}

.circle-currency-control select:focus-visible {
  border-color: var(--pardner-orange);
  outline: 3px solid rgba(254, 96, 25, 0.2);
  outline-offset: 2px;
}

.circle-calculator input[type="range"] {
  width: 100%;
  accent-color: var(--pardner-orange);
}

.circle-calculator-result {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(254, 96, 25, 0.24);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(80, 47, 19, 0.08);
}

.circle-calculator-result span,
.circle-calculator-result small {
  color: #6e5d55;
}

.circle-calculator-result strong {
  margin: 0.25rem 0;
  color: var(--pardner-ink);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.1;
}

.circle-calculator-result.is-updating strong {
  animation: calculatorValuePulse 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes calculatorValuePulse {
  50% {
    color: var(--pardner-orange-deep);
    transform: scale(1.035);
  }
}

.circle-calculator-note {
  margin: 0;
  color: #715d52;
  font-size: 0.78rem;
  line-height: 1.55;
}

.cinema-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.cinema-goals li {
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(254, 96, 25, 0.28);
  border-radius: 999px;
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.cinema-checks {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.cinema-checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cinema-checks span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--pardner-orange);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.cinema-controls {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.cinema-control {
  position: absolute;
  display: grid;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(254, 96, 25, 0.48);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--pardner-orange-deep);
  box-shadow: 0 10px 28px rgba(74, 42, 36, 0.16);
  opacity: 0.78;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cinema-control:hover,
.cinema-control:focus-visible {
  border-color: var(--pardner-orange);
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
  opacity: 1;
}

.cinema-arrow {
  top: 50%;
}

.cinema-arrow-previous {
  left: -0.6rem;
  transform: translateY(-50%);
}

.cinema-arrow-next {
  right: -0.6rem;
  transform: translateY(-50%);
}

.cinema-arrow:hover,
.cinema-arrow:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.cinema-arrow svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cinema-autoplay {
  top: 1rem;
  right: 1rem;
}

.cinema-autoplay-icon {
  font-size: 0.9rem;
  line-height: 1;
}

@media (hover: hover) {
  .cinema-arrow {
    opacity: 0.34;
  }

  .cinema-shell:hover .cinema-arrow,
  .cinema-shell:focus-within .cinema-arrow {
    opacity: 0.92;
  }
}

.home-benefits {
  background: #fffdf9;
}

.home-benefit-grid {
  display: grid;
  gap: 1.15rem;
}

.home-benefit-card {
  position: relative;
  min-height: 12.5rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid #efdbcf;
  border-radius: 1.4rem;
  background: linear-gradient(150deg, #ffffff 0%, #fff7ef 100%);
  box-shadow: 0 12px 32px rgba(80, 47, 19, 0.06);
}

.home-benefit-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--pardner-orange), #ffb26d);
  content: "";
}

.home-benefit-number {
  display: inline-flex;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 96, 25, 0.2);
  border-radius: 50%;
  background: rgba(254, 96, 25, 0.08);
  color: var(--pardner-orange-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-benefit-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.home-benefit-card p {
  margin-top: 0.6rem;
  color: #6e5d55;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-rewards {
  padding-top: 0;
  background: #fffdf9;
}

.home-plus {
  background: #fffdf9;
}

.home-plus-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(254, 96, 25, 0.24);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 95% 5%, rgba(254, 225, 64, 0.3), transparent 26rem),
    linear-gradient(145deg, #fff4e9 0%, #ffffff 72%);
  box-shadow: 0 20px 50px rgba(80, 47, 19, 0.08);
}

.home-plus-intro {
  max-width: 54rem;
}

.home-plus-intro h2 {
  max-width: 17ch;
  line-height: 1.08;
}

.home-plus-intro .home-section-intro {
  max-width: 58ch;
}

.home-plus-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-plus-card {
  position: relative;
  grid-column: span 6;
  min-height: clamp(25rem, 38vw, 32rem);
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 43, 30, 0.18);
  border-radius: 1.6rem;
  background: #5a3026;
  box-shadow: 0 18px 42px rgba(80, 47, 19, 0.14);
}

.home-plus-card:nth-child(1),
.home-plus-card:nth-child(4) {
  grid-column: span 7;
}

.home-plus-card:nth-child(2),
.home-plus-card:nth-child(3) {
  grid-column: span 5;
}

.home-plus-card-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: #ffffff !important;
  text-decoration: none;
}

.home-plus-card-link:visited,
.home-plus-card-link:hover,
.home-plus-card-link:focus-visible,
.home-plus-card-link:active {
  color: #ffffff !important;
}

.home-plus-card-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -6px;
}

.home-plus-card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-plus-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 19, 13, 0.02) 18%, rgba(55, 25, 18, 0.22) 48%, rgba(55, 25, 18, 0.94) 100%),
    linear-gradient(120deg, rgba(254, 96, 25, 0.12), transparent 54%);
  transition: background-color 400ms ease;
}

.home-plus-card-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  text-shadow: 0 2px 18px rgba(30, 12, 8, 0.35);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-plus-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(74, 33, 24, 0.45);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.home-plus-card h3 {
  max-width: 18ch;
  margin-top: 1rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-plus-card p {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
}

.home-plus-card-action {
  display: inline-flex;
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    opacity 300ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-plus-note {
  max-width: 56rem;
  margin: 1.5rem auto 0;
  color: #6e5d55;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: center;
}

@media (hover: hover) {
  .home-plus-card-action {
    opacity: 0.9;
  }

  .home-plus-card-link:hover .home-plus-card-image,
  .home-plus-card-link:focus-visible .home-plus-card-image {
    transform: scale(1.055);
  }

  .home-plus-card-link:hover .home-plus-card-copy,
  .home-plus-card-link:focus-visible .home-plus-card-copy {
    transform: translateY(-0.35rem);
  }

  .home-plus-card-link:hover .home-plus-card-action,
  .home-plus-card-link:focus-visible .home-plus-card-action {
    opacity: 1;
    transform: translateX(0.2rem);
  }
}

.home-heritage-copy .home-section-title {
  max-width: 19ch;
}

.home-cta-title {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-cta-copy {
  max-width: 54ch;
  line-height: 1.62;
}

.home-rewards-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(254, 96, 25, 0.28);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(254, 225, 64, 0.3), transparent 30%),
    linear-gradient(145deg, #fff1e6 0%, #fffaf5 100%);
  box-shadow: 0 20px 50px rgba(80, 47, 19, 0.08);
}

.home-reward-grid {
  display: grid;
  gap: 1rem;
}

.home-reward-grid article {
  padding: 1.25rem;
  border: 1px solid rgba(254, 96, 25, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.home-reward-grid article > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 900;
}

.home-reward-grid h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.home-reward-grid p,
.home-reward-note {
  margin-top: 0.5rem;
  color: #6e5d55;
}

@media (min-width: 900px) {
  .cinema-scene {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .home-benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .cinema-scene {
    grid-template-rows: auto minmax(18rem, 42vh);
  }

  .cinema-scene-copy h3 {
    max-width: none;
  }

  .circle-calculator {
    min-height: 23rem;
  }

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

  .home-plus-card,
  .home-plus-card:nth-child(n) {
    grid-column: span 6;
    min-height: 27rem;
  }
}

@media (max-width: 599px) {
  .home-hero-cinematic.section {
    padding-top: 2.5rem;
  }

  .home-hero-cinematic h1 {
    max-width: none;
    font-size: clamp(2.55rem, 11.2vw, 3rem);
    line-height: 1.08;
  }

  .home-hero-cinematic h1 + p {
    margin-top: 1rem !important;
    font-size: 1.0625rem;
    line-height: 1.55;
  }

  .home-section-title {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .home-hero-cinematic h1 + p + .mt-8 {
    margin-top: 1.25rem !important;
  }

  .home-hero-cinematic .btn {
    width: 100%;
  }

  .home-hero-media figcaption {
    padding-right: 1.125rem;
  }

  .cinema-scene {
    min-height: auto;
    border-radius: 1.35rem;
  }

  .cinema-scene-copy,
  .circle-calculator {
    padding: 1.35rem;
  }

  .cinema-scene-copy h3 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .cinema-control {
    width: 2.75rem;
    height: 2.75rem;
  }

  .cinema-autoplay {
    top: 0.75rem;
    right: 0.75rem;
  }

  .cinema-arrow-previous {
    left: -0.35rem;
  }

  .cinema-arrow-next {
    right: -0.35rem;
  }

  .circle-currency-control {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .home-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-benefit-card {
    min-height: 0;
  }

  .home-plus-panel {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .home-plus-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-plus-card,
  .home-plus-card:nth-child(n) {
    grid-column: 1;
    min-height: 27rem;
    border-radius: 1.25rem;
  }

  .home-plus-card-copy {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-track {
    scroll-behavior: auto;
  }

  .home-cinema.is-story-playing .cinema-scene.is-active::after,
  .home-cinema.is-story-playing .cinema-scene.is-active .cinema-scene-media img,
  .circle-calculator-result.is-updating strong,
  .home-plus-card-image,
  .home-plus-card-copy,
  .home-plus-card-action {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Public product and contact pages */
.early-payout-page,
.contact-page {
  background:
    radial-gradient(circle at 94% 7%, rgba(250, 112, 154, 0.1), transparent 24rem),
    linear-gradient(155deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.early-payout-page h1,
.early-payout-page h2,
.early-payout-page h3,
.contact-page h1,
.contact-page h2 {
  color: var(--pardner-ink);
  text-transform: none;
}

.early-payout-page .text-primary,
.contact-page .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.early-payout-page .btn-primary,
.directory-page .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(254, 96, 25, 0.18);
}

.early-payout-page .btn-primary:hover,
.directory-page .btn-primary:hover {
  border-color: var(--pardner-orange-deep);
  background: var(--pardner-orange-deep);
  color: #ffffff;
}

.early-payout-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(91, 49, 32, 0.13);
}

.early-payout-media img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  object-position: 52% center;
}

.early-payout-media figcaption {
  padding: 1rem 1.25rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

.early-payout-promise {
  border: 1px solid #efd9cb;
  box-shadow: 0 10px 26px rgba(91, 49, 32, 0.05);
}

.early-payout-notice,
.contact-boundary {
  border: 1px solid #f0cdb9;
  background: rgba(255, 242, 231, 0.86);
}

.early-payout-follow {
  border: 1px solid #edcbb7;
  background: #4a2a24;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(74, 42, 36, 0.13);
}

.early-payout-follow h2 {
  color: #ffffff;
}

.contact-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(91, 49, 32, 0.1);
}

.contact-media img {
  width: 100%;
  height: 19rem;
  object-fit: cover;
  object-position: 42% 45%;
}

.contact-media figcaption {
  padding: 1rem 1.25rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

.contact-form-card {
  border: 1px solid #efd9cb;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 56px rgba(91, 49, 32, 0.11);
}

.contact-form-card .form-control {
  border-color: #e7cfc1;
}

/* Message fields must not inherit the single-line 60px control height. */
.contact-form-card textarea.form-control {
  height: auto;
  min-height: 10rem;
  max-width: 100%;
  line-height: 1.5;
  resize: vertical;
}

.contact-form-card .form-control:focus {
  border-color: var(--pardner-orange);
  outline: 3px solid rgba(254, 96, 25, 0.16);
}

.contact-form-card .btn-primary {
  border-color: var(--pardner-action-fill);
  background: var(--pardner-action-fill);
  color: #ffffff;
}

.contact-form-card .btn-primary:hover,
.contact-form-card .btn-primary:focus-visible {
  border-color: var(--pardner-action-hover);
  background: var(--pardner-action-hover);
  color: #ffffff;
}

/* A wide desktop form does not need a stretched submit action. Keep the
   established full-width treatment on phones and leave auth/card actions alone. */
.contact-form-card #js_submit {
  width: auto;
  max-width: 100%;
  min-width: 10rem;
  min-height: 3rem;
  white-space: normal;
}

@media (max-width: 600px) {
  .contact-form-card #js_submit { width: 100%; min-width: 0; }
}

.contact-success {
  border: 1px solid #b9ddc1;
  background: #effaf1;
  color: #285f35;
}

.contact-error {
  border: 1px solid #efbbb3;
  background: #fff1ef;
  color: #8a2e22;
}

/* How it works */
.form-bot-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.how-page,
.how-comparison,
.how-plus,
.how-purpose {
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 112, 154, 0.11), transparent 24rem),
    linear-gradient(150deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.how-page h1,
.how-page h2,
.how-page h3,
.how-journey h2,
.how-journey h3,
.how-purpose h2,
.how-plus h2,
.how-plus h3,
.how-safety h2 {
  color: var(--pardner-ink);
  text-transform: none;
}

.how-page .text-primary,
.how-journey .text-primary,
.how-purpose .text-primary,
.how-plus .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.how-glance .text-primary {
  color: #c4351b !important;
}

.how-page .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
}

.how-page .btn-outline-primary,
.how-page .btn-outline-primary:visited {
  border-color: var(--pardner-orange) !important;
  background: transparent;
  color: var(--pardner-orange-deep) !important;
  box-shadow: none;
}

.how-page .btn-outline-primary:hover,
.how-page .btn-outline-primary:focus-visible,
.how-page .btn-outline-primary:active {
  border-color: var(--pardner-orange) !important;
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep) !important;
  outline-color: var(--pardner-orange) !important;
  box-shadow: none;
  transform: none;
}

.how-page .brand-display-title {
  max-width: 15ch;
}

.how-page .brand-lead {
  max-width: 54ch;
}

.how-journey .brand-section-title,
.how-plus .brand-section-title,
.how-purpose .brand-section-title {
  max-width: 20ch;
}

.how-hero-media,
.how-plus-media,
.how-purpose-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(91, 49, 32, 0.13);
}

.how-hero-media img,
.how-plus-media img,
.how-purpose-media img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}

.how-hero-media img {
  object-position: 62% center;
}

.how-hero-media figcaption {
  padding: 1rem 1.25rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

.how-glance {
  background: #fffdf9;
}

.how-glance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  border: 1px solid #ead7cb;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 96% 0%, rgba(254, 96, 25, 0.13), transparent 18rem),
    linear-gradient(145deg, #ffffff 0%, #fff7ef 100%);
  box-shadow: 0 18px 44px rgba(91, 49, 32, 0.08);
}

.how-glance-intro {
  grid-column: 1 / -1;
  max-width: 58rem;
}

.how-glance-intro h2 {
  margin-top: 0.55rem;
  color: var(--pardner-ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.how-glance-intro > p:last-child {
  margin-top: 1rem;
  color: #655850;
  font-size: 1.06rem;
  line-height: 1.7;
}

.how-glance-flow {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.8rem;
  list-style: none;
}

.how-glance-flow li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid #ead7cb;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.88);
}

.how-glance-number {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 800;
}

.how-glance-flow h3,
.how-terms h3 {
  color: var(--pardner-ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.how-glance-flow p {
  margin-top: 0.3rem;
  color: #6b5d55;
  line-height: 1.55;
}

.how-terms {
  padding: 1.35rem;
  border-radius: 1rem;
  background: #4a2a24;
  color: #ffffff;
}

.how-terms h3 {
  color: #ffffff;
  font-size: 1.3rem;
}

.how-terms dl {
  display: grid;
  margin: 1rem 0 0;
  gap: 0;
}

.how-terms dl > div {
  padding-block: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.how-terms dt {
  color: #ffb38e;
  font-weight: 800;
}

.how-terms dd {
  margin: 0.2rem 0 0;
  color: #f5ebe6;
  line-height: 1.5;
}

.how-names-note {
  margin-top: 1rem;
  color: #f5ebe6;
  font-size: 0.92rem;
  line-height: 1.6;
}

.how-stories-link,
.how-stories-link:visited {
  display: inline-block;
  margin-top: 1rem;
  color: #ffb38e !important;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.how-stories-link:hover,
.how-stories-link:focus-visible {
  color: #ffffff !important;
}

.how-plus {
  background: #fffdf9;
}

.how-plus-media {
  position: relative;
}

.how-plus-media::after {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--pardner-orange);
  color: #ffffff;
  content: '+';
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(91, 49, 32, 0.2);
}

/* One small example keeps the draw benefit and commitment together. */
.how-draw-example {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e7c9b8;
  border-radius: 1rem;
  background: var(--pardner-cream);
  color: var(--pardner-ink);
}
.how-draw-example h3 { margin: 0 0 .75rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.how-draw-example p { margin: .65rem 0 0; max-width: 65ch; }
.how-draw-example__lead { font-weight: 700; }
.how-draw-example__note { font-size: .9rem; }

.how-benefit-grid {
  display: grid;
  gap: 0.9rem;
}

.how-benefit-card {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid #f0d8ca;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(91, 49, 32, 0.05);
}

.how-benefit-card h3 {
  color: var(--pardner-ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.how-benefit-card p {
  margin-top: 0.25rem;
  color: #6e5d55;
  line-height: 1.55;
}

.how-benefit-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: #fff0e7;
  color: var(--pardner-orange-deep);
  font-size: 1.3rem;
  font-weight: 800;
}

.how-journey {
  background: #fff3ea;
}

.how-step-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.how-step-card {
  padding: 1.6rem;
  border: 1px solid #efd9cb;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(91, 49, 32, 0.05);
}

.how-step-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.how-step-card p {
  margin-top: 0.6rem;
  color: #6e5d55;
}

.how-step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 800;
}

.how-safety {
  background: #4a2a24;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(74, 42, 36, 0.14);
}

.how-safety h2 {
  color: #ffffff;
}

.how-safety .brand-eyebrow {
  color: #ffb38e;
}

.how-checks {
  display: grid;
  gap: 0.75rem;
}

.how-checks li::before {
  margin-right: 0.65rem;
  color: #ff9a6b;
  content: '✓';
  font-weight: 800;
}

@media (max-width: 767px) {
  .how-glance-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-glance-intro {
    grid-column: auto;
  }

  .how-step-grid {
    grid-template-columns: 1fr;
  }

  .how-hero-media img,
  .how-plus-media img,
  .how-purpose-media img {
    height: 23rem;
  }
}

/* Independent Investment Directory */
.directory-page,
.directory-learn,
.directory-check {
  background:
    radial-gradient(circle at 94% 8%, rgba(250, 112, 154, 0.1), transparent 23rem),
    linear-gradient(150deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.directory-page h1,
.directory-page h2,
.directory-learn h2,
.directory-learn h3,
.directory-check h2,
.directory-status h2,
.directory-providers h2,
.directory-providers h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.directory-page .text-primary,
.directory-status .text-primary,
.directory-learn .text-primary,
.directory-check .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.directory-boundary {
  border: 1px solid #efccb8;
  background: rgba(255, 242, 231, 0.88);
}

.directory-trust-line {
  color: #6e5d55;
}

.directory-hero-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(91, 49, 32, 0.13);
}

.directory-hero-media img {
  width: 100%;
  height: 31rem;
  object-fit: cover;
  object-position: 55% center;
}

.directory-hero-media figcaption {
  padding: 1rem 1.25rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

.directory-status {
  background: #fff3ea;
}

.directory-access {
  background:
    radial-gradient(circle at 8% 20%, rgba(254, 96, 25, 0.1), transparent 20rem),
    #fff3ea;
}

.directory-access h2,
.directory-access h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.directory-access .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.directory-access-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-access-card {
  position: relative;
  min-height: 17rem;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(91, 49, 32, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.directory-access-card.is-available {
  border-color: rgba(254, 96, 25, 0.6);
  background: #ffffff;
}

.directory-access-card::after {
  position: absolute;
  right: -2.2rem;
  bottom: -2.6rem;
  width: 6.5rem;
  height: 6.5rem;
  border: 1rem solid rgba(254, 96, 25, 0.07);
  border-radius: 50%;
  content: '';
}

.directory-access-step {
  display: inline-flex;
  color: var(--pardner-orange-deep);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.directory-access-state,
.directory-card-label {
  display: inline-flex;
  width: fit-content;
  margin-left: 0.5rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #fff0e6;
  color: #7a3c1f;
  font-size: 0.72rem;
  font-weight: 700;
}

.directory-access-card h3 {
  margin-top: 2.6rem;
  font-size: 1.25rem;
  font-weight: 750;
}

.directory-access-card p {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  color: #6e5d55;
}

.directory-access-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.directory-access-footer p {
  max-width: 52rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

@media (hover: hover) {
  .directory-access-card:hover,
  .directory-category-card:hover {
    border-color: rgba(254, 96, 25, 0.55);
    box-shadow: 0 18px 38px rgba(91, 49, 32, 0.11);
    transform: translateY(-0.2rem);
  }
}

.directory-review {
  border: 1px solid #efd5c6;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(91, 49, 32, 0.08);
}

.directory-review-list,
.directory-check-list {
  display: grid;
  gap: 0.9rem;
}

.directory-review-list li::before {
  margin-right: 0.65rem;
  color: var(--pardner-orange);
  content: '✓';
  font-weight: 800;
}

.directory-category-grid,
.directory-provider-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-category-card,
.directory-provider-card {
  padding: 1.6rem;
  border: 1px solid #efd9cb;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(91, 49, 32, 0.05);
}

.directory-category-card h3,
.directory-provider-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.directory-card-label {
  margin: 0 0 1rem;
}

.directory-category-card p,
.directory-provider-card p {
  margin-top: 0.65rem;
  color: #6e5d55;
}

.directory-category-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fee140, #fa709a);
  color: #4a2a24;
  font-size: 1.35rem;
  font-weight: 800;
}

.directory-providers {
  background: #ffffff;
}

.directory-provider-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.directory-check-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--pardner-orange);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.74);
}

.directory-check-list span {
  color: #6e5d55;
}

.directory-risk {
  background: #4a2a24;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(74, 42, 36, 0.14);
}

.directory-risk h2 {
  color: #ffffff;
}

@media (max-width: 1023px) {
  .directory-access-grid,
  .directory-category-grid,
  .directory-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-growth-visual {
    padding: 0 0 2rem;
  }

  .home-growth-media img,
  .early-payout-media img {
    height: 23rem;
  }

  .home-growth-visual .home-future-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 1.5rem);
    margin: -3rem auto 0;
  }

  .directory-hero-media img {
    height: 23rem;
  }

  .directory-category-grid,
  .directory-provider-grid {
    grid-template-columns: 1fr;
  }

  .directory-access-grid {
    grid-template-columns: 1fr;
  }

  .directory-access-card {
    min-height: 0;
  }

  .directory-access-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Restrained reveal motion for public storytelling. */
.motion-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 560ms ease var(--reveal-delay, 0ms),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero-media img,
.home-growth-media img,
.how-hero-media img,
.how-purpose-media img,
.early-payout-media img,
.directory-hero-media img,
.contact-media img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .home-hero-media:hover img,
  .home-growth-media:hover img,
  .how-hero-media:hover img,
  .how-purpose-media:hover img,
  .early-payout-media:hover img,
  .directory-hero-media:hover img,
  .contact-media:hover img {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-hero-media img,
  .home-growth-media img,
  .how-hero-media img,
  .how-purpose-media img,
  .early-payout-media img,
  .directory-hero-media img,
  .contact-media img {
    transition: none;
  }

  .directory-access-card,
  .directory-category-card {
    transition: none;
  }
}

/* Safety and Online Security */
.safety-page,
.safety-signs,
.safety-groups {
  background:
    radial-gradient(circle at 94% 8%, rgba(250, 112, 154, 0.1), transparent 23rem),
    linear-gradient(150deg, #fffdf9 0%, var(--pardner-cream) 100%);
}

.safety-page h1,
.safety-page h2,
.safety-signs h2,
.safety-signs h3,
.safety-groups h2,
.safety-never h2,
.safety-response h2 {
  color: var(--pardner-ink);
  text-transform: none;
}

.safety-page .text-primary,
.safety-signs .text-primary,
.safety-groups .text-primary {
  color: var(--pardner-orange-deep) !important;
}

.safety-page .btn-primary {
  border-color: var(--pardner-orange);
  background: var(--pardner-orange);
  color: #ffffff;
}

.safety-hero-media {
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(91, 49, 32, 0.13);
}

.safety-hero-media img {
  width: 100%;
  height: 31rem;
  object-fit: cover;
  object-position: 58% center;
}

.safety-hero-media figcaption {
  padding: 1rem 1.25rem;
  color: #6e5d55;
  font-size: 0.9rem;
}

.safety-never {
  background: #fff3ea;
}

.safety-never-panel {
  border: 1px solid #efd5c6;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(91, 49, 32, 0.08);
}

.safety-check-list {
  display: grid;
  gap: 0.9rem;
}

.safety-check-list li::before {
  margin-right: 0.65rem;
  color: var(--pardner-orange);
  content: '×';
  font-weight: 900;
}

.safety-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-card {
  padding: 1.6rem;
  border: 1px solid #efd9cb;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(91, 49, 32, 0.05);
}

.safety-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.safety-card p {
  margin-top: 0.65rem;
  color: #6e5d55;
}

.safety-card-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fee140, #fa709a);
  color: #4a2a24;
  font-size: 1.3rem;
  font-weight: 900;
}

.safety-action-list {
  display: grid;
  gap: 1rem;
}

.safety-action-list li {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--pardner-orange);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.76);
}

.safety-action-list span {
  color: #6e5d55;
}

.safety-response {
  background: #4a2a24;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(74, 42, 36, 0.14);
}

.safety-response h2 {
  color: #ffffff;
}

@media (max-width: 1023px) {
  .safety-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .safety-hero-media img {
    height: 23rem;
  }

  .safety-card-grid {
    grid-template-columns: 1fr;
  }
}

.brand-footer {
  border-top: 1px solid #f0d9cb;
  background: #4a2a24;
  color: #fceee6;
}

/* Footer links are page content, not floating navigation. The legacy global
   nav z-index:100 otherwise paints them above the fixed cookie banner (50). */
.brand-footer nav {
  z-index: auto;
}

.brand-footer h2,
.brand-footer strong {
  color: #ffffff;
  text-transform: none;
}

.brand-footer a {
  color: #fceee6;
}

.brand-footer a:hover {
  color: #ffb28f;
}

/* Keep every link state legible on the shared dark brand surfaces. Browser
   visited-link defaults otherwise override inherited white text with blue. */
:is(
  #CookieBanner,
  .account-next-steps,
  .early-payout-follow,
  .how-safety,
  .directory-risk,
  .safety-response,
  .brand-footer
) a:any-link:not(.btn):not(.cookie-btn):not(.account-next-button) {
  color: #fff4ed !important;
  text-decoration-color: currentColor;
}

:is(
  #CookieBanner,
  .account-next-steps,
  .early-payout-follow,
  .how-safety,
  .directory-risk,
  .safety-response,
  .brand-footer
) a:any-link:not(.btn):not(.cookie-btn):not(.account-next-button):hover,
:is(
  #CookieBanner,
  .account-next-steps,
  .early-payout-follow,
  .how-safety,
  .directory-risk,
  .safety-response,
  .brand-footer
) a:any-link:not(.btn):not(.cookie-btn):not(.account-next-button):focus-visible {
  color: #ffb28f !important;
}

/* The guide lives inside the dark footer DOM but its panel is white. */
.brand-footer .chat-panel a.guide-contact:any-link {
  color: var(--pardner-orange-deep) !important;
}

.brand-footer .chat-panel a.guide-contact:hover,
.brand-footer .chat-panel a.guide-contact:focus-visible {
  color: var(--pardner-orange) !important;
}

.brand-footer .border-t {
  border-color: rgba(255, 255, 255, 0.16);
}

.newsletter-signup {
  max-width: 42rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 165, 113, 0.35);
  border-radius: var(--pardner-control-radius, 0.75rem);
  background: rgba(255, 250, 245, 0.08);
}

.newsletter-eyebrow {
  margin: 0 0 0.35rem;
  color: #ffb38f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-footer .newsletter-title {
  margin: 0;
  color: #fffaf5;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.18;
  text-transform: none;
}

.newsletter-copy {
  margin: 0.6rem 0 0;
  color: #f5ded2;
  font-size: 0.93rem;
  line-height: 1.6;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.newsletter-fields input[type="email"] {
  min-width: 0;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--pardner-control-radius, 0.75rem);
  background: #fffaf5;
  color: #30201c;
}

.newsletter-fields input[type="email"]:focus-visible {
  border-color: #ff8a54;
  outline: 3px solid rgba(255, 138, 84, 0.32);
  outline-offset: 2px;
}

.newsletter-fields button {
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--pardner-action-fill);
  border-radius: var(--pardner-control-radius, 0.75rem);
  background: var(--pardner-action-fill);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.newsletter-fields button:hover,
.newsletter-fields button:focus-visible,
.newsletter-fields button:active {
  border-color: var(--pardner-action-hover);
  background: var(--pardner-action-hover);
  color: #fff;
  transform: none;
}

.newsletter-fields button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #f5ded2;
  font-size: 0.78rem;
  line-height: 1.5;
}

.newsletter-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.13rem;
  accent-color: #ff5a1f;
}

.brand-footer .newsletter-consent a:any-link {
  color: #ffba99 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.newsletter-status {
  min-height: 1.4em;
  color: #f5ded2;
  font-size: 0.82rem;
  line-height: 1.5;
}

.newsletter-status:not(:empty) {
  display: grid;
  gap: 0.2rem;
  max-width: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--pardner-control-radius);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.newsletter-status strong {
  color: #ffffff;
  font-size: 1rem;
}

.newsletter-success:not(:empty) {
  border-color: rgba(255, 232, 186, 0.75);
  background: rgba(255, 232, 186, 0.13);
  color: #fff6dd;
}

.newsletter-error:not(:empty) {
  border-color: rgba(255, 177, 158, 0.8);
  background: rgba(255, 92, 48, 0.14);
  color: #ffd0c5;
}

.footer-cookie-settings {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.footer-cookie-settings:hover {
  color: #ffba99;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.newsletter-result-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 9vw, 8rem) 1.25rem;
  background: linear-gradient(135deg, #fffaf4 0%, #fff1e8 100%);
}

.newsletter-result-card {
  width: min(100%, 43rem);
  border: 1px solid #efd3c4;
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 6vw, 3.5rem);
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(74, 42, 36, 0.13);
  text-align: center;
}

.newsletter-result-card img {
  width: min(13rem, 65%);
  height: auto;
  margin: 0 auto 1.75rem;
}

.newsletter-result-eyebrow {
  color: var(--pardner-orange-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-result-card h1 {
  margin: 0.55rem 0 1rem;
  color: var(--pardner-ink);
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.08;
}

.newsletter-result-copy {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: #5f636f;
  font-size: 1.05rem;
  line-height: 1.7;
}

.newsletter-confirm-note {
  margin: 1.25rem auto 0;
  color: #6f6f76;
  font-size: 0.9rem;
  line-height: 1.55;
}

.newsletter-confirm-form {
  margin: 0;
}

@media (max-width: 640px) {
  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .newsletter-fields button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .home-hero-media img {
    min-height: 24rem;
  }
}

.account-dashboard .account-on-dark h1,
.account-dashboard .account-on-dark h2,
.account-dashboard .account-on-dark h3 {
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

#root {
  display: flex;
  flex-direction: column;
}

.View {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  /* height: 100%; */
  width: 100%;

  padding: 20px;

  background-size: cover;

}

.UserView {
  /* background: url("https://cdn.auth0.com/blog/whatabyte-portal/patio.jpeg") left bottom; */
  /* background-size: cover; */
  min-height: 100vh;
}

#draws_grid_view .card-body{
  margin: 0;
  padding: 0;
}

.Banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;

  border-radius: 5px;

  overflow: hidden;
  background: inherit;
  padding: 15px;

  border-bottom: var(--ui-shadow-border);
  /* box-shadow: var(--ui-shadow); */
}

.Message {
  background: white;
  color:text-dark;
  padding: 30px;
  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
}

.Message > .Title {
  padding-bottom: 20px;
}

.Message > .Details {
  display: flex;
  flex-direction: column;
  line-height: 1.5em;
}

.NavButtons {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
}

.NavButton {
  display: flex;
  justify-content: center;
  align-items: center;

  height: 55px;
  width: 150px;

  background: #fa4141;

  border-radius: 30px;

  font-size: 16px;
  font-weight: bold;
  color: white;

  text-transform: capitalize;

  border-bottom: var(--ui-shadow-border);
  box-shadow: var(--ui-shadow);
}

.collapse.show {
  visibility: visible;
}



@media (min-width: 640px) {

  .sm\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
/* .custom_wrapper {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
} */

.container_wrap {
	/* max-width: 900px; */
	/* width: 100%; */
	margin: 0 auto;
	/* background: rgba(240, 240, 240, 1); */
	padding: 1px 1px;
	/* border-radius: 16px; */
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.container_wrap h3 {

  line-height:0;

}
.profile_info {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #000000;
}

.profile_info i {
	font-size: 20px;
	color: #000000;
	margin-right: 10px;
}

.profile_info img {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	margin-right: 10px;
}

.profile_info h2 {
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
	margin: 0;
}

.profile_info p {
	margin: 0;
}

.btn-secondary{
  background-color: var(--pardner-action-fill) !important;
  color: #ffffff;
}

.btn-secondary:hover:not(:disabled),
.btn-secondary:active:not(:disabled) {
  background-color: var(--pardner-action-hover) !important;
}

.profile_info span {
	background: rgba(29, 195, 112, 1);
	width: 8px;
	height: 8px;
	display: inline-flex;
	border-radius: 50%;
	margin: 0 4px 0 0;
}
.dropdown{
  margin-left: 7px;
}
.dropdown_arrow {
	background: rgba(29, 195, 112, 1);
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	color: #ffffff;
	font-size: 20px;
	transition: .3s;
	border: transparent;
}

.dropdown_arrow:hover {
	background: rgb(19 127 73);
}

.dropdown-toggle::after {
	display: none;
}

.dropdown-menu {
	/* box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.16); */
  position: absolute !important;
	z-index :40 !important;
  padding: 12px 8px;
	border: transparent;
  background-color: #ffffff;
	/* transform: translate3d(0, 0, 0) !important; */
	left: auto !important;
	right: 0 !important;
	top: 0px !important;
	border-radius: 4px;
  position: none !important;
}

.dropdown-menu .dropdown-item {
  position: relative !important;
	z-index :540 !important;
  padding: 2px 34px 8px 2px;
	font-size: 16px;
	/* border-bottom: 0px solid rgba(218, 218, 218, 1); */
	text-align: left;
  background-color: #ffffff;
}

.dropdown-menu .dropdown-item img {
	margin-right: 4px;
	width: 24px;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: inherit;
}


/* .stream_title h2{
  color: white  !important
} */

/*
.search-bar {
    transition: width 0.3s ease-in-out;
    width: 40px;
}

.search-bar:focus {
    width: 250px;
} */

#current_members_container .card{

  width: 150px;

}

nav{

  position: relative;
  z-index: 100;

}
/* #root a:hover,  */
#navItems a:hover {

  color: #f84525;

}
a.btn-outline-primary,
.card a:hover{
  color: text-light;
}

#site_title a:hover{

  color: #FFFFFF;

}

.form_view {

  margin-top : 10px;

}
.form_view label{
  min-width:20%
}
.ContentView p:first-child,
.ContentView h1:first-child {
  line-height: 1.5;
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: 700;
}

#title,
.ContentView .card-title,
.ContentView h2,
.section-title,
h1.Banner,
h2.Banner,
h3.Banner,
h4.Banner,
h5.Banner
{

  color:text-dark;
  font-weight: 700 !important;

}

.section-title,
h3,
#draw_title > h1
{
  line-height: 2;
}


/* edit profile section  */

body{margin-top:20px;
  background-color:#f2f6fc;
  color:#69707a;
  }
  .img-account-profile {
      height: 10rem;
  }
  .rounded-circle {
      border-radius: 50% !important;
  }
  .card {
      box-shadow: 0 0.15rem 1.75rem 0 rgb(33 40 50 / 15%);
  }
  .card .card-header {
      font-weight: 500;
  }
  .card-header:first-child {
      border-radius: 0.35rem 0.35rem 0 0;
  }
  .card-header {
      padding: 1rem 1.35rem;
      margin-bottom: 0;
      background-color: rgba(33, 40, 50, 0.03);
      border-bottom: 1px solid rgba(33, 40, 50, 0.125);
  }
  .form-control, .dataTable-input {
      display: block;
      width: 100%;
      padding: 0.875rem 1.125rem;
      font-size: 0.875rem;
      font-weight: 400;
      line-height: 1;
      color: #69707a;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid #c5ccd6;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      border-radius: 0.35rem;
      transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  .nav-borders .nav-link.active {
      color: #0061f2;
      border-bottom-color: #0061f2;
  }
  .nav-borders .nav-link {
      color: #69707a;
      border-bottom-width: 0.125rem;
      border-bottom-style: solid;
      border-bottom-color: transparent;
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
      padding-left: 0;
      padding-right: 0;
      margin-left: 1rem;
      margin-right: 1rem;
  }

  .fa-2x {
    font-size: 2em;
}

.table-billing-history th, .table-billing-history td {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.375rem;
    padding-right: 1.375rem;
}
.table > :not(caption) > * > *, .dataTable-table > :not(caption) > * > * {
    padding: 0.75rem 0.75rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.border-start-primary {
    border-left-color: #0061f2 !important;
}
.border-start-secondary {
    border-left-color: #6900c7 !important;
}
.border-start-success {
    border-left-color: #00ac69 !important;
}
.border-start-lg {
    border-left-width: 0.25rem !important;
}
.h-100 {
    height: 100% !important;
}
.btn-danger-soft {
  color: #000;
  background-color: #f1e0e3;
  border-color: #f1e0e3;
}


#profile_img_sect {
  position: relative;
  width: 100%;
  max-width: 400px;
  /* background-color: #000; */

}

/* Make the image to responsive */
#profile_img_sect image {
  width: 100%;
  height: auto;
  /* opacity: 1; */
}

/* Make the image to responsive */
/* #profile_img image:hover{ */
  /* filter: brightness(50%); */
  /* opacity: 0.1; */
/* } */


/* The overlay effect (full height and width) - lays on top of the container and over the image */
#profile_img_sect .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  /* opacity: 0; */
  transition: .3s ease;
  /* background-color: red;  */
}


/* The icon inside the overlay is positioned in the middle vertically and horizontally */
#profile_img_sect .icon {
  color: white;
  font-size: 100px;
  position: absolute;
  top: 50%;
  left: 43%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* When you move the mouse over the icon, change color */
.bi-camera:hover {
  color: #000;
  /* opacity: ; */
}

.bi-camera{
  color: #fff;
}




/* PROFILE EDIT */


.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: 50px auto;
  .avatar-edit {
      position: absolute;
      right: 12px;
      z-index: 1;
      top: 10px;
      input {
          display: none;
          + label {
              display: inline-block;
              width: 34px;
              height: 34px;
              margin-bottom: 0;
              border-radius: 100%;
              background: #FFFFFF;
              border: 1px solid transparent;
              box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
              cursor: pointer;
              font-weight: normal;
              transition: all .2s ease-in-out;
              &:hover {
                  background: #f1f1f1;
                  border-color: #d6d6d6;
              }
              &:after {
                  content: "\f040";
                  /* font-family: 'FontAwesome'; */
                  color: #757575;
                  position: absolute;
                  top: 10px;
                  left: 0;
                  right: 0;
                  text-align: center;
                  margin: auto;
              }
          }
      }
  }
  .avatar-preview {
      width: 192px;
      height: 192px;
      position: relative;
      border-radius: 100%;
      border: 6px solid #F8F8F8;
      box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
      > div {
          width: 100%;
          height: 100%;
          border-radius: 100%;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
      }
  }
}

/* PAYMENT METHOD NEW CARD  */

.crediCard.rearIsVsible {
  transform: rotateY(-180deg);
}

/* NAVIGATION.CSS */

/**
 * WEBSITE: https://themefisher.com
 * TWITTER: https://twitter.com/themefisher
 * FACEBOOK: https://facebook.com/themefisher
 * GITHUB: https://github.com/themefisher/
 */

input#nav-toggle:checked ~ label#show-button {
    display: none
}

input#nav-toggle:checked ~ label#hide-button {
    display: flex
}

@media (min-width: 1024px) {

    input#nav-toggle:checked ~ label#hide-button {
        display: none
    }
}

input#nav-toggle:checked ~ #nav-menu {
    display: block
}

@media (min-width: 1024px) {

    input#nav-toggle:checked ~ #nav-menu {
        display: flex
    }
}

.header {
    position: sticky;
    top: 0px;
    z-index: 50;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms
}

@media (min-width: 1024px) {

    .header {
        background-color: transparent
    }
}
.header-sticky {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    box-shadow: 0px 10px 45px rgba(0, 0, 0, 0.05)
}

.logo_main{
  color: #f84524;
}
.bg_nav_menu_item{

  background-color:#f84524;
}
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between
}

.navbar-brand {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(34 34 34 / var(--tw-text-opacity, 1))
}
.navbar-brand image {
    max-height: 100%;
    max-width: 100%
}

.navbar-nav {
    text-align: center
}

@media (min-width: 1024px) {

    .navbar-nav {
        text-align: left
    }
}

.nav-link {
    display: block;
    padding: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 15px;
    --tw-text-opacity: 1;
    color: rgb(34 34 34 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms
}

.nav-link:hover {
    --tw-text-opacity: 1;
    color: rgb(254 96 25 / var(--tw-text-opacity, 1))
}

@media (min-width: 768px) {

    .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem
    }
}

@media (min-width: 1024px) {

    .nav-link {
        display: inline-block
    }
}
.nav-link.active {
    position: relative
}
.nav-link.active::after {
    position: absolute;
    bottom: 0px;
    left: 0.5rem;
    right: 0.5rem;
    height: 0.125rem;
    background-image: linear-gradient(to top left, var(--tw-gradient-stops));
    --tw-content: "";
    content: var(--tw-content);
    background-image: linear-gradient(184.78deg, #fa709a 7.64%, #fee140 120.07%)
}

.nav-dropdown {
    margin-right: 0px
}

.nav-dropdown-list {
    /* z-index: 10; */
    margin-left: auto;
    margin-right: auto;
    margin-left: 0.25rem;
    margin-top: 1rem;
    min-width: 180px;
    border-radius: 0.5rem;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(254 96 25 / 0.25);
    background-color: rgb(254 96 25 / 0.05);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    transition-duration: 300ms
}

@media (min-width: 1024px) {

    .nav-dropdown-list {
        margin-top: 0px;
        border-width: 1px;
        --tw-bg-opacity: 1;
        background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
        --tw-shadow: 0 0.9rem 1.56rem rgb(0,0,0,0.1);
        --tw-shadow-colored: 0 0.9rem 1.56rem var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
    }
}

.nav-dropdown-item {
    margin-bottom: 0.25rem
}

.nav-dropdown-link {
    min-width: 150px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(34 34 34 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms
}

.nav-dropdown-link:hover {
    --tw-text-opacity: 1;
    color: rgb(254 96 25 / var(--tw-text-opacity, 1))
}
/* .puzzle_style img,
.puzzle {
  --r: 30px;  /* control the circle radius * /
  --s: 200px; /* control the main size * /

  width: var(--s);
  height: calc(var(--s) + var(--r));
  mask:
    radial-gradient(var(--r) at 50% calc(100% - var(--r)),#000 calc(100% - 1px),#0000),
    radial-gradient(var(--r) at right,#0000 calc(100% - 1px),#000)
     0 0/100% calc(100% - var(--r)) no-repeat;
}
*/

.puzzle_style .grid {
  --s: min(250px,22vw,30vh); /* the image size */
  --r: min(28px,5vmin);  /* the size of circles*/
  --g: min(7px,1vmin);   /* the grid gap */

  display: grid;
  grid-template-columns: repeat(4,auto);
  gap: var(--g);
}
.puzzle_style .grid img {
  object-fit: cover;
}

/* Keep application navigation responsive despite legacy component display rules. */
.desktop-only-nav {
  display: none !important;
}

.mobile-menu-control {
  display: flex !important;
}

.logged_out_opts {
  display: none !important;
}

@media (min-width: 1200px) {
  .desktop-only-nav {
    display: block !important;
  }

  .logged_out_opts {
    display: block !important;
  }

  .mobile-menu-control,
  .mobile-menu-panel {
    display: none !important;
  }
}
.puzzle_style .grid :nth-child(1) {
  width: var(--s);
  height: calc(var(--s) + var(--r));
  margin-bottom: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at 50% calc(100% - var(--r)),#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at calc(100% + var(--g)) 50%,#0000 calc(100% - 1px),#000) 0 0/100% calc(100% - var(--r)) no-repeat;
}
.puzzle_style .grid :is(:nth-child(2),:nth-child(3)) {
  width: calc(var(--s) + var(--r));
  margin: 0 0 calc(-1*var(--r)) calc(-1*var(--r));
  aspect-ratio: 1;
  --_g:/calc(2*var(--r)) calc(2*var(--r)) no-repeat
    radial-gradient(var(--r),#000 calc(100% - 1px),#0000);
  mask:
    0 calc(50% - var(--r)/2) var(--_g),calc(50% + var(--r)/2) 100% var(--_g),
    radial-gradient(calc(var(--r) + var(--g)) at calc(100% + var(--g)) 50%,#0000 calc(100% - 1px),#000)
      100% 0/calc(100% - var(--r)) calc(100% - var(--r)) no-repeat;
}
.puzzle_style .grid :nth-child(4) {
  width: calc(var(--s) + var(--r));
  height: var(--s);
  margin-left: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at var(--r) 50%,#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(100% + var(--g)),#0000 calc(100% - 1px),#000) 100%/calc(100% - var(--r)) 100% no-repeat;
}
.puzzle_style .grid :nth-child(5) {
  width: var(--s);
  height: calc(var(--s) + var(--r));
  margin-bottom: calc(-1*var(--r));
  --_l:#0000 calc(100% - 1px),#000;
  --_g:0 0/100% calc(100% - var(--r)) no-repeat;
  mask:
    radial-gradient(var(--r) at 50% calc(100% - var(--r)),#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(-1*var(--g)),var(--_l)) var(--_g) intersect,
    radial-gradient(calc(var(--r) + var(--g)) at calc(100% + var(--g)) 50%,var(--_l)) var(--_g);
}
.puzzle_style .grid :is(:nth-child(6),:nth-child(7)) {
  width: calc(var(--s) + var(--r));
  aspect-ratio: 1;
  margin: 0 0 calc(-1*var(--r)) calc(-1*var(--r));
  --_l:#0000 calc(100% - 1px),#000;
  --_g:100% 0/calc(100% - var(--r)) calc(100% - var(--r)) no-repeat;
  --_m:/calc(2*var(--r)) calc(2*var(--r)) no-repeat
    radial-gradient(var(--r),#000 calc(100% - 1px),#0000);
  mask:
    0 calc(50% - var(--r)/2) var(--_m),calc(50% + var(--r)/2) 100% var(--_m),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(-1*var(--g)),var(--_l)) var(--_g) intersect,
    radial-gradient(calc(var(--r) + var(--g)) at calc(100% + var(--g)) 50%,var(--_l)) var(--_g);
}
.puzzle_style .grid :nth-child(8) {
  width: calc(var(--s) + var(--r));
  aspect-ratio: 1;
  margin: calc(-1*var(--r)) 0 0 calc(-1*var(--r));
  --_g:/calc(2*var(--r)) calc(2*var(--r)) no-repeat
    radial-gradient(var(--r),#000 calc(100% - 1px),#0000);
  mask:
    0 calc(50% + var(--r)/2) var(--_g),calc(50% + var(--r)/2) 0 var(--_g),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(100% + var(--g)),#0000 calc(100% - 1px),#000)
      100% 100%/calc(100% - var(--r)) calc(100% - var(--r)) no-repeat;
}
.puzzle_style .grid :nth-child(9) {
  width: calc(var(--s) + var(--r));
  height: var(--s);
  margin-right: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at calc(100% - var(--r)) 50%,#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(-1*var(--g)),#0000 calc(100% - 1px),#000) 0/calc(100% - var(--r)) 100% no-repeat;
}
.puzzle_style .grid :is(:nth-child(10),:nth-child(11)) {
  width: calc(var(--s) + var(--r));
  height: var(--s);
  margin-right: calc(-1*var(--r));
  --_l:#0000 calc(100% - 1px),#000;
  --_g:0/calc(100% - var(--r)) 100% no-repeat;
  mask:
    radial-gradient(var(--r) at calc(100% - var(--r)) 50%,#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(-1*var(--g)),var(--_l)) var(--_g) intersect,
    radial-gradient(calc(var(--r) + var(--g)) at calc(-1*var(--g)) 50%,var(--_l)) var(--_g);
}
.puzzle_style .grid :nth-child(12) {
  width: var(--s);
  height: calc(var(--s) + var(--r));
  margin-top: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at 50% var(--r),#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at calc(-1*var(--g)) 50%,#0000 calc(100% - 1px),#000) 100% 100%/100% calc(100% - var(--r)) no-repeat;
}




img.puzzle_piece {
  object-fit: cover;
}
img.style_1 {
  --r: 120px;  /* control the circle radius */
  --s: 722px; /* control the main size */
  --h: 422px;
  --g: min(7px,1vmin);   /* the grid gap */
  width: var(--s);
  /* height: calc(var(--s) + var(--r)); */
  height: calc(var(--s) + var(--r));
  margin-bottom: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at 50% calc(100% - var(--r)),#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at calc(100% + var(--g)) 50%,#0000 calc(100% - 1px),#000) 0 0/100% calc(100% - var(--r)) no-repeat;
}


img.style_4 {
  --r: 120px;  /* control the circle radius */
  --s: 722px; /* control the main size */
  --h: 722px;
  --g: min(7px,1vmin);   /* the grid gap */
  width: calc(var(--s) + var(--r));
  height: var(--s);
  margin-left: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at var(--r) 50%,#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(100% + var(--g)),#0000 calc(100% - 1px),#000) 100%/calc(100% - var(--r)) 100% no-repeat;
}

img.style_9 {
  --r: 120px;  /* control the circle radius */
  --s: 722px; /* control the main size */
  --h: 722px;
  --g: min(7px,1vmin);   /* the grid gap */
  width: var(--s);
  height: calc(var(--h) + var(--r));
  margin-right: calc(-1*var(--r));
  mask:
    radial-gradient(var(--r) at calc(100% - var(--r)) 50%,#000 calc(100% - 1px),#0000),
    radial-gradient(calc(var(--r) + var(--g)) at 50% calc(-1*var(--g)),#0000 calc(100% - 1px),#000) 0/calc(100% - var(--r)) 100% no-repeat;
}



img.style_12 {
  --r: 120px;  /* control the circle radius */
  --s: 722px; /* control the main size */
  --h: 400px;
  width: var(--s);
  height: calc(var(--h) + var(--r));
  mask:
    radial-gradient(var(--r) at 50% calc(100% - var(--r)),#000 calc(100% - 1px),#0000),
    radial-gradient(var(--r) at right,#0000 calc(100% - 1px),#000)
     0 0/100% calc(100% - var(--r)) no-repeat;
}

.card:hover { transform: scale(1.03); transition: 0.3s ease-in-out; }
/* .gold-card { border-left: 5px solid gold; }
.silver-card { border-left: 5px solid silver; }
.bronze-card { border-left: 5px solid #cd7f32; } */


/* testigh some shit */

  /* Circular Avatar with Gradient Border */
  .profile-container {
    display: inline-block;
    padding: 4px; /* Adjust padding to allow space for the gradient border */
    border-radius: 50%; /* Makes the container circular */
    border: 4px solid transparent; /* Default border for the gradient */
    background-image: linear-gradient(to right, #3acfd5 0%, #3a4ed5 100%); /* Gradient border */
    background-clip: content-box; /* Ensures the border doesn't overlap with the image */
  }

  /* Ensure image covers the circular container */
  .profile-container img {
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image fills the circular area without distortion */
  }

  /* GPT PLAY GROUND */

/* more ai play  */
/* Make sure the parent container is a flex container */
.menu_lang_sel {
  display: flex; /* Set display to flex */
  justify-content: space-between; /* Distribute items */
  flex-wrap: wrap; /* Allow items to wrap if necessary */
}

.menu_lang_sel .nav-link {
  display: flex; /* Maintain flex layout */
  align-items: center; /* Center items vertically */
  padding: 10px 15px; /* Overall padding for clickable area */
  margin: 5px; /* Add a margin around each item */
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Inherit text color */
  border-radius: 5px; /* Optional: rounded corners */
  transition: background-color 0.3s; /* Smooth hover effect */
}

/* Optional: Change background on hover */
/* .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
} */

.nav-flyout,
#nav-flyout-icp {
  width:210px;
  display: none;
  position: absolute; /* Ensure it positions relative to the closest positioned parent */
  top: calc(100% + 0.625rem);
  left: auto;
  right: 0;
  background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));
  z-index: 100;
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
  display: flex; /* Set display to flex */
  justify-content: space-between; /* Distribute items */
  flex-wrap: wrap; /* Allow items to wrap if necessary */
}

.menu_lang_sel .icp-radio input[type="radio"] {
  visibility: visible;
  margin-right: 5px;
}
.menu_lang_sel .nav-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 5px;
  cursor: pointer;
}
.menu_lang_sel .nav-arrow {
  border-style: solid;
  _border-style: dashed;
  border-width: 9px;
  border-color: transparent;
  border-top-width: 0;
  border-bottom: 9px solid #fff;
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  left:75px;
  position: absolute;
  top: -9px;
}

.nav-item:hover {
  background-color: #f2f2f2;
}
a .active {
  font-weight: bold;
  /* color: green; */
}

.nav-divider {
  position: relative;
  display: block;
  line-height: 1px;
  height: 1px;
  overflow: hidden;
  background:#f84524;
  /* margin: 0 0 9px; */
  margin-top:6px;
}

/* sign up and reg buttons  */

.logged_out_opts .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-height: none;
  margin: 0.125rem;
  padding: 0.625rem 0.875rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  flex-shrink: 0;
}

/* PardnerPlus header and navigation ---------------------------------------
   Keep all interactive states inside the orange/cream brand system. The
   focus ring remains deliberately visible for keyboard users. */
body {
  margin-top: 0;
}

.floating-assets {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-assets > img {
  display: block;
}

.header {
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(232, 161, 127, 0.32);
  background: #fbf5eb;
  box-shadow: 0 8px 28px rgba(74, 42, 36, 0.045);
}

@media (min-width: 1024px) {
  .header {
    background: #fbf5eb;
  }
}

.header #navbar > .container {
  gap: 1rem;
  justify-content: flex-start;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header .menu_lang_sel {
  width: auto !important;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 0;
}

/* Keep uploaded portraits naturally cropped in the compact signed-in header.
   The recovered fluid-image class otherwise allows this flex item to compress
   and forces non-square photographs into a distorted box. */
.header .profile_info {
  min-width: 0;
  gap: 0.625rem;
  padding: 0.25rem 0.375rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.header .profile_info:hover,
.header .profile_info[aria-expanded='true'],
.header .profile_info:focus-visible {
  background: rgba(254, 96, 25, 0.08);
  color: var(--pardner-orange-deep);
}

.header .profile_info:focus-visible {
  outline: 3px solid rgba(254, 96, 25, 0.28);
  outline-offset: 2px;
}

.header .profile_info img {
  display: block;
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 2px rgba(254, 96, 25, 0.24);
}

.header .profile_info > div {
  min-width: 0;
}

.header .profile_info h3 {
  max-width: 7rem;
  margin: 0;
  line-height: 1.25;
}

.header .profile_info::after {
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: translateY(-0.125rem) rotate(45deg);
  transition: transform 160ms ease;
}

.header .profile_info[aria-expanded='true']::after {
  transform: translateY(0.125rem) rotate(225deg);
}

.header .dropdown-menu {
  min-width: 14rem;
  padding: 0.5rem;
  border: 1px solid rgba(114, 74, 58, 0.14);
  border-radius: 0.875rem;
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(74, 42, 36, 0.16), 0 3px 10px rgba(74, 42, 36, 0.08);
}

.header .dropdown-menu li + li {
  margin-top: 0.125rem;
}

.header .dropdown-menu li:last-child {
  margin-top: 0.375rem;
  padding-top: 0.375rem;
  border-top: 1px solid rgba(114, 74, 58, 0.12);
}

.header .dropdown-menu .dropdown-item,
.header .dropdown-menu .dropdown-item:visited {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 0;
  border-radius: 0.625rem;
  background: transparent;
  color: var(--pardner-ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.header .dropdown-menu .dropdown-item:hover,
.header .dropdown-menu .dropdown-item:focus-visible {
  background: rgba(254, 96, 25, 0.09);
  color: var(--pardner-orange-deep);
  outline: none;
}

.header .dropdown-menu .dropdown-item img {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  margin: 0;
  object-fit: contain;
}

/* The account trigger and its panel must share one positioning context.
   Bootstrap previously positioned an empty wrapper, which caused the menu
   to drift away from the profile control. */
.header .account-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: 0.15rem;
}

.header .account-trigger-label {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 0.05rem;
  border-radius: 0;
  background: transparent;
  color: #765343;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.header .account-panel.dropdown-menu {
  top: calc(100% + 0.75rem) !important;
  right: 0 !important;
  left: auto !important;
  width: min(23rem, calc(100vw - 2rem));
  min-width: 23rem;
  max-height: min(42rem, calc(100vh - 8rem));
  margin: 0 !important;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(87, 52, 38, 0.13);
  border-radius: 1.125rem;
  background: #fffdf9;
  box-shadow: 0 1.5rem 4rem rgba(55, 32, 21, 0.2), 0 0.2rem 0.8rem rgba(55, 32, 21, 0.08);
  transform: none !important;
}

.header .account-panel li,
.header .account-panel li + li,
.header .account-panel li:last-child {
  margin: 0;
}

.header .account-panel-profile {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid rgba(87, 52, 38, 0.1);
  background: linear-gradient(135deg, #fff8f0 0%, #fffdf9 65%, #fff1ec 100%);
}

.header .account-panel-avatar {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(254, 96, 25, 0.25);
}

.header .account-panel-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.header .account-panel-greeting,
.header .account-panel-email {
  overflow: hidden;
  color: #7a6259;
  font-size: 0.75rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header .account-panel-identity strong {
  overflow: hidden;
  color: #38251e;
  font-size: 1rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header .account-panel-edit {
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(239, 123, 45, 0.34);
  border-radius: 999px;
  color: #b9431b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.header .account-panel-edit:hover,
.header .account-panel-edit:focus-visible {
  border-color: #ef7b2d;
  background: #fff1e7;
  outline: none;
}

.header .account-panel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(87, 52, 38, 0.09);
  background: #fff;
}

.header .account-panel-status > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.header .account-panel-kicker {
  color: #8a6b5e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header .account-status-summary {
  color: #3d2922;
  font-size: 0.86rem;
  line-height: 1.35;
}

.header .account-status-link {
  flex: 0 0 auto;
  color: var(--pardner-orange-deep);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.header .account-panel-section {
  padding: 0.78rem 1.1rem 0.38rem;
  color: #8a6b5e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.header .account-panel .account-panel-item,
.header .account-panel .account-panel-item:visited {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  min-height: 3.7rem;
  gap: 0.72rem;
  align-items: center;
  padding: 0.62rem 1rem;
  border-radius: 0;
}

.header .account-panel .account-panel-item:hover,
.header .account-panel .account-panel-item:focus-visible {
  background: #fff3ea;
  box-shadow: inset 0.2rem 0 0 #ef6b2e;
}

.header .account-panel-icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 0.75rem;
  background: #fff0e5;
  color: #d84d1c;
}

.header .account-panel-icon svg {
  width: 1.18rem;
  height: 1.18rem;
}

.header .account-panel-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.header .account-panel-copy strong {
  color: #3a2821;
  font-size: 0.88rem;
  line-height: 1.2;
}

.header .account-panel-copy small {
  overflow: hidden;
  color: #7a6259;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header .account-panel-chevron {
  color: #b6988a;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.header .account-panel-signout {
  margin-top: 0.45rem !important;
  padding: 0.45rem 0 0.55rem !important;
  border-top: 1px solid rgba(87, 52, 38, 0.1);
}

.header .account-panel-signout .account-panel-icon {
  background: #f7eeea;
  color: #735347;
}

@media (max-height: 720px) and (min-width: 1024px) {
  .header .account-panel.dropdown-menu {
    max-height: calc(100vh - 6.5rem);
  }
}

.brand-lockup {
  min-width: max-content;
  gap: 0.5rem;
  padding-bottom: 0;
}

.brand-symbol img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.logo_main {
  margin: 0;
  padding: 0;
}

.brand-wordmark,
.brand-wordmark:visited {
  color: var(--pardner-orange-deep);
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-wordmark:hover {
  color: #a9321c;
}

#header-menu .nav-link,
#header-menu .nav-link:visited {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  color: var(--pardner-ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

#header-menu .nav-link:hover,
#header-menu .nav-link:focus-visible {
  background: rgba(254, 96, 25, 0.08);
  color: var(--pardner-orange-deep);
}

#header-menu {
  align-items: center;
  gap: 0.125rem;
}

/* Header dropdown surfaces: presentation only; retain existing open/close logic. */
.header #language-selector {
  background: #fbf4eb !important;
}

.header #nav-flyout-icp {
  padding: 0.5rem;
  border: 1px solid #e7cbbb;
  border-radius: 0.75rem;
  background: #fbf4eb;
  box-shadow: 0 12px 32px rgba(74, 42, 36, 0.14);
}

.header #nav-flyout-icp .nav-item {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 0.5rem !important;
  border-radius: 0.5rem;
  color: #4a2a24;
  line-height: 1.4;
  text-decoration: none;
}

.header #nav-flyout-icp .nav-item:hover,
.header #nav-flyout-icp .nav-item[aria-current='true'] {
  background: #f5e2d4;
  color: #87351e;
}

.header #nav-flyout-icp .nav-item[aria-current='true'] {
  font-weight: 700;
}

.header .account-panel.dropdown-menu,
.header .account-panel-status,
.header .notification-panel {
  background: #fbf4eb;
}

.header .account-panel-kicker,
.header .account-panel-section {
  color: #765343;
}

.header #nav-flyout-icp .nav-item:focus-visible,
.header .account-panel .dropdown-item:focus-visible,
.header .account-panel-edit:focus-visible,
.header .account-status-link:focus-visible {
  outline: 2px solid #87351e;
  outline-offset: -3px;
  background: #f5e2d4;
}
/* End header dropdown surfaces. */

.header-language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  min-height: 2.75rem;
  border: 1px solid #e8a17f;
  border-radius: 0.75rem;
  color: var(--pardner-ink);
  box-shadow: none;
}

.header-language-button:hover,
.header-language-button[aria-expanded='true'] {
  border-color: var(--pardner-orange);
  background: var(--pardner-cream) !important;
  color: var(--pardner-orange-deep);
}

.header-language-button:focus,
.mobile-nav-toggle:focus,
.header-cta:focus {
  border-color: var(--pardner-orange) !important;
  box-shadow: none !important;
}

.header-cta,
.header-cta:visited {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border: 1px solid var(--pardner-orange);
  border-radius: 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-cta-primary,
.header-cta-primary:visited,
.header-cta-secondary,
.header-cta-secondary:visited {
  border-color: var(--pardner-action-fill);
  background: var(--pardner-action-fill);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(254, 96, 25, 0.17);
}

.header-cta-primary:hover,
.header-cta-primary:focus-visible,
.header-cta-primary:active,
.header-cta-secondary:hover,
.header-cta-secondary:focus-visible,
.header-cta-secondary:active {
  border-color: var(--pardner-action-hover) !important;
  background: var(--pardner-action-hover);
  color: #ffffff;
  outline-color: var(--pardner-orange) !important;
  box-shadow: 0 8px 18px rgba(254, 96, 25, 0.17);
  transform: none;
}

.mobile-nav-toggle {
  border: 1px solid #e8a17f;
  background: #fbf4eb;
  color: var(--pardner-ink);
}

.mobile-menu-control {
  width: 3rem;
  flex: 0 0 3rem;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle[aria-expanded='true'] {
  border-color: var(--pardner-orange);
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
}

.mobile-menu-panel {
  border-top: 1px solid #f1d9cb;
  background: #fffdf9;
}

.mobile-menu-panel .mobile-nav-link,
.mobile-menu-panel .mobile-nav-link:visited {
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
  color: var(--pardner-ink);
  text-decoration: none;
}

.mobile-menu-panel .mobile-nav-link:hover,
.mobile-menu-panel .mobile-nav-link:focus-visible,
.mobile-menu-panel .mobile-nav-account,
.mobile-menu-panel .mobile-nav-account:visited {
  background: var(--pardner-cream);
  color: var(--pardner-orange-deep);
}

.mobile-nav-cta,
.mobile-nav-cta:visited {
  display: block;
  border: 1px solid var(--pardner-orange);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
}

.mobile-nav-cta-primary,
.mobile-nav-cta-primary:visited {
  background: var(--pardner-orange);
  color: #ffffff;
}

.mobile-nav-cta-secondary,
.mobile-nav-cta-secondary:visited {
  background: #ffffff;
  color: var(--pardner-orange-deep);
}

@media (max-width: 640px) {
  .header {
    padding-block: 0.25rem;
  }

  .header #navbar > .container {
    gap: 0.5rem;
    padding-top: 0.25rem;
    padding-right: 1rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
  }

  .brand-symbol img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand-wordmark {
    font-size: 1.05rem;
  }

  .header .menu_lang_sel {
    gap: 0.375rem;
  }

  .header-language-button {
    min-height: 2.75rem;
    padding: 0.5rem;
  }


  .mobile-menu-control {
    width: 2.75rem;
    flex-basis: 2.75rem;
    height: 2.75rem;
  }

  .mobile-nav-toggle {
    padding: 0.625rem !important;
  }
}

@media (max-width: 360px) {
  .header .brand-symbol img { width: 2.25rem; height: 2.25rem; }
  .header .brand-wordmark { font-size: 0.9375rem; }
}

@media (max-width: 1199px) {
  .header #navbar > .container {
    gap: 0.5rem;
  }

  .menu_lang_sel #nav-flyout-icp {
    right: 0;
    left: auto;
  }
}

/* About PardnerPlus ------------------------------------------------------- */
.about-page {
  color: var(--pardner-ink);
  background: #fffdf9;
}

.about-shell {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.about-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: linear-gradient(120deg, #fffaf4 0%, #fff2e6 58%, #fff7f3 100%);
}

.about-hero-grid,
.about-plus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.about-hero h1,
.about-section h2,
.about-final h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--pardner-brown, #4f2d25);
  font-family: var(--pardner-display-font, inherit);
  letter-spacing: -0.035em;
}

.about-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
}

.about-lead,
.about-section-heading > p:last-child,
.about-plus-copy > p:last-child,
.about-boundary-card p,
.about-final > .about-shell > p {
  max-width: 64ch;
  color: var(--pardner-muted, #6f6765);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.about-lead {
  margin-top: 1.5rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.about-hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid #efd5c6;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(92, 47, 34, 0.15);
}

.about-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-hero-visual figcaption {
  padding: 0.85rem 1.1rem;
  color: #78665f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.about-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.about-section-warm {
  background: #fff2e8;
}

.about-section-heading {
  max-width: 780px;
}

.about-section h2,
.about-final h2 {
  margin-top: 0.6rem;
  font-size: clamp(2.15rem, 4.5vw, 3.65rem);
  line-height: 1.08;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.about-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid #efd9cc;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(92, 47, 34, 0.07);
}

.about-card-number {
  color: var(--pardner-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.about-card h3,
.about-plus-steps h3 {
  margin: 0.8rem 0 0.55rem;
  color: var(--pardner-brown, #4f2d25);
  font-size: 1.25rem;
  line-height: 1.25;
}

.about-card p,
.about-plus-steps p {
  margin: 0;
  color: #6f6765;
  line-height: 1.65;
}

.about-plus-steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-plus-steps li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #efcfbd;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.about-plus-steps li > span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 800;
}

.about-plus-steps h3 {
  margin-top: 0;
}

.about-boundary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.25rem;
  background: #512d25;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(66, 32, 25, 0.18);
}

.about-boundary-card h2,
.about-boundary-card p,
.about-boundary-card .brand-eyebrow {
  color: #ffffff;
}

.about-text-link,
.about-text-link:visited {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  white-space: nowrap;
}

.about-final {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(120deg, #fff8f2, #fff0e5);
}

.about-final-inner {
  text-align: center;
}

.about-final h2,
.about-final p {
  margin-inline: auto;
}

.about-final .about-actions {
  justify-content: center;
}

@media (max-width: 800px) {
  .about-hero-grid,
  .about-plus-grid,
  .about-card-grid,
  .about-boundary-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-visual {
    order: -1;
  }

  .about-text-link {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .about-shell {
    width: min(100% - 2rem, 1120px);
  }

  .about-actions .btn {
    width: 100%;
  }

}
/* Organiser journey ------------------------------------------------------- */
.organiser-builder {
  --builder-inset: 1.5rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.organiser-builder .journey-actions {
  padding: 0 calc(var(--builder-inset) + 1px) var(--builder-inset);
}

/* Shared label/control rows accommodate wrapping without fixed label heights.
   Older engines retain a readable single-column fallback. */
.organiser-builder .builder-section .grid {
  grid-template-columns: minmax(0, 1fr);
}

.organiser-builder .builder-section .grid > .form-group {
  min-width: 0;
  grid-column: auto;
}

.organiser-builder .form-label > span {
  margin-inline-start: 0.25em;
}

/* Shared form geometry for registration and account editing as well as plans. */
.form-field-grid.grid {
  grid-template-columns: minmax(0, 1fr);
}
.form-field-grid > .form-group {
  min-width: 0;
  grid-column: auto;
}
.form-field-grid .form-label > span {
  margin-inline-start: 0.25em;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .form-field-grid.grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 0 !important;
    }
    .form-field-grid > .form-group {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      align-items: start;
      padding-bottom: 1.25rem;
    }
    .form-field-grid > .form-group:is(.md_col-span-2, .sm_col-span-2) {
      grid-column: 1 / -1;
    }
    .form-field-grid > .form-group > :nth-child(2) {
      width: 100%;
      min-width: 0;
    }
  }
}

/* Legacy utility-built actions use the same brand outline as shared buttons.
   Scope to interactive action elements, not status/validation colours. */
:is(button, a, input).border-primary {
  border-color: #e59a78 !important;
  border-radius: var(--pardner-action-radius, 0.5rem);
}
:is(button, a, input).border-primary:focus-visible {
  outline: 3px solid var(--pardner-orange);
  outline-offset: 3px;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .organiser-builder .builder-section .grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 0;
    }

    .organiser-builder .builder-section .grid > .form-group {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      align-items: start;
      padding-bottom: var(--builder-inset);
    }

    .organiser-builder .builder-section .grid > .form-group > :nth-child(2) {
      width: 100%;
      min-width: 0;
    }
  }
}

.organiser-builder-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.organiser-builder-main {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.builder-section {
  min-width: 0;
  margin: 0;
  padding: var(--builder-inset, 1.5rem);
  border: 1px solid rgba(111, 77, 43, 0.14);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 35px rgba(80, 47, 19, 0.055);
}

.guided-stage[hidden] {
  display: none !important;
}

#pardner-rules-dialog {
  width: min(46rem, calc(100vw - 2rem));
  color: #281d15;
  background: #fffdf9;
}

#pardner-rules-dialog::backdrop {
  background: rgba(40, 29, 21, 0.62);
  backdrop-filter: blur(3px);
}

.builder-section legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.35rem;
  color: #281d15;
  font-size: 1.25rem;
  font-weight: 800;
}

.builder-section-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ef7b2d;
  color: #fff;
  font-size: 0.875rem;
}

.builder-section-intro {
  margin: 0.45rem 0 1.35rem;
  color: #6b625b;
  font-size: 0.95rem;
}

.builder-safeguards summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
}

.builder-safeguards summary::-webkit-details-marker {
  display: none;
}

.builder-safeguards summary::after {
  margin-left: auto;
  color: #ef7b2d;
  content: '+';
  font-size: 1.5rem;
  font-weight: 800;
}

.builder-safeguards[open] summary::after {
  content: '−';
}

.builder-safeguards summary small {
  margin-top: 0.2rem;
  color: #786f68;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.builder-safeguards-body {
  padding-top: 0.9rem;
}

.form-hint {
  margin-top: 0.45rem;
  color: #786f68;
  font-size: 0.8rem;
  line-height: 1.45;
}

.field-with-suffix {
  display: flex;
  align-items: stretch;
}

.field-with-suffix .form-control {
  border-radius: 0.65rem 0 0 0.65rem;
}

.field-with-suffix span {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid #ded7d1;
  border-left: 0;
  border-radius: 0 0.65rem 0.65rem 0;
  background: #fff8ef;
  color: #62574f;
  font-weight: 700;
}

.builder-check {
  padding: 1rem;
  border: 1px solid rgba(239, 123, 45, 0.25);
  border-radius: 0.9rem;
  background: #fffaf4;
}

.builder-preview {
  padding: 1.5rem;
  border: 1px solid rgba(239, 123, 45, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(155deg, #fff 0%, #fff8ed 100%);
  box-shadow: 0 18px 45px rgba(80, 47, 19, 0.08);
}

.builder-preview-stats {
  display: grid;
  gap: 0;
}

.builder-preview-stats div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(111, 77, 43, 0.12);
}

.builder-preview-stats dt {
  color: #746960;
  font-size: 0.85rem;
}

.builder-preview-stats dd {
  max-width: 55%;
  margin: 0;
  color: #281d15;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

@media (min-width: 960px) {
  .organiser-builder-grid {
    grid-template-columns: minmax(0, 1fr) 19rem;
  }

  .builder-preview {
    position: sticky;
    top: 6.5rem;
  }
}

@media (max-width: 639px) {
  .organiser-builder {
    --builder-inset: 1rem;
  }
  .account-dashboard .account-hero .account-primary-button,
  .account-dashboard .account-hero .account-secondary-button {
    width: 100%;
  }

  .account-dashboard .member-pardner-panel {
    padding: 1.25rem;
  }

  .builder-section,
  .builder-preview {
    padding: var(--builder-inset, 1.15rem);
  }

  .builder-section legend {
    font-size: 1.08rem;
  }

  .builder-preview-stats div {
    display: block;
  }

  .builder-preview-stats dd {
    max-width: none;
    margin-top: 0.2rem;
    text-align: left;
  }
}

/* Shared interactive-button contract. Bootstrap, the recovered theme and newer
   product pages used to supply different missing states, which allowed blue
   browser/Bootstrap rings and visited colours to leak through. Keep all common
   primary and outline button behaviour here. Actions and status labels share
   the owner's less-rounded shape; the older control token also styles panels
   and fields, so retain it to avoid changing unrelated surfaces. */
:is(a, button, input).btn,
button,
a[role='button'],
input[type='button'],
input[type='submit'],
input[type='reset'],
.header-cta,
.header-language-button,
.header .account-panel-edit,
.account-primary-button,
.account-secondary-button,
.account-next-button,
.social-auth-button,
.guide-question,
.profile-picture-input::file-selector-button,
.brand-status-label,
.brand-status-pill,
.invitation-status,
.profile-progress-score,
.plus-state-pill,
.plus-current-pill,
.directory-access-state,
.directory-card-label,
.cookie-preference-state {
  border-radius: var(--pardner-action-radius) !important;
}

:is(a, button, input).btn {
  transform: none !important;
  text-decoration: none !important;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease !important;
}

/* Translated CTA labels can wrap to two lines. The recovered theme imposed a
   fixed 52px height, which clipped longer French and Spanish actions on small
   screens. Preserve the visual height for short labels while allowing link and
   button controls to grow with their content. */
:is(a, button).btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  height: auto;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

:is(a, button, input).btn-primary,
:is(a, button, input).btn-primary:any-link {
  border-color: var(--pardner-action-fill) !important;
  background: var(--pardner-action-fill) !important;
  color: #ffffff !important;
}

:is(a, button, input).btn-primary:hover:not(:disabled),
:is(a, button, input).btn-primary:active:not(:disabled) {
  border-color: var(--pardner-action-hover) !important;
  background: var(--pardner-action-hover) !important;
  color: #ffffff !important;
  transform: none !important;
}

:is(a, button, input).btn-outline-primary,
:is(a, button, input).btn-outline-primary:any-link {
  border-color: #e59a78 !important;
  background: transparent !important;
  color: var(--pardner-orange-deep) !important;
}

:is(a, button, input).btn-outline-primary:hover:not(:disabled),
:is(a, button, input).btn-outline-primary:active:not(:disabled) {
  border-color: var(--pardner-orange) !important;
  background: #fff1e9 !important;
  color: #a9321c !important;
  transform: none !important;
}

:is(a, button, input).btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(254, 96, 25, 0.22) !important;
}

:is(a, button, input).btn:focus-visible {
  outline: 3px solid var(--pardner-orange) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(254, 96, 25, 0.18) !important;
}

:is(a, button, input).btn:disabled,
:is(a, button, input).btn[aria-disabled='true'] {
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Private journey visual system ----------------------------------------- */
.signup-story-card {
  border: 1px solid rgba(239, 123, 45, 0.22);
  background: linear-gradient(160deg, #fff 0%, #fff7ed 100%);
  box-shadow: 0 24px 55px rgba(80, 47, 19, 0.1);
}

.signup-story-image {
  aspect-ratio: 4 / 4.4;
  margin: 0;
  overflow: hidden;
}

.signup-story-image img,
.account-hero-visual img,
.organiser-visual-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-story-image img {
  object-position: 62% center;
}

.signup-story-copy {
  position: relative;
}

.signup-story-copy::before {
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: #ef7b2d;
  content: "";
}

.signup-essential-form {
  max-width: 46rem;
}

.signup-social {
  max-width: 46rem;
}

.social-auth-button {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d9c6ba;
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--pardner-ink);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(91, 49, 32, 0.06);
}

.social-auth-button:hover {
  border-color: var(--pardner-orange);
  background: #fffaf5;
  color: var(--pardner-ink);
}

.social-auth-mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--pardner-orange-deep);
}

.signup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #7a6d66;
  font-size: 0.82rem;
  font-weight: 700;
}

.signup-divider::before,
.signup-divider::after {
  height: 1px;
  flex: 1;
  background: #e8d9d0;
  content: "";
}

.signup-benefits {
  display: grid;
  gap: 0.75rem;
  color: #6e5d55;
  font-size: 0.875rem;
  line-height: 1.5;
}

.signup-benefits li {
  display: flex;
  gap: 0.6rem;
}

.signup-benefits li::before {
  color: var(--pardner-orange);
  content: "✓";
  font-weight: 900;
}

.account-hero-visual {
  position: relative;
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 123, 45, 0.22);
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(80, 47, 19, 0.13);
}

.account-hero-visual img {
  position: absolute;
  inset: 0;
  object-position: 42% center;
}

.account-hero-visual::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(49, 27, 13, 0.72));
  content: "";
}

.account-hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  color: #fff;
}

.account-hero-visual figcaption strong {
  font-size: 1.25rem;
}

.organiser-visual-banner {
  position: relative;
  min-height: 17rem;
  margin-right: 0;
  margin-left: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 123, 45, 0.22);
  border-radius: 1.5rem;
  background: #fff8ef;
  box-shadow: 0 18px 45px rgba(80, 47, 19, 0.08);
}

.organiser-visual-banner img {
  position: absolute;
  inset: 0;
  object-position: center 47%;
}

.organiser-visual-banner::after {
  position: absolute;
  inset: 0 42% 0 0;
  background: linear-gradient(90deg, rgba(50, 28, 13, 0.78), rgba(50, 28, 13, 0));
  content: "";
}

.organiser-visual-banner figcaption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  max-width: 21rem;
  flex-direction: column;
  gap: 0.45rem;
  color: #fff;
  transform: translateY(-50%);
}

.organiser-visual-banner figcaption strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.organiser-visual-banner figcaption span {
  color: #ffe3cf;
  font-size: 0.9rem;
  font-weight: 700;
}

.reviewer-visual {
  position: relative;
  display: grid;
  min-height: 12rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 123, 45, 0.25);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 80% 15%, #ffd9bc 0 14%, transparent 14.5%), linear-gradient(145deg, #fff 0%, #fff2e4 100%);
}

.reviewer-visual-ring {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border: 2px solid #ef7b2d;
  border-radius: 999px;
  box-shadow: 0 0 0 0.65rem rgba(239, 123, 45, 0.1);
}

.reviewer-visual-check {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 999px;
  background: #ef7b2d;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.reviewer-visual-line {
  position: absolute;
  right: 15%;
  bottom: 2.6rem;
  left: 15%;
  height: 1px;
  background: rgba(181, 75, 32, 0.2);
}

.reviewer-visual-copy {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  color: #9b461f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.invitation-principle {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(239, 123, 45, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.invitation-principle span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #f3dfcc;
  color: #b54b20;
  font-size: 0.75rem;
  font-weight: 900;
}

.invitation-principle strong {
  color: #4d3728;
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .signup-shell {
    grid-template-columns: minmax(0, 1fr) 22rem;
  }

  .account-hero-grid {
    grid-template-columns: minmax(0, 1fr) 22rem;
  }

  .signup-story-card {
    position: sticky;
    top: 6.5rem;
  }
}

@media (min-width: 768px) {
  .reviewer-heading-grid {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }
}

@media (max-width: 1023px) {
  .signup-story-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .signup-story-image {
    aspect-ratio: auto;
    min-height: 18rem;
  }
}

@media (max-width: 639px) {
  .signup-story-card {
    display: block;
  }

  .signup-story-image {
    min-height: 15rem;
    aspect-ratio: 16 / 10;
  }

  .signup-essential-form,
  .auth-form-panel {
    padding: 1.25rem;
  }

  .signup-essential-form .btn,
  .signup-essential-form .mt-7 > a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .product-page-heading h1,
  .auth-workspace h1,
  .account-dashboard h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .brand-display-title {
    max-width: none;
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    line-height: 1.08;
  }

  .brand-section-title {
    max-width: none;
    font-size: clamp(1.9rem, 8.5vw, 2.55rem);
  }

  .product-page-heading > .flex,
  .product-page-heading > .flex form,
  .product-page-heading > .flex .btn {
    width: 100%;
  }

  .account-hero-visual {
    min-height: 17rem;
  }

  .organiser-visual-banner {
    min-height: 19rem;
  }

  .organiser-visual-banner::after {
    inset: 30% 0 0;
    background: linear-gradient(180deg, transparent, rgba(50, 28, 13, 0.84));
  }

  .organiser-visual-banner figcaption {
    top: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    transform: none;
  }
}

/* Invitation and member decision journey -------------------------------- */
.invitation-rule-list {
  display: grid;
  gap: 0;
}

.invitation-rule-list > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(111, 77, 43, 0.12);
}

.invitation-rule-list dt {
  color: #281d15;
  font-weight: 800;
}

.invitation-rule-list dd {
  margin: 0;
  color: #6b625b;
}

.invitation-full-rules summary {
  color: #b54b20;
  list-style-position: inside;
}

.invitation-full-rules[open] summary {
  background: #fff8ef;
}

.invitation-decision-card {
  border: 1px solid rgba(239, 123, 45, 0.25);
  background: linear-gradient(160deg, #fff 0%, #fff8ed 100%);
  box-shadow: 0 18px 45px rgba(80, 47, 19, 0.08);
}

.invitation-assurances li {
  position: relative;
  padding-left: 1.5rem;
}

.invitation-assurances li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #f3dfcc;
  color: #b54b20;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1rem;
  text-align: center;
}

.invitation-result-card {
  border: 1px solid rgba(111, 77, 43, 0.14);
  box-shadow: 0 18px 45px rgba(80, 47, 19, 0.08);
}

.invitation-result-icon.is-success {
  background: #e7f7ed;
  color: #207a42;
}

.invitation-result-icon.is-neutral {
  background: #f3eee9;
  color: #6b625b;
}

.invitation-result-icon.is-warning {
  background: #fff0df;
  color: #b54b20;
}

.invitation-status.is-accepted {
  color: #207a42;
}

.invitation-status.is-pending {
  color: #9b521e;
}

.invitation-status.is-declined,
.invitation-status.is-cancelled,
.invitation-status.is-expired {
  color: #766960;
}

.flash-alert-region {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 2rem), 64rem);
  margin: 1rem auto 0;
}

.flash-alert {
  --flash-accent: #b85b24;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(239, 123, 45, 0.28);
  border-radius: 0.875rem;
  color: #4d3728;
  box-shadow: 0 0.625rem 1.75rem rgba(75, 45, 28, 0.07);
}

.flash-alert.is-info {
  --flash-accent: #c35d21;
  border-color: rgba(239, 123, 45, 0.28);
  background: #fff8ef;
}

.flash-alert.is-success {
  --flash-accent: #23834a;
  border-color: #b9dfc6;
  background: #eef9f1;
  color: #175d32;
}

.flash-alert.is-error {
  --flash-accent: #b83232;
  border-color: #f0b8b8;
  background: #fff2f2;
  color: #8f2525;
}

.flash-alert-icon {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--flash-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.72);
}

.flash-alert-message {
  min-width: 0;
  margin: 0;
  padding-top: 0.0625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
}

/* Header member action centre. */
.notification-centre {
  position: relative;
  margin-left: 0.35rem;
}

.notification-trigger {
  position: relative;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(239, 123, 45, 0.38);
  border-radius: 999px;
  background: var(--pardner-orange-deep);
  color: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.notification-trigger:hover,
.notification-trigger:focus-visible,
.notification-trigger[aria-expanded='true'] {
  border-color: #ef7b2d;
  box-shadow: 0 0.5rem 1.4rem rgba(75, 45, 28, 0.12);
  transform: translateY(-1px);
}

.notification-trigger:focus-visible {
  outline: 3px solid rgba(239, 123, 45, 0.22);
  outline-offset: 2px;
}

.notification-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
}

.notification-badge {
  position: absolute;
  top: -0.22rem;
  right: -0.22rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border: 2px solid #fffaf4;
  border-radius: 999px;
  background: var(--pardner-action-fill);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 0.95rem;
  text-align: center;
}

.notification-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  overflow: hidden;
  max-height: min(36rem, calc(100dvh - 7rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(75, 45, 28, 0.13);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(55, 32, 21, 0.18);
}

.notification-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem 0.8rem;
  border-bottom: 1px solid rgba(75, 45, 28, 0.09);
}

.notification-panel-heading strong { margin: 0; color: #3c2a24; font-size: 1rem; line-height: 1.4; }
.notification-panel-heading span {
  padding: 0.25rem 0.5rem;
  border-radius: var(--pardner-action-radius);
  background: #fff5ed;
  color: #765343;
  font-size: 0.75rem;
  line-height: 1.4;
}
.notification-list { padding: 0.45rem; }
.notification-loading,
.notification-empty,
.notification-error { margin: 0; padding: 1rem; color: #75645d; font-size: 0.9rem; line-height: 1.5; }

.header .notification-panel .notification-item,
.header .notification-panel .notification-item:visited {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  min-height: 3rem;
  padding: 0.8rem;
  border-radius: var(--pardner-action-radius);
  color: #3c2a24;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.header .notification-panel .notification-item:hover,
.header .notification-panel .notification-item:focus-visible,
.header .notification-panel .notification-item:active {
  background: #fff5ed;
  color: var(--pardner-orange-deep);
}

.notification-item + .notification-item { border-top: 1px solid #f1e5dc; }
.notification-item::after { content: '›'; grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1.25rem; }
.notification-item strong { grid-column: 1; font-size: 0.9rem; line-height: 1.4; }
.notification-item span { grid-column: 1; color: #75645d; font-size: 0.8rem; line-height: 1.45; }
.notification-panel-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 1rem; border-top: 1px solid #f1e5dc; }
.header .notification-panel .notification-dashboard,
.header .notification-panel .notification-dashboard:visited,
.notification-retry {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 0;
  border-radius: var(--pardner-action-radius);
  background: transparent;
  color: var(--pardner-orange-deep);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.header .notification-panel .notification-dashboard:hover,
.header .notification-panel .notification-dashboard:focus-visible,
.header .notification-panel .notification-dashboard:active,
.notification-retry:hover,
.notification-retry:focus-visible { background: #fff5ed; color: var(--pardner-action-hover); }
.header .notification-panel :is(a, button):focus-visible { outline: 2px solid var(--pardner-orange-deep); outline-offset: -2px; }
.notification-panel[hidden], .notification-retry[hidden], .notification-badge[hidden] { display: none !important; }

.product-page-heading + .flash-alert-region {
  margin-top: 1.25rem;
}

.error-state-icon {
  margin-bottom: 1.5rem;
  background: #fff0df;
  color: #b54b20;
  box-shadow: 0 0 0 0.75rem rgba(239, 123, 45, 0.08);
}

@media (min-width: 1024px) {
  .invitation-decision-card {
    position: sticky;
    top: 6.5rem;
  }
}

@media (max-width: 639px) {
  .flash-alert-region {
    width: min(calc(100% - 1.25rem), 64rem);
    margin-top: 0.625rem;
  }

  .flash-alert {
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
  }

  .invitation-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .invitation-decision-card,
  .invitation-result-card {
    padding: 1.25rem;
  }
}

/* Pardner roots and stories */
.stories-page {
  overflow: hidden;
  background: #fffaf5;
  color: var(--pardner-ink);
}

.stories-page h1,
.stories-page h2,
.stories-page h3 {
  color: var(--pardner-ink);
  text-transform: none;
}

.stories-eyebrow {
  margin: 0;
  color: var(--pardner-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stories-hero {
  position: relative;
  display: flex;
  min-height: clamp(38rem, 72vh, 52rem);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #eddbcf;
  background: #f8eee4;
}

.stories-hero-image,
.stories-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stories-hero-image {
  object-fit: cover;
  object-position: center;
}

.stories-hero-shade {
  background: linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 250, 245, 0.94) 34%, rgba(255, 250, 245, 0.46) 54%, rgba(255, 250, 245, 0.02) 76%);
}

.stories-hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.stories-hero-content > * {
  max-width: 42rem;
}

.stories-hero h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.stories-hero-intro {
  margin-top: 1.5rem;
  color: #5f5149;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.75;
}

.stories-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.stories-disclosure {
  margin-top: 1.25rem;
  color: #74665f;
  font-size: 0.78rem;
}

.stories-principles {
  background: #ffffff;
}

.stories-principles .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.stories-principles-copy h2,
.stories-collection h2,
.stories-names-copy h2,
.stories-trust-intro h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.stories-principles-copy > p:last-child,
.stories-names-copy > p:last-child,
.stories-trust-intro > p:last-child {
  margin-top: 1.2rem;
  color: #665850;
  font-size: 1.06rem;
  line-height: 1.75;
}

.stories-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stories-principle-grid article {
  min-height: 14rem;
  padding: 1.5rem;
  border: 1px solid #eadbd2;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, #fff6ee 100%);
}

.stories-principle-grid article > span,
.stories-card-number {
  color: var(--pardner-orange-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.stories-principle-grid h3,
.stories-card h3 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.stories-principle-grid p,
.stories-card p {
  margin-top: 0.75rem;
  color: #655850;
  line-height: 1.65;
}

.stories-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  overflow: hidden;
  border: 1px solid #ebd9ce;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(69, 38, 28, 0.1);
}

.stories-feature-media {
  min-height: 34rem;
  margin: 0;
}

.stories-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-feature-copy {
  display: flex;
  padding: clamp(2rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.stories-feature-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.stories-feature-copy > p:not(.stories-eyebrow) {
  margin-top: 1.5rem;
  color: #61544d;
  font-size: 1.08rem;
  line-height: 1.8;
}

.stories-feature-copy strong {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ead9ce;
  color: var(--pardner-orange-deep);
  font-family: var(--font-heading);
  line-height: 1.65;
}

.stories-collection {
  background: #f9efe6;
}

.stories-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.stories-card {
  min-height: 18rem;
  padding: 1.8rem;
  border: 1px solid #ead9ce;
  border-radius: 1rem;
  background: radial-gradient(circle at 100% 0%, rgba(254, 225, 64, 0.16), transparent 8rem), #ffffff;
  box-shadow: 0 12px 30px rgba(77, 45, 34, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.stories-card:hover,
.stories-card:focus-within {
  box-shadow: 0 18px 38px rgba(77, 45, 34, 0.1);
  transform: translateY(-4px);
}

.stories-names-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2.2rem, 6vw, 5rem);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 90% 10%, rgba(254, 96, 25, 0.32), transparent 15rem), #4a2a24;
  color: #ffffff;
}

.stories-names-panel h2,
.stories-names-panel .stories-eyebrow {
  color: #ffffff;
}

.stories-names-copy > p:last-child {
  color: #f4e9e4;
}

.stories-name-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: center;
  list-style: none;
}

.stories-name-list li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.stories-trust-panel {
  padding: clamp(2.2rem, 6vw, 5rem);
  border: 1px solid #ead9ce;
  border-radius: 1.5rem;
  background: #ffffff;
}

.stories-trust-intro {
  max-width: 54rem;
}

.stories-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.stories-trust-grid article {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid #ead9ce;
  border-radius: 1rem;
  background: #fffaf5;
}

.stories-trust-grid article > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--pardner-orange);
  color: #ffffff;
  font-weight: 900;
}

.stories-trust-grid h3 {
  font-size: 1.05rem;
}

.stories-trust-grid p {
  margin-top: 0.4rem;
  color: #665850;
  font-size: 0.9rem;
  line-height: 1.6;
}

.stories-final-cta {
  display: flex;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1rem;
  background: #f9eee5;
}

.stories-final-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.stories-final-cta p {
  margin-top: 0.6rem;
  color: #665850;
}

.stories-final-cta .btn {
  flex: 0 0 auto;
}

.home-heritage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid #ead9ce;
  border-radius: 1.5rem;
  background:
    linear-gradient(105deg, rgba(255, 250, 245, 0.97) 0%, rgba(255, 250, 245, 0.91) 52%, rgba(248, 233, 220, 0.83) 100%),
    url('/images/brand/pardner-global-heritage-bg-v1.jpg') center / cover no-repeat,
    #f8e9dc;
}

.home-heritage-copy {
  max-width: 48rem;
}

.home-heritage-copy h2 {
  max-width: 19ch;
  line-height: 1.08;
}

.home-heritage-action:any-link {
  color: var(--pardner-orange-deep);
}

.home-heritage-action:hover,
.home-heritage-action:focus-visible {
  color: #9d321c;
}

.home-heritage-names {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
}

.home-heritage-names li {
  padding: 1rem;
  border: 1px solid rgba(151, 73, 42, 0.2);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  color: #4a2a24;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  text-align: center;
}

.home-heritage-names li:first-child {
  grid-column: 1 / -1;
  background: var(--pardner-orange);
  color: #ffffff;
  font-size: 1.45rem;
}

@media (max-width: 1023px) {
  .stories-principles .container,
  .stories-feature-card,
  .stories-names-panel,
  .home-heritage-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .stories-principle-grid,
  .stories-card-grid,
  .stories-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-feature-media {
    min-height: 27rem;
  }
}

@media (max-width: 639px) {
  .stories-hero {
    min-height: 48rem;
    align-items: flex-start;
  }

  .stories-hero-image {
    object-position: 68% center;
  }

  .stories-hero-shade {
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.99) 0%, rgba(255, 250, 245, 0.95) 48%, rgba(255, 250, 245, 0.48) 70%, rgba(255, 250, 245, 0.08) 100%);
  }

  .stories-hero-content {
    padding-block: 4rem 14rem;
  }

  .stories-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
    line-height: 1;
  }

  .stories-hero-actions {
    width: calc(100% - 4rem);
  }

  .stories-hero-actions .btn {
    width: 100%;
  }

  .stories-principle-grid,
  .stories-card-grid,
  .stories-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stories-principle-grid article,
  .stories-card {
    min-height: 0;
  }

  .stories-principle-grid h3,
  .stories-card h3 {
    margin-top: 1.5rem;
  }

  .stories-feature-media {
    min-height: 22rem;
  }

  .stories-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .stories-final-cta .btn {
    width: 100%;
  }

  .home-heritage-names {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-heritage-names li:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stories-card {
    transition: none;
  }
}

/* Public goal-planning centre. */
.goals-page {
  background: #fffaf5;
  color: var(--pardner-ink);
}

.goals-hero {
  position: relative;
  display: flex;
  min-height: clamp(39rem, 70vh, 52rem);
  overflow: hidden;
  align-items: center;
  isolation: isolate;
}

.goals-hero-image,
.goals-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.goals-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.goals-hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 250, 245, 0.99) 0%, rgba(255, 250, 245, 0.95) 37%, rgba(255, 250, 245, 0.38) 58%, rgba(255, 250, 245, 0.02) 78%);
}

.goals-hero-content {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.goals-hero-content > * {
  max-width: 41rem;
}

.goals-eyebrow {
  color: var(--pardner-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.goals-hero h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.goals-hero-lead {
  margin-top: 1.5rem;
  color: #5e514a;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.goals-hero-actions,
.goals-cta-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.goals-hero .btn-outline-primary,
.goals-hero .btn-outline-primary:visited,
.goals-cta-panel .btn-outline-primary,
.goals-cta-panel .btn-outline-primary:visited {
  border-color: var(--pardner-orange) !important;
  background: rgba(255, 250, 245, 0.78);
  color: var(--pardner-orange-deep) !important;
}

.goals-disclosure {
  margin-top: 1.1rem;
  color: #74665f;
  font-size: 0.78rem;
}

.goals-selector {
  background: #ffffff;
}

.goals-section-heading {
  max-width: 56rem;
}

.goals-section-heading h2,
.goals-method-heading h2,
.goals-cta-panel h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.goals-section-heading > p:last-child {
  margin-top: 1rem;
  color: #665850;
  font-size: 1.06rem;
  line-height: 1.7;
}

.goals-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.goals-selector-card,
.goals-selector-card:visited {
  display: grid;
  min-height: 14rem;
  padding: 1.4rem;
  border: 1px solid #ead9ce;
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff 0%, #fff6ed 100%);
  color: var(--pardner-ink) !important;
  align-content: space-between;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.goals-selector-card:hover,
.goals-selector-card:focus-visible {
  border-color: var(--pardner-orange);
  box-shadow: 0 16px 34px rgba(79, 43, 31, 0.11);
  color: var(--pardner-ink) !important;
  transform: translateY(-3px);
}

.goals-selector-card:focus-visible {
  outline: 3px solid rgba(254, 96, 25, 0.35);
  outline-offset: 3px;
}

.goals-selector-icon,
.goal-guide-icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--pardner-orange);
  color: #ffffff;
  font-size: 1.35rem;
}

.goals-selector-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.24rem;
}

.goals-selector-card small {
  display: block;
  margin-top: 0.55rem;
  color: #675950;
  font-size: 0.9rem;
  line-height: 1.55;
}

.goals-guides {
  background: linear-gradient(180deg, #ffffff 0%, #fff6ed 100%);
}

.goals-guides .container {
  display: grid;
  gap: 1.35rem;
}

.goal-guide {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  scroll-margin-top: 7rem;
  border: 1px solid #ead9ce;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(79, 43, 31, 0.06);
}

.goal-guide:nth-child(even) {
  background: linear-gradient(145deg, #fffdf9 0%, #fff2e7 100%);
}

.goal-guide-heading {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.9rem;
  align-content: start;
  align-items: center;
}

.goal-guide-index {
  color: var(--pardner-orange-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.goal-guide-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.goal-guide-heading p {
  grid-column: 2 / -1;
  margin-top: 0.25rem;
  color: #665850;
  line-height: 1.65;
}

.goal-guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.goal-guide-columns section {
  padding: 1.2rem;
  border: 1px solid #eee0d7;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
}

.goal-guide-columns h3 {
  color: var(--pardner-orange-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.goal-guide-columns ul {
  display: grid;
  margin: 0.8rem 0 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.goal-guide-columns li {
  position: relative;
  padding-left: 1.1rem;
  color: #5f534c;
  line-height: 1.55;
}

.goal-guide-columns li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--pardner-orange);
  content: '';
}

.goal-first-action {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: #4a2a24;
  color: #ffffff;
  align-items: center;
}

.goal-first-action > span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--pardner-orange);
  font-size: 1.2rem;
  font-weight: 800;
}

.goal-first-action strong {
  color: #ffb38e;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.goal-first-action p {
  margin-top: 0.2rem;
  color: #ffffff;
  line-height: 1.5;
}

.goals-method {
  background: #fff6ed;
}

.goals-method-panel {
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: 1.5rem;
  background: #4a2a24;
  color: #ffffff;
}

.goals-method-heading h2,
.goals-method-panel .goals-eyebrow {
  color: #ffffff;
}

.goals-method-grid {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
}

.goals-method-grid li {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.goals-method-grid span {
  color: #ffb38e;
  font-weight: 800;
}

.goals-method-grid h3 {
  margin-top: 1.5rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.goals-method-grid p {
  margin-top: 0.5rem;
  color: #f3e7e1;
  line-height: 1.55;
}

.goals-cta {
  background: #fff6ed;
}

.goals-cta-panel {
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid #ead9ce;
  border-radius: 1.5rem;
  background: radial-gradient(circle at 90% 10%, rgba(254, 96, 25, 0.18), transparent 19rem), #ffffff;
  text-align: center;
}

.goals-cta-panel > p:not(.goals-eyebrow) {
  max-width: 46rem;
  margin: 1rem auto 0;
  color: #665850;
  font-size: 1.05rem;
  line-height: 1.7;
}

.goals-cta-actions {
  justify-content: center;
}

.goals-cta-panel small {
  display: block;
  max-width: 50rem;
  margin: 1.3rem auto 0;
  color: #75675f;
  line-height: 1.55;
}

@media (max-width: 899px) {
  .goal-guide {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 599px) {
  .goals-hero {
    min-height: 50rem;
    align-items: flex-start;
  }

  .goals-hero-image {
    object-position: 65% center;
  }

  .goals-hero-shade {
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.99) 0%, rgba(255, 250, 245, 0.96) 49%, rgba(255, 250, 245, 0.55) 70%, rgba(255, 250, 245, 0.08) 100%);
  }

  .goals-hero-content {
    padding-block: 3.5rem 15rem;
  }

  .goals-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
    line-height: 1;
  }

  .goals-hero-actions {
    width: calc(100% - 4rem);
  }

  .goals-hero-actions .btn,
  .goals-cta-actions .btn {
    width: 100%;
  }

  .goals-selector-grid,
  .goal-guide-columns,
  .goals-method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .goals-selector-card {
    min-height: 0;
    gap: 1.5rem;
  }

  .goal-guide-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .goal-guide-index {
    grid-column: 1 / -1;
  }

  .goal-guide-heading p {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .goals-selector-card {
    transition: none;
  }
}

/* Local brand-film prototype ------------------------------------------- */
.brand-film-preview {
  min-height: 70vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(254, 96, 25, 0.1), transparent 24rem),
    linear-gradient(150deg, #fffdfa 0%, #fff5eb 100%);
}

.brand-film-intro {
  padding-top: clamp(2.75rem, 4.5vw, 4.25rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.brand-film-heading {
  max-width: 58rem;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}

.brand-film-eyebrow,
.brand-film-kicker {
  color: var(--pardner-orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-film-heading h1 {
  max-width: 15ch;
  margin: 0.65rem auto 0;
  color: var(--pardner-ink);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-transform: none;
}

.brand-film-heading > p:last-child {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  color: #6e5d55;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.brand-film {
  --film-duration: 3800ms;
  max-width: 78rem;
  margin: 0 auto;
}

.brand-film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(111, 77, 43, 0.2);
  border-radius: 1.5rem;
  background: #3b221a;
  box-shadow: 0 32px 90px rgba(65, 33, 21, 0.22);
  isolation: isolate;
}

.brand-film-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 720ms ease, transform 1100ms ease;
  pointer-events: none;
}

.brand-film-frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.brand-film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-film.is-playing .brand-film-frame.is-active img {
  animation: brandFilmDrift var(--film-duration) linear forwards;
  will-change: transform;
}

.brand-film-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 15, 11, 0.86) 0%, rgba(26, 15, 11, 0.56) 35%, rgba(26, 15, 11, 0.06) 68%),
    linear-gradient(0deg, rgba(26, 15, 11, 0.55) 0%, transparent 36%);
}

.brand-film-frame figcaption {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(1.5rem, 6vw, 5.5rem);
  width: min(34rem, 43%);
  color: #fffaf5;
  transform: translateY(-50%);
}

.brand-film-kicker {
  color: #ffb487;
}

.brand-film-frame h2 {
  max-width: 12ch;
  margin-top: 0.75rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: none;
}

.brand-film-frame figcaption > p:last-child {
  max-width: 31rem;
  margin-top: 1.2rem;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(0.95rem, 1.65vw, 1.2rem);
  line-height: 1.65;
}

.brand-film-progress {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.brand-film-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pardner-orange), #ffd482);
  transform: scaleX(0);
  transform-origin: left;
}

.brand-film.is-playing .brand-film-progress span {
  animation: brandFilmProgress var(--film-duration) linear forwards;
}

.brand-film-controls {
  position: absolute;
  z-index: 6;
  right: clamp(1rem, 3vw, 2.5rem);
  top: clamp(1rem, 3vw, 2.5rem);
}

.brand-film-toggle {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--button-radius, 0.75rem);
  background: rgba(35, 20, 15, 0.72);
  color: #ffffff;
  font-weight: 700;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand-film-toggle:hover,
.brand-film-toggle:focus-visible,
.brand-film-toggle:active {
  border-color: #ffffff;
  outline: 3px solid rgba(254, 96, 25, 0.45);
  outline-offset: 3px;
  background: rgba(35, 20, 15, 0.9);
  color: #ffffff;
  transform: none;
}

.brand-film-toggle-icon {
  width: 1rem;
  text-align: center;
}

.brand-film-disclosure {
  margin: 1rem 0 0;
  color: #77655c;
  font-size: 0.78rem;
  text-align: center;
}

.brand-film-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.brand-film-actions .btn {
  min-width: 13.5rem;
}

.brand-film.is-static .brand-film-toggle,
.brand-film.is-static .brand-film-progress {
  display: none;
}

.chat-launcher {
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand-film-in-view .chat-launcher {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}

@keyframes brandFilmDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@keyframes brandFilmProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 767.98px) {
  .brand-film-intro {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
  }

  .brand-film-heading {
    text-align: left;
  }

  .brand-film-heading h1 {
    margin-left: 0;
    font-size: clamp(2.55rem, 13vw, 3.55rem);
  }

  .brand-film-heading > p:last-child {
    margin-left: 0;
  }

  .brand-film-stage {
    aspect-ratio: 4 / 5;
    border-radius: 1.2rem;
  }

  .brand-film-frame img {
    object-position: 64% center;
  }

  .brand-film-shade {
    background:
      linear-gradient(0deg, rgba(26, 15, 11, 0.9) 0%, rgba(26, 15, 11, 0.58) 48%, rgba(26, 15, 11, 0.04) 76%),
      linear-gradient(90deg, rgba(26, 15, 11, 0.22), transparent 62%);
  }

  .brand-film-frame figcaption {
    top: auto;
    right: 1.25rem;
    bottom: 3.5rem;
    left: 1.25rem;
    width: auto;
    transform: none;
  }

  .brand-film-frame h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .brand-film-frame figcaption > p:last-child {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .brand-film-controls {
    top: 1rem;
    right: 1rem;
  }

  .brand-film-toggle {
    width: 3rem;
    min-height: 3rem;
    justify-content: center;
    padding: 0;
  }

  .brand-film-toggle [data-film-toggle-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .brand-film-progress {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .brand-film-actions {
    padding-right: 4rem;
  }

  .brand-film-actions .btn {
    width: 100%;
    min-width: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .brand-film-frame,
  .brand-film-frame img,
  .brand-film-progress span,
  [data-pardner-selective-update] {
    animation: none !important;
    transition: none !important;
  }
}
/* Selective Pardner updates retain the server-rendered form fallback. */
[data-pardner-selective-update] {
  transition: opacity 160ms ease;
}

[data-pardner-selective-update].is-updating {
  opacity: 0.68;
}

[data-pardner-selective-update].is-updating button:disabled,
[data-pardner-selective-update].is-updating input:disabled,
[data-pardner-selective-update].is-updating select:disabled,
[data-pardner-selective-update].is-updating textarea:disabled {
  cursor: wait;
}

.invite-composer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(239, 123, 45, 0.24);
  border-radius: 0.875rem;
  background: #fffaf5;
}

.invite-composer-field {
  min-width: 0;
}

.invite-composer-remove {
  min-height: 3rem;
  color: #8b3524;
}

.invite-composer-remove:hover,
.invite-composer-remove:focus-visible {
  border-color: #ef7b2d;
  color: #c93616;
}

@media (min-width: 48rem) {
  .invite-composer-row.has-share-selector {
    grid-template-columns: minmax(12rem, 1fr) minmax(13rem, 0.8fr) auto;
  }
}

@media (max-width: 47.999rem) {
  .invite-composer-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .invite-composer-remove {
    justify-self: start;
  }
}

/* 2026-08-30 scoped journey and visual-regression corrections. */
body.cookie-banner-visible {
  padding-bottom: var(--cookie-banner-height, 0);
}

#nav-flyout-icp[hidden] {
  display: none !important;
}

.auth-form-panel {
  /* Exact baked background colour of the approved P+ mark. */
  background: #faf5ec;
}

.auth-story-image {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}

.auth-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.signup-essential-form .form-control:focus-visible {
  outline: 2px solid var(--pardner-orange) !important;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(254, 96, 25, 0.14);
}

.signup-shell {
  border: 1px solid rgba(239, 123, 45, 0.22);
  box-shadow: 0 24px 55px rgba(80, 47, 19, 0.1);
}

.signup-main-panel .product-page-heading {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.signup-story-card {
  border: 0;
  border-left: 1px solid rgba(239, 123, 45, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.how-plus-media::after {
  content: none;
}

.how-plus-media img {
  object-position: 50% top;
}

.how-page a:not(.btn),
.how-journey a:not(.btn),
.how-plus a:not(.btn),
.how-purpose a:not(.btn),
.how-safety a:not(.btn) {
  color: var(--pardner-orange-deep);
}

.safety-habits-media {
  aspect-ratio: 16 / 9;
  margin: 1.75rem 0 0;
  overflow: hidden;
  border: 1px solid #efd5c6;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 18px 42px rgba(91, 49, 32, 0.1);
}

.safety-habits-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.member-invitation-actions,
.account-access-actions {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.account-access-actions .account-text-link {
  display: block;
  width: 100%;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eadfd7;
}

.account-access-actions .account-sign-out {
  border-bottom: 0;
  color: #8f2f20;
}

@media (min-width: 1024px) {
  .account-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.72fr);
  }
}

@media (max-width: 1023px) {
  .signup-story-card {
    border-top: 1px solid rgba(239, 123, 45, 0.22);
    border-left: 0;
  }
}

/* Shared page-title contract. Home heroes keep their established display scale. */
#main-content h1.page-title {
  max-width: 28ch;
  margin-block: .5rem 1rem;
  font-family: var(--font-heading, var(--font-body));
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.page-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1rem; margin-top: 1.75rem; }
.page-actions > .btn { margin: 0; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575px) { .page-actions > .btn { flex: 1 1 100%; } }

/* Short account actions and shared visual explanations. */
.ui-icon { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.header .account-panel .account-panel-item { min-height: 3rem; padding-block: .4rem; }
.header .account-panel-copy strong { white-space: normal; overflow-wrap: anywhere; }
.header .account-panel-section { padding-top: 1rem; }
.header .account-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: 1rem; }
.header .account-quick-action { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .5rem .25rem; border-radius: .75rem; color: #38251e; font-size: .8rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.header .account-quick-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid #edd3bf; border-radius: 50%; background: #fffdf9; color: #9e391c; }
.header .account-quick-action:hover { background: #fff0e5; }
.header .account-quick-action:focus-visible { outline: 2px solid #87351e; outline-offset: 2px; }
.header .mobile-menu-panel .account-quick-actions { padding: .5rem 0; }
.visual-page-heading { display: flex; align-items: center; gap: 1.5rem; }
.visual-page-heading > div { min-width: 0; }
.visual-page-symbol, .visual-empty-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 6rem; height: 6rem; border-radius: 1.5rem; background: #f9e5d3; color: #983c20; }
.visual-page-symbol .ui-icon, .visual-empty-symbol .ui-icon { width: 3rem; height: 3rem; }
.visual-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.visual-glance article { padding: 1.5rem; border: 1px solid #ead6c7; border-radius: 1rem; background: #fffdf9; }
.visual-glance-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: #faecdf; color: #983c20; flex: 0 0 auto; }
.visual-glance h2 { margin: 1rem 0 .5rem; font-size: 1.125rem; font-weight: 750; }
.visual-glance p, .visual-steps p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.5; }
.page-details { margin-top: 1.5rem; padding: 1rem 0; border-block: 1px solid #dfc9b7; }
.page-details summary { cursor: pointer; font-weight: 700; color: #674331; padding-block: .25rem; }
.page-details summary .ui-icon { display: inline-block; vertical-align: middle; margin-right: .75rem; }
.page-details summary:focus-visible { outline: 2px solid #87351e; outline-offset: 4px; }
.page-details p { max-width: 70ch; margin: 1rem 0 0; }
.visual-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 1.5rem 0; margin: 1rem 0 0; list-style: none; }
.visual-steps li { display: flex; align-items: flex-start; gap: .75rem; }
.visual-steps strong { display: block; color: #674331; }
.visual-empty-state { margin-top: 2rem; padding: 2rem; text-align: center; border: 1px solid #ead6c7; border-radius: 1.5rem; background: #fffdf9; }
.visual-empty-state .visual-empty-symbol { margin: 0 auto 1.5rem; }
.visual-empty-state h2 { font-size: 1.375rem; font-weight: 750; }
.visual-empty-state p { max-width: 50ch; margin: 1rem auto; }
.visual-empty-state .btn { margin-top: .5rem; }
.offer-empty .visual-empty-symbol { margin-bottom: 1.5rem; }
.payment-destinations { display: grid; gap: 1rem; margin-top: 2rem; }
.payment-destination { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid #dfc9b7; border-radius: 1rem; background: #fffdf9; color: #38251e; text-decoration: none; }
.payment-destination > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.payment-destination strong, .payment-destination small { display: block; }
.payment-destination small { margin-top: .25rem; }
.payment-destination:hover { border-color: #983c20; color: #38251e; background: #fff5ed; }
.payment-destination:focus-visible { outline: 2px solid #87351e; outline-offset: 3px; }
.icon-text-link { display: inline-flex; align-items: center; gap: .75rem; color: #983c20; font-weight: 700; }
@media (max-width: 700px) {
  .visual-page-heading { align-items: flex-start; gap: 1rem; }
  .visual-page-symbol { width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-top: .5rem; }
  .visual-page-symbol .ui-icon { width: 2rem; height: 2rem; }
  .visual-glance { grid-template-columns: 1fr; }
  .visual-glance article { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; }
  .visual-glance article .visual-glance-icon { grid-row: span 2; }
  .visual-glance h2 { margin: 0; }
  .visual-steps { grid-template-columns: 1fr; gap: 1rem; }
  .visual-steps p { margin-top: .25rem; }
}
/* Account-level payment tools; provider data entry stays on hosted pages. */
.payment-tools-grid,.payment-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2rem}
.payment-tool-card{position:relative;border:1px solid var(--border-color,#e4d8ce);background:#fffdf9;border-radius:1rem;padding:1.5rem;color:var(--color-dark,#342b27)}
.payment-tool-card h2,.payment-section-title{font-size:1.25rem;line-height:1.35;font-weight:650;margin:0 0 .6rem}
.payment-tool-card p{color:#6c615b;margin:.4rem 0;line-height:1.5}
.payment-tool-link{display:block;text-decoration:none}.payment-tool-link:hover{border-color:#c44924;background:#fff7ed}
.payment-tool-link .visual-glance-icon{margin-bottom:1rem}.payment-tool-arrow{position:absolute;right:1.25rem;top:1.25rem;font-size:1.5rem;color:#bc3e20}
.payment-tool-top{display:flex;align-items:center;gap:1rem}.payment-tool-top>.ui-icon{width:2rem;height:2rem;flex:none;color:#b33f24}
.payment-card-name{text-transform:capitalize}.payment-section-title{margin-top:2rem}
.payment-consent{margin-top:1.25rem}.payment-consent-label{display:flex;align-items:flex-start;gap:.75rem;line-height:1.5;margin-bottom:1.25rem}
.payment-consent-label input{width:1.2rem;height:1.2rem;flex:none;margin-top:.2rem;accent-color:#bd4021}
.payment-consent .btn{display:inline-flex;align-items:center;gap:.6rem}.payment-test-notice{display:flex;align-items:flex-start;gap:.75rem;background:#fff3cc;border:1px solid #d4b453;border-radius:.75rem;padding:1rem;margin:1rem 0}
.payment-test-notice .ui-icon,.payment-provider-note .ui-icon{flex:none}.payment-provider-note{display:flex;align-items:flex-start;gap:.6rem;font-size:.9rem;color:#6c615b;margin:1.5rem 0}
.payment-empty>.ui-icon{width:3rem;height:3rem;color:#b33f24}
@media(max-width:640px){.payment-tools-grid,.payment-card-list{grid-template-columns:1fr}.payment-tool-card{padding:1.1rem}.payment-consent .btn{width:100%;justify-content:center}}
/* Contextual sponsorship: one non-blocking card after public editorial content. */
.sponsor-placement{padding:0 0 2.5rem}.sponsor-card{padding:1.25rem;border:1px solid #e4d8ce;border-radius:1rem;background:#faf7f2;color:#342b27}
.sponsor-label{display:flex;align-items:center;gap:.75rem;font-size:.8rem;color:#62564e;margin-bottom:1rem}.sponsor-label strong{border:1px solid #b9aaa0;padding:.12rem .5rem;border-radius:.3rem;font-weight:650}
.sponsor-content{display:flex;align-items:center;gap:1.25rem}.sponsor-symbol{flex:none;width:3.25rem;height:3.25rem;display:grid;place-items:center;border-radius:.75rem;background:#f3e5d8;color:#a83a20}.sponsor-symbol .ui-icon{width:1.6rem;height:1.6rem}
.sponsor-content>div{flex:1;min-width:0}.sponsor-content h2{font-size:1.15rem;font-weight:650;line-height:1.4;margin:0 0 .4rem}.sponsor-content p{font-size:.95rem;line-height:1.5;margin:0;color:#62564e}.sponsor-content .btn{display:inline-flex;align-items:center;gap:.6rem;flex:none}
@media(max-width:640px){.sponsor-content{flex-wrap:wrap;gap:1rem}.sponsor-content>div{flex-basis:calc(100% - 4.25rem)}.sponsor-content .btn{width:100%;justify-content:center}.sponsor-card{padding:1rem}}

/* Shared feature section: uses the existing brand palette and button system. */
.home-find { background: var(--pardner-cream); }
.home-find-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid #f0dfd4; border-radius: 1.5rem; background: #fffdf9; }
.home-find-media { margin: 0; min-width: 0; }
.home-find-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.home-find-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.home-find-copy h2 { margin: .75rem 0 1rem; color: var(--pardner-ink); }
.home-find-steps { display: grid; gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.home-find-steps li { display: flex; align-items: flex-start; gap: .75rem; }
.home-find-steps .ui-icon { color: var(--pardner-orange-deep); margin-top: .15rem; }
.home-find-steps p { margin: .25rem 0 0; }
.home-find-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.home-find-actions .btn { display: inline-flex; align-items: center; gap: .5rem; }
.home-find-note { margin: 1rem 0 0; font-size: .875rem; }
.pardner-questions { max-width: 56rem; margin-top: 1.5rem; }
.pardner-questions summary { display: flex; align-items: flex-start; gap: .5rem; }
.brand-social-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.brand-social-links a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid currentColor; border-radius: .5rem; color: inherit; }
.brand-social-links .social-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex: none; border-radius: .3rem; overflow: hidden; }
.brand-social-links .social-brand-mark img { display: block; width: 1.75rem; height: 1.75rem; object-fit: contain; }
.brand-social-links .social-brand-x, .brand-social-links .social-brand-tiktok { background: #000; }
.brand-social-links .social-brand-x img { width: 1.25rem; height: 1.25rem; }
.brand-social-links .social-brand-linkedin { background: #fff; }
.header .language-flag { width: 1.25rem; height: .9375rem; flex: none; object-fit: cover; border-radius: 0; }
.header .language-context-icon { display: inline-flex; flex: none; align-items: center; color: #765343; }
.header .language-context-icon .ui-icon { width: 1rem; height: 1rem; }
.header .language-chevron { color: #765343; font-size: .75rem; }
[data-sign-in-copy] > .ui-icon { display: inline-block; vertical-align: middle; width: 1.2rem; height: 1.2rem; }
@media (max-width: 767px) {
  .home-find-panel { grid-template-columns: minmax(0, 1fr); }
  .home-find-media img { height: 15rem; }
  .home-find-actions, .home-find-actions .btn { width: 100%; justify-content: center; }
}
