/* x25go visual polish · public pages · 2026-10-17
   Visual-only layer. No page copy is changed here. */

:root {
  --x25-polish-navy: #0d1d31;
  --x25-polish-navy-2: #162b44;
  --x25-polish-lime: #b8ff5a;
  --x25-polish-soft: #f0ffdf;
  --x25-polish-card-shadow: 0 22px 52px rgba(16,33,54,.10);
  --x25-polish-card-shadow-hover: 0 30px 72px rgba(16,33,54,.16);
}

body {
  background:
    radial-gradient(circle at 8% 9%, rgba(184,255,90,.13), transparent 25rem),
    radial-gradient(circle at 91% 16%, rgba(115,153,194,.12), transparent 29rem),
    var(--paper);
}

.site-header {
  box-shadow: 0 8px 28px rgba(16,33,54,.045);
}

/* Strong page hero for topic, cluster and knowledge pages */
.topic-landing-page main > .topic-landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(30px, 4vw, 58px);
  padding: clamp(36px, 5vw, 74px) clamp(28px, 5.4vw, 82px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 87% 14%, rgba(184,255,90,.24), transparent 18rem),
    linear-gradient(132deg, var(--x25-polish-navy) 0%, var(--x25-polish-navy-2) 72%, #17324d 100%);
  color: #fff;
  box-shadow: 0 34px 90px rgba(13,29,49,.20);
}

.topic-landing-page main > .topic-landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 58%);
}

.topic-landing-page main > .topic-landing::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -85px;
  width: 320px;
  height: 320px;
  border: 52px solid rgba(184,255,90,.10);
  border-radius: 50%;
}

.topic-landing-page .topic-landing .eyebrow,
.topic-landing-page .topic-landing .hero-lead,
.topic-landing-page .topic-landing .topic-landing-points li,
.topic-landing-page .topic-landing .text-link {
  color: rgba(255,255,255,.80);
}

.topic-landing-page .topic-landing .heading-primary {
  max-width: 1100px;
  color: #fff;
  text-wrap: balance;
}

.topic-landing-page .topic-landing .hero-lead {
  max-width: 890px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.58;
}

.topic-landing-page .topic-landing .pulse-dot {
  box-shadow: 0 0 0 7px rgba(184,255,90,.13);
}

.topic-landing-page .topic-landing .topic-landing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.topic-landing-page .topic-landing .topic-landing-points li {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  font-size: 14px;
  font-weight: 760;
  backdrop-filter: blur(8px);
}

.topic-landing-page .topic-landing .topic-landing-points li::before {
  color: var(--x25-polish-lime);
}

.topic-landing-page .topic-landing .button-primary {
  border-color: var(--x25-polish-lime);
  background: var(--x25-polish-lime);
  color: var(--x25-polish-navy);
  box-shadow: 0 14px 32px rgba(184,255,90,.16);
}

.topic-landing-page .topic-landing .button-primary:hover,
.topic-landing-page .topic-landing .button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(184,255,90,.24);
}

/* Shared content surfaces */
.topic-landing-detail,
.topic-products,
.topic-wide-section,
.knowledge-intro,
.knowledge-article,
.public-readability-check,
.knowledge-readability-support {
  position: relative;
}

.topic-landing-page .topic-wide-section,
.topic-landing-page .knowledge-intro,
.topic-landing-page .knowledge-article,
.topic-landing-page .public-readability-check,
.topic-landing-page .knowledge-readability-support {
  margin-top: clamp(22px, 3vw, 38px);
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(16,33,54,.09);
  border-radius: clamp(20px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 94% 4%, rgba(184,255,90,.11), transparent 16rem),
    rgba(255,255,255,.91);
  box-shadow: var(--x25-polish-card-shadow);
}

.topic-landing-page .topic-wide-section::before,
.topic-landing-page .knowledge-intro::before,
.topic-landing-page .knowledge-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 3vw, 42px);
  width: 68px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: var(--x25-polish-lime);
}

.topic-landing-page .topic-wide-section > p,
.topic-landing-page .knowledge-article > p,
.topic-landing-page .knowledge-intro > p {
  max-width: 780px;
}

/* Grids: more depth, clearer visual rhythm */
.topic-grid,
.topic-section-grid,
.topic-product-grid {
  align-items: stretch;
}

.topic-card,
.topic-section-card,
.topic-product-card,
.flow-card,
.price-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(16,33,54,.10);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(16,33,54,.07);
}

.topic-card::after,
.topic-section-card::after,
.topic-product-card::after,
.flow-card::after,
.price-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  opacity: .9;
  background: linear-gradient(90deg, var(--x25-polish-lime), #d9ffab 58%, transparent);
}

.topic-card {
  min-height: 286px;
  padding: clamp(24px, 2vw, 32px);
  background:
    radial-gradient(circle at 92% 7%, rgba(184,255,90,.16), transparent 9rem),
    linear-gradient(180deg, #fff 0%, #fbfcfa 100%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.topic-card:hover {
  transform: translateY(-7px);
  border-color: rgba(142,203,63,.55);
  background:
    radial-gradient(circle at 92% 7%, rgba(184,255,90,.24), transparent 11rem),
    #fff;
  box-shadow: var(--x25-polish-card-shadow-hover);
}

.knowledge-card {
  counter-increment: x25knowledge;
}

.knowledge-grid {
  counter-reset: x25knowledge;
}

.knowledge-card::before {
  content: counter(x25knowledge, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16,33,54,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.84);
  color: rgba(16,33,54,.44);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.knowledge-card .knowledge-count {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  margin: 0 0 3px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--x25-polish-soft);
  color: #4a681f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.knowledge-card .heading-tertiary,
.topic-card .heading-tertiary {
  max-width: 92%;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.22;
}

.topic-card .text-link,
.knowledge-card .text-link {
  width: fit-content;
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(16,33,54,.055);
  transition: background .18s ease, transform .18s ease;
}

.topic-card .text-link:hover,
.knowledge-card .text-link:hover {
  background: var(--x25-polish-soft);
  transform: translateX(2px);
}

.topic-section-grid {
  gap: clamp(16px, 1.6vw, 24px);
}

.topic-section-card {
  min-height: 220px;
  height: 100%;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.topic-section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--x25-polish-card-shadow);
}

.topic-section-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--x25-polish-navy);
  color: var(--x25-polish-lime);
  font-size: 12px;
  font-weight: 900;
}

/* FAQ surfaces */
.topic-faq {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(26px, 3vw, 42px);
  border-radius: 28px;
  background: var(--x25-polish-navy);
  color: #fff;
  box-shadow: 0 28px 70px rgba(13,29,49,.16);
}

.topic-faq .heading-secondary {
  color: #fff;
}

.topic-faq details {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.topic-faq summary {
  padding: 17px 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 820;
}

.topic-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: rgba(255,255,255,.75);
}

/* Legal pages: same visual language, copy untouched */
.legal-page {
  position: relative;
  margin-top: clamp(28px, 4vw, 52px);
  margin-bottom: clamp(46px, 6vw, 82px);
  padding: clamp(26px, 4vw, 56px);
  border: 1px solid rgba(16,33,54,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.90);
  box-shadow: var(--x25-polish-card-shadow);
}

.legal-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 4vw, 56px);
  width: 82px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--x25-polish-lime);
}

.legal-page section,
.legal-summary {
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfcfa);
}

/* Home keeps its copy but gains a little more depth */
.hero-panel,
.flow-card,
.price-card,
.booking-teaser,
.trust-card,
.case-card {
  box-shadow: 0 16px 42px rgba(16,33,54,.075);
}

.hero-panel {
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184,255,90,.22), transparent 10rem),
    rgba(255,255,255,.90);
}

.flow-card,
.price-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.flow-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--x25-polish-card-shadow-hover);
}

@media (max-width: 768px) {
  .topic-landing-page main > .topic-landing {
    margin-top: 18px;
    padding: 30px 22px;
    border-radius: 22px;
  }
  .topic-landing-page main > .topic-landing::after {
    top: -95px;
    right: -115px;
  }
  .topic-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .topic-landing-page .topic-wide-section,
  .topic-landing-page .knowledge-intro,
  .topic-landing-page .knowledge-article,
  .topic-faq,
  .legal-page {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .knowledge-card::before {
    top: 18px;
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .topic-section-card,
  .flow-card,
  .price-card,
  .x25FastBooking {
    transition: none !important;
  }
}


/* Readability / proof blocks */
.topic-readability,
.public-readability-check {
  background:
    radial-gradient(circle at top right, rgba(184,255,90,.10), transparent 11rem),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,245,.98));
}
.topic-readability__head,
.public-readability-check__head {
  margin-bottom: 20px;
}
.topic-readability__grid,
.public-readability-grid,
.knowledge-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  align-items: stretch;
}
.topic-readability__item,
.public-readability-item,
.knowledge-support-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid rgba(17,34,60,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(17,34,60,.06);
}
.topic-readability__item p,
.public-readability-item p,
.knowledge-support-item p {
  margin: 0;
  color: #213044;
}
.knowledge-support-item__copy {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}
.knowledge-support-item__lead {
  color: var(--ink);
  font-weight: 720;
  line-height: 1.48;
}
.topic-readability__number,
.public-readability-item__number,
.knowledge-support-item__number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(184,255,90,.22);
  color: #173150;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}



@media (max-width: 980px) {
  .topic-readability__grid,
  .public-readability-grid,
  .knowledge-support-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

@media (max-width: 768px) {
}

/* ============================================================
   FINAL unified action dock + focused text tiles
   2026-10-17
   ============================================================ */

/* Canonical action dock. This block intentionally overrides every
   previous launcher position rule so desktop and mobile render the
   same component family. */
.x25ActionDock {
  position: fixed;
  right: 22px;
  bottom: 24px;
  top: auto;
  left: auto;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 292px;
  padding: 8px;
  border: 1px solid rgba(13,29,49,.11);
  border-radius: 24px;
  background: rgba(247,250,252,.90);
  box-shadow: 0 22px 60px rgba(13,29,49,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.x25ActionDock > .mcHpSidebarToggle,
.x25ActionDock > .x25FastBooking {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  border-radius: 17px;
  transform: none;
}

.x25ActionDock > .mcHpSidebarToggle {
  display: flex;
  min-height: 66px;
  height: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(184,255,90,.20);
  background: linear-gradient(145deg,#0d213b 0%,#17395c 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(13,29,49,.24);
}
.x25ActionDock > .mcHpSidebarToggle:hover,
.x25ActionDock > .mcHpSidebarToggle:focus-visible {
  border-color: rgba(184,255,90,.38);
  background: linear-gradient(145deg,#102844 0%,#1b4268 100%);
  box-shadow: 0 22px 50px rgba(13,29,49,.30);
  transform: translateY(-1px);
  outline: none;
}
.x25ActionDock .mcHpSidebarToggleIcon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #b8ff5a;
  color: #0d213b;
  box-shadow: inset 0 0 0 1px rgba(184,255,90,.18);
}
.x25ActionDock .mcHpSidebarToggleCopy {
  display: grid;
  min-width: 0;
  gap: 3px;
  text-align: left;
}
.x25ActionDock .mcHpSidebarToggleText {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.13;
  white-space: normal;
}
.x25ActionDock .mcHpSidebarToggleSubtext {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
}

.x25ActionDock > .x25FastBooking {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(184,255,90,.20);
  background: linear-gradient(145deg,#0d213b 0%,#17395c 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(13,29,49,.24);
}
.x25ActionDock > .x25FastBooking:hover,
.x25ActionDock > .x25FastBooking:focus-visible {
  background: linear-gradient(145deg,#102844 0%,#1b4268 100%);
  border-color: rgba(184,255,90,.38);
  box-shadow: 0 22px 50px rgba(13,29,49,.30);
  transform: translateY(-1px);
  outline: none;
}
.x25ActionDock .x25FastBooking__icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #b8ff5a;
  color: #0d213b;
}
.x25ActionDock .x25FastBooking__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.x25ActionDock .x25FastBooking__label {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.13;
  white-space: normal;
}
.x25ActionDock .x25FastBooking__subtext {
  display: block;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
}

html.mcHpSidebarOpen .x25ActionDock,
body.mcHpSidebarOpen .x25ActionDock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Public SEO/GEO audit prose follows the same card language. */
.audit-explainer {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 14px !important;
}
.audit-explainer > .step,
.audit-explainer > .heading-tertiary,
.audit-explainer > .audit-explainer-grid {
  grid-column: 1 / -1 !important;
}
.audit-explainer > p.audit-explainer-lead,
.audit-explainer > p.audit-explainer-note,
.audit-interpretation > p:not(.heading-tertiary),
.audit-visual-copy > p {
  position: relative !important;
  margin: 0 !important;
  padding: 16px 17px 16px 19px !important;
  border: 1px solid rgba(17,34,60,.085) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,251,248,.98)) !important;
  color: #203047 !important;
  box-shadow: 0 10px 26px rgba(17,34,60,.055) !important;
}
.audit-explainer > p.audit-explainer-lead::before,
.audit-explainer > p.audit-explainer-note::before,
.audit-interpretation > p:not(.heading-tertiary)::before,
.audit-visual-copy > p::before {
  content: "" !important;
  position: absolute !important;
  top: 15px !important;
  left: 0 !important;
  width: 4px !important;
  height: 24px !important;
  border-radius: 0 6px 6px 0 !important;
  background: #b8ff5a !important;
}
.audit-interpretation {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  width: var(--shell);
  min-width: 0;
  margin: 0 auto clamp(44px, 5vw, 72px);
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff 0%, #f7ffec 100%);
  box-shadow: var(--shadow);
}
.audit-interpretation > .heading-tertiary {
  margin: 0;
}
@media (max-width: 620px) {
  .audit-interpretation {
    padding: 20px;
    border-radius: 18px;
    gap: 12px !important;
  }
}
@media (max-width: 900px) {
  .audit-explainer { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PREMIUM TYPOGRAPHY SYSTEM · 2026-10-17
   Local/system fonts only: no external requests, no layout flash.
   ============================================================ */
:root {
  --x25-font-text: "Aptos", "Avenir Next", "Segoe UI Variable Text", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --x25-font-display: "Aptos Display", "Avenir Next", "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --x25-font-ui: "Aptos", "Segoe UI Variable Text", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--x25-font-text) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body {
  font-weight: 400 !important;
  line-height: 1.58 !important;
  letter-spacing: -0.006em;
}

p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
li,
dd,
dt,
blockquote,
.topic-card p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.topic-wide-section p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.knowledge-card p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.knowledge-article p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.knowledge-intro p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.legal-page p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.audit-explainer p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
.audit-interpretation p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3) {
  font-family: var(--x25-font-text) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: -0.004em;
}

/* Display hierarchy */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-primary,
.heading-secondary,
.heading-tertiary,
.visual-h3,
.hero-title,
.topic-card-title,
.topic-section-heading,
.mcHpChatHeaderTitle {
  font-family: var(--x25-font-display) !important;
  text-wrap: balance;
  font-kerning: normal;
}

h1,
.heading-primary,
.hero-title,
.topic-landing .heading-primary,
.legal-page .heading-primary,
.success-card .heading-primary {
  font-weight: 810 !important;
  letter-spacing: -0.045em !important;
  line-height: .98 !important;
}

h2,
.heading-secondary,
.section-heading .heading-secondary,
.topic-landing .heading-secondary,
.legal-page .heading-secondary,
.availability-section .heading-secondary,
.trust-copy .heading-secondary,
.cta-content .heading-secondary,
.why-copy .heading-secondary {
  font-weight: 780 !important;
  letter-spacing: -0.032em !important;
  line-height: 1.04 !important;
}

h3,
.heading-tertiary,
.visual-h3,
.topic-card .heading-tertiary,
.flow-card .heading-tertiary,
.price-card .heading-tertiary,
.why-card .heading-tertiary,
.anna-card .heading-tertiary,
.cert-group .heading-tertiary,
.dialog-topbar .heading-secondary {
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
}

/* Leads and supporting copy */
.hero-lead,
.section-heading > p,
.topic-section-heading > p,
.topic-landing > p:not(.eyebrow),
.knowledge-intro > p,
.audit-hero p,
.cta-private-booking-text {
  font-weight: 430 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.008em !important;
}

/* Eyebrows and micro labels */
.eyebrow,
.step,
.badge,
.kicker,
.topic-card-kicker,
.cert-showcase-head,
.topic-readability__number,
.public-readability-item__number {
  font-family: var(--x25-font-ui) !important;
  font-weight: 720 !important;
  letter-spacing: .075em !important;
}

/* Navigation and chrome */
.site-nav a,
.header-actions,
.footer-links a,
.footer-bottom,
.footer-business,
.language-switch,
.cart-button,
.nav-toggle {
  font-family: var(--x25-font-ui) !important;
}
.site-nav a {
  font-weight: 620 !important;
  letter-spacing: -.01em !important;
}
.brand b {
  font-family: var(--x25-font-display) !important;
  font-weight: 720 !important;
  letter-spacing: -.028em !important;
}
.brand small {
  font-weight: 500 !important;
  letter-spacing: .005em !important;
}

/* Actions: confident, not over-bold */
button,
.button,
a.button,
[role="button"],
.x25FastBooking,
.mcHpSidebarToggle,
.cookie-actions button {
  font-family: var(--x25-font-ui) !important;
  font-weight: 680 !important;
  letter-spacing: -.012em !important;
}
.x25ActionDock .mcHpSidebarToggleText,
.x25ActionDock .x25FastBooking__label {
  font-family: var(--x25-font-display) !important;
  font-weight: 720 !important;
  letter-spacing: -.018em !important;
}
.x25ActionDock .mcHpSidebarToggleSubtext,
.x25ActionDock .x25FastBooking__subtext {
  font-family: var(--x25-font-ui) !important;
  font-weight: 520 !important;
  letter-spacing: 0 !important;
}

/* Forms */
input,
textarea,
select,
.field select,
.field input,
.field textarea,
label,
legend {
  font-family: var(--x25-font-ui) !important;
}
label,
legend,
.field-label {
  font-weight: 620 !important;
  letter-spacing: -.008em !important;
}
input,
textarea,
select,
.field select,
.field input,
.field textarea {
  font-weight: 450 !important;
  letter-spacing: -.005em !important;
}

strong,
b {
  font-weight: 680 !important;
}
small,
.helper-text,
.muted,
.caption {
  font-weight: 450 !important;
  letter-spacing: 0 !important;
}

/* Cards: hierarchy without visual shouting */
.topic-card,
.flow-card,
.price-card,
.why-card,
.anna-card,
.knowledge-card,
.topic-readability__item,
.public-readability-item {
  font-family: var(--x25-font-text) !important;
}
.topic-card strong,
.flow-card strong,
.price-card strong,
.knowledge-card strong,
.topic-readability__item strong,
.public-readability-item strong {
  font-weight: 650 !important;
}

/* Desktop rhythm */
@media (min-width: 931px) {
  .heading-primary,
  .hero-title {
    letter-spacing: -0.048em !important;
  }
  .site-nav a {
    font-size: 14.5px !important;
  }
}

/* Mobile needs slightly softer tracking and more breathing room. */
@media (max-width: 930px) {
  h1,
  .heading-primary,
  .hero-title,
  .topic-landing .heading-primary,
  .legal-page .heading-primary {
    letter-spacing: -0.038em !important;
    line-height: 1.01 !important;
  }
  h2,
  .heading-secondary,
  .topic-landing .heading-secondary,
  .legal-page .heading-secondary {
    letter-spacing: -0.026em !important;
    line-height: 1.07 !important;
  }
  p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
  li,
  .topic-card p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
  .topic-wide-section p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3),
  .knowledge-card p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3) {
    line-height: 1.58 !important;
  }
}


/* ============================================================
   CANONICAL PUBLIC UI RULES · 2026-10-17
   No global button-width overrides. Booking controls keep their own layout.
   ============================================================ */

/* Content CTAs follow their label. Form/booking controls are deliberately excluded. */
.hero-actions > .button,
.topic-actions > .button,
.cta-content > .button,
.availability-section .button,
.booking-teaser .button,
.trust-section .button,
.topic-card .button,
.topic-product-card .button,
.price-card .button,
.legal-page a.button,
.success-help a.button,
.cancel-card a.button,
.home-audit-form button {
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  justify-self: start;
  align-self: start;
}

/* Booking UI owns its sizing; no public-page CTA rule may stretch or shrink it. */
.booking-dialog button,
.booking-dialog [role="button"] {
  max-width: 100%;
}
.booking-dialog .slot-choice {
  width: auto;
  min-width: 102px;
  flex: 0 0 auto;
}
.booking-dialog .date-choice,
.booking-dialog .dialog-package,
.booking-dialog .dialog-topic,
.booking-dialog .delivery-toggle button,
.booking-dialog .address-suggestions button {
  width: 100%;
}

/* Cookie consent must always win over floating actions and chat UI. */
.cookie-banner {
  z-index: 2147483647;
}
body:has(.cookie-banner:not([hidden])) .x25ActionDock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body:has(.cookie-banner:not([hidden])) #mc-hp-chat-section {
  pointer-events: none;
}

/* Explicit contrast tokens for every dark public surface. */
.availability-section,
.cta-section,
.site-footer,
.topic-landing-page main > .topic-landing {
  --x25-on-dark: #f8fbff;
  --x25-on-dark-muted: rgba(248,251,255,.82);
  --x25-on-dark-soft: rgba(248,251,255,.68);
}
.availability-section .heading-primary,
.availability-section .heading-secondary,
.availability-section .heading-tertiary,
.availability-section .visual-h3,
.cta-section .heading-primary,
.cta-section .heading-secondary,
.cta-section .heading-tertiary,
.cta-section .visual-h3,
.topic-landing-page main > .topic-landing .heading-primary,
.topic-landing-page main > .topic-landing .heading-secondary,
.topic-landing-page main > .topic-landing .heading-tertiary,
.topic-landing-page main > .topic-landing .visual-h3 {
  color: var(--x25-on-dark);
}
.availability-section p:not(.eyebrow),
.availability-section .hero-lead,
.cta-section p:not(.eyebrow),
.cta-section .cta-private-booking-text,
.topic-landing-page main > .topic-landing .hero-lead,
.topic-landing-page main > .topic-landing .topic-landing-points li {
  color: var(--x25-on-dark-muted);
}
.availability-section .eyebrow,
.cta-section .eyebrow,
.topic-landing-page main > .topic-landing .eyebrow {
  color: var(--x25-on-dark-soft);
}
.availability-section .accent,
.cta-section .accent,
.topic-landing-page main > .topic-landing .accent {
  color: #b8ff5a;
}

@media (max-width: 768px) {
  .hero-actions > .button,
  .topic-actions > .button,
  .cta-content > .button,
  .availability-section .button,
  .booking-teaser .button,
  .trust-section .button,
  .topic-card .button,
  .topic-product-card .button,
  .price-card .button,
  .legal-page a.button,
  .success-help a.button,
  .cancel-card a.button,
  .home-audit-form button {
    width: fit-content;
    max-width: 100%;
  }
  .cookie-actions button {
    width: fit-content;
    max-width: 100%;
  }
}


/* ============================================================
   CARD GRID SYSTEM · HOME · 2026-10-17
   ============================================================ */
@media (min-width: 931px) {
  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .flow-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
  .flow-card {
    min-height: 0;
  }
  .flow-card span {
    margin-bottom: 30px;
  }

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


  .home-seo-depth__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .home-seo-depth__grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (min-width: 1280px) {
  .price-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }
  .price-grid > .price-card {
    grid-column: span 3;
    width: auto;
    min-height: 0;
    justify-self: stretch;
  }
  .price-grid:has(> :last-child:nth-child(4n + 3)) > .price-card:nth-last-child(-n + 3) {
    grid-column: span 4;
  }
  .price-grid > :last-child:nth-child(odd) {
    grid-column: span 4;
    width: auto;
    justify-self: stretch;
  }
}

.price-card {
  min-height: 0;
  min-width: 0;
}
.price-card .price-meta {
  flex: 1 1 auto;
  margin-bottom: 18px;
}
.price-card .price-row {
  margin-top: auto;
}
.price-card.featured,
.price-card.featured .heading-tertiary,
.price-card.featured .price,
.price-card.featured .package-name,
.price-card.featured .package-details,
.price-card.featured p {
  color: #fff !important;
}
.price-card.featured .price-meta,
.price-card.featured .price-vat,
.price-card.featured .price-duration,
.price-card.featured .article-number,
.price-card.featured .price-label {
  color: rgba(255,255,255,.82) !important;
}

.topic-card {
  min-height: 0;
}
.topic-card .topic-offer {
  margin-top: auto;
}
.topic-card .topic-card-actions {
  margin-top: 0;
  padding-top: 14px;
}

.home-seo-depth__card {
  height: 100%;
}

@media (min-width: 931px) and (max-width: 1279px) {
  .price-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .price-grid > .price-card {
    grid-column: span 3;
    width: auto;
    justify-self: stretch;
  }
  .price-grid > .price-card:nth-last-child(-n + 3) {
    grid-column: span 2;
  }
  .price-grid > :last-child:nth-child(odd) {
    width: auto;
    justify-self: stretch;
  }
  .life-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-seo-depth__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .flow-grid,
  .life-example-grid,
  .price-grid,
  .home-seo-depth__grid {
    grid-template-columns: 1fr;
  }
  .price-grid > .price-card,
  .price-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}


/* Compact readability/support tiles: avoid another tall 2-column card wall. */
@media (min-width: 1181px) {
  .public-readability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
  }
  .public-readability-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
  .public-readability-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }
  .public-readability-item__number {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .public-readability-item__copy {
    gap: 5px;
  }
  .public-readability-item strong {
    font-size: 14px;
    line-height: 1.35;
  }
  .public-readability-item p {
    font-size: 13.5px;
    line-height: 1.4;
  }
}

/* ============================================================
   FINAL HOME LAYOUT POLISH · 2026-10-17
   One canonical block for spacing, card rhythm and action-dock balance.
   ============================================================ */

/* Knowledge CTA: compact, even vertical rhythm. */
.home-knowledge-link .hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: start;
  align-items: start;
  column-gap: clamp(20px, 2vw, 34px);
  row-gap: 12px;
  margin: 24px 0 0;
}
.home-knowledge-link .hero-points li {
  white-space: normal;
}
.home-knowledge-link > .button,
.home-knowledge-link > .button-dark {
  margin-top: 18px;
}

/* Action dock: bottom arrow visually matches the upper sparkle icon. */
.x25ActionDock .x25FastBooking__icon svg {
  width: 20px;
  height: 20px;
}

/* Prices + topics: one coherent section rhythm. */
.booking-teaser {
  padding-top: clamp(56px, 5vw, 72px);
  padding-bottom: clamp(52px, 5vw, 68px);
}
.booking-teaser .teaser-top {
  align-items: start;
  gap: 16px;
  margin-bottom: 0;
}
.booking-teaser .teaser-top > div {
  display: grid;
  gap: 8px;
}
.booking-teaser .teaser-top .eyebrow,
.booking-teaser .teaser-top .heading-tertiary {
  margin: 0;
}
.booking-teaser .price-grid {
  margin-top: 24px;
}
.booking-teaser .topic-search {
  width: 100%;
  max-width: none;
  margin-top: 34px;
}
.booking-teaser .topic-search input {
  min-height: 56px;
  border-radius: 16px;
}
.booking-teaser .topic-grid {
  margin-top: 24px;
  align-items: stretch;
}
.booking-teaser .topic-actions {
  margin-top: 18px;
}

/* Topic cards: icon, title, copy, recommendation and actions stay aligned. */
.booking-teaser .topic-card {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: 44px minmax(58px, auto) minmax(92px, 1fr) auto auto;
  align-content: stretch;
  min-width: 0;
  row-gap: clamp(12px, 1vw, 16px);
}
.booking-teaser .topic-card .heading-tertiary {
  align-self: start;
  margin: 0;
}
.booking-teaser .topic-card > p:not(.heading-primary):not(.heading-secondary):not(.heading-tertiary):not(.visual-h3) {
  align-self: start;
  margin: 0;
}
.booking-teaser .topic-card .topic-offer {
  min-height: 68px;
  margin-top: 0;
  align-content: center;
  overflow-wrap: break-word;
}
.booking-teaser .topic-card .topic-card-actions {
  min-height: 40px;
  margin-top: 0;
  padding: 0;
  align-items: center;
  align-self: end;
}
.booking-teaser .topic-card .topic-card-actions .button,
.booking-teaser .topic-card .topic-card-actions .text-link {
  min-height: 40px;
}


@media (min-width: 1280px) {
  .booking-teaser .topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 651px) and (max-width: 1279px) {
  .booking-teaser .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The normal browse state uses 12 / 24 / 36 cards, so rows are complete
   in both the 4-column desktop and 2-column laptop/tablet grids. Search
   results may be odd; in that case the final card stays a normal card. */
.booking-teaser .topic-grid > :last-child:nth-child(odd) {
  grid-column: auto;
  width: auto;
  max-width: none;
  justify-self: stretch;
}

/* Price cards: keep the bottom controls on a clean baseline. */
.booking-teaser .price-card {
  height: 100%;
  min-width: 0;
  align-items: stretch;
}
.booking-teaser .price-card .price-meta {
  margin-bottom: 18px;
}
.booking-teaser .price-card .price-row {
  margin-top: auto;
}
.booking-teaser .price-card button {
  margin-top: 0;
}


@media (max-width: 980px) {
  .home-knowledge-link .hero-points {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 22px;
  }
}

@media (max-width: 760px) {
  .booking-teaser {
    padding-top: 42px;
    padding-bottom: 44px;
  }
  .booking-teaser .topic-search {
    margin-top: 26px;
  }
  .booking-teaser .topic-grid {
    margin-top: 20px;
  }
  .booking-teaser .topic-actions {
    margin-top: 14px;
  }
  .booking-teaser .topic-card {
    grid-template-rows: 44px auto auto auto auto;
    row-gap: 13px;
  }
  .booking-teaser .topic-card .topic-offer {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-knowledge-link .hero-points {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .home-knowledge-link > .button,
  .home-knowledge-link > .button-dark {
    margin-top: 14px;
  }
}


/* 2026-10-18: A single rhythm for public topic and knowledge pages. */
.topic-landing-page {
  --x25-section-gap: clamp(26px, 3.1vw, 46px);
  --x25-content-gap: clamp(10px, 1.3vw, 16px);
}
.topic-landing-page .topic-landing > .eyebrow { margin-block: 0 10px; }
.topic-landing-page .topic-landing > .heading-primary { margin-block: 0 14px; }
.topic-landing-page .topic-landing > .hero-lead { margin-block: 0; max-width: 76ch; }
.topic-landing-page .topic-landing > .hero-actions { margin-block: 16px 0; }
.topic-landing-page .topic-landing { padding-bottom: var(--x25-section-gap); }
.topic-landing-page .topic-wide-section { margin-block: 0; }
.topic-landing-page .topic-wide-section + .topic-wide-section,
.topic-landing-page .topic-landing-detail + .topic-wide-section,
.topic-landing-page .topic-wide-section + .topic-landing-detail { margin-top: var(--x25-section-gap); }
.topic-landing-page .topic-wide-section > .heading-secondary,
.topic-landing-page .topic-wide-section > .heading-tertiary,
.topic-landing-page .topic-wide-section > .visual-h3 { margin-block: 0; }
.topic-landing-page .topic-wide-section > .heading-secondary + *,
.topic-landing-page .topic-wide-section > .heading-tertiary + *,
.topic-landing-page .topic-wide-section > .visual-h3 + * { margin-top: var(--x25-content-gap); }
.topic-landing-page .topic-landing-detail { gap: var(--x25-content-gap); }
.topic-landing-page .topic-landing-detail > .heading-tertiary,
.topic-landing-page .topic-landing-detail > .visual-h3,
.topic-landing-page .topic-landing-detail > p { margin-block: 0; }
.topic-landing-page .topic-landing-detail > .topic-grid { margin-top: 8px; }
.topic-landing-page .topic-landing-detail > .topic-grid + .heading-tertiary,
.topic-landing-page .topic-landing-detail > .topic-grid + .visual-h3 { margin-top: clamp(20px, 2.3vw, 32px); }
.topic-landing-page .topic-card { align-content: start; row-gap: 10px; }
.topic-landing-page .topic-card > .heading-tertiary,
.topic-landing-page .topic-card > .visual-h3,
.topic-landing-page .topic-card > p { margin-block: 0; }
.topic-landing-page .topic-card > .text-link { justify-self: start; margin-top: auto; }
.topic-landing-page .knowledge-article__group { gap: var(--x25-content-gap); }
.topic-landing-page .knowledge-article__group > :is(.heading-secondary, .heading-tertiary, .visual-h3, .knowledge-article__label) { margin-block: 0; }
.topic-landing-page .knowledge-article .knowledge-prose-grid { margin-block: 0; }

/* The editorial check replaces word-filler tiles on all generated public pages. */
.topic-landing-page .public-readability-check {
  padding: clamp(21px, 2.6vw, 32px);
  margin-top: var(--x25-section-gap);
  margin-bottom: clamp(32px, 4vw, 56px);
  border-radius: 22px;
  background: linear-gradient(128deg, #fff 0%, #fff 65%, #f4ffe6 100%);
}
.topic-landing-page .public-readability-check__head { display: grid; gap: 7px; margin: 0 0 18px; }
.topic-landing-page .public-readability-check__head > .visual-h3 { margin: 0; }
.topic-landing-page .public-readability-check__head > p:not(.visual-h3) { margin: 0; color: var(--muted, #4c5d6b); line-height: 1.5; }
.topic-landing-page .public-readability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
.topic-landing-page .public-readability-item {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start;
  gap: 11px; min-width: 0; min-height: 118px; padding: 19px;
  border-radius: 17px; border: 1px solid rgba(16, 33, 54, .09);
  background: #fff; box-shadow: 0 8px 22px rgba(16, 33, 54, .04);
}
.topic-landing-page .public-readability-item__number {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 11px; background: #eaffd4; color: #1b3635;
  font-size: 11px; font-weight: 800;
}
.topic-landing-page .public-readability-item__copy { display: grid; gap: 8px; min-width: 0; align-content: start; }
.topic-landing-page .public-readability-item__lead { display: block; margin: 0; font-size: 15.5px; font-weight: 780; line-height: 1.28; color: var(--ink); }
.topic-landing-page .public-readability-item__copy > p { margin: 0; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 740px) {
  .topic-landing-page .public-readability-check { margin-top: 24px; margin-bottom: 36px; border-radius: 18px; }
  .topic-landing-page .public-readability-grid { grid-template-columns: 1fr; gap: 10px; }
  .topic-landing-page .public-readability-item { min-height: 0; padding: 15px; border-radius: 14px; }
  .topic-landing-page .topic-landing-detail > .topic-grid { margin-top: 2px; }
}

.topic-landing-page .topic-section-heading { margin: 0; }
.topic-landing-page .topic-section-heading > :is(.heading-secondary, .heading-tertiary) { margin: 0; }
.topic-landing-page .topic-section-heading + .topic-section-grid { margin-top: 2px; }
.topic-landing-page .topic-landing-detail > :is(.topic-wide-section, .topic-faq) { margin-top: clamp(12px, 1.65vw, 22px); }
.topic-landing-page .topic-faq > :is(.heading-secondary, .heading-tertiary) { margin: 0 0 12px; }
.topic-landing-page .topic-section-card > :is(.heading-secondary, .heading-tertiary) { margin-block: 0 9px; }
.topic-landing-page .topic-section-card > p { margin-block: 0; }
