/* /ai-transformation/ only (front matter `css: transformation`): the Manor quote and closing from the homepage, plus the page's own blocks. */
/* Homepage sections ported from the concepts' "Produkt" page: the Manor quote, Made in Europe, the closing call to action. */

/* Manor: quote left, figures right, aligned on their lower edge */
/* Half a section more room above and below than the plain-section rhythm gives */
.sec.hp-story,.sec:not(.band):not(.full-dark)+.sec.hp-story:not(.band){padding-top:calc(var(--sec)*.5);padding-bottom:calc(var(--sec)*1.5)}
.hp-story-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(28px,5vw,72px);align-items:end}
.hp-quote{margin:0;display:grid;gap:24px;justify-items:start}
.hp-quote img{height:24px;width:auto}
.hp-quote blockquote{margin:0;font-family:var(--serif);font-size:clamp(24px,2.6vw,34px);line-height:1.3;letter-spacing:-.01em;text-wrap:pretty}
.hp-quote figcaption{display:flex;align-items:center;gap:14px;font-size:14.5px;color:var(--ink-2)}
.hp-quote figcaption b{display:block;color:var(--ink);font-weight:550}
.hp-quote .av{width:44px;height:44px;border-radius:50%;background:var(--tint-a);border:1px solid var(--line-2);display:grid;place-items:center;font-weight:600;font-size:14px;color:var(--ink)}
.hp-kpis{display:grid;border-top:1px solid var(--ink)}
.hp-kpis p{padding:18px 0;border-bottom:1px solid var(--line)}
.hp-kpis b{display:block;font-family:var(--serif);font-size:40px;font-weight:400;letter-spacing:-.02em;line-height:1.1}
.hp-kpis span{color:var(--ink-2);font-size:14.5px}
.hp-kpis .link{margin-top:22px;justify-self:start}
@media (max-width:900px){.hp-story-grid{grid-template-columns:1fr}}

/* Made in Europe: the dark panel, four facts in a ruled row */
.hp-eu{padding:clamp(36px,6vw,80px) clamp(22px,5vw,72px)}
.hp-eu h2{max-width:18ch}
.hp-eu .lead{margin-top:22px;max-width:56ch}
.hp-eu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:52px;border-top:1px solid var(--dark-line)}
.hp-eu-grid>div{padding:22px 22px 0 0}
.hp-eu-grid>div+div{padding-left:22px;border-left:1px solid var(--dark-line)}
.hp-eu-grid small{display:block;font-size:13px;color:var(--accent)}
.hp-eu-grid b{display:block;margin-top:8px;font-weight:550;color:var(--on-dark)}
.hp-eu-grid p{margin-top:6px;font-size:14px;line-height:1.5}
.hp-eu-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:40px}
@media (max-width:900px){
  .hp-eu-grid{grid-template-columns:1fr 1fr}
  .hp-eu-grid>div:nth-child(3){padding-left:0;border-left:0}
  .hp-eu-grid>div:nth-child(n+3){border-top:1px solid var(--dark-line);margin-top:22px}
}
@media (max-width:520px){
  .hp-eu-grid{grid-template-columns:1fr}
  .hp-eu-grid>div,.hp-eu-grid>div+div{padding:20px 0;border-left:0;margin-top:0}
  .hp-eu-grid>div+div{border-top:1px solid var(--dark-line)}
}

/* Closing call to action */


/* /ai-transformation/: hero with the audit summary as a report page, the four steps, the audit, the programme tabs,
   the services by programme.
   Built from the confirmed blocks: section heads, buttons B, cards B (calm surfaces, 10/8/6 radii), quote, closing 1. */

/* ---- Hero: copy left; right, the example audit summary as a printed A4 page (onAI report style),
   tilted a little, with a second sheet behind. The page is .tfr (tf-report.html), sized in cqi. ---- */
.tf-hero{padding-block:clamp(40px,6vw,84px) clamp(56px,7vw,96px)}
.tf-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
.tf-hero-tx{display:grid;gap:24px;justify-items:start}
.tf-hero-tx h1{max-width:22ch}
.tf-hero-tx .lead{max-width:52ch}
.tf-sheet{margin:0;justify-self:stretch;display:grid;justify-items:center;gap:22px}
.tf-sheet-stack{position:relative;width:100%;max-width:500px;padding:6px 14px 10px 6px}
.tf-sheet-back{position:absolute;inset:6px 14px 10px 6px;background:#F4F5F1;border-radius:2px;transform:rotate(2.6deg) translate(10px,6px);box-shadow:0 1px 2px rgba(16,24,20,.08),0 18px 40px -22px rgba(16,24,20,.35)}
.tf-sheet-pg{position:relative;transform:rotate(-1.2deg);transition:transform .5s var(--ease-morph,cubic-bezier(.32,.72,0,1));box-shadow:0 1px 2px rgba(16,24,20,.1),0 2px 6px rgba(16,24,20,.06),0 30px 60px -28px rgba(16,24,20,.45);border-radius:2px}
.tf-sheet-hit{position:absolute;inset:0;border:0;background:none;cursor:zoom-in;border-radius:4px}
.tf-sheet-hit:focus-visible{outline-offset:6px}
@media (hover:hover){.tf-sheet-stack:hover .tf-sheet-pg{transform:rotate(-.4deg) translateY(-3px)}}
.tf-sheet figcaption{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 12px;font-size:13px;color:var(--ink-3);text-align:center}
.tf-sheet-more{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;font:inherit;font-weight:550;color:var(--ink);cursor:pointer}
.tf-sheet-more .i{width:13px;height:13px}
@media (max-width:1000px){.tf-hero-grid{grid-template-columns:1fr}}

/* The report page: A4, onAI report type (Besley headings, Geist text), hairline rules, numbered sections.
   1cqi = 1/100 of the page width; 1mm on A4 = .476cqi. */
.tfr{container-type:inline-size;width:100%;aspect-ratio:210/297;background:#FBFCFA;color:#262A25;overflow:hidden;border-radius:2px}
.tfr-in{height:100%;display:flex;flex-direction:column;padding:5.4cqi 6.6cqi 4.2cqi;font-size:1.88cqi;line-height:1.42;font-feature-settings:"ss01" 0}
.tfr p,.tfr ol,.tfr ul{margin:0;padding:0;list-style:none}
.tfr b{font-weight:600}
.tfr-rh{display:flex;justify-content:space-between;align-items:center;gap:3cqi;padding-bottom:1.6cqi;border-bottom:.5px solid #C9CFC3;font-size:1.55cqi;color:#6E746A}
.tfr-rh>span:first-child{display:flex;align-items:center;gap:1.4cqi}
.tfr-rh svg{width:3.4cqi;height:1.9cqi;color:#262A25;fill:currentColor}
.tfr-top{padding:2.8cqi 0 2.4cqi}
.tfr-client{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4cqi 3cqi;font-size:1.65cqi;color:#5C6259}
.tfr-client b{color:#262A25;font-weight:600}
.tfr-h{margin-top:2.2cqi!important;font-family:var(--serif);font-size:4cqi;line-height:1.12;letter-spacing:-.018em}
.tfr-lead{margin-top:1.4cqi!important;font-family:var(--serif);font-size:2cqi;line-height:1.4;color:#5C6259;max-width:62ch}
.tfr-sec{padding-top:1.5cqi;border-top:1px solid #262A25}
.tfr-sh{display:flex;align-items:baseline;gap:1.4cqi;margin-bottom:1.2cqi!important;font-size:1.8cqi;font-weight:600;letter-spacing:.01em}
.tfr-sh>span{font-family:var(--serif);font-weight:400;font-size:2.2cqi;color:#6E746A;min-width:2cqi}
.tfr-sh small{margin-left:auto;font-size:1.45cqi;font-weight:400;color:#6E746A;letter-spacing:0}
.tfr-find li{display:grid;grid-template-columns:4.2cqi minmax(0,1fr);padding:.9cqi 0;border-top:.5px solid #DADFD5}
.tfr-find li:first-child{border-top:0;padding-top:0}
.tfr-n{font-family:var(--serif);font-size:1.9cqi;color:#6E746A}
.tfr-find p{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3cqi}
.tfr-find span:not(.tfr-n){color:#5C6259;font-size:1.72cqi}
.tfr-two{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:4cqi;margin-top:2.2cqi}
.tfr-col{display:grid;gap:2.4cqi;align-content:start}
.tfr-mat div{display:grid;grid-template-columns:10.8cqi 8cqi minmax(0,1fr);gap:1.4cqi;align-items:center;padding:.8cqi 0;border-top:.5px solid #DADFD5;font-size:1.72cqi}
.tfr-mat div:first-child{border-top:0;padding-top:0}
.tfr-mat b{font-weight:600}
.tfr-mat span:last-child{color:#5C6259;font-size:1.58cqi;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfr-seg{display:grid;grid-template-columns:repeat(5,1fr);gap:.35cqi;height:1.2cqi}
.tfr-seg i{background:#E3E7E0;border-radius:.2cqi}
.tfr-seg[data-v="1"] i:nth-child(-n+1),.tfr-seg[data-v="2"] i:nth-child(-n+2),.tfr-seg[data-v="3"] i:nth-child(-n+3),.tfr-seg[data-v="4"] i:nth-child(-n+4),.tfr-seg[data-v="5"] i{background:#1D2A24}
.tfr-tbl{width:100%;border-collapse:collapse;font-size:1.72cqi;line-height:1.35}
.tfr-tbl th,.tfr-tbl td{text-align:left;vertical-align:top;padding:.85cqi 1.4cqi .85cqi 0;border-bottom:.5px solid #DADFD5;font-weight:400}
.tfr-tbl thead th{padding-top:0;font-size:1.45cqi;color:#6E746A;border-bottom:.5px solid #262A25;white-space:nowrap}
.tfr-tbl td:nth-child(4),.tfr-tbl thead th:nth-child(4){padding-left:1.4cqi}
.tfr-tbl tbody th{font-weight:600;white-space:nowrap}
.tfr-tbl td:nth-child(n+3),.tfr-tbl thead th:nth-child(n+3){padding-right:0;white-space:nowrap}
.tfr-tbl tr.is-top th{box-shadow:inset .5cqi 0 0 #DDF652;padding-left:1.2cqi}
.tfr-dots{display:inline-flex;gap:.45cqi;padding-top:.45cqi}
.tfr-dots i{width:1.15cqi;height:1.15cqi;border-radius:50%;border:.5px solid #6E746A}
.tfr-dots[data-v="1"] i:nth-child(-n+1),.tfr-dots[data-v="2"] i:nth-child(-n+2),.tfr-dots[data-v="3"] i{background:#1D2A24;border-color:#1D2A24}
.tfr-risk li{display:grid;grid-template-columns:2.4cqi minmax(0,1fr);padding:.7cqi 0;border-top:.5px solid #DADFD5;font-size:1.72cqi}
.tfr-risk li:first-child{border-top:0;padding-top:0}
.tfr-risk li::before{content:"";width:.9cqi;height:.9cqi;margin-top:.75cqi;background:#262A25;border-radius:.15cqi}
.tfr-next{font-family:var(--serif);font-size:2.3cqi;line-height:1.3;letter-spacing:-.005em}
.tfr-who{margin-top:1cqi!important;font-size:1.72cqi;color:#5C6259}
.tfr-who b{color:#262A25}
.tfr-plan{display:grid;grid-template-columns:repeat(3,1fr);column-gap:2cqi;margin-top:1.6cqi!important;font-size:1.5cqi}
.tfr-plan li{position:relative;display:grid;gap:.2cqi;padding-top:2.2cqi}
.tfr-plan li::before{content:"";position:absolute;top:.55cqi;left:0;right:-2cqi;height:.5px;background:#C9CFC3}
.tfr-plan li::after{content:"";position:absolute;top:0;left:0;width:1.2cqi;height:1.2cqi;border-radius:50%;background:#FBFCFA;border:.5px solid #262A25}
.tfr-plan li.is-done::after{background:#262A25}
.tfr-plan li:last-child::before{right:0}
.tfr-plan b{font-size:1.72cqi}
.tfr-plan span{color:#6E746A}
.tfr-note{margin-top:auto!important;padding-top:1.4cqi;border-top:.5px solid #DADFD5;font-size:1.4cqi;color:#6E746A}
.tfr-pf{display:flex;justify-content:space-between;padding-top:1.6cqi;font-size:1.4cqi;color:#6E746A}
.tfr-pf span:last-child{color:#262A25;font-variant-numeric:tabular-nums}

/* Enlarged page: native popover, light dismiss; scrolls when the page is taller than the screen */
.tf-report-pop{width:min(94vw,780px);max-height:96vh;margin:auto;padding:52px 0 0;border:0;background:none;overflow:auto;overscroll-behavior:contain}
.tf-report-pop::backdrop{background:rgba(16,24,20,.55)}
.tf-report-pop .tfr{box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.tf-report-x{position:absolute;top:4px;right:0;z-index:2;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid #DADFD5;background:#FBFCFA;color:#262A25;cursor:pointer}
.tf-report-x .i{width:16px;height:16px}

/* ---- The path in four steps: a hairline with numbered stops, the audit stop in lime ---- */
.tf-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 clamp(20px,2.4vw,32px)}
.tf-steps li{position:relative;display:grid;gap:8px;align-content:start;justify-items:start;padding-top:30px}
.tf-steps li::before{content:"";position:absolute;left:0;right:calc(-1 * clamp(20px,2.4vw,32px));top:15px;height:1px;background:var(--line-2)}
.tf-steps li:last-child::before{right:0}
.tf-steps-n{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--bg);border:1px solid var(--line-2);font-family:var(--serif);font-size:15px;color:var(--ink-2)}
.tf-steps li:first-child .tf-steps-n{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.tf-steps h3{margin-top:22px;font-size:clamp(24px,2.2vw,30px);line-height:1.1;letter-spacing:-.015em}
.tf-steps small{font-size:13.5px;color:var(--ink-2)}
.tf-steps p{font-size:15px;line-height:1.55;color:var(--ink-2);max-width:32ch}
.tf-steps .link{margin-top:6px;font-size:14px}
.tf-steps-roles{margin:4px 0 0;width:100%;border-top:1px solid var(--line)}
.tf-steps-roles div{display:grid;gap:2px;padding:8px 0;border-bottom:1px solid var(--line)}
.tf-steps-roles dt{font-size:13px;font-weight:600}
.tf-steps-roles dd{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.tf-steps-after dt,.tf-steps-after dd{color:var(--ink)}
.tf-steps li.is-measure .tf-steps-n{background:var(--dark);border-color:var(--dark);color:var(--on-dark)}

/* «So siehst du, ob es wirkt»: hangs off step 4 (the notch points at it) */
.tf-measure{position:relative;margin-top:clamp(34px,4vw,48px);display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(24px,4vw,56px);padding:clamp(24px,3.2vw,40px);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.tf-measure::before{content:"";position:absolute;top:-8px;left:calc(75% + 22px);width:14px;height:14px;background:var(--surface);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.tf-measure-hd{display:grid;gap:12px;align-content:start}
.tf-measure-hd h3{font-size:clamp(24px,2.2vw,30px);line-height:1.12;letter-spacing:-.015em}
.tf-measure-hd p{font-size:15px;line-height:1.55;color:var(--ink-2);max-width:34ch}
.tf-measure-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(20px,2.4vw,32px)}
.tf-measure-list li{display:flex;gap:14px;align-items:baseline;padding:14px 0;border-top:1px solid var(--line)}
.tf-measure-list li:nth-child(-n+2){border-top:0;padding-top:0}
.tf-measure-list .tnum{flex:none;width:16px;font-family:var(--serif);font-size:15px;color:var(--ink-3)}
.tf-measure-list b{display:block;font-size:15px;font-weight:600;margin-bottom:3px}
.tf-measure-list p{font-size:14.5px;line-height:1.5;color:var(--ink-2)}
@media (max-width:900px){.tf-measure{grid-template-columns:1fr}.tf-measure::before{left:calc(50% + 20px)}}
@media (max-width:560px){.tf-measure::before{display:none}.tf-measure-list{grid-template-columns:1fr}.tf-measure-list li:nth-child(2){border-top:1px solid var(--line);padding-top:14px}}
.tf-steps .link:hover .i{transform:translateY(2px)}
@media (max-width:900px){.tf-steps{grid-template-columns:1fr 1fr;gap:40px 28px}.tf-steps li:nth-child(2n)::before{right:0}}
@media (max-width:560px){
  .tf-steps{grid-template-columns:1fr;gap:0}
  .tf-steps li{padding:0 0 30px 52px}
  .tf-steps li::before,.tf-steps li:nth-child(2n)::before{left:15.5px;right:auto;top:32px;bottom:0;width:1px;height:auto}
  .tf-steps li:last-child{padding-bottom:0}
  .tf-steps li:last-child::before{display:none}
  .tf-steps h3{margin-top:2px}
}

/* ---- The audit: one lime surface (spine.css .audit), the 90 minutes left, what you get right ---- */
.tf-audit{gap:clamp(24px,4vw,56px);padding:clamp(24px,3.4vw,44px)}
.tf-audit-col{display:grid;gap:14px;align-content:start;justify-items:start}
.tf-audit-col>div:not(.btn-row){width:100%}
.tf-audit .checks{gap:9px}
.tf-audit .checks li{font-size:15px}
.tf-audit .checks li::before{background-color:var(--dark);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDF652' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>")}
.tf-audit-keep{padding-top:12px;border-top:1px solid rgba(38,42,37,.12);width:100%;color:var(--ink-2)}
.tf-audit-who{font-size:14.5px;line-height:1.5;color:var(--ink-2)}
.tf-audit .btn-row{margin-top:4px}
.tf-gap{margin-top:clamp(28px,3vw,40px)}

/* ---- Optional «Wo stehst du heute?» intro above the programme tabs (programmes.intro in the data) ---- */
.tf-intro{display:grid;gap:18px;margin-bottom:clamp(28px,3vw,40px)}
.tf-intro h3{font-size:clamp(22px,2vw,26px)}
.tf-intro-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tf-intro-list li{display:flex}
.tf-intro-btn{position:relative;flex:1;display:grid;gap:4px;align-content:start;text-align:left;padding:16px 40px 18px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;transition:border-color .25s var(--ease),box-shadow .25s var(--ease)}
.tf-intro-btn:hover{border-color:var(--ink-3)}
.tf-intro-btn b{font-size:15px;font-weight:600;line-height:1.35}
.tf-intro-btn span{font-size:14px;line-height:1.5;color:var(--ink-2)}
.tf-intro-btn .i{position:absolute;top:18px;right:16px;width:15px;height:15px;opacity:.45;transition:transform .28s var(--ease),opacity .2s}
.tf-intro-btn:hover .i{opacity:1;transform:translateY(2px)}
.tf-intro-btn[aria-current="true"]{border-color:var(--dark);box-shadow:inset 0 0 0 1px var(--dark)}
.tf-intro-btn[aria-current="true"] .i{opacity:1}
@media (max-width:1000px){.tf-intro-list{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.tf-intro-list{grid-template-columns:1fr}}

/* ---- Programmes: one tabbed element. Vertical tabs left; the pane holds the text, the app mock on a tinted ground and the path ---- */
.tpx{display:grid;grid-template-columns:minmax(220px,2.6fr) minmax(0,9.4fr);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);overflow:hidden}
.tpx-tabs{display:grid;align-content:start;background:var(--surface-2);border-right:1px solid var(--line)}
.tpx-tabs button{position:relative;display:grid;gap:4px;text-align:left;padding:24px 26px;background:none;border:0;color:var(--ink-2);transition:background-color .25s var(--ease),color .2s}
.tpx-tabs button+button{border-top:1px solid var(--line)}
.tpx-tabs small{font-size:12.5px;color:var(--ink-3)}
.tpx-tabs span{font-family:var(--serif);font-size:17px;line-height:1.25}
.tpx-tabs button:hover{color:var(--ink);background:color-mix(in srgb,var(--surface) 60%,var(--surface-2))}
.tpx-tabs [aria-selected="true"],.tpx-tabs [aria-selected="true"]:hover{background:var(--surface);color:var(--ink)}
.tpx-tabs [aria-selected="true"]::after{content:"";position:absolute;right:-1px;top:0;bottom:0;width:1px;background:var(--surface)}
.tpx-tabs [aria-selected="true"]::before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:3px;border-radius:0 3px 3px 0;background:var(--dark)}
.tpx-tabs button:focus-visible{outline-offset:-3px}
.tpx-stage{position:relative;min-width:0}
.tpx-pane{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.tpx-tx{display:grid;gap:clamp(26px,2.6vw,34px);align-content:start;padding:clamp(24px,3.6vw,52px);min-width:0}
.tpx-tx h3{font-size:clamp(22px,2vw,28px);line-height:1.15;max-width:24ch}
.tpx-start{padding:16px 18px;border-radius:var(--r-md);background:var(--surface-2)}
.tpx-start h4{font-size:12.5px;font-weight:500;color:var(--ink-3);margin-bottom:4px}
.tpx-start p{font-size:15px;line-height:1.5}
.tpx-cols{display:grid;gap:clamp(26px,2.6vw,34px)}
.tpx-cols h4{margin-bottom:12px}
.tpx-cols .tp-do li{font-size:15px;padding:11px 0}
.tpx-cols .checks{gap:12px}
.tpx-cols .checks li{font-size:15px}
.tpx-vis{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;padding:clamp(24px,2.4vw,36px);min-width:0;
  background:radial-gradient(70% 80% at 20% 15%,var(--tint-c),transparent 60%),radial-gradient(60% 70% at 90% 90%,var(--tint-b),transparent 65%),linear-gradient(135deg,var(--tint-a),var(--tint-b))}
.tpx-vis::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.2;mix-blend-mode:overlay;background-image:var(--grain);pointer-events:none}
.tpx-vis .app{width:100%;max-width:420px;box-shadow:var(--shadow-lg)}
@media (max-width:1100px){.tpx-pane{grid-template-columns:1fr}.tpx-vis{padding:22px 18px}}
@media (max-width:860px){
  .tpx{grid-template-columns:1fr}
  .tpx-tabs{display:flex;overflow-x:auto;scrollbar-width:none;gap:4px;padding:6px;border-right:0;border-bottom:1px solid var(--line)}
  .tpx-tabs::-webkit-scrollbar{display:none}
  .tpx-tabs button{flex:none;padding:8px 13px;border-radius:var(--r-md)}
  .tpx-tabs button+button{border-top:0}
  .tpx-tabs [aria-selected="true"],.tpx-tabs [aria-selected="true"]:hover{background:var(--dark);color:var(--on-dark)}
  .tpx-tabs [aria-selected="true"]::before,.tpx-tabs [aria-selected="true"]::after{display:none}
  .tpx-tabs span{display:none}
  .tpx-tabs small{font-size:14px;font-weight:500;color:inherit;white-space:nowrap}
}
.tp-do{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line)}
.tp-do li{display:flex;gap:14px;align-items:baseline;padding:11px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.tp-do .tnum{flex:none;width:16px;font-family:var(--serif);font-size:15px;color:var(--ink-3)}
/* ---- Programme visuals (illustrative app mocks) ---- */
.tfm{font-size:13px}
.tfm-lanes{display:grid;gap:8px}
.tfm-lane{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line)}
.tfm-lane b{font-size:12px;font-weight:600}
.tfm-lane>span{line-height:1.3}
.tfm-st{font-style:normal;font-size:11.5px;font-weight:500;padding:2px 9px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink-2);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.tfm-st-2::before{content:"";width:6px;height:6px;border-radius:50%;background:#4E9A5B;box-shadow:0 0 0 3px rgba(78,154,91,.18)}
.tfm-st-3{background:color-mix(in srgb,var(--accent) 55%,var(--surface));border-color:transparent;color:var(--accent-ink)}
.tfm-list .mrow:first-child{border-top:0}
.tfm-list .lg .i{width:14px;height:14px}
.tfm-list .mrow>.tfm-av{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--tint-a);border:1px solid var(--line-2);font-size:10px;font-weight:600;color:var(--ink)}
.tfm-score{display:grid}
.tfm-sr{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(4,minmax(0,1fr));gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.tfm-sr>span{line-height:1.3}
.tfm-sh{border-top:0;padding-top:0}
.tfm-sh small{font-size:11px;color:var(--ink-3);line-height:1.2;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;min-width:0}
.tfm-dots{display:inline-flex;gap:3px}
.tfm-dots b{width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.tfm-dots[data-v="1"] b:nth-child(-n+1),.tfm-dots[data-v="2"] b:nth-child(-n+2),.tfm-dots[data-v="3"] b{background:var(--btn)}
.tfm-flow{list-style:none;margin:0;padding:0;display:grid}
.tfm-flow li{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:center;padding:7px 0}
.tfm-flow li:not(:last-child)::after{content:"";position:absolute;left:15.5px;top:39px;bottom:-7px;width:1px;background:var(--line-2)}
.tfm-node{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line-2)}
.tfm-node .i{width:15px;height:15px}
.tfm-flow li:last-child .tfm-node{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
@media (max-width:480px){.tfm-lane{grid-template-columns:minmax(0,1fr) auto}.tfm-lane b{grid-column:1/-1}.tfm-sr{grid-template-columns:minmax(0,1.3fr) repeat(4,minmax(0,1fr));gap:4px}.tfm-dots b{width:6px;height:6px}}

/* ---- Services by programme: a table on the dark band; rows are services, columns programmes ---- */
.tsm-wrap{overflow-x:auto}
.tsm{width:100%;border-collapse:collapse;font-size:14.5px}
.tsm th,.tsm td{text-align:left;vertical-align:top;padding:26px 16px;border-top:1px solid var(--dark-line)}
.tsm thead th{border-top:0;padding-top:0;padding-bottom:16px;font-weight:500;font-size:13.5px;color:var(--on-dark-2)}
.tsm thead th:first-child{padding-left:0}
.tsm thead th:not(:first-child){text-align:center;width:12%}
.tsm thead th span{display:block;font-family:var(--serif);font-size:16px;color:var(--on-dark);font-weight:400}
.tsm tbody th{font-weight:400;padding-left:0}
.tsm-svc{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 14px;max-width:560px}
.tsm-svc>*:not(.tsm-ic){grid-column:2}
.tsm-ic{grid-row:span 3;width:32px;height:32px;border-radius:var(--r-sm);display:grid;place-items:center;background:rgba(238,241,236,.06);border:1px solid var(--dark-line);color:var(--on-dark)}
.tsm-ic .i{width:16px;height:16px}
.tsm-svc small{font-size:13.5px;font-weight:550;color:var(--on-dark-2)}
.tsm-svc h3{font-size:clamp(20px,2vw,24px);line-height:1.15}
.on-dark .tsm-svc p{font-size:14.5px;line-height:1.5;margin-top:4px}
.tsm-svc .gap{margin-top:8px}
.tsm-topics{margin-top:12px;display:grid;gap:8px}
.tsm-pts{margin:12px 0 0;display:grid;gap:10px}
.tsm-pts dt{font-size:12.5px;font-weight:500;color:var(--on-dark-2)}
.tsm-pts dd{margin:2px 0 0;font-size:14px;line-height:1.5;color:var(--on-dark)}
.tsm-topics h4{font-size:12.5px;font-weight:500;color:var(--on-dark-2);letter-spacing:0}
.tsm-topics ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tsm-topics li{display:inline-flex;align-items:center;min-height:28px;padding:3px 11px;border-radius:999px;border:1px solid var(--dark-line);background:rgba(238,241,236,.06);font-size:13px;font-weight:500;line-height:1.3;color:var(--on-dark)}
.tsm td{text-align:center;vertical-align:middle}
.tsm-dot{display:inline-block;flex:none;width:14px;height:14px;border-radius:50%;border:1.5px solid var(--on-dark-3)}
.tsm .is-in .tsm-dot,.tsm-dot.is-in{background:var(--accent);border-color:var(--accent)}
.tsm td small{display:none}
.tsm-key{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:4px;padding-top:22px;border-top:1px solid var(--dark-line);font-size:13.5px;color:var(--on-dark-2)}
.tsm-key>span{display:inline-flex;align-items:center;gap:8px}
.tsm-key .tsm-dot{width:12px;height:12px}
.tsm-key .btn{margin-left:auto}
@media (max-width:820px){
  .tsm,.tsm tbody,.tsm tr,.tsm th,.tsm td{display:block;width:auto}
  .tsm thead{display:none}
  .tsm tbody tr{padding:24px 0 18px;border-top:1px solid var(--dark-line)}
  .tsm tbody tr:first-child{border-top:0;padding-top:0}
  .tsm th,.tsm td{border:0;padding:0}
  .tsm tbody th{margin-bottom:14px}
  .tsm td{display:inline-flex;align-items:center;gap:7px;margin:0 6px 6px 0;padding:4px 11px 4px 9px;border-radius:999px;border:1px solid var(--dark-line);text-align:left}
  .tsm td.is-in{border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
  .tsm td small{display:inline;font-size:12.5px;color:var(--on-dark-2)}
  .tsm td.is-in small{color:var(--on-dark)}
  .tsm td .tsm-dot{width:10px;height:10px}
  .tsm-key .btn{margin-left:0}
}

/* Compact link list (cards B, compact form) */
.kmini-cap{margin:clamp(40px,5vw,56px) 0 12px;font-size:14px;font-weight:550;color:var(--ink-2)}
.kmini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.kmini a{display:grid;gap:3px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);text-decoration:none;color:var(--ink);transition:border-color .25s var(--ease)}
.kmini a:hover{border-color:var(--ink-3)}
.kmini b{font-weight:600;font-size:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.kmini b .i{width:14px;height:14px;opacity:.5;transition:transform .28s var(--ease),opacity .2s}
.kmini a:hover b .i{opacity:1;transform:translateX(3px)}
.kmini span{font-size:13.5px;color:var(--ink-2);line-height:1.45}
@media (max-width:760px){.kmini{grid-template-columns:1fr}}

/* Inline links inside FAQ answers (e.g. to pricing) */
.faq .ans a:not(.link){color:var(--ink);font-weight:500;text-underline-offset:3px}

