/* Treatment pages — a calmer layout than the live site (owner's go-ahead, 28 Oct 2026): the live hero, then a
   sticky contents list beside one reading column (~760px), compact cards, a step timeline and simple lists.
   Brand: Montserrat / Archivo / K2D, purples #563084 · #8b2b89, lavender #fae8ff. */

.tx-pill { display: inline-flex; align-items: center; margin: 0; padding: 4px 12px; background: #fff; border: 1px solid var(--sv-line); border-radius: 20px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; line-height: 22px; color: var(--sv-purple); }
.tx-link { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--sv-purple); text-decoration: none; }
.tx-link:hover { text-decoration: underline; }

/* Hero */
.tx-hero { background: linear-gradient(75deg, rgba(252, 241, 253, 0.6) 40%, var(--sv-ghost) 100%); padding: 40px 0; }
.tx-hero-in { max-width: 1250px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; }
.tx-hero-l { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tx-crumbs { display: flex; gap: 8px; font-family: 'Archivo', sans-serif; font-size: 13px; color: #7b7590; }
.tx-crumbs a { color: inherit; text-decoration: none; }
.tx-crumbs a:hover { color: var(--sv-purple); }
.tx-h1 { margin: 0; font-family: 'K2D', sans-serif; font-size: 42px; font-weight: 700; line-height: 1.15; color: #1d1530; }
.tx-h1 span { color: var(--sv-violet); }
.tx-sub { margin: -6px 0 0; font-family: 'K2D', sans-serif; font-size: 24px; font-weight: 500; line-height: 1.3; color: var(--sv-purple); }
.tx-intro { max-width: 560px; padding-left: 18px; border-left: 4px solid var(--sv-violet); font-family: 'Archivo', sans-serif; font-size: 16px; line-height: 1.7; color: var(--sv-slate); }
.tx-intro p { margin: 0 0 8px; }
.tx-intro p:last-child { margin: 0; }
.tx-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.tx-hero-r { position: relative; margin: 0; }
.tx-hero-r img { display: block; width: 100%; aspect-ratio: 560 / 440; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(86, 48, 132, 0.45); }
.tx-rep { position: absolute; right: 14px; top: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(29, 21, 48, 0.62); color: #fff; font-family: 'Archivo', sans-serif; font-size: 11px; letter-spacing: 0.04em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tx-float { position: absolute; left: -22px; bottom: 26px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -14px rgba(86, 48, 132, 0.45); }
.tx-float small { display: block; font-family: 'Montserrat', sans-serif; font-size: 11px; color: #7b7590; }
.tx-float strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: var(--sv-purple); }

/* Body: contents + reading column */
.tx-body-grid { max-width: 1170px; margin: 0 auto; padding: 48px 30px 20px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.tx-aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; }
.tx-toc-h, .tx-help-h { margin: 0 0 10px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sv-purple); }
.tx-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid #ece6fb; }
.tx-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-family: 'Archivo', sans-serif; font-size: 14px; line-height: 1.35; color: #5d5871; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.tx-toc a:hover { color: var(--sv-purple); }
.tx-toc a[aria-current='true'] { color: var(--sv-purple); font-weight: 600; border-left-color: var(--sv-violet); }
.tx-help { padding: 20px; border-radius: 20px; background: var(--sv-ghost); border: 1px solid #ece6fb; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tx-help-h { margin: 0; letter-spacing: 0; text-transform: none; font-size: 15px; }
.tx-help p:not(.tx-help-h) { margin: 0; font-family: 'Archivo', sans-serif; font-size: 13px; line-height: 1.5; color: var(--sv-slate); }
.tx-help .sv-btn { font-size: 13px; padding: 6px 16px; }

.tx-main { min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 52px; }
.tx-block { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 140px; }
.tx-block.is-cont { margin-top: -32px; }
.tx-h2 { margin: 0; font-family: 'K2D', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: #1d1530; }
.tx-h2 span { color: var(--sv-violet); }
.tx-text { font-family: 'Archivo', sans-serif; font-size: 16px; line-height: 1.75; color: var(--sv-slate); }
.tx-text p { margin: 0 0 12px; }
.tx-text p:last-child { margin: 0; }
.tx-text strong { color: #1d1530; }
.tx-text--sm { font-size: 14.5px; line-height: 1.65; }
.tx-ul { margin: 0 0 6px; padding-left: 1.1em; }
.tx-label { margin: 6px 0 0; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sv-violet); }
.tx-note { padding: 14px 18px; border-radius: 14px; background: var(--sv-ghost); font-size: 15px; }
.tx-callout { padding: 28px; border-radius: 22px; background: #faf6fc; border: 1px solid #f1e6f6; }
.tx-callout .tx-h2 { font-size: 24px; }

/* Cards — two per row, light borders */
.tx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tx-cards--1 { grid-template-columns: 1fr; }
.tx-card { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #ece6fb; transition: border-color 0.2s, box-shadow 0.2s; }
.tx-card:hover { border-color: #d9c8ee; box-shadow: 0 10px 24px -18px rgba(86, 48, 132, 0.5); }
.tx-card h3 { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; font-family: 'K2D', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; color: #1d1530; }
.tx-cards--warn .tx-card { border-color: #fde2e2; background: #fffafa; }
.tx-cards--warn .tx-card h3 svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: #d0244d; stroke-width: 2; stroke-linecap: round; }

/* Steps — a vertical timeline */
.tx-steps { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 22px; }
.tx-steps::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#e3d3f2, #f4ecfa); }
.tx-step { position: relative; padding-left: 58px; }
.tx-num { position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--sv-grad); color: #fff; font-family: 'K2D', sans-serif; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 5px #fff; }
.tx-step h3 { margin: 4px 0 6px; font-family: 'K2D', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; color: #1d1530; }
.tx-subcard { margin-left: 58px; padding: 14px 18px; border-radius: 14px; background: var(--sv-ghost); border: 1px solid #ece6fb; }
.tx-subcard h3 { margin: 0 0 4px; font-family: 'K2D', sans-serif; font-size: 16px; font-weight: 700; color: var(--sv-purple); }

/* Checklists */
.tx-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.tx-check li { display: flex; align-items: flex-start; gap: 12px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.55; color: var(--sv-slate); }
.tx-check small { display: block; margin-top: 2px; font-size: 13px; color: #7b7590; }
.tx-check-ico { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sv-lavender, #fae8ff); color: var(--sv-violet); }
.tx-check-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tx-check--loc { grid-template-columns: 1fr; }
.tx-check--loc .tx-check-ico { background: var(--sv-line); color: var(--sv-purple); }
.tx-check--loc .tx-check-ico svg { stroke-width: 2; }
.tx-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.6; color: var(--sv-slate); }
.tx-bullets li { position: relative; padding-left: 22px; }
.tx-bullets li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sv-violet); }

/* Tables */
.tx-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid #ece6fb; }
.tx-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-family: 'Archivo', sans-serif; font-size: 14px; line-height: 1.5; color: var(--sv-slate); text-align: left; }
.tx-table thead th { padding: 12px 16px; background: var(--sv-purple); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tx-table tbody th, .tx-table td { padding: 11px 16px; border-top: 1px solid #f0ebf8; vertical-align: top; }
.tx-table tbody th { font-weight: 700; color: #1d1530; }
.tx-table tbody tr:nth-child(even) { background: #fcfaff; }

/* FAQ */
.tx-faq { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 140px; }
.tx-faq-list { display: flex; flex-direction: column; gap: 10px; }
.tx-faq-item { border: 1px solid #ece6fb; border-radius: 14px; background: #fff; overflow: hidden; }
.tx-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.4; color: #1d1530; }
.tx-faq-item[open] summary { color: var(--sv-purple); background: var(--sv-ghost); }
.tx-faq-item summary::-webkit-details-marker { display: none; }
.tx-faq-ico { flex: none; width: 16px; height: 16px; position: relative; }
.tx-faq-ico::before, .tx-faq-ico::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s; }
.tx-faq-ico::after { transform: rotate(90deg); }
.tx-faq-item[open] .tx-faq-ico::after { transform: rotate(0); }
.tx-faq-a { padding: 4px 20px 16px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.7; color: var(--sv-slate); }
.tx-faq-a p { margin: 0 0 10px; }
.tx-faq-a p:last-child { margin: 0; }

/* Call to action */
.tx-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 48px; background: linear-gradient(135deg, #563084 0%, #8b2b89 100%); }
.tx-cta-l h2 { margin: 0 0 6px; font-family: 'K2D', sans-serif; font-size: 30px; font-weight: 700; color: #fff; }
.tx-cta-l p { margin: 0; font-family: 'Archivo', sans-serif; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.tx-cta-r { display: flex; flex-wrap: wrap; gap: 12px; }
.tx-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--sv-purple); text-decoration: none; transition: transform 0.25s; }
.tx-cta-btn:hover { transform: translateY(-2px); }
.tx-cta-btn svg { width: 18px; height: 18px; fill: currentColor; }
.tx-cta-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }

/* Tablet */
@media (max-width: 1024px) {
  .tx-hero-in { gap: 32px; padding: 0 20px; }
  .tx-h1 { font-size: 34px; }
  .tx-body-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 40px 20px 10px; }
}

/* Phone: no sidebar; the contents become a scrollable chip strip */
@media (max-width: 860px) {
  .tx-hero { padding: 24px 0; }
  .tx-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .tx-float { left: 12px; bottom: 12px; }
  .tx-h1 { font-size: 28px; }
  .tx-sub { font-size: 19px; }
  .tx-body-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 16px 10px; }
  .tx-aside { min-width: 0; position: sticky; top: 96px; z-index: 5; max-height: none; overflow: visible; margin: 0 -16px; padding: 10px 16px; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #f0ebf8; }
  .tx-toc-h, .tx-help { display: none; }
  .tx-toc ol { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .tx-toc ol::-webkit-scrollbar { display: none; }
  .tx-toc li { flex: none; }
  .tx-toc a { margin: 0; padding: 6px 12px; border: 1px solid #ece6fb; border-radius: 999px; font-size: 13px; white-space: nowrap; }
  .tx-toc a[aria-current='true'] { border-color: var(--sv-violet); background: var(--sv-ghost); }
  .tx-main { gap: 40px; }
  .tx-h2 { font-size: 24px; }
  .tx-cards, .tx-check { grid-template-columns: 1fr; }
  .tx-callout { padding: 20px; }
  .tx-cta { padding: 28px 22px; }
  .tx-cta-l h2 { font-size: 24px; }
}
