/* Final frontend alignment for remaining public detail, dashboard, admin, and utility screens. */

*, *::before, *::after {
  box-sizing: border-box;
}

/* v187 dashboard public profile readiness */
.phase3-readiness-console,
.phase3-profile-quality-panel {
  min-width: 0;
}

.phase3-readiness-console {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "summary groups"
    "summary focus";
  gap: 14px;
  margin: 16px 0;
  align-items: stretch;
}

.phase3-readiness-summary {
  grid-area: summary;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-top: 4px solid #b0000d;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 198, 51, 0.18), transparent 30%),
    #fffdfa;
}

.phase3-readiness-summary h3,
.phase3-profile-quality-card h3 {
  margin: 0;
  line-height: 1.18;
}

.phase3-score-ring {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid rgba(176, 0, 13, 0.14);
  background:
    radial-gradient(circle, rgba(176, 0, 13, 0.14), transparent 54%),
    linear-gradient(135deg, rgba(255, 244, 224, 0.9), rgba(255, 255, 255, 0.9));
  text-align: center;
}

.phase3-score-ring strong {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: #b0000d;
}

.phase3-score-ring span {
  display: block;
  max-width: 190px;
  color: #5c473d;
  font-weight: 800;
}

.phase3-readiness-groups {
  grid-area: groups;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.phase3-readiness-group,
.phase3-profile-quality-card,
.phase3-public-focus article {
  min-width: 0;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(108, 50, 8, 0.06);
}

.phase3-readiness-group {
  padding: 13px;
}

.phase3-readiness-group span,
.phase3-quality-head span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #b0000d;
  color: #fff;
  font-weight: 900;
}

.phase3-readiness-group.is-ready span,
.phase3-profile-quality-card.is-ready .phase3-quality-head span {
  background: #118c4f;
}

.phase3-readiness-group.is-warning span,
.phase3-profile-quality-card.is-warning .phase3-quality-head span {
  background: #c58a00;
}

.phase3-readiness-group h4 {
  margin: 10px 0 6px;
  font-size: 15px;
  line-height: 1.18;
}

.phase3-readiness-group p,
.phase3-public-focus span,
.phase3-profile-quality-card p,
.phase3-profile-quality-card li {
  color: #5b4a42;
  font-size: 13px;
  line-height: 1.45;
}

.phase3-public-focus {
  grid-area: focus;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.phase3-public-focus article {
  padding: 13px;
  background: linear-gradient(135deg, #fff, #fff7eb);
}

.phase3-public-focus strong {
  display: block;
  margin-bottom: 6px;
  color: #8f000a;
}

.phase3-profile-quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.phase3-profile-quality-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 4px solid #b0000d;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 198, 51, 0.16), transparent 32%),
    #fff;
}

.phase3-profile-quality-card.is-ready {
  border-top-color: #118c4f;
}

.phase3-profile-quality-card.is-warning {
  border-top-color: #c58a00;
}

.phase3-quality-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phase3-quality-head small {
  color: #765f55;
  font-weight: 900;
  text-align: right;
}

.phase3-profile-quality-card ul {
  margin: 0;
  padding-left: 18px;
}

.phase3-profile-quality-card .card-actions {
  margin-top: auto;
}

@media (max-width: 980px) {
  .phase3-readiness-console {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "groups"
      "focus";
  }
}

@media (max-width: 720px) {
  .phase3-readiness-groups,
  .phase3-public-focus {
    grid-template-columns: 1fr;
  }

  .phase3-readiness-summary,
  .phase3-readiness-group,
  .phase3-public-focus article,
  .phase3-profile-quality-card {
    text-align: center;
  }

  .phase3-quality-head {
    justify-content: center;
    flex-wrap: wrap;
  }

  .phase3-quality-head small {
    text-align: center;
  }
}

/* v188 phase 4 public service and course detail pages */
.phase4-listing-hero {
  width: min(100% - 48px, 1520px);
  margin-inline: auto;
}

.phase4-listing-hero .trust-strip {
  max-width: 920px;
  margin-inline: auto;
}

.phase4-listing-conversion {
  border-top: 4px solid #b0000d;
  background:
    radial-gradient(circle at 96% 4%, rgba(255, 198, 51, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(255, 245, 232, 0.92));
}

.phase4-listing-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.phase4-listing-media-grid a {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(165, 92, 34, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #2a160f;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(108, 50, 8, 0.08);
}

.phase4-listing-media-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
}

.phase4-listing-media-grid span {
  font-weight: 900;
  color: #8f000a;
}

.phase4-related-listing-card {
  border-top: 4px solid #e5b426;
}

@media (max-width: 720px) {
  .phase4-listing-hero {
    width: calc(100vw - 20px);
  }

  .phase4-listing-hero h1 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.08;
  }

  .phase4-listing-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .phase4-listing-hero .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .phase4-listing-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .phase4-listing-hero .hero-actions {
    grid-template-columns: 1fr;
  }

  .phase4-listing-media-grid {
    grid-template-columns: 1fr;
  }
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

img, svg, video, canvas {
  max-width: 100%;
}

input, select, textarea, button {
  max-width: 100%;
}

.profile-detail-hero,
.product-detail-hero,
.seo-landing-hero,
.city-page-hero,
.resources-hero,
.error-hero {
  width: min(100% - 48px, 1520px);
  margin: 24px auto;
  border: 1px solid rgba(165, 92, 34, 0.24);
  border-radius: 10px;
  box-shadow: 0 24px 56px rgba(108, 50, 8, 0.09);
  overflow: hidden;
}

.product-detail-hero,
.seo-landing-hero,
.city-page-hero,
.resources-hero,
.error-hero {
  text-align: center;
  padding: 48px 32px;
}

.profile-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, auto);
  align-items: center;
  gap: 24px;
  padding: 36px;
  text-align: left;
}

.profile-detail-hero .detail-hero-copy,
.profile-detail-hero .hero-actions,
.product-detail-hero .hero-actions,
.seo-landing-hero .hero-actions,
.city-page-hero .hero-actions {
  min-width: 0;
}

.profile-detail-hero h1,
.product-detail-hero h1,
.seo-landing-hero h1,
.city-page-hero h1,
.resources-hero h1,
.error-hero h1,
.dashboard-main > h1,
.admin .dashboard-main > h1 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.profile-detail-hero h1,
.product-detail-hero h1,
.seo-landing-hero h1,
.city-page-hero h1,
.resources-hero h1 {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  font-size: 56px;
  line-height: 1.08;
}

.profile-detail-hero h1 {
  margin-left: 0;
  font-size: 48px;
}

.profile-detail-hero p,
.product-detail-hero p,
.seo-landing-hero p,
.city-page-hero p,
.resources-hero p {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.profile-detail-hero p {
  margin-left: 0;
}

.hero-product-photo {
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 22px auto 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(165, 92, 34, 0.22);
  background: #fffaf3;
}

.hero-product-photo img,
.hero-product-photo picture,
.hero-product-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-contact-bar,
.profile-nav-strip {
  width: min(100% - 48px, 1520px);
  margin-left: auto;
  margin-right: auto;
}

.profile-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(165, 92, 34, 0.22);
  border-radius: 10px;
  background: rgba(255, 250, 243, 0.94);
}

.profile-contact-actions,
.profile-nav-strip,
.hero-actions,
.card-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.profile-detail-hero .hero-actions {
  justify-content: flex-end;
}

.profile-nav-strip {
  display: flex;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 10px;
  background: #fffaf3;
  scrollbar-width: thin;
}

.profile-nav-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(176, 0, 13, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #980009;
  text-decoration: none;
  font-weight: 800;
}

.trust-strip,
.profile-trust-badges,
.profile-signal-row,
.field-tags,
.city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.profile-trust-badges span,
.trust-strip span,
.profile-signal-row span,
.field-tags span,
.field-tags a,
.city-cloud a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgba(176, 0, 13, 0.18);
  border-radius: 999px;
  background: #fffaf3;
  color: #7a140f;
  font-weight: 800;
  text-decoration: none;
}

.profile-trust-badges .is-active {
  background: #f1fff6;
  color: #007a35;
  border-color: rgba(0, 122, 53, 0.22);
}

.profile-trust-badges .is-pending {
  opacity: 0.72;
}

.detail-conversion-panel,
.product-conversion-panel,
.city-map-section,
.section-guidance,
.setup-wizard-panel,
.onboarding-hero,
.onboarding-command-center,
.launch-control,
.role-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: center;
}

.detail-kpi-grid,
.decision-mini-grid,
.verification-mini-grid,
.product-spec-grid,
.readiness-grid,
.role-dashboard-grid,
.role-board,
.wizard-grid,
.onboarding-steps,
.action-grid,
.milestone-list,
.admin-command-grid,
.media-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.decision-mini-grid article,
.verification-mini-grid article,
.product-spec-grid div,
.detail-kpi-grid .panel,
.dashboard-panel,
.admin .dashboard-panel,
.panel,
.profile-card,
.product-card,
.gallery-item-card {
  min-width: 0;
}

.decision-mini-grid article,
.verification-mini-grid article,
.product-spec-grid div {
  padding: 14px;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 10px;
  background: #fff;
}

.section.split,
.grid-two,
.cards,
.capability-grid,
.feature-list {
  min-width: 0;
}

.city-page-hero .hero-search,
.seo-landing-hero .hero-actions,
.city-page-hero .hero-actions {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
}

.city-map-preview {
  min-height: 260px;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(176, 0, 13, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 243, 225, 0.95), rgba(255, 255, 255, 0.8));
}

.dashboard {
  width: min(100% - 32px, 1760px);
  margin: 22px auto 36px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-side {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 10px;
  background: rgba(255, 250, 243, 0.95);
  box-shadow: 0 16px 34px rgba(108, 50, 8, 0.08);
}

.dashboard-side h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.dashboard-side a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #2a160f;
  text-decoration: none;
  font-weight: 800;
}

.dashboard-side a.active,
.dashboard-side a:hover {
  background: #b0000d;
  color: #fff;
}

.dashboard-main {
  min-width: 0;
  overflow: hidden;
}

.dashboard-main > h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.12;
}

.dashboard-panel,
.admin .dashboard-panel {
  width: 100%;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(108, 50, 8, 0.06);
  overflow: hidden;
}

.dashboard .metric-grid,
.admin .metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard .panel,
.admin .panel {
  overflow: hidden;
}

.dashboard .big-number,
.admin .big-number {
  font-size: 34px;
  line-height: 1.05;
}

.dashboard table,
.admin table,
.dashboard .table,
.admin .table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  border-collapse: collapse;
  scrollbar-width: thin;
}

.dashboard .form-grid,
.admin .form-grid,
.dashboard .compact-fields,
.admin .compact-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.dashboard input,
.dashboard select,
.dashboard textarea,
.admin input,
.admin select,
.admin textarea {
  width: 100%;
  min-width: 0;
}

.role-dashboard-card,
.wizard-card,
.step-card,
.action-card,
.milestone-item,
.admin-command-card,
.role-workspace {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(165, 92, 34, 0.2);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.role-dashboard-card.active,
.wizard-card.active,
.role-workspace.active,
.milestone-item.done {
  border-color: rgba(0, 122, 53, 0.28);
  background: linear-gradient(180deg, #f3fff7, #fff);
}

.role-dashboard-card.current {
  box-shadow: inset 0 0 0 2px rgba(176, 0, 13, 0.18);
}

.admin-command-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.admin-export-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.admin-ops-playbook {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-ops-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  align-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(157, 13, 17, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #21120d;
  text-decoration: none;
}

.admin-ops-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #b0000d;
  color: #fff;
  font-weight: 950;
}

.admin-ops-step strong {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.2;
}

.admin-ops-step small {
  grid-column: 2;
  min-width: 0;
  color: #63483a;
  font-weight: 800;
  line-height: 1.35;
}

.readiness.ready,
.readiness.success {
  border-color: rgba(0, 122, 53, 0.26);
  background: #f5fff8;
}

.readiness.warning {
  border-color: rgba(224, 147, 0, 0.32);
  background: #fffaf0;
}

.readiness.action,
.readiness.danger {
  border-color: rgba(176, 0, 13, 0.28);
  background: #fff6f5;
}

.receipt-shell,
.section-block {
  width: min(100% - 48px, 1100px);
  margin: 28px auto;
  padding: 28px;
  border: 1px solid rgba(165, 92, 34, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(108, 50, 8, 0.08);
}

.error-hero {
  min-height: 360px;
  display: grid;
  align-content: center;
}

.utility-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin: 22px auto 0;
}

.utility-action-grid a {
  padding: 14px;
  border: 1px solid rgba(176, 0, 13, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #980009;
  text-decoration: none;
  font-weight: 900;
}

.mobile-context-bar {
  max-width: calc(100% - 12px);
}

@media (max-width: 1180px) {
  .profile-detail-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-detail-hero .hero-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .detail-conversion-panel,
  .product-conversion-panel,
  .city-map-section,
  .section-guidance,
  .setup-wizard-panel,
  .onboarding-hero,
  .onboarding-command-center,
  .launch-control,
  .role-command-center,
  .admin-command-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .profile-detail-hero,
  .product-detail-hero,
  .seo-landing-hero,
  .city-page-hero,
  .resources-hero,
  .error-hero,
  .profile-contact-bar,
  .profile-nav-strip,
  .receipt-shell,
  .section-block {
    width: calc(100% - 14px);
  }

  .profile-detail-hero,
  .product-detail-hero,
  .seo-landing-hero,
  .city-page-hero,
  .resources-hero,
  .error-hero {
    padding: 24px 14px;
    margin-top: 10px;
    border-radius: 8px;
  }

  .profile-detail-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-detail-hero p {
    margin-left: auto;
  }

  .profile-detail-hero h1,
  .product-detail-hero h1,
  .seo-landing-hero h1,
  .city-page-hero h1,
  .resources-hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .profile-contact-bar {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions,
  .profile-contact-actions,
  .card-actions,
  .compact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions .button,
  .profile-contact-actions .button,
  .card-actions .button,
  .compact-actions .button,
  .hero-actions button,
  .card-actions button {
    width: 100%;
    min-height: 40px;
  }

  .dashboard {
    width: calc(100% - 10px);
    display: block;
    margin: 8px auto 92px;
  }

  .dashboard-side {
    position: static;
    max-height: none;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding: 10px;
    scrollbar-width: thin;
  }

  .dashboard-side h2,
  .dashboard-side a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .dashboard-side h2 {
    align-self: center;
    margin: 0 4px 0 0;
    font-size: 18px;
  }

  .dashboard-main > h1,
  .admin .dashboard-main > h1 {
    text-align: center;
    font-size: 30px;
  }

  .dashboard-panel,
  .admin .dashboard-panel {
    padding: 14px;
    border-radius: 8px;
  }

  .dashboard .metric-grid,
  .admin .metric-grid,
  .detail-kpi-grid,
  .decision-mini-grid,
  .verification-mini-grid,
  .product-spec-grid,
  .readiness-grid,
  .role-dashboard-grid,
  .role-board,
  .wizard-grid,
  .onboarding-steps,
  .action-grid,
  .milestone-list,
  .admin-command-grid,
  .media-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard .big-number,
  .admin .big-number {
    font-size: 26px;
  }

  .role-dashboard-card,
  .wizard-card,
  .step-card,
  .action-card,
  .milestone-item,
  .admin-command-card,
  .role-workspace {
    padding: 12px;
  }

  .utility-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .profile-detail-hero h1,
  .product-detail-hero h1,
  .seo-landing-hero h1,
  .city-page-hero h1,
  .resources-hero h1 {
    font-size: 27px;
  }

  .dashboard .metric-grid,
  .admin .metric-grid,
  .detail-kpi-grid,
  .decision-mini-grid,
  .verification-mini-grid,
  .product-spec-grid,
  .readiness-grid,
  .role-dashboard-grid,
  .role-board,
  .wizard-grid,
  .onboarding-steps,
  .action-grid,
  .milestone-list,
  .admin-command-grid,
  .media-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Phase 2 public profile mini-site layer */
body.route-profile .phase2-public-profile-hero {
  width: min(100% - 48px, 1460px);
  grid-template-columns: minmax(108px, auto) minmax(0, 1fr) minmax(230px, 0.28fr);
}

body.route-profile .phase2-public-profile-hero .profile-trust-badges {
  justify-content: flex-start;
}

body.route-profile .phase2-profile-public-lead {
  margin-top: 10px;
  max-width: 760px;
  color: #4b3428;
  font-weight: 800;
}

body.route-profile .phase2-profile-minisite {
  width: min(100% - 48px, 1460px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(165, 92, 34, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(255, 246, 232, 0.92)),
    #fffaf3;
  box-shadow: 0 20px 44px rgba(98, 45, 8, 0.08);
  overflow: hidden;
}

body.route-profile .phase2-profile-minisite :is(h2, p) {
  margin-left: 0;
  margin-right: 0;
}

body.route-profile .phase2-profile-minisite h2 {
  margin: 6px 0 10px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
}

body.route-profile .phase2-profile-minisite p {
  color: #5f4638;
  font-weight: 750;
}

body.route-profile .phase2-profile-counts,
body.route-profile .phase2-profile-paths,
body.route-profile .phase2-profile-local-links {
  display: grid;
  gap: 10px;
}

body.route-profile .phase2-profile-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

body.route-profile .phase2-profile-counts a,
body.route-profile .phase2-profile-paths a,
body.route-profile .phase2-profile-local-links a {
  min-width: 0;
  text-decoration: none;
  border: 1px solid rgba(176, 0, 13, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: #241812;
}

body.route-profile .phase2-profile-counts a {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 10px;
  border-radius: 10px;
  text-align: center;
}

body.route-profile .phase2-profile-counts strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  color: #b0000d;
}

body.route-profile .phase2-profile-counts span {
  font-size: 13px;
  font-weight: 900;
}

body.route-profile .phase2-profile-paths {
  grid-template-columns: 1fr;
}

body.route-profile .phase2-profile-paths a {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 16px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 94% 20%, rgba(255, 188, 28, 0.18), transparent 36%),
    #fff;
}

body.route-profile .phase2-profile-paths strong {
  color: #980009;
  font-size: 18px;
}

body.route-profile .phase2-profile-paths span {
  color: #60483b;
  font-weight: 760;
}

body.route-profile .phase2-profile-local-links {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.route-profile .phase2-profile-local-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #980009;
  font-weight: 900;
  text-align: center;
}

body.route-profile .profile-offer-grid {
  align-items: stretch;
}

body.route-profile .listing-card {
  display: flex;
  flex-direction: column;
}

body.route-profile .listing-card .listing-actions {
  margin-top: auto;
}

body.route-profile .profile-gallery-showcase {
  width: min(100%, 1180px);
  margin-inline: auto;
}

@media (max-width: 1180px) {
  body.route-profile .phase2-public-profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.route-profile .phase2-profile-minisite {
    grid-template-columns: 1fr;
  }

  body.route-profile .phase2-profile-local-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body.route-profile .phase2-public-profile-hero,
  body.route-profile .phase2-profile-minisite {
    width: calc(100% - 14px);
  }

  body.route-profile .phase2-public-profile-hero .profile-trust-badges {
    justify-content: center;
  }

  body.route-profile .phase2-profile-public-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }

  body.route-profile .phase2-profile-minisite {
    padding: 16px 12px;
    text-align: center;
  }

  body.route-profile .phase2-profile-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.route-profile .phase2-profile-paths {
    grid-template-columns: 1fr;
  }

  body.route-profile .phase2-profile-paths a {
    min-height: 78px;
  }

  body.route-profile .phase2-profile-local-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  body.route-profile .phase2-profile-minisite h2 {
    font-size: 26px;
  }

  body.route-profile .phase2-profile-counts,
  body.route-profile .phase2-profile-local-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.route-profile .phase2-profile-counts a {
    padding-inline: 6px;
  }

  body.route-profile .phase2-profile-counts span,
  body.route-profile .phase2-profile-local-links a {
    font-size: 12px;
  }
}

/* Pricing final pass */
.route-pricing .pricing-hero-final {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: calc(100% - 48px);
  max-width: 1680px;
}

.pricing-hero-logo {
  width: min(320px, 78%);
  max-height: 118px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 54, 20, 0.18);
  border-radius: 8px;
  padding: 18px 24px;
  box-shadow: 0 18px 42px rgba(50, 20, 10, 0.1);
}

.route-pricing .pricing-hero-final h1 {
  max-width: 980px;
  margin: 0 auto;
  letter-spacing: 0;
}

.route-pricing .pricing-hero-final p {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 750;
}

.pricing-hero-actions {
  justify-content: center;
}

.pricing-quick-grid,
.pricing-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.pricing-quick-grid article,
.pricing-step-grid article {
  min-width: 0;
  border: 1px solid rgba(166, 82, 34, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 238, 0.9));
  padding: 20px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(75, 29, 12, 0.08);
}

.pricing-quick-grid span,
.pricing-step-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: #b40712;
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.pricing-quick-grid strong,
.pricing-step-grid strong {
  display: block;
  color: #241711;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.pricing-quick-grid small,
.pricing-step-grid small {
  display: block;
  color: #5f493b;
  line-height: 1.45;
  font-weight: 700;
}

.pricing-card-grid-final {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card-final {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid rgba(158, 71, 26, 0.24);
  background: #fffdfa;
  box-shadow: 0 22px 45px rgba(55, 25, 12, 0.08);
}

.pricing-card-final::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--pricing-tone, #b40712);
}

.pricing-tone-customer { --pricing-tone: #7f9a42; background: linear-gradient(180deg, #fbfff3, #fffdf8); }
.pricing-tone-artist { --pricing-tone: #b85b44; background: linear-gradient(180deg, #fff7f4, #fffdf9); }
.pricing-tone-tutor { --pricing-tone: #d99a0b; background: linear-gradient(180deg, #fffaf0, #fffdf9); }
.pricing-tone-growth { --pricing-tone: #0e8d58; background: linear-gradient(180deg, #f3fff9, #fffdf8); }
.pricing-tone-vendor { --pricing-tone: #b40712; background: linear-gradient(180deg, #fff5f5, #fffdf8); }

.pricing-card-final.featured {
  border-color: rgba(180, 7, 18, 0.5);
  box-shadow: 0 28px 56px rgba(180, 7, 18, 0.16);
}

.pricing-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  border-radius: 999px;
  background: #ffc400;
  color: #241711;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.pricing-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.pricing-role-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pricing-tone, #b40712);
  background: rgba(255, 236, 205, 0.95);
  box-shadow: 0 18px 34px rgba(65, 20, 10, 0.1);
}

.pricing-role-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-card-label {
  display: inline-block;
  color: var(--pricing-tone, #b40712);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card-final h2 {
  margin: 4px 0 0;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: 0;
  color: #21150f;
}

.pricing-best-for {
  margin: 0;
  color: #50382b;
  font-weight: 800;
  line-height: 1.45;
}

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

.pricing-price-box div {
  min-width: 0;
  border: 1px solid rgba(166, 82, 34, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  text-align: center;
}

.pricing-price-box small {
  display: block;
  color: #84634d;
  font-weight: 900;
}

.pricing-price-box strong {
  display: block;
  color: #b40712;
  font-size: 22px;
  line-height: 1.1;
  margin-top: 3px;
}

.pricing-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.pricing-check-list li {
  position: relative;
  padding-left: 24px;
  color: #3d2a20;
  font-weight: 750;
  line-height: 1.35;
}

.pricing-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pricing-tone, #b40712);
  box-shadow: 0 0 0 4px rgba(255, 221, 181, 0.65);
}

.pricing-limit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pricing-limit-row span {
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(166, 82, 34, 0.18);
  background: rgba(255, 250, 242, 0.82);
  padding: 9px 6px;
  text-align: center;
}

.pricing-limit-row small,
.pricing-limit-row strong {
  display: block;
  line-height: 1.15;
}

.pricing-limit-row small {
  color: #7b5f4e;
  font-weight: 900;
  font-size: 11px;
}

.pricing-limit-row strong {
  margin-top: 3px;
  color: #241711;
  font-size: 16px;
}

.pricing-card-details,
.pricing-wide-details {
  border: 1px solid rgba(166, 82, 34, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.pricing-card-details summary,
.pricing-wide-details summary {
  cursor: pointer;
  padding: 13px 15px;
  color: #9e0009;
  font-weight: 900;
  text-align: center;
}

.pricing-card-details p {
  margin: 0;
  padding: 0 16px 14px;
  color: #50382b;
  line-height: 1.45;
  font-weight: 700;
}

.pricing-card-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.pricing-payment-section,
.pricing-compare-section,
.pricing-faq-section-final {
  width: min(1320px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.pricing-payment-note {
  width: min(980px, 100%);
  margin: 18px auto 0;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(180, 7, 18, 0.18);
  border-radius: 8px;
  background: rgba(255, 245, 240, 0.96);
  padding: 18px 20px;
  text-align: center;
  color: #4a3025;
  font-weight: 750;
}

.pricing-payment-note strong {
  color: #b40712;
}

.pricing-wide-details {
  background: #fffdfa;
  box-shadow: 0 18px 42px rgba(54, 24, 8, 0.08);
  overflow: hidden;
}

.pricing-wide-details[open] summary {
  border-bottom: 1px solid rgba(166, 82, 34, 0.18);
}

.pricing-wide-details .pricing-compare {
  margin: 0;
  border: 0;
  box-shadow: none;
  max-width: none;
}

.pricing-faq-list {
  width: min(920px, 100%);
  margin: 0 auto;
}

.pricing-final-cta {
  justify-content: center;
  text-align: center;
}

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

  .pricing-quick-grid,
  .pricing-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .route-pricing .pricing-hero-final,
  .pricing-quick-grid,
  .pricing-step-grid,
  .pricing-card-grid-final,
  .pricing-payment-section,
  .pricing-compare-section,
  .pricing-faq-section-final {
    width: calc(100% - 18px);
  }

  .pricing-hero-logo {
    width: min(250px, 82%);
    padding: 12px 16px;
  }

  .route-pricing .pricing-hero-final h1 {
    font-size: 38px;
  }

  .pricing-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .pricing-quick-grid,
  .pricing-step-grid,
  .pricing-card-grid-final {
    grid-template-columns: 1fr;
  }

  .pricing-card-final {
    padding: 18px;
  }

  .pricing-card-final h2 {
    font-size: 24px;
  }

  .pricing-price-box,
  .pricing-limit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-ribbon {
    position: static;
    justify-self: start;
    width: max-content;
  }
}

@media (max-width: 430px) {
  .route-pricing .pricing-hero-final h1 {
    font-size: 32px;
  }

  .pricing-hero-actions {
    grid-template-columns: 1fr;
  }

  .pricing-card-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (min-width: 1181px) {
  .pricing-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pricing-card-grid-four .pricing-card-final {
  min-height: 650px;
}

.pricing-price-box.single-price {
  grid-template-columns: 1fr;
}

.pricing-price-box.single-price div {
  padding: 15px 12px;
}

.pricing-card-grid-four .pricing-ribbon {
  top: 14px;
  right: 14px;
}

.register-plan-panel {
  border: 1px solid rgba(180, 7, 18, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.96));
  padding: 14px;
  margin: 12px 0 6px;
}

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

.auth-card .register-plan-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
  border: 2px solid rgba(193, 126, 88, 0.28);
  border-radius: 8px;
  background: #fffdfa;
  padding: 12px;
  display: grid;
  gap: 5px;
  box-shadow: 0 14px 26px rgba(70, 28, 12, 0.06);
}

.auth-card .register-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-card .register-plan-card span,
.auth-card .register-plan-card small,
.auth-card .register-plan-card em {
  display: block;
}

.auth-card .register-plan-card span {
  color: #b40712;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card .register-plan-card strong {
  color: #241711;
  font-size: 15px;
  line-height: 1.2;
}

.auth-card .register-plan-card small,
.auth-card .register-plan-card em {
  color: #604638;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  font-style: normal;
}

.auth-card .register-plan-card.is-active {
  border-color: #b40712;
  box-shadow: 0 18px 34px rgba(180, 7, 18, 0.15);
}

.auth-card .register-plan-card.is-muted {
  opacity: 0.62;
}

.auth-card .register-consent-check {
  margin-top: 12px;
  border: 1px solid rgba(180, 7, 18, 0.18);
  border-radius: 8px;
  background: rgba(255, 241, 232, 0.78);
  padding: 11px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #432a20;
  font-weight: 800;
  line-height: 1.35;
}

.auth-card .register-consent-check input {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .pricing-card-grid-four .pricing-card-final {
    min-height: auto;
  }

  .register-plan-grid {
    grid-template-columns: 1fr;
  }

  .register-plan-panel {
    padding: 10px;
  }
}

/* Pricing premium rebuild */
body.route-pricing .pricing-hero-final {
  width: min(1680px, calc(100% - 48px)) !important;
  min-height: 460px;
  align-content: center;
  gap: 14px;
  padding: clamp(36px, 5vw, 72px) clamp(18px, 4vw, 56px);
  overflow: hidden;
}

body.route-pricing .pricing-hero-final h1 {
  max-width: 980px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .98;
}

body.route-pricing .pricing-hero-final > p:not(.eyebrow) {
  max-width: 860px;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pricing-hero-chips {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pricing-hero-chips span {
  min-width: 0;
  border: 1px solid rgba(180, 7, 18, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #9d0d11;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 14px 28px rgba(65, 22, 8, .07);
}

body.route-pricing .pricing-quick-section {
  padding-top: 18px;
}

body.route-pricing .pricing-quick-grid {
  width: min(1260px, calc(100% - 48px)) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
}

body.route-pricing .pricing-quick-grid article {
  min-height: 144px;
  display: grid;
  align-content: center;
  padding: 18px 16px;
  border-color: rgba(174, 91, 39, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 247, 236, .88)),
    radial-gradient(circle at 20% 0%, rgba(255, 196, 0, .16), transparent 42%);
}

body.route-pricing .pricing-quick-grid span {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 9px;
}

body.route-pricing .pricing-plans-section {
  padding-top: 36px;
  width: min(1560px, calc(100% - 56px)) !important;
  max-width: min(1560px, calc(100% - 56px)) !important;
}

body.phase1-foundation.page-public.route-pricing section.pricing-plans-section.section {
  width: min(1560px, calc(100% - 56px)) !important;
  max-width: min(1560px, calc(100% - 56px)) !important;
}

body.route-pricing .pricing-card-grid-four {
  width: min(1560px, calc(100% - 56px)) !important;
  max-width: min(1560px, calc(100% - 56px)) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  gap: 20px;
  align-items: stretch;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.route-pricing .pricing-card-final {
  --pricing-soft: rgba(255, 246, 231, .82);
  min-height: 720px;
  isolation: isolate;
  padding: 24px 22px 22px;
  border-radius: 8px;
  border: 1px solid rgba(148, 65, 25, .2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), var(--pricing-soft)),
    radial-gradient(circle at 50% 0%, rgba(255, 196, 0, .18), transparent 42%);
  box-shadow: 0 26px 54px rgba(54, 24, 8, .11);
}

body.route-pricing .pricing-card-final::before {
  height: 7px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--pricing-tone, #b40712), #ffc400);
}

body.route-pricing .pricing-card-final::after {
  content: "";
  position: absolute;
  inset: 56px -60px auto auto;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pricing-tone, #b40712) 12%, transparent);
  filter: blur(2px);
}

body.route-pricing .pricing-tone-artist { --pricing-tone: #b85b44; --pricing-soft: #fff3eb; }
body.route-pricing .pricing-tone-tutor { --pricing-tone: #d99a0b; --pricing-soft: #fff7e4; }
body.route-pricing .pricing-tone-growth { --pricing-tone: #0e8d58; --pricing-soft: #effcf4; }
body.route-pricing .pricing-tone-vendor { --pricing-tone: #b40712; --pricing-soft: #fff0f0; }

body.route-pricing .pricing-card-final.featured {
  transform: translateY(-8px);
  border-color: rgba(180, 7, 18, .48);
  box-shadow: 0 32px 62px rgba(180, 7, 18, .15);
}

body.route-pricing .pricing-ribbon {
  top: 16px;
  right: 16px;
  background: #ffc400;
  color: #20140f;
  border: 1px solid rgba(111, 54, 0, .16);
  box-shadow: 0 12px 24px rgba(83, 38, 0, .12);
}

body.route-pricing .pricing-card-top {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 0 0;
}

body.route-pricing .pricing-role-icon {
  width: 72px;
  height: 72px;
  color: #fff;
  background: linear-gradient(145deg, var(--pricing-tone, #b40712), #2d170f);
  box-shadow: 0 20px 42px color-mix(in srgb, var(--pricing-tone, #b40712) 30%, transparent);
}

body.route-pricing .pricing-role-icon svg {
  width: 36px;
  height: 36px;
}

body.route-pricing .pricing-card-label {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  color: var(--pricing-tone, #b40712);
  font-size: 12px;
}

body.route-pricing .pricing-card-final h2 {
  max-width: 100%;
  font-size: clamp(23px, 1.8vw, 31px);
  line-height: 1.08;
  text-align: center;
}

body.route-pricing .pricing-best-for {
  min-height: 74px;
  display: grid;
  align-items: center;
  text-align: center;
  color: #4b3428;
  font-size: 15px;
}

body.route-pricing .pricing-price-box.single-price,
body.route-pricing .pricing-price-box {
  grid-template-columns: 1fr;
}

body.route-pricing .pricing-price-box div {
  position: relative;
  overflow: hidden;
  padding: 18px 14px;
  background: #fff;
  border-color: color-mix(in srgb, var(--pricing-tone, #b40712) 22%, rgba(166, 82, 34, .18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 28px rgba(63, 28, 12, .06);
}

body.route-pricing .pricing-price-box strong {
  color: var(--pricing-tone, #b40712);
  font-size: clamp(28px, 2.4vw, 38px);
}

body.route-pricing .pricing-check-list {
  gap: 8px;
}

body.route-pricing .pricing-check-list li {
  min-height: 30px;
  display: flex;
  align-items: center;
  padding-left: 28px;
  font-size: 14px;
}

body.route-pricing .pricing-check-list li::before {
  top: 50%;
  transform: translateY(-50%);
  background: var(--pricing-tone, #b40712);
}

.pricing-trial-pill {
  display: grid;
  gap: 3px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--pricing-tone, #b40712) 22%, transparent);
  background: rgba(255, 255, 255, .76);
  padding: 12px 14px;
  text-align: center;
}

.pricing-trial-pill strong {
  color: #21150f;
  font-size: 16px;
  line-height: 1.1;
}

.pricing-trial-pill span {
  color: #654a3b;
  font-size: 12px;
  font-weight: 850;
}

body.route-pricing .pricing-limit-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.route-pricing .pricing-limit-row span {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(131, 63, 27, .16);
}

body.route-pricing .pricing-limit-row strong {
  font-size: 15px;
}

body.route-pricing .pricing-card-details {
  margin-top: auto;
  background: rgba(255, 255, 255, .76);
}

body.route-pricing .pricing-card-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--pricing-tone, #b40712) 22%, transparent);
}

body.route-pricing .pricing-payment-section,
body.route-pricing .pricing-compare-section,
body.route-pricing .pricing-faq-section-final {
  width: min(1280px, calc(100% - 56px)) !important;
}

body.route-pricing .pricing-step-grid {
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.route-pricing .pricing-wide-details summary {
  min-height: 58px;
  display: grid;
  place-items: center;
}

@media (max-width: 1180px) {
  body.route-pricing .pricing-card-grid-four {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }

  body.route-pricing .pricing-quick-grid,
  body.route-pricing .pricing-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.route-pricing .pricing-hero-final,
  body.route-pricing .pricing-plans-section,
  body.route-pricing .pricing-card-grid-four,
  body.route-pricing .pricing-payment-section,
  body.route-pricing .pricing-compare-section,
  body.route-pricing .pricing-faq-section-final {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  body.phase1-foundation.page-public.route-pricing section.pricing-plans-section.section {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.route-pricing .pricing-hero-final {
    min-height: auto;
    padding: 30px 14px;
  }

  body.route-pricing .pricing-hero-final h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  body.route-pricing .pricing-hero-final > p:not(.eyebrow) {
    font-size: 15px;
  }

  .pricing-hero-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pricing-hero-chips span {
    padding: 9px 8px;
    font-size: 12px;
  }

  body.route-pricing .pricing-quick-grid {
    width: calc(100vw - 18px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  body.route-pricing .pricing-quick-grid article {
    min-height: 128px;
    padding: 14px 10px;
  }

  body.route-pricing .pricing-quick-grid strong {
    font-size: 15px;
  }

  body.route-pricing .pricing-quick-grid small {
    font-size: 12px;
  }

  body.route-pricing .pricing-card-grid-four {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  body.route-pricing .pricing-card-final {
    min-height: auto;
    padding: 20px 16px 18px;
  }

  body.route-pricing .pricing-card-final.featured {
    transform: none;
  }

  body.route-pricing .pricing-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  body.route-pricing .pricing-card-top {
    padding-top: 32px;
  }

  body.route-pricing .pricing-best-for {
    min-height: auto;
  }

  body.route-pricing .pricing-step-grid {
    grid-template-columns: 1fr !important;
  }

  body.route-pricing .pricing-plans-section .section-head {
    width: min(100%, 340px);
    max-width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 430px) {
  body.route-pricing .pricing-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.route-pricing .pricing-hero-actions .button {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }

  body.route-pricing .pricing-limit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pricing overflow guard against older mobile rules */
body.route-pricing,
body.route-pricing main,
body.route-pricing .pricing-page-hero,
body.route-pricing .pricing-quick-grid,
body.route-pricing .pricing-card-grid-four,
body.route-pricing .pricing-card-final,
body.route-pricing .pricing-payment-section,
body.route-pricing .pricing-compare-section,
body.route-pricing .pricing-faq-section-final {
  box-sizing: border-box;
  max-width: 100%;
}

body.route-pricing {
  overflow-x: hidden;
}

body.route-pricing .pricing-card-final *,
body.route-pricing .pricing-quick-grid *,
body.route-pricing .pricing-hero-final * {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 720px) {
  body.phase1-foundation.page-public.route-pricing .pricing-hero-final h1,
  body.phase1-foundation.page-public.route-pricing .page-hero.pricing-hero-final h1 {
    width: min(100%, 330px) !important;
    max-width: min(100%, 330px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-hero-final .pricing-hero-chips,
  body.phase1-foundation.page-public.route-pricing .pricing-hero-final .pricing-hero-actions {
    width: min(100%, 330px) !important;
    max-width: min(100%, 330px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-card-final {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 20px 16px 18px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .96), var(--pricing-soft)),
      radial-gradient(circle at 50% 0%, rgba(255, 196, 0, .18), transparent 42%) !important;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-card-final h2 {
    font-size: 25px !important;
    line-height: 1.08 !important;
    color: #21150f !important;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-card-final p,
  body.phase1-foundation.page-public.route-pricing .pricing-card-final li,
  body.phase1-foundation.page-public.route-pricing .pricing-card-final small,
  body.phase1-foundation.page-public.route-pricing .pricing-card-final span {
    font-size: inherit;
  }

  body.route-pricing .pricing-card-grid-four {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  body.route-pricing .pricing-price-box,
  body.route-pricing .pricing-price-box.single-price,
  body.route-pricing .pricing-limit-row {
    width: 100%;
    max-width: 100%;
  }

  body.route-pricing .pricing-price-box strong {
    font-size: 29px !important;
  }

  body.route-pricing .pricing-hero-final h1 {
    width: min(100%, 330px) !important;
    max-width: min(100%, 330px) !important;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  body.route-pricing .pricing-hero-final > p:not(.eyebrow) {
    width: min(100%, 330px);
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  body.route-pricing .pricing-hero-actions {
    width: min(100%, 330px) !important;
    max-width: min(100%, 330px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden;
  }

  body.route-pricing .pricing-hero-chips {
    width: min(100%, 330px) !important;
    max-width: min(100%, 330px) !important;
  }
}

@media (max-width: 430px) {
  body.route-pricing .pricing-quick-grid {
    grid-template-columns: 1fr !important;
  }

  body.route-pricing .pricing-hero-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.route-pricing .pricing-hero-actions .button {
    font-size: 11px;
  }
}

/* Pricing page: July premium plan-card structure */
body.route-pricing .pricing-quick-section {
  display: none !important;
}

body.route-pricing .pricing-plans-section,
body.route-pricing .pricing-compare-section,
body.route-pricing .pricing-payment-section,
body.route-pricing .pricing-faq-section-final,
body.phase1-foundation.page-public.route-pricing .pricing-plans-section,
body.phase1-foundation.page-public.route-pricing .pricing-compare-section,
body.phase1-foundation.page-public.route-pricing .pricing-payment-section,
body.phase1-foundation.page-public.route-pricing .pricing-faq-section-final {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

body.route-pricing .pricing-hero-final {
  width: min(1680px, calc(100% - 48px)) !important;
  min-height: clamp(330px, 34vw, 520px);
  padding: clamp(34px, 5vw, 78px) clamp(16px, 4vw, 60px) !important;
  gap: 18px;
}

body.route-pricing .pricing-hero-logo {
  width: min(270px, 70vw);
}

body.route-pricing .pricing-hero-final .eyebrow {
  text-transform: uppercase;
}

body.route-pricing .pricing-hero-final h1 {
  max-width: 1180px !important;
  font-size: clamp(42px, 5vw, 82px) !important;
  line-height: 1.02 !important;
  text-align: center;
}

body.route-pricing .pricing-hero-chips-single {
  width: min(380px, 100%) !important;
  grid-template-columns: 1fr !important;
}

body.route-pricing .pricing-hero-chips-single span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b40712;
  color: #fff;
  border-color: #b40712;
  box-shadow: 0 20px 40px rgba(180, 7, 18, .18);
}

body.phase1-foundation.page-public.route-pricing section.pricing-plans-section.section,
body.route-pricing .pricing-plans-section {
  width: min(1680px, calc(100% - 56px)) !important;
  max-width: min(1680px, calc(100% - 56px)) !important;
  padding-top: 34px;
}

body.route-pricing .pricing-plans-section .section-head h2 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

body.route-pricing .pricing-card-grid-five {
  width: min(1680px, calc(100% - 56px)) !important;
  max-width: min(1680px, calc(100% - 56px)) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(214px, 1fr)) !important;
  gap: 16px;
  align-items: stretch;
  margin: 0 auto !important;
}

body.route-pricing .pricing-plan-card {
  min-height: 790px;
  padding: 22px 18px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

body.route-pricing .pricing-tone-free {
  --pricing-tone: #b85b44;
  --pricing-soft: #fff8ec;
}

body.route-pricing .pricing-plan-card.featured {
  transform: none;
}

body.route-pricing .pricing-plan-card .pricing-card-top {
  padding-top: 26px;
}

body.route-pricing .pricing-plan-card .pricing-role-icon {
  width: 62px;
  height: 62px;
}

body.route-pricing .pricing-plan-card .pricing-role-icon svg {
  width: 31px;
  height: 31px;
}

body.route-pricing .pricing-plan-card h2 {
  font-size: clamp(21px, 1.55vw, 28px) !important;
  min-height: 62px;
  display: grid;
  place-items: center;
}

body.route-pricing .pricing-plan-card .pricing-best-for {
  min-height: 92px;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
}

body.route-pricing .pricing-plan-card .pricing-price-box div {
  padding: 14px 12px;
}

body.route-pricing .pricing-plan-card .pricing-price-box strong {
  font-size: clamp(26px, 2vw, 34px) !important;
  line-height: 1.05;
}

body.route-pricing .pricing-card-feature-block {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

body.route-pricing .pricing-card-feature-block > strong {
  color: #21150f;
  font-size: 14px;
  text-align: left;
}

body.route-pricing .pricing-plan-card .pricing-check-list,
body.route-pricing .pricing-mini-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.route-pricing .pricing-plan-card .pricing-check-list li,
body.route-pricing .pricing-mini-list li {
  position: relative;
  min-height: 28px;
  padding-left: 24px;
  color: #4f3a2f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}

body.route-pricing .pricing-plan-card .pricing-check-list li::before,
body.route-pricing .pricing-mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pricing-tone, #b40712);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.82);
}

body.route-pricing .pricing-new-feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.route-pricing .pricing-new-feature-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--pricing-tone, #b40712) 22%, rgba(166, 82, 34, .18));
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--pricing-tone, #b40712);
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  padding: 6px;
}

body.route-pricing .pricing-plan-card .pricing-card-cta {
  margin-top: auto;
  width: 100%;
}

body.route-pricing .pricing-free-pill {
  border-color: rgba(184, 91, 68, .22);
}

body.route-pricing .pricing-compare-section {
  width: min(1480px, calc(100% - 56px)) !important;
  max-width: min(1480px, calc(100% - 56px)) !important;
}

body.route-pricing .pricing-wide-details {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(174, 91, 39, .18);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 42px rgba(54, 24, 8, .08);
  overflow: hidden;
}

body.route-pricing .pricing-wide-details summary {
  cursor: pointer;
  color: #9d0d11;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 950;
  text-align: center;
  padding: 18px;
}

body.route-pricing .pricing-compare {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(174, 91, 39, .15);
  border-radius: 0;
}

body.route-pricing .pricing-compare table {
  width: 100%;
  min-width: 1050px;
  table-layout: fixed;
  border-collapse: collapse;
}

body.route-pricing .pricing-compare th,
body.route-pricing .pricing-compare td {
  padding: 16px 14px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.route-pricing .pricing-compare thead th {
  background: #fff3e2;
  color: #21150f;
}

body.route-pricing .pricing-compare tbody th {
  background: #fffaf2;
  color: #21150f;
}

body.route-pricing .pricing-payment-section,
body.route-pricing .pricing-faq-section-final {
  width: min(1320px, calc(100% - 56px)) !important;
  max-width: min(1320px, calc(100% - 56px)) !important;
}

body.route-pricing .pricing-billing-points {
  width: min(980px, 100%);
  margin: 18px auto 0;
  border: 1px solid rgba(174, 91, 39, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  padding: 22px;
  box-shadow: 0 18px 36px rgba(54, 24, 8, .08);
}

body.route-pricing .pricing-billing-points strong {
  display: block;
  text-align: center;
  color: #21150f;
  font-size: 20px;
  margin-bottom: 12px;
}

body.route-pricing .pricing-billing-points ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

body.route-pricing .pricing-billing-points li {
  color: #4f3a2f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

body.route-pricing .pricing-faq-section-final .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.route-pricing .pricing-faq-tabs {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

body.route-pricing .pricing-faq-category {
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 32px rgba(54, 24, 8, .08);
  overflow: hidden;
}

body.route-pricing .pricing-faq-category > summary {
  min-height: 56px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #9d0d11;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  padding: 12px;
  list-style-position: inside;
}

body.route-pricing .pricing-faq-category .pricing-faq-list {
  padding: 0 12px 14px;
}

body.route-pricing .pricing-faq-category .pricing-faq-list details {
  border-radius: 8px;
}

body.route-pricing .pricing-more-faqs {
  background: #fff7ed;
}

body.route-pricing .pricing-final-cta {
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1360px) {
  body.route-pricing .pricing-card-grid-five {
    grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  body.route-pricing .pricing-card-grid-five {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }

  body.route-pricing .pricing-faq-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.route-pricing .pricing-hero-final,
  body.phase1-foundation.page-public.route-pricing section.pricing-plans-section.section,
  body.route-pricing .pricing-plans-section,
  body.route-pricing .pricing-card-grid-five,
  body.route-pricing .pricing-payment-section,
  body.route-pricing .pricing-compare-section,
  body.route-pricing .pricing-faq-section-final {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  body.route-pricing .pricing-hero-final h1 {
    width: min(100%, 350px) !important;
    max-width: min(100%, 350px) !important;
    font-size: 34px !important;
  }

  body.route-pricing .pricing-hero-chips-single {
    width: min(100%, 300px) !important;
    max-width: min(100%, 300px) !important;
  }

  body.route-pricing .pricing-card-grid-five {
    grid-template-columns: 1fr !important;
    gap: 14px;
    overflow: hidden;
  }

  body.route-pricing .pricing-plan-card {
    min-height: auto;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.route-pricing .pricing-plan-card h2 {
    min-height: 0;
  }

  body.route-pricing .pricing-plan-card .pricing-best-for {
    min-height: auto;
  }

  body.route-pricing .pricing-step-grid,
  body.route-pricing .pricing-faq-tabs {
    grid-template-columns: 1fr !important;
  }

  body.route-pricing .pricing-compare table {
    min-width: 0;
    width: 100%;
  }

  body.route-pricing .pricing-compare {
    overflow-x: visible;
  }

  body.route-pricing .pricing-compare thead {
    display: none;
  }

  body.route-pricing .pricing-compare table,
  body.route-pricing .pricing-compare tbody,
  body.route-pricing .pricing-compare tr,
  body.route-pricing .pricing-compare th,
  body.route-pricing .pricing-compare td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.route-pricing .pricing-compare tr {
    margin: 10px;
    border: 1px solid rgba(174, 91, 39, .16);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  body.route-pricing .pricing-compare tbody th {
    padding: 12px 14px;
    background: #fff3e2;
    color: #9d0d11;
    text-align: center;
  }

  body.route-pricing .pricing-compare td {
    padding: 10px 14px;
    border-top: 1px solid rgba(174, 91, 39, .11);
  }

  body.route-pricing .pricing-compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #7a3c1f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-compare table,
  body.phase1-foundation.page-public.route-pricing .pricing-compare tbody,
  body.phase1-foundation.page-public.route-pricing .pricing-compare tr,
  body.phase1-foundation.page-public.route-pricing .pricing-compare th,
  body.phase1-foundation.page-public.route-pricing .pricing-compare td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.phase1-foundation.page-public.route-pricing .pricing-compare {
    overflow-x: visible !important;
  }
}

/* Pricing page final polish: four professional plans, free access strip, and tabbed FAQ */
body.route-pricing .pricing-free-access-strip {
  width: min(1320px, 100%);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(180, 7, 18, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 184, 16, .14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 248, 237, .92));
  box-shadow: 0 22px 48px rgba(54, 24, 8, .1);
  padding: clamp(18px, 2.6vw, 30px);
}

body.route-pricing .pricing-free-icon {
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2d6;
  color: #0f8a52;
  box-shadow: inset 0 0 0 1px rgba(15, 138, 82, .12), 0 16px 30px rgba(15, 138, 82, .1);
}

body.route-pricing .pricing-free-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.route-pricing .pricing-free-access-strip h2 {
  margin: 2px 0 8px;
  color: #21150f;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.08;
}

body.route-pricing .pricing-free-access-strip p:not(.eyebrow) {
  max-width: 900px;
  margin: 0;
  color: #4d382f;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

body.route-pricing .pricing-free-access-strip .button {
  white-space: nowrap;
}

body.route-pricing .pricing-card-grid-professional {
  width: min(1580px, 100%) !important;
  max-width: min(1580px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-plan-card {
  min-height: 610px !important;
  padding: 22px 22px 18px !important;
  gap: 12px !important;
  border-radius: 8px;
  overflow: hidden;
}

body.route-pricing .pricing-card-grid-professional .pricing-plan-card::after {
  width: 150px;
  height: 150px;
  opacity: .55;
}

body.route-pricing .pricing-card-grid-professional .pricing-card-top {
  grid-template-columns: 1fr !important;
  justify-items: center;
  text-align: center;
  padding-top: 30px !important;
  gap: 12px;
}

body.route-pricing .pricing-card-grid-professional .pricing-role-icon {
  width: 74px !important;
  height: 74px !important;
  color: var(--pricing-tone, #b40712);
  background: #fff1dc;
}

body.route-pricing .pricing-card-grid-professional .pricing-role-icon svg {
  width: 38px !important;
  height: 38px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.route-pricing .pricing-tone-artist {
  --pricing-tone: #9b4a34;
  --pricing-soft: #fff3ea;
}

body.route-pricing .pricing-tone-tutor {
  --pricing-tone: #b78300;
  --pricing-soft: #fff8dd;
}

body.route-pricing .pricing-tone-growth {
  --pricing-tone: #0f8a52;
  --pricing-soft: #ecfff5;
}

body.route-pricing .pricing-tone-vendor {
  --pricing-tone: #990d16;
  --pricing-soft: #fff0f2;
}

body.route-pricing .pricing-card-grid-professional .pricing-card-label {
  display: block;
  color: var(--pricing-tone, #b40712);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.route-pricing .pricing-card-grid-professional .pricing-plan-card h2 {
  min-height: 0 !important;
  margin: 6px 0 0;
  font-size: clamp(22px, 1.6vw, 30px) !important;
  line-height: 1.08 !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-best-for {
  min-height: 48px !important;
  display: block;
  margin: 0;
  color: #3c2a22;
  font-size: 14px !important;
  font-weight: 850;
  line-height: 1.34 !important;
  text-align: center;
}

body.route-pricing .pricing-card-grid-professional .pricing-card-feature-block {
  padding: 8px 0 0 !important;
  border-top: 1px solid rgba(174, 91, 39, .13);
}

body.route-pricing .pricing-card-grid-professional .pricing-card-feature-block > strong {
  text-align: center !important;
  font-size: 13px !important;
  text-transform: uppercase;
  color: #7a3c1f !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-check-list,
body.route-pricing .pricing-card-grid-professional .pricing-mini-list {
  gap: 5px !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-check-list li,
body.route-pricing .pricing-card-grid-professional .pricing-mini-list li {
  min-height: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  padding-left: 22px !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-price-box {
  margin-top: auto;
  border-color: rgba(174, 91, 39, .18);
  background: rgba(255, 255, 255, .75);
}

body.route-pricing .pricing-card-grid-professional .pricing-price-box div {
  padding: 12px 12px !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-price-box small {
  font-size: 11px;
  color: #7a3c1f;
  text-transform: uppercase;
}

body.route-pricing .pricing-card-grid-professional .pricing-price-box strong {
  color: var(--pricing-tone, #b40712);
  font-size: clamp(25px, 1.85vw, 34px) !important;
}

body.route-pricing .pricing-card-grid-professional .pricing-new-feature-row span {
  color: var(--pricing-tone, #b40712);
  border-color: rgba(174, 91, 39, .22);
  background: rgba(255, 255, 255, .8);
}

body.route-pricing .pricing-card-grid-professional .pricing-card-cta {
  margin-top: 0 !important;
  min-height: 44px;
}

body.route-pricing .pricing-trial-pill {
  display: none !important;
}

body.route-pricing .pricing-wide-details summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fffaf2, #fff);
}

body.route-pricing .pricing-compare table {
  min-width: 900px !important;
}

body.route-pricing .pricing-compare th,
body.route-pricing .pricing-compare td {
  text-align: center;
}

body.route-pricing .pricing-compare tbody th {
  text-align: left;
}

body.route-pricing .pricing-step-grid article > span {
  width: 64px !important;
  height: 64px !important;
  display: inline-grid !important;
  place-items: center !important;
  position: relative;
  margin: 0 auto 10px !important;
  border-radius: 50%;
  background: #b40712 !important;
  color: #fff !important;
  box-shadow: 0 15px 28px rgba(180, 7, 18, .2);
}

body.route-pricing .pricing-step-grid article > span b {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #b40712;
  font-size: 11px;
  font-weight: 950;
}

body.route-pricing .pricing-step-grid article > span svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.route-pricing .pricing-billing-points ul {
  max-width: 790px;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center;
}

body.route-pricing .pricing-billing-points li {
  position: relative;
  padding: 0 0 0 0 !important;
}

body.route-pricing .pricing-billing-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: #b40712;
  vertical-align: middle;
}

body.route-pricing .pricing-faq-section-final {
  width: min(980px, calc(100% - 56px)) !important;
  max-width: min(980px, calc(100% - 56px)) !important;
  text-align: center;
}

body.route-pricing .pricing-faq-section-final .section-head h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.route-pricing .pricing-faq-tabs {
  width: min(820px, 100%) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center;
  gap: 18px !important;
  margin: 0 auto !important;
}

body.route-pricing .pricing-faq-tabs .faq-tabs {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.route-pricing .pricing-faq-tabs .faq-tabs button {
  min-height: 48px;
  border: 1px solid rgba(174, 91, 39, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #9d0d11;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(54, 24, 8, .05);
}

body.route-pricing .pricing-faq-tabs .faq-tabs button.is-active {
  border-color: #b40712;
  background: #b40712;
  color: #fff;
  box-shadow: 0 18px 34px rgba(180, 7, 18, .16);
}

body.route-pricing .pricing-faq-panel {
  width: min(760px, 100%);
  display: none;
  gap: 12px;
  margin: 0 auto;
}

body.route-pricing .pricing-faq-panel.is-active {
  display: grid;
}

body.route-pricing .pricing-faq-panel > details,
body.route-pricing .pricing-more-faqs > details {
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 28px rgba(54, 24, 8, .06);
  overflow: hidden;
}

body.route-pricing .pricing-faq-panel details > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #21150f;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  list-style: none;
  padding: 14px 18px;
}

body.route-pricing .pricing-faq-panel details > summary::-webkit-details-marker {
  display: none;
}

body.route-pricing .pricing-faq-panel details p {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px 18px;
  color: #4f3a2f;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

body.route-pricing .pricing-more-faqs {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.route-pricing .pricing-more-faqs > summary {
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: #fff7ed;
  color: #9d0d11 !important;
}

@media (max-width: 1180px) {
  body.route-pricing .pricing-card-grid-professional {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.route-pricing .pricing-hero-final,
  body.route-pricing .pricing-plans-section,
  body.phase1-foundation.page-public.route-pricing section.pricing-plans-section.section,
  body.route-pricing .pricing-free-access-strip,
  body.route-pricing .pricing-card-grid-professional,
  body.route-pricing .pricing-payment-section,
  body.route-pricing .pricing-compare-section,
  body.route-pricing .pricing-faq-section-final {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  body.route-pricing .pricing-hero-final h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  body.route-pricing .pricing-free-access-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-bottom: 26px;
  }

  body.route-pricing .pricing-free-access-strip p:not(.eyebrow) {
    font-size: 14px;
  }

  body.route-pricing .pricing-card-grid-professional {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    overflow: hidden;
  }

  body.route-pricing .pricing-card-grid-professional .pricing-plan-card {
    min-height: auto !important;
    padding: 22px 18px 18px !important;
  }

  body.route-pricing .pricing-card-grid-professional .pricing-best-for {
    min-height: 0 !important;
  }

  body.route-pricing .pricing-compare table {
    min-width: 0 !important;
  }

  body.route-pricing .pricing-billing-points li::before {
    display: block;
    margin: 0 auto 6px;
  }

  body.route-pricing .pricing-faq-tabs .faq-tabs {
    width: min(100%, 360px);
  }

  body.route-pricing .pricing-faq-panel details > summary {
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Pricing improvements: stronger featured plan, mobile compare accordions, and admin-editable plan controls */
body.route-pricing .pricing-plan-card.featured {
  border: 2px solid #b40712 !important;
  box-shadow: 0 24px 48px rgba(180, 7, 18, .16), 0 0 0 6px rgba(255, 196, 10, .18) !important;
  transform: translateY(-6px);
}

body.route-pricing .pricing-plan-card.featured .pricing-ribbon {
  background: #b40712 !important;
  color: #fff !important;
  border-color: #b40712 !important;
  box-shadow: 0 12px 22px rgba(180, 7, 18, .18);
}

body.route-pricing .pricing-plan-card.featured .pricing-card-cta {
  background: #b40712 !important;
  color: #fff !important;
}

body.route-pricing .pricing-compare-mobile-list {
  display: none;
}

body.route-pricing .pricing-compare-mobile-list details {
  border: 1px solid rgba(174, 91, 39, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(54, 24, 8, .06);
}

body.route-pricing .pricing-compare-mobile-list summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  color: #9d0d11;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

body.route-pricing .pricing-compare-mobile-list summary::-webkit-details-marker {
  display: none;
}

body.route-pricing .pricing-compare-mobile-values {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #fffaf2;
}

body.route-pricing .pricing-compare-mobile-values div {
  display: grid;
  grid-template-columns: minmax(112px, 42%) 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(174, 91, 39, .18);
  border-radius: 8px;
  background: #fff;
}

body.route-pricing .pricing-compare-mobile-values strong {
  color: #21150f;
  font-size: 12px;
  line-height: 1.2;
}

body.route-pricing .pricing-compare-mobile-values span {
  color: #4f3a2f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.admin-pricing-settings-form {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.admin-pricing-settings-form .admin-pricing-limit-grid,
.admin-pricing-settings-form .form-hint,
.admin-pricing-settings-form button[type="submit"] {
  grid-column: 1 / -1;
}

.admin-pricing-limit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.admin-plan-limit-card {
  border: 1px solid rgba(174, 91, 39, .22);
  border-radius: 8px;
  background: #fffaf4;
  padding: 14px;
}

.admin-plan-limit-card h3 {
  margin: 0 0 10px;
  color: #9d0d11;
  font-size: 16px;
}

.admin-featured-check {
  margin-top: 10px;
}

@media (max-width: 720px) {
  body.route-pricing .pricing-plan-card.featured {
    transform: none;
    box-shadow: 0 18px 34px rgba(180, 7, 18, .14), 0 0 0 4px rgba(255, 196, 10, .16) !important;
  }

  body.route-pricing .pricing-compare {
    display: none !important;
  }

  body.route-pricing .pricing-compare-mobile-list {
    display: grid !important;
    gap: 10px;
    width: 100%;
    padding: 10px 6px 4px;
  }

  body.route-pricing .pricing-compare-mobile-values div {
    grid-template-columns: minmax(96px, 40%) 1fr;
  }

  .admin-pricing-settings-form,
  .admin-pricing-limit-grid {
    grid-template-columns: 1fr;
  }
}

/* Final public-page audit refinements */
.legal-related-policies-section,
.legal-policy-contact-section,
.legal-reminder-section,
.trust-command-section,
.support-detail-section {
  box-sizing: border-box;
}

.legal-related-policies-section,
.legal-policy-contact-section,
.legal-reminder-section,
.trust-command-section .section-head,
.support-detail-section {
  text-align: center;
}

.legal-related-policies-section .section-head,
.legal-policy-contact-section > div:first-child,
.legal-reminder-section > div:first-child,
.trust-command-section .section-head {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.legal-related-policies-section .section-head h2,
.legal-policy-contact-section h2,
.legal-reminder-section h2,
.trust-command-section .section-head h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.legal-link-cloud {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.legal-policy-contact-section,
.legal-reminder-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
}

.legal-policy-contact-section .panel,
.legal-reminder-section .panel {
  text-align: center;
  display: grid;
  justify-items: center;
}

.legal-reminder-section .compact-checks,
.legal-policy-contact-section .compact-checks,
.legal-reminder-section .check-list,
.legal-policy-contact-section .check-list {
  max-width: 360px;
  margin: 14px auto 18px;
  padding-left: 0;
  list-style-position: inside;
  display: grid;
  gap: 8px;
  text-align: center;
}

.trust-command-section .trust-command-grid {
  width: min(1050px, 100%);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: stretch;
}

.trust-command-section .trust-command-card {
  min-width: 0;
  padding: 26px 22px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.trust-command-section .trust-command-card h3 {
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.trust-command-section .trust-command-card p {
  max-width: 270px;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.support-detail-section .support-read-more {
  width: min(920px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.support-detail-section .support-read-more summary {
  justify-content: center;
  text-align: center;
}

.support-detail-section .feature-stack {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.support-detail-section .feature-stack .panel {
  display: grid;
  justify-items: center;
  text-align: center;
}

.support-detail-section .feature-stack .panel p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  body.route-pricing .pricing-free-access-strip {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.route-pricing .pricing-free-access-strip .button {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
  }

  body.route-pricing .pricing-card-grid-professional {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  body.route-pricing .pricing-card-grid-professional .pricing-plan-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.route-pricing .pricing-compare-mobile-list,
  body.route-pricing .pricing-compare-mobile-values,
  body.route-pricing .pricing-compare-mobile-values div {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.route-whatsapp .whatsapp-support-builder,
  body.route-whatsapp .whatsapp-support-builder .section-head,
  body.route-whatsapp .whatsapp-support-builder .section-lead {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .legal-related-policies-section,
  .legal-policy-contact-section,
  .legal-reminder-section,
  .trust-command-section,
  .support-detail-section {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .legal-related-policies-section .section-head h2,
  .legal-policy-contact-section h2,
  .legal-reminder-section h2,
  .trust-command-section .section-head h2 {
    font-size: 34px;
    line-height: 1.08;
    max-width: 100%;
  }

  .legal-policy-contact-section,
  .legal-reminder-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    text-align: center;
  }

  .legal-link-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .legal-link-cloud a {
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }

  .trust-command-section .trust-command-grid {
    grid-template-columns: 1fr !important;
    width: min(100%, 420px);
    gap: 14px;
  }

  .trust-command-section .trust-command-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .trust-command-section .trust-command-card h3,
  .trust-command-section .trust-command-card p {
    max-width: 100%;
  }

  .support-detail-section .support-read-more {
    width: 100% !important;
    max-width: 100% !important;
  }

  .support-detail-section .feature-stack .panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* v181 legal/support zoom-lock: keep policy/support sections stable under browser zoom */
body.page-public.route-legal .legal-related-policies-section {
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: min(1180px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(18px, 4vw, 64px) !important;
  padding-right: clamp(18px, 4vw, 64px) !important;
  overflow: hidden !important;
  text-align: center !important;
}

body.page-public.route-legal :is(.legal-related-policies-section, .legal-policy-contact-section, .legal-reminder-section),
body.page-public.route-trust-safety .trust-command-section {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.page-public.route-legal :is(.legal-related-policies-section, .legal-policy-contact-section, .legal-reminder-section) *,
body.page-public.route-trust-safety .trust-command-section * {
  transition-property: background-color, border-color, color, box-shadow !important;
}

body.page-public.route-legal .legal-related-policies-section .section-head {
  width: min(920px, 100%) !important;
  max-width: min(920px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page-public.route-legal .legal-related-policies-section .section-head h2 {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(30px, 4.2vw, 56px) !important;
  line-height: 1.08 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-legal .legal-link-cloud {
  width: min(900px, 100%) !important;
  max-width: 100% !important;
  margin: clamp(18px, 3vw, 28px) auto 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 12px !important;
}

body.page-public.route-legal .legal-link-cloud a {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 92px !important;
  max-width: 100% !important;
  min-height: 38px !important;
  padding: 9px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: normal !important;
  text-align: center !important;
  font-size: clamp(13px, 1.5vw, 16px) !important;
  line-height: 1.16 !important;
}

body.page-public.route-legal .legal-policy-contact-section,
body.page-public.route-legal .legal-reminder-section {
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: min(1180px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  gap: clamp(18px, 3vw, 30px) !important;
  text-align: center !important;
  overflow: hidden !important;
}

body.page-public.route-legal .legal-policy-contact-section > div:first-child,
body.page-public.route-legal .legal-reminder-section > div:first-child {
  width: min(900px, 100%) !important;
  max-width: min(900px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page-public.route-legal .legal-policy-contact-section h2,
body.page-public.route-legal .legal-reminder-section h2 {
  width: min(900px, 100%) !important;
  max-width: min(900px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: clamp(30px, 4.3vw, 58px) !important;
  line-height: 1.08 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-legal .legal-policy-contact-section .panel,
body.page-public.route-legal .legal-reminder-section .panel {
  width: min(560px, 100%) !important;
  max-width: 100% !important;
  min-height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(22px, 4vw, 34px) !important;
  text-align: center !important;
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

body.page-public.route-legal .legal-reminder-section .check-list,
body.page-public.route-legal .legal-policy-contact-section .check-list {
  width: min(420px, 100%) !important;
  max-width: 100% !important;
  margin: 16px auto 18px !important;
  padding-left: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 10px !important;
  text-align: center !important;
}

body.page-public.route-legal .legal-reminder-section .check-list li,
body.page-public.route-legal .legal-policy-contact-section .check-list li {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-trust-safety .trust-command-section {
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: min(1180px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
}

body.page-public.route-trust-safety .trust-command-section .section-head {
  width: min(900px, 100%) !important;
  max-width: min(900px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page-public.route-trust-safety .trust-command-section .section-head h2 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(32px, 4.5vw, 62px) !important;
  line-height: 1.06 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-trust-safety .trust-command-section .section-lead {
  width: min(760px, 100%) !important;
  max-width: min(760px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-trust-safety .trust-command-section .trust-command-grid {
  width: min(1040px, 100%) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  gap: clamp(14px, 2vw, 22px) !important;
  align-items: stretch !important;
}

body.page-public.route-trust-safety .trust-command-section .trust-command-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: auto !important;
  padding: clamp(22px, 4vw, 34px) !important;
  text-align: center !important;
  display: grid !important;
  justify-items: center !important;
  box-sizing: border-box !important;
}

body.page-public.route-trust-safety .trust-command-section .trust-command-card h3,
body.page-public.route-trust-safety .trust-command-section .trust-command-card p {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* v183 rebuilt legal/support architecture */
body.page-public.route-legal .legal-policy-directory-section,
body.page-public.route-legal .legal-support-route-section,
body.page-public.route-trust-safety .trust-safety-checklist-section {
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: min(1180px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.page-public.route-legal .legal-policy-directory,
body.page-public.route-legal .legal-support-route,
body.page-public.route-trust-safety .trust-safety-checklist {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 247, 235, .92));
  box-shadow: 0 24px 46px rgba(54, 24, 8, .08);
  box-sizing: border-box;
}

body.page-public.route-legal .legal-policy-directory,
body.page-public.route-legal .legal-support-route {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
}

body.page-public.route-legal .legal-policy-directory-copy,
body.page-public.route-legal .legal-support-route-copy {
  text-align: left;
  min-width: 0;
}

body.page-public.route-legal .legal-policy-directory-copy h2,
body.page-public.route-legal .legal-support-route-copy h2,
body.page-public.route-trust-safety .trust-safety-checklist-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.08 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.page-public.route-legal .legal-policy-directory-copy p:not(.eyebrow),
body.page-public.route-legal .legal-support-route-copy p:not(.eyebrow),
body.page-public.route-trust-safety .trust-safety-checklist-head p {
  max-width: 560px;
  margin: 0;
  color: #5d483d;
  font-weight: 750;
  line-height: 1.55;
}

body.page-public.route-legal .legal-policy-directory-grid,
body.page-public.route-legal .legal-support-route-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
}

body.page-public.route-legal .legal-policy-link-card,
body.page-public.route-legal .legal-support-action-card {
  min-width: 0;
  min-height: 134px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 16px 14px;
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: #fff;
  color: #25150f;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(54, 24, 8, .05);
  box-sizing: border-box;
}

body.page-public.route-legal .legal-policy-link-card:nth-child(3n + 1),
body.page-public.route-legal .legal-support-action-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, #fff, #fff7e8);
}

body.page-public.route-legal .legal-policy-link-card:nth-child(3n + 2),
body.page-public.route-legal .legal-support-action-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, #fff, #fff4f4);
}

body.page-public.route-legal .legal-policy-link-card:nth-child(3n),
body.page-public.route-legal .legal-support-action-card:nth-child(3n) {
  background: linear-gradient(180deg, #fff, #f3fbf5);
}

body.page-public.route-legal .legal-support-action-card.primary {
  border-color: rgba(180, 7, 18, .34);
  background: linear-gradient(180deg, #fff, #fff2dc);
}

body.page-public.route-legal .legal-policy-link-card .support-card-icon,
body.page-public.route-legal .legal-support-action-card .support-card-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #b40712;
  background: #fff0dc;
}

body.page-public.route-legal .legal-policy-link-card svg,
body.page-public.route-legal .legal-support-action-card svg {
  width: 22px;
  height: 22px;
}

body.page-public.route-legal .legal-policy-link-card strong,
body.page-public.route-legal .legal-support-action-card strong {
  color: #9d0d11;
  font-size: 15px;
  line-height: 1.16;
}

body.page-public.route-legal .legal-policy-link-card small,
body.page-public.route-legal .legal-support-action-card small {
  max-width: 190px;
  color: #5d483d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.page-public.route-trust-safety .trust-safety-checklist {
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(0, 1.45fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 42px);
}

body.page-public.route-trust-safety .trust-safety-checklist-head {
  min-width: 0;
  text-align: left;
  align-self: center;
}

body.page-public.route-trust-safety .trust-safety-checklist-list {
  min-width: 0;
  display: grid;
  gap: 12px;
}

body.page-public.route-trust-safety .trust-safety-check-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(174, 91, 39, .2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(54, 24, 8, .05);
  overflow: hidden;
  isolation: isolate;
}

body.page-public.route-trust-safety .trust-safety-check-number {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #b40712;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

body.page-public.route-trust-safety .trust-safety-check-item .support-card-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #b40712;
  background: #fff0dc;
}

body.page-public.route-trust-safety .trust-safety-check-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  text-align: left;
}

body.page-public.route-trust-safety .trust-safety-check-copy strong {
  color: #24150f;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.16;
}

body.page-public.route-trust-safety .trust-safety-check-copy small,
body.page-public.route-trust-safety .trust-safety-checklist-note span {
  color: #5d483d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.42;
}

body.page-public.route-trust-safety .trust-safety-checklist-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff7e8;
  color: #24150f;
  text-align: center;
}

body.page-public.route-trust-safety .trust-safety-checklist-note strong {
  color: #9d0d11;
}

@media (max-width: 860px) {
  body.page-public.route-legal .legal-policy-directory,
  body.page-public.route-legal .legal-support-route,
  body.page-public.route-trust-safety .trust-safety-checklist {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.page-public.route-legal .legal-policy-directory-copy,
  body.page-public.route-legal .legal-support-route-copy,
  body.page-public.route-trust-safety .trust-safety-checklist-head {
    text-align: center;
  }

  body.page-public.route-legal .legal-policy-directory-copy p:not(.eyebrow),
  body.page-public.route-legal .legal-support-route-copy p:not(.eyebrow),
  body.page-public.route-trust-safety .trust-safety-checklist-head p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  body.page-public.route-legal .legal-policy-directory-section,
  body.page-public.route-legal .legal-support-route-section,
  body.page-public.route-trust-safety .trust-safety-checklist-section {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  body.page-public.route-legal .legal-policy-directory,
  body.page-public.route-legal .legal-support-route,
  body.page-public.route-trust-safety .trust-safety-checklist {
    padding: 18px 14px;
  }

  body.page-public.route-legal .legal-policy-directory-grid,
  body.page-public.route-legal .legal-support-route-actions {
    grid-template-columns: 1fr;
  }

  body.page-public.route-legal .legal-policy-link-card,
  body.page-public.route-legal .legal-support-action-card {
    min-height: auto;
    padding: 15px 12px;
  }

  body.page-public.route-trust-safety .trust-safety-check-item {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  body.page-public.route-trust-safety .trust-safety-check-item .support-card-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}

/* v184 final legal/trust responsive hardening */
body.page-public.route-trust-safety .trust-safety-check-item > * {
  max-width: 100%;
}

/* v185 legal support cards and detail icons */
body.page-public.route-legal .legal-reminder-section .panel {
  width: min(760px, 100%);
  max-width: 100%;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

body.page-public.route-legal .legal-reminder-section .panel h3 {
  margin: 0 0 16px;
  color: #20120e;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
  text-align: center;
}

body.page-public.route-legal .legal-support-reason-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 16px);
  margin: 0 auto 18px;
  box-sizing: border-box;
}

body.page-public.route-legal .legal-support-reason-card {
  min-width: 0;
  min-height: 156px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 15px 12px;
  border: 1px solid rgba(174, 91, 39, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fff7e8);
  color: #25150f;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(54, 24, 8, .05);
  overflow: hidden;
  box-sizing: border-box;
}

body.page-public.route-legal .legal-support-reason-card:nth-child(2) {
  background: linear-gradient(180deg, #fff, #fff4f4);
}

body.page-public.route-legal .legal-support-reason-card:nth-child(3) {
  background: linear-gradient(180deg, #fff, #f4fbf4);
}

body.page-public.route-legal .legal-support-reason-card .support-card-icon,
body.page-public.route-legal .legal-detail-card > .support-card-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #b40712;
  background: #fff0dc;
  flex: 0 0 auto;
}

body.page-public.route-legal .legal-support-reason-card svg,
body.page-public.route-legal .legal-detail-card > .support-card-icon svg {
  width: 21px;
  height: 21px;
}

body.page-public.route-legal .legal-support-reason-card strong {
  color: #9d0d11;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.18;
}

body.page-public.route-legal .legal-support-reason-card small {
  max-width: 170px;
  color: #5d483d;
  font-size: clamp(11px, 1.12vw, 12px);
  font-weight: 750;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

body.page-public.route-legal .legal-support-reason-card:focus-visible,
body.page-public.route-legal .legal-support-reason-card:hover {
  border-color: rgba(180, 7, 18, .42);
  box-shadow: 0 14px 30px rgba(180, 7, 18, .12);
  transform: translateY(-1px);
}

body.page-public.route-legal .legal-policy-details .feature-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

body.page-public.route-legal .legal-detail-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  text-align: center;
  padding: clamp(18px, 2.2vw, 24px);
  overflow: hidden;
  box-sizing: border-box;
}

body.page-public.route-legal .legal-detail-card h3 {
  margin: 2px 0 0;
  color: #20120e;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.18;
}

body.page-public.route-legal .legal-detail-card p {
  margin: 0;
  max-width: 260px;
  color: #5d483d;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 650;
  line-height: 1.42;
}

@media (max-width: 720px) {
  body.page-public.route-legal .legal-reminder-section .panel {
    padding: 16px 10px;
  }

  body.page-public.route-legal .legal-support-reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px;
  }

  body.page-public.route-legal .legal-support-reason-card {
    min-height: 142px;
    padding: 11px 6px;
  }

  body.page-public.route-legal .legal-support-reason-card .support-card-icon {
    width: 34px;
    height: 34px;
  }

  body.page-public.route-legal .legal-support-reason-card svg {
    width: 17px;
    height: 17px;
  }

  body.page-public.route-legal .legal-support-reason-card strong {
    font-size: 10.5px;
    line-height: 1.12;
  }

  body.page-public.route-legal .legal-support-reason-card small {
    font-size: 9.5px;
    line-height: 1.2;
  }
}

/* v186 center-lock support/legal read-more cards on narrow screens */
body.page-public .support-detail-section {
  display: grid !important;
  justify-items: center !important;
}

body.page-public .support-detail-section .support-read-more,
body.page-public.route-legal .legal-policy-details {
  width: min(920px, 100%) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.page-public .support-detail-section .support-read-more .feature-stack,
body.page-public.route-legal .legal-policy-details .feature-stack {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  justify-items: center !important;
}

body.page-public .support-detail-section .support-read-more .feature-stack > .panel,
body.page-public.route-legal .legal-policy-details .feature-stack > .panel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 720px) {
  body.page-public .support-detail-section {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-inline: 0 !important;
    overflow: visible !important;
  }

  body.page-public .support-detail-section .support-read-more,
  body.page-public.route-legal .legal-policy-details {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding: 0 !important;
    margin-inline: auto !important;
    overflow: hidden !important;
  }

  body.page-public .support-detail-section .support-read-more .feature-stack,
  body.page-public.route-legal .legal-policy-details .feature-stack {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px 10px !important;
    margin-inline: auto !important;
  }

  body.page-public .support-detail-section .support-read-more .feature-stack > .panel,
  body.page-public.route-legal .legal-policy-details .feature-stack > .panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding-inline: 14px !important;
    overflow: hidden !important;
  }

  body.page-public .support-detail-section .support-read-more .feature-stack > .panel :is(h3, p),
  body.page-public.route-legal .legal-policy-details .feature-stack > .panel :is(h3, p) {
    max-width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* v189 phase 5 product detail proof and seller trust */
.phase5-product-proof {
  padding-top: clamp(26px, 5vw, 54px);
}

.phase5-product-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.phase5-product-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.phase5-product-media-grid a {
  position: relative;
  display: block;
  min-height: 150px;
  border: 1px solid rgba(176, 0, 8, .14);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf4;
}

.phase5-product-media-grid img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
}

.phase5-product-media-grid span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 244, .92);
  color: #9b0008;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
}

.phase5-seller-check-grid {
  display: grid;
  gap: 10px;
}

.phase5-seller-check-grid article {
  border: 1px solid rgba(176, 0, 8, .14);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #fffaf4, #fff);
  text-align: center;
}

.phase5-seller-check-grid strong {
  display: block;
  color: #9b0008;
  margin-bottom: 5px;
}

.phase5-seller-check-grid span {
  display: block;
  color: #4f3c33;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .phase5-product-proof-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .phase5-product-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase5-product-media-grid a,
  .phase5-product-media-grid img {
    min-height: 132px;
  }

  .detail-hero.product-detail-hero .trust-strip,
  .product-detail-hero .trust-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-detail-hero .trust-strip span {
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .phase5-product-media-grid a,
  .phase5-product-media-grid img {
    min-height: 118px;
  }

  .phase5-product-media-grid span {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  body.page-public.route-product .page-hero.detail-hero.product-detail-hero .trust-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* v190 phase 6 design detail pages */
body.page-public.route-design .phase6-design-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.phase6-design-hero-media {
  width: min(520px, 100%);
  margin: 4px auto 0;
  border: 1px solid rgba(176, 0, 8, .16);
  border-radius: 10px;
  overflow: hidden;
  background: #fffaf4;
  box-shadow: 0 18px 42px rgba(83, 44, 22, .12);
}

.phase6-design-hero-media a,
.phase6-design-hero-media img {
  display: block;
  width: 100%;
}

.phase6-design-hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.phase6-design-hero-media figcaption {
  padding: 9px 12px;
  text-align: center;
  color: #9b0008;
  font-weight: 800;
  font-size: 12px;
  background: rgba(255, 248, 237, .96);
}

.phase6-design-decision-panel {
  align-items: stretch;
}

.phase6-design-check-grid article,
.phase6-design-spec-grid > div {
  text-align: center;
}

.phase6-design-profile-section .profile-signal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.phase6-design-profile-section .profile-signal-row span {
  min-width: 0;
  text-align: center;
}

.phase6-related-designs .gallery-grid {
  max-width: 1120px;
  margin-inline: auto;
}

.phase6-design-faq {
  width: min(760px, calc(100% - 24px));
  margin-inline: auto;
}

.design-gallery-card .card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.design-gallery-card .card-actions .button {
  min-width: 0;
  width: 100%;
  padding-inline: 8px;
  text-align: center;
  white-space: normal;
}

@media (max-width: 760px) {
  body.page-public.route-design .phase6-design-hero h1 {
    max-width: 10.5em;
  }

  body.page-public.route-design .phase6-design-hero .trust-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .phase6-design-hero-media {
    width: min(100%, 360px);
    border-radius: 8px;
  }

  .phase6-design-profile-section .profile-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase6-related-designs .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-gallery-card .card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .design-gallery-card .card-actions .button {
    font-size: 10px;
    padding: 7px 4px;
  }
}

@media (max-width: 430px) {
  .phase6-design-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase6-design-hero-media img {
    aspect-ratio: 1 / 1;
  }
}
