/* Contact modes and transparent prices, using the existing visual language. */
.chat-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.2rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-tabs { display: flex; gap: 1.3rem; min-width: 0; }
.chat-tabs [role="tab"] { min-height: 48px; padding: .7rem .1rem; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font: inherit; font-size: .9rem; }
.chat-tabs [aria-selected="true"] { border-color: var(--accent); color: var(--navy); font-weight: 650; }
.chat-tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 8px 8px 0 0; }
.chat-price-shortcut { flex-shrink: 0; min-height: 48px; padding: .7rem 0; color: var(--navy); background: transparent; font: inherit; font-size: .86rem; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .25em; cursor: pointer; }
.chat-price-shortcut:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat-shell[data-reading="true"] .chat-navigation { display: none; }
.chat-keyword-suggestion { margin: 0 0 .65rem; padding: .1rem .8rem .7rem; border: 1px solid var(--line); border-radius: 13px; background: #f3f5f8; }
.chat-keyword-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: var(--muted); font-size: .73rem; }
.chat-keyword-heading button { min-height: 36px; padding: .25rem 0 .25rem .5rem; background: none; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.chat-keyword-question { display: block; width: 100%; min-height: 44px; padding: .45rem .7rem; border: 1px solid #bac1cd; border-radius: 9px; text-align: left; color: var(--navy); background: var(--paper); font: inherit; font-size: .88rem; line-height: 1.4; cursor: pointer; }
.chat-keyword-questions { display: grid; gap: .4rem; }
.chat-reader .chat-testimonial { margin-bottom: 1rem; }
.chat-reader .chat-testimonial blockquote { font-size: 1rem; }
.chat-keyword-suggestion button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chat-shell[data-stage="form"] .chat-reset { display: none; }
.chat-shell[data-stage="form"] .chat-contact-details { border: 0; margin: 0; padding: 0; }
.chat-shell[data-stage="form"] #chat-email-question,
.chat-shell[data-stage="form"] #chat-continue,
.chat-shell[data-stage="form"] #chat-edit { display: none; }
.chat-shell[data-stage="form"] .chat-compose { display: block; margin-top: 1rem; padding: 0; border: 0; border-radius: 0; background: none; }
.chat-shell[data-stage="form"] .chat-compose:focus-within { box-shadow: none; }
.chat-shell[data-stage="form"] .chat-compose label { position: static; width: auto; height: auto; margin: 0 0 .4rem; overflow: visible; clip: auto; clip-path: none; white-space: normal; display: block; font-size: .84rem; }
.chat-shell[data-stage="form"] .chat-message-box { grid-template-columns: minmax(0, 1fr); border: 1px solid #b8bdc3; border-radius: 6px; background: var(--paper); }
.chat-shell[data-stage="form"] .chat-message-box:focus-within { border-color: #7889aa; box-shadow: 0 0 0 4px rgba(120, 137, 170, .16); }
.chat-shell[data-stage="form"] .chat-message-box:has([aria-invalid="true"]) { border-color: #9c3327; }
.chat-shell[data-stage="form"] .chat-compose textarea { display: block; width: 100%; min-height: 140px; max-height: 280px; resize: vertical; padding: .7rem; border: 0; border-radius: 6px; background: transparent; }
.chat-shell[data-stage="form"] .chat-compose textarea:focus-visible { outline: none; box-shadow: none; }
.chat-shell[data-stage="form"] .chat-final-actions { justify-content: flex-start; }
.chat-inline-action { display: inline; padding: 0; color: inherit; background: transparent; font: inherit; text-align: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; cursor: pointer; }
.chat-inline-action:hover { text-decoration-thickness: 2px; }
.chat-inline-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.hero-video-invite { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; margin-top: 1.15rem; padding: .65rem 1rem; border: 1px solid #d3bb8e; border-radius: 12px; color: #17213b; background: #f1e4cd; font: inherit; font-size: .95rem; line-height: 1.4; text-align: left; cursor: pointer; }
.hero-video-invite:hover { background: #fff0d5; }
.chat-next .chat-suggestions button.chat-video-choice, .chat-reader-end .chat-video-choice { min-height: 44px; padding: .6rem .9rem; border: 1px solid #cbb58f; border-radius: 18px; background: #f4ead8; color: #60491f; font: inherit; font-size: .88rem; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.chat-next .chat-suggestions button.chat-video-choice:hover, .chat-reader-end .chat-video-choice:hover { background: #ecddc1; border-color: #987a46; }
.hero-video-invite:focus-visible, .chat-video-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chat-reader-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.chat-video-link { min-height: 44px; padding: .4rem 0; color: var(--navy); background: transparent; font: inherit; font-size: .9rem; text-align: left; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; cursor: pointer; }
.chat-video-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.chat-video-option { display: none; margin: .4rem 0 0; }
.chat-shell[data-stage="form"] .chat-video-option:not([hidden]) { display: block; }
.chat-price-comparison { min-width: 0; }
.chat-price-open { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--navy); border-radius: 10px; color: var(--paper); background: var(--navy); font: inherit; font-weight: 650; cursor: pointer; }
.chat-price-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chat-price-services { min-width: 0; margin: 0; padding: 0; border: 0; }
.chat-price-services legend { padding: 0; margin: 0 0 .7rem; font-weight: 650; font-size: 1rem; }
.chat-price-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.chat-price-options label { position: relative; flex: 1 1 70px; cursor: pointer; }
.chat-price-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chat-price-options span { min-height: 44px; display: flex; justify-content: center; align-items: center; padding: .5rem; border: 1px solid #bac1cd; border-radius: 9px; background: var(--paper); color: var(--navy); font-size: .9rem; }
.chat-price-options input:checked + span { color: white; background: var(--price-accent, var(--navy)); border-color: var(--price-accent, var(--navy)); }
.chat-price-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chat-price-results { margin-top: .5rem; }
.price-dialog-open { overflow: hidden; }
.price-dialog { --price-surface: #fff; --price-soft: #edf0f5; --price-accent: #142648; width: min(800px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 24px; color: var(--navy); background: var(--price-surface); box-shadow: 0 24px 100px rgba(0, 0, 0, .3); overflow: clip; transform-origin: var(--price-dialog-origin, 50% 80%); transition: background-color .3s ease; }
:is(.price-dialog, .price-details-dialog)[data-price-service="training"] { --price-surface: #f0f4fa; --price-soft: #d8e3f4; --price-column: #e5ecf7; --price-accent: #142648; }
:is(.price-dialog, .price-details-dialog)[data-price-service="nutrition"] { --price-surface: #edf5ef; --price-soft: #d5e7db; --price-column: #e0eee4; --price-accent: #275344; }
:is(.price-dialog, .price-details-dialog)[data-price-service="combined"] { --price-surface: #ffffff; --price-soft: #efe6d7; --price-column: #f5f0e7; --price-accent: #0b1837; --price-emphasis: #896a37; }
.price-dialog[open] { display: flex; flex-direction: column; animation: price-dialog-in .24s cubic-bezier(.2,.8,.2,1) both; }
.price-dialog::backdrop { background: rgba(5, 14, 35, .64); backdrop-filter: blur(5px); animation: price-backdrop-in .24s ease both; }
.price-dialog.is-closing { animation: price-dialog-out .14s ease both; }
.price-dialog.is-closing::backdrop { animation: price-backdrop-in .14s ease reverse both; }
.price-dialog-header { flex: 0 0 auto; padding: .65rem 1.6rem .9rem; border-bottom: 1px solid var(--line); }
.price-dialog-back { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .25rem 0; background: transparent; color: var(--navy); font: inherit; font-size: .85rem; cursor: pointer; }
.price-dialog-back span { font-size: 1.3rem; }
.price-dialog h2 { margin: .25rem 0 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.price-dialog h2:focus { outline: none; }
.price-dialog-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: .85rem 1.6rem; }
.price-dialog-footer { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .25rem 1.2rem; padding: .8rem 1.6rem; border-top: 1px solid var(--line); }
.price-dialog-video { margin-right: auto; }
.price-guide-video { margin-top: .8rem; }
.price-dialog-write { min-height: 48px; padding: .65rem 1.35rem; border-radius: 9px; background: var(--price-accent); color: #fff; font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer; }
.price-dialog button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.price-comparison-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .92rem; line-height: 1.5; }
.price-feature-column { width: 32%; }
.price-comparison-table th, .price-comparison-table td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: center; }
.price-comparison-table thead th { padding-top: 0; padding-bottom: .7rem; }
.price-comparison-table tbody th { padding-left: .85rem; text-align: left; font-weight: 550; }
.price-plan-name { display: block; color: var(--navy); font-size: .92rem; line-height: 1.25; font-weight: 700; }
.price-comparison-table [data-price-plan], .price-startup-toggle { min-height: 44px; padding: .35rem .15rem; color: var(--price-accent); background: transparent; font: inherit; font-size: .8rem; font-weight: 500; line-height: 1.25; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.price-comparison-table [data-price-plan] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; width: 100%; min-height: 54px; margin: 0; text-decoration: none; }
.price-plan-action { text-decoration: underline; text-underline-offset: .22em; }
.price-table-amount { display: block; margin-top: .4rem; font-size: clamp(1.45rem, 3.5vw, 2.1rem); letter-spacing: -.045em; line-height: 1.2; white-space: nowrap; }
.price-table-period { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 400; color: var(--muted); }
.price-included { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--price-accent); background: var(--price-soft); font-size: 1.05rem; }
.price-collaboration-row td { font-size: .86rem; }
.price-row-note { display: block; margin-top: .2rem; color: var(--muted); font-size: .75rem; font-weight: 400; }
.price-table-fee { font-weight: 650; }
.price-startup-toggle { display: block; margin: 0 auto -.3rem; text-align: center; }
.price-comparison-table .price-shared-start > * { background: var(--price-soft); border-bottom: 0; font-size: .84rem; color: var(--price-accent); }
.price-comparison-table .price-shared-start > th { padding-left: .85rem; border-radius: 9px 0 0 9px; }
.price-comparison-table .price-shared-start > td { border-radius: 0 9px 9px 0; font-weight: 650; }
.price-feature-row { position: relative; transition: transform .18s ease, filter .18s ease; }
.price-feature-row > * { transition: background-color .18s ease; }
.price-feature-row:focus-within > * { background: #fff; }
.price-difference-text { display: block; padding: .5rem; border-radius: 8px; }
.price-collaboration-emphasis { color: var(--navy); font-weight: 700; }
.price-guide-open { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 0; margin-top: .3rem; color: var(--price-accent); background: transparent; font: inherit; font-size: .87rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.price-guide { max-width: 570px; margin: .3rem auto .7rem; }
.price-guide fieldset { margin: 1rem 0; padding: 0; min-width: 0; border: 0; }
.price-guide legend, .price-guide h3 { margin: 0 0 1rem; font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 650; line-height: 1.3; }
.price-guide [tabindex="-1"]:focus { outline: none; }
.price-guide-progress { margin: 0 0 .55rem; font-size: .82rem; color: var(--muted); }
.price-guide progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 4px; overflow: hidden; accent-color: var(--price-accent); background: var(--price-soft); }
.price-guide progress::-webkit-progress-bar { background: var(--price-soft); }
.price-guide progress::-webkit-progress-value { background: var(--price-accent); }
.price-guide-options { display: grid; gap: .65rem; }
.price-guide-options label, .price-guide-service { display: flex; align-items: center; gap: .75rem; min-height: 58px; padding: .85rem 1rem; border: 1px solid #bac1cd; border-radius: 12px; background: var(--paper); color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.price-guide-options input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--price-accent); }
.price-guide-options label:has(input:checked) { background: var(--price-soft); border-color: var(--price-accent); }
.price-guide-options label:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.price-guide-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.4rem; }
.price-guide-primary { margin-left: auto; min-height: 46px; padding: .65rem 1rem; border-radius: 9px; background: var(--price-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.price-guide-primary:disabled { opacity: .45; cursor: default; }
.price-guide-secondary { min-height: 44px; padding: .5rem 0; background: transparent; color: var(--price-accent); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.price-guide-hint { margin: .2rem 0 1rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.price-guide-result-price { margin: 1.4rem 0 .15rem; }
.price-guide-result-price strong { font-size: 1.9rem; letter-spacing: -.035em; }
.price-guide-result-price span { font-size: .85rem; color: var(--muted); }
.price-guide-result-note { padding: 1rem; border-radius: 12px; background: var(--price-soft); font-size: .95rem; line-height: 1.55; }
.price-comparison-table [data-price-column] { transition: background-color .18s ease, box-shadow .18s ease; }
.price-comparison-table thead [data-price-column] { border-radius: 12px 12px 0 0; }
.price-comparison-table tbody tr:last-child [data-price-column] { border-radius: 0 0 12px 12px; }
.price-comparison-table:has(thead [data-price-column="closer"] :focus-visible) [data-price-column="closer"],
.price-comparison-table:has(thead [data-price-column="independent"] :focus-visible) [data-price-column="independent"] { background: var(--price-column); box-shadow: inset 2px 0 0 var(--price-soft), inset -2px 0 0 var(--price-soft); }
@media (hover: hover) and (pointer: fine) {
  .price-feature-row:hover { z-index: 1; transform: translateY(-2px); filter: drop-shadow(0 5px 6px rgba(14, 29, 49, .1)); }
  .price-feature-row:hover > * { background: #fff; }
  .price-feature-row:hover > :first-child { border-radius: 9px 0 0 9px; }
  .price-feature-row:hover > :last-child { border-radius: 0 9px 9px 0; }
  .price-comparison-table:has(thead [data-price-column="closer"]:hover) [data-price-column="closer"],
  .price-comparison-table:has(thead [data-price-column="independent"]:hover) [data-price-column="independent"] { background: var(--price-column); box-shadow: inset 2px 0 0 var(--price-soft), inset -2px 0 0 var(--price-soft); }
}
.price-details-dialog { width: min(480px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 1.25rem 1.6rem 1.6rem; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; background: var(--price-surface, #fff); color: var(--navy); box-shadow: 0 20px 70px rgba(0,0,0,.3); overflow-y: auto; overscroll-behavior: contain; }
.price-details-dialog[open] { animation: price-dialog-in .18s ease both; }
.price-details-dialog::backdrop { background: rgba(5,14,35,.3); backdrop-filter: blur(3px); }
.price-details-dialog h2 { margin: .35rem 0 1rem; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.02em; }
.price-details-dialog h2:focus { outline: none; }
.price-details-dialog .price-details-context { margin: 1rem 0 0; color: var(--price-accent); font-size: .8rem; }
.price-details-dialog #price-details-text { margin: 0; font-size: 1.03rem; line-height: 1.7; }
.price-details-dialog button:focus-visible { outline: 2px solid var(--price-accent); outline-offset: 3px; }
@keyframes price-dialog-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes price-dialog-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes price-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.chat-testimonial { margin: 1.2rem 0 0; padding: .1rem 0 .1rem .85rem; border-left: 2px solid var(--accent); }
.chat-testimonial blockquote { margin: 0; padding: 0; border: 0; font-size: .95rem; line-height: 1.6; }
.chat-testimonial figcaption { margin-top: .4rem; font-size: .78rem; color: var(--muted); }
.chat-message .chat-testimonial + p { margin-top: .6rem; }
.trustpilot-link { text-underline-offset: .2em; text-decoration-color: var(--accent); font-size: .95rem; }
.trustpilot-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.chat-compose.chat-compose-invite { animation: chat-compose-invite 1.8s ease-in-out 1; }
@keyframes chat-compose-invite {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  45% { box-shadow: 0 0 0 3px rgba(173, 139, 79, .16); border-color: #ad8b4f; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-compose.chat-compose-invite { animation: none; }
  .price-dialog[open], .price-dialog::backdrop, .price-dialog.is-closing, .price-dialog.is-closing::backdrop, .price-details-dialog[open] { animation: none; }
  .price-dialog, .price-feature-row, .price-feature-row > *, .price-comparison-table [data-price-column], .price-difference-text { transition: none; }
  .price-feature-row:hover { transform: none; filter: none; }
}
@media (max-width: 540px) {
  .chat-navigation { padding-inline: .8rem; gap: .6rem; }
  .chat-tabs { gap: .8rem; }
  .chat-tabs [role="tab"], .chat-price-shortcut { font-size: .8rem; }
  .price-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .price-dialog-header { padding: .65rem 1rem 1rem; }
  .price-dialog-scroll { padding: 1rem .8rem; scrollbar-gutter: auto; }
  .price-dialog-footer { padding: .65rem .8rem; }
  .price-dialog-write { width: 100%; }
  /* Two readable plan columns; row labels sit above, not in a cramped third column. */
  .price-comparison-table, .price-comparison-table thead, .price-comparison-table tbody { display: block; }
  .price-comparison-table colgroup { display: none; }
  .price-comparison-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .price-comparison-table thead th:first-child { display: none; }
  .price-comparison-table tbody th { grid-column: 1 / -1; padding-block: .65rem .15rem; border-bottom: 0; }
  .price-comparison-table tbody th .price-row-note { display: inline; margin-left: .4rem; }
  .price-comparison-table tbody th .price-row-note::before { content: ' '; }
  .price-comparison-table { font-size: .9rem; }
  .price-comparison-table th, .price-comparison-table td { min-width: 0; padding: .5rem .5rem; }
  .price-comparison-table tbody th, .price-comparison-table .price-shared-start > th { padding-left: .6rem; }
  .price-plan-name { font-size: .95rem; }
  .price-comparison-table [data-price-plan] { min-height: 62px; }
  .price-comparison-table [data-price-plan], .price-startup-toggle { font-size: .85rem; }
  .price-table-amount { font-size: clamp(1.5rem, 6vw, 1.8rem); }
  .price-collaboration-row td { font-size: .9rem; }
  .price-row-note, .price-table-period { font-size: .8rem; }
  .price-comparison-table .price-shared-start > th { grid-column: 1; padding: .55rem .6rem; }
  .price-comparison-table .price-shared-start > td { grid-column: 2; }
  .price-comparison-table .price-shared-start > * { font-size: .85rem; }
  .price-difference-text { padding: .15rem; }
  .price-details-dialog { padding: 1rem 1.2rem 1.4rem; }
}
