/* FOL — service pages of the November 2026 design (page-services-26.php, includes/fol26-service.php).
   Figma «FOL (Copy)» D4Uy6tdPcuHotestoULjZj: frame «Main page 4» (141:273) and «Design System + Components»
   (Steps 205:5996, Sale cards 205:11151, Contact card 205:6201, Tables 205:9054, Tags & Buttons 205:9907).
   Desktop: the hero (650px under the header), then 60px down the 894px column and the 282px sidebar; 120px between
   sections, 40px between the title and the body of a section, 20px between paragraphs. */

/* ---------- hero: the globe and the mist of the home hero, the title only ---------- */
.s26-hero { position: relative; min-height: 650px; padding-top: 180px; overflow: hidden; }
.s26-hero .fol-container { position: relative; z-index: 1; }
.s26-crumbs { position: absolute; top: -148px; }
.s26-crumbs .breadcrumbs__group, .s26-crumbs .breadcrumbs a { font-size: 14px; line-height: 1.2; color: var(--ink-3); }
.s26-crumbs .breadcrumbs__group:last-child { color: var(--ink); }
.s26-hero__title .fol-accent { font-style: normal; color: var(--brand); }
/* «Main page 5» (Figma copy x1PTrTC9d4Lw2v7DWQRVCK): the service hero is 60px taller (710px under the header, to 784px
   of the page); the mist is wider and lower (the ellipse 1202×695 at −195/89 of the page, its 140px blur around).
   The request button follows the text 40px under it (the gap of the mockup's title block, Frame 6): standing on the
   hero's bottom it was a gap as long as the subtitle was short (user, 20.11.2026). */
.s26-hero--cta { display: flex; flex-direction: column; min-height: 710px; padding-bottom: 96px; }
.s26-hero--cta > .fol-container { display: flex; flex: 1 0 auto; flex-direction: column; align-items: flex-start; width: 100%; }
.s26-hero__cta { padding-top: 40px; }
.s26-hero__cta .h26-btn { min-width: 235px; padding: 0 24px; }
/* the page's hero text: the subtitle under the title, as on the live site (user, 20.11.2026) */
.s26-hero__text { width: 688px; max-width: 100%; margin-top: 32px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.s26-hero__text p { margin: 0; }
.s26-hero__text p + p { margin-top: 12px; }
@media (min-width: 1081px) { .s26-hero--cta .h26-hero__mist { top: -135px; left: calc(50% - 1057px); width: 1482px; height: 975px; } }

/* the picture of the page's section (Figma copy WqfdnaRG31DqYMepraPfK5: Forex 280:5189, Gambling 280:5193, Crypto
   280:5197, Company formation 280:5673): the 1440×724 frame of the banner, masked as there (opaque to 473px, gone at
   704px), the picture placed in it as in its banner (Gambling mirrored in the file itself). The frame starts under the
   header, not at the page's top as in the mockup: the hero cuts what is over its top edge, and the 74px under the
   header were the top of the subject (the scales of Company formation). Its fade ends just over the hero's bottom.
   The white mist of the hero lies over it under the text. */
.s26-hero__art {
  position: absolute; z-index: 0; pointer-events: none; overflow: hidden;
  top: 0; left: calc(50% - 720px); width: 1440px; height: 724px;
  -webkit-mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px);
  mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px);
}
.s26-hero__pic { position: absolute; left: var(--art-x); top: var(--art-y); width: var(--art-w); height: auto; max-width: none; }
/* --art-fx: where the subject of the picture stands across it, for the phone's crop */
.s26-hero--forex { --art-x: -98.6px; --art-y: -39.2px; --art-w: 1587px; --art-fx: .74; }
.s26-hero--gaming { --art-x: -66.4px; --art-y: -39.2px; --art-w: 1587px; --art-fx: .78; }
.s26-hero--crypto { --art-x: 0px; --art-y: -37px; --art-w: 1475px; --art-fx: .73; }
.s26-hero--company { --art-x: -20px; --art-y: -32px; --art-w: 1481px; --art-fx: .55; }
/* wider than the mockup: the frame's white sides fade into the page instead of ending in a line */
@media (min-width: 1441px) {
  .s26-hero__art {
    -webkit-mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px), linear-gradient(to right, transparent, #000 120px, #000 calc(100% - 120px), transparent);
    mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px), linear-gradient(to right, transparent, #000 120px, #000 calc(100% - 120px), transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
.s26-hero__title { width: 688px; max-width: 100%; margin: 0; font: 700 60px/1.2 var(--font-display); font-variation-settings: 'wdth' 100; letter-spacing: 0; color: var(--ink); }

/* ---------- column and sidebar ---------- */
/* the request form ends the page content (the schema script after it is the last child of main) */
.s26-body ~ .h26-request { margin-bottom: var(--h26-gap); }
.s26-body { margin-top: 60px; }
.s26-grid { display: grid; grid-template-columns: minmax(0, 894px) 282px; justify-content: space-between; align-items: start; gap: 24px; }
.s26-main { display: grid; gap: var(--h26-gap); min-width: 0; container: s26col / inline-size; }
.s26-aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 40px; height: auto; }

.s26-toc summary { display: block; margin-bottom: 20px; list-style: none; font: 700 18px/1.2 var(--font-display); color: var(--ink); cursor: pointer; }
.s26-toc summary::-webkit-details-marker { display: none; }
.s26-toc ol { display: grid; gap: 12px; margin: 0; padding: 0 0 0 35px; list-style: none; border-left: 1px solid #dcdcdc; }
.s26-toc li { position: relative; }
.s26-toc a { display: block; font-size: 14px; line-height: 1.2; font-weight: 400; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.s26-toc a:hover { color: var(--ink); }
.s26-toc a.is-active { font-weight: 500; color: var(--brand); }
/* the line of the list fills down as the page is read (as on gofaizen-sherle.com, fol2.js): the items of the sections
   read are filled and dark, the active one is filled too and violet (--toc-fill: 1 down to it, the first item from
   the start); each item's piece of the line covers half the gap above and below it, so the fill runs without breaks */
.s26-toc li::before {
  content: ''; position: absolute; left: -36px; top: -6px; bottom: -6px; width: 2px; background: var(--brand);
  transform-origin: top; transform: scaleY(var(--toc-fill, 0)); transition: transform .2s linear;
}
.s26-toc li:first-child::before { top: 0; }
.s26-toc li:last-child::before { bottom: 0; }
/* before the script runs: the active item of the markup (the first) is filled */
.s26-toc li:has(> a.is-active) { --toc-fill: 1; }
.s26-toc a.is-read { color: var(--ink); }

/* the side card is a card of the system: the surface #F0F0F3 and its raised shadow (asked for on 19.11.2026) */
.s26-help { display: grid; gap: 20px; padding: 24px; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-md); }
.s26-help p { margin: 0; line-height: 1.2; color: var(--ink); }
.s26-help__title { font-size: 16px; font-weight: 600; }
.s26-help__text { font-size: 14px; line-height: 20px !important; font-weight: 400; }
.s26-help .h26-btn { width: 100%; height: 43px; }

/* ---------- sections and their text ---------- */
.s26-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; min-width: 0; scroll-margin-top: calc(var(--header-height) + 24px); }
.s26-h2 { margin: 0; font: 600 35px/1.17 var(--font-display); font-variation-settings: 'wdth' 100; letter-spacing: 0; color: var(--ink); text-wrap: pretty; }
.s26-h5 { margin: 0; font: 700 18px/1.2 var(--font-display); color: var(--ink); }

.s26-prose { display: grid; gap: 20px; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink); overflow-wrap: break-word; }
.s26-prose > *, .s26-prose li > * { margin: 0; }
.s26-prose b, .s26-prose strong { font-weight: 700; }
.s26-prose a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.s26-prose a:hover { color: var(--brand); }
.s26-prose h2 { font: 600 35px/1.2 var(--font-display); margin-bottom: 20px; }
.s26-prose > * + h2 { margin-top: 100px; }
.s26-prose h3 { font: 700 20px/1.2 var(--font-display); }
.s26-prose h4, .s26-prose h5 { font: 700 18px/1.2 var(--font-display); }
/* the editors' headings a level up for the outline (fol26_outline: an h3 under the h1 is an h2, an h4 under an h2 an h3)
   keep the size and spacing of the level they were written in */
.s26-prose h2.fol-hl3 { font: 700 20px/1.2 var(--font-display); }
.s26-prose :is(h2, h3, h4):is(.fol-hl4, .fol-hl5, .fol-hl6) { font: 700 18px/1.2 var(--font-display); }
.s26-prose h2[class*="fol-hl"] { margin-bottom: 0; }
.s26-prose > * + h2[class*="fol-hl"] { margin-top: 0; }
.s26-prose img { height: auto; border-radius: 20px; }
.s26-prose blockquote { padding-left: 20px; border-left: 3px solid var(--brand); }
.s26-prose hr { width: 100%; border: 0; border-top: 1px solid var(--line); }

/* lists of the text: a violet dot with a soft halo, light text (Body/Small); numbered lists: the number in the lilac
   circle. The checks of the mockup stay where the mockup has them: the steps and the packages (below). An item the
   old editor left without its list (li straight in the text, as on Panama) looks the same, with no second marker. */
.s26-prose ul, .s26-prose ol { display: grid; gap: 12px; padding: 0; list-style: none; }
.s26-prose li { position: relative; min-height: 20px; padding-left: 24px; font-weight: 300; list-style: none; }
.s26-prose li::before {
  content: ''; position: absolute; left: 5px; top: 7px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(153, 111, 221, .2);
}
.s26-prose > li + li { margin-top: -8px; }
.s26-prose li > ul, .s26-prose li > ol { margin-top: 12px; }
.s26-prose ol { counter-reset: s26; }
.s26-prose ol > li { counter-increment: s26; padding-left: 32px; }
.s26-prose ol > li::before {
  content: counter(s26); left: 0; top: 0; width: 20px; height: 20px; box-shadow: none; background: rgba(153, 111, 221, .2);
  font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; color: var(--brand-strong);
}
/* the check lists of the mockup: the steps (Steps 205:5997) and the packages (Sale cards 205:11151) */
:is(.s26-step, .s26-pack) .s26-prose ul > li { padding-left: 32px; }
:is(.s26-step, .s26-pack) .s26-prose ul > li::before {
  left: 0; top: 0; width: 20px; height: 20px; box-shadow: none;
  background: rgba(243, 243, 243, .6) url(h26/icons/check-12.svg) center / 12px no-repeat;
}

/* tables: the striped rows of the system, rounded at the ends; scroll sideways when narrow */
.s26-prose > .s26-table { margin-block: 20px; }
/* a table that opens or closes the text adds no space of its own to the gaps of the section */
.s26-prose > .s26-table:first-child { margin-top: 0; }
.s26-prose > .s26-table:last-child { margin-bottom: 0; }
.s26-table { max-width: 100%; overflow-x: auto; }
.s26-table table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; }
.s26-table th, .s26-table td { padding: 12px; border: 0; text-align: left; vertical-align: top; color: var(--ink); background: var(--bg); }
.s26-table th, .s26-table thead td { font-weight: 500; line-height: 1.2; }
.s26-table thead :is(th, td):first-child { background: #eeeef1; }
.s26-table tbody td { height: 64px; }
.s26-table tbody tr:nth-child(odd) :is(td, th) { background: #ededf0; }
.s26-table tbody :is(td, th):first-child { border-radius: 12px 0 0 12px; }
.s26-table tbody :is(td, th):last-child { border-radius: 0 12px 12px 0; }
.s26-table tbody :is(td, th):only-child { border-radius: 12px; }
.s26-table table:has(tr > :nth-child(2):last-child) :is(th, td):first-child { width: 24.7%; }
.s26-table :is(td, th) p { margin: 0; }
/* the flag of a country link in a cell: in the line, before the name */
.s26-table .fol-flag--cell { display: inline-block; width: 22px; height: 16px; margin: 2px 8px 0 0; vertical-align: top; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(51, 50, 63, .08); }
.s26-table td a { color: inherit; }
/* (user 19.11.2026) a column never gets narrower than a short phrase: a wide table (eight columns of the licence
   comparisons) scrolls sideways in its box with the first column kept in place, instead of words in ribbons */
.s26-table { scrollbar-width: thin; scrollbar-color: #b3a7d8 transparent; }
.s26-table :is(th, td) { min-width: 140px; }
.s26-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; min-width: 150px; }
.s26-table table:has(tr > :nth-child(2):last-child) :is(th, td) { min-width: 0; }
/* more contrast: one grey (#e4e4ea) for the head row and the stripes, the head semibold, the first column set off.
   Under a head the stripes start with the second row, so the head and the first row do not run together */
.s26-table thead :is(th, td), .s26-table thead :is(th, td):first-child { background: #e4e4ea; font-weight: 600; color: var(--ink); }
.s26-table thead :is(th, td):first-child { border-radius: 12px 0 0 12px; }
.s26-table thead :is(th, td):last-child { border-radius: 0 12px 12px 0; }
.s26-table tbody tr:nth-child(odd) :is(td, th) { background: #e4e4ea; }
.s26-table table:has(thead) tbody tr:nth-child(odd) :is(td, th) { background: var(--bg); }
.s26-table table:has(thead) tbody tr:nth-child(even) :is(td, th) { background: #e4e4ea; }
.s26-table tbody :is(td, th):first-child { font-weight: 500; }

.s26-figure { margin: 0; }
.s26-figure img { width: 100%; height: auto; border-radius: 20px; }

.s26-actions { display: flex; }
.s26-actions--center { justify-content: center; }
.s26-actions .h26-btn { min-width: 235px; padding: 0 24px; }

/* ---------- intro: «Your idea. Our roadmap.» ---------- */
.s26-intro { justify-items: start; }
.s26-intro > * { max-width: 100%; }
/* «Your idea. Our roadmap.» in one line, 40px (Figma copy 6AIh00pTOLUNBHb42pnQc2, 141:1272), the violet part in the line */
.s26-intro__title { width: 568px; max-width: 100%; margin: 0; font: 700 40px/1.2 var(--font-display); font-variation-settings: 'wdth' 100; color: var(--ink); }
.s26-intro__title .fol-accent { display: inline; font-style: normal; color: var(--brand); white-space: nowrap; }
.s26-intro__copy { display: grid; gap: 20px; width: 100%; }
/* the text of the opening in 18px (Frame 21) */
.s26-intro__copy .s26-prose { font-size: 18px; line-height: 1.4; }
.s26-intro__sub { margin: 0; font: 600 24px/1.2 var(--font-display); color: var(--ink); }

/* ---------- cards two per row (content section type 1) ---------- */
.s26-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.s26-card {
  position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; align-content: start;
  padding: 40px; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-md);
}
.s26-cards--links .s26-card { grid-row: span 3; }
.s26-card__title { margin: 0; font: 700 18px/1.2 var(--font-display); color: var(--ink); text-wrap: balance; }
.s26-card__text { display: grid; gap: 12px; align-content: start; font-size: 14px; line-height: 20px; font-weight: 300; color: var(--ink); }
.s26-card__text p { margin: 0; }
/* lists in a card: the dots of the text lists */
.s26-card__text :is(ul, ol) { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.s26-card__text li { position: relative; min-height: 20px; padding-left: 24px; list-style: none; }
.s26-card__text li::before {
  content: ''; position: absolute; left: 5px; top: 7px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(153, 111, 221, .2);
}
.s26-card__text a { position: relative; z-index: 1; color: inherit; text-decoration: underline; }
/* Read more = Button / Outline of the system (.h26-btn--soft, user 19.11.2026); the card is the link, so the card's
   hover presses the button as its own hover does */
.s26-card__link { align-self: end; justify-self: start; min-width: 160px; padding: 0 24px; }
.s26-card:has(.s26-card__link):hover .s26-card__link { border-radius: 60px; box-shadow: inset -3px -3px 10px rgba(255, 255, 255, .8), inset 3px 3px 5px rgba(174, 174, 192, .2); }
.s26-card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.s26-card:has(.s26-card__link):hover { box-shadow: -10px -10px 30px rgba(255, 255, 255, .8), 10px 10px 30px rgba(100, 67, 199, .25); }
/* a card with its picture on top (services on offer) */
.s26-card--media { grid-row: span 3; }
.s26-cards--links .s26-card--media { grid-row: span 4; }
.s26-card__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }

/* ---------- questions that lead to a route (Steps (Vertical) + rows of a raised card) ---------- */
.s26-rq .s26-step__body { gap: 20px; }
.s26-rq__opts { display: grid; margin: 0; padding: 8px 24px; list-style: none; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-md); }
.s26-rq__opts li + li { border-top: 1px solid var(--line, #e3e1ea); }
.s26-rq__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.s26-rq__opt > span { display: grid; gap: 4px; min-width: 0; }
.s26-rq__label { font-size: 16px; line-height: 1.2; font-weight: 500; }
.s26-rq__note { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--ink-3, #8a8898); }
.s26-rq__arrow { flex: none; width: 24px; height: 24px; background: var(--brand); -webkit-mask: url(h26/icons/arrow-right-up.svg) center / 24px no-repeat; mask: url(h26/icons/arrow-right-up.svg) center / 24px no-repeat; transition: transform .2s; }
a.s26-rq__opt:hover .s26-rq__label { color: var(--brand); }
a.s26-rq__opt:is(:hover, :focus-visible) .s26-rq__arrow { transform: translate(2px, -2px); }

/* ---------- list with icons ---------- */
.s26-iconlist { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.s26-iconlist li { display: flex; gap: 16px; align-items: start; }
.s26-icbox { flex: none; display: flex; padding: 12px; border-radius: 20px; background: rgba(243, 243, 243, .6); }
.s26-iconlist__copy { flex: 1; min-width: 0; display: grid; gap: 12px; color: var(--ink); }
.s26-iconlist__copy h3 { margin: 0; font: 400 16px/1.2 var(--font-text); }
.s26-iconlist__copy p { margin: 0; font-size: 14px; line-height: 20px; font-weight: 300; }
.s26-iconlist__copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s26-iconlist__copy a:hover { color: var(--brand); }

/* ---------- «How do you start with FOL?» (teaser) ---------- */
.s26-start {
  position: relative; display: flex; gap: 40px; align-items: start; padding: 24px; overflow: hidden;
  border: 1px solid rgba(74, 50, 148, .1); border-radius: 20px; background: #fbfafe;
  filter: drop-shadow(0 6px 10px rgba(41, 26, 74, .07));
}
/* the ribbon: the render of the mockup's ribbon layer (Figma 198:5755) where the card shows it, its lower 118.5px */
.s26-start__ribbon { position: absolute; left: 0; bottom: 0; width: 100%; height: 118.5px; max-width: none; object-fit: cover; object-position: left top; pointer-events: none; }
/* the FOL badge: the light logo in a raised 173px circle (Figma 198:5760) */
.s26-start__badge { position: relative; z-index: 1; flex: none; width: 173px; height: 173px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 3px 3px 10px rgba(174, 174, 192, .4), -3px -3px 10px #fff; }
.s26-start__badge img { position: absolute; left: -7px; top: -3px; width: 192px; height: 192px; max-width: none; }
.s26-start__copy { position: relative; z-index: 1; flex: 1; min-width: 0; display: grid; gap: 20px; justify-items: start; }
.s26-start__title { margin: 0; font: 700 24px/30px var(--font-display); color: var(--ink); }
.s26-start__text { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--ink); opacity: .8; }
.s26-start__text p { margin: 0; }
.s26-start .h26-btn, .s26-consult .h26-btn { height: 43px; padding: 0 24px; }
/* the resting shadow of these cards in the mockup; hover, pressed and focus keep the shadows of the button system */
.s26-start .h26-btn:not(:hover, :active, :focus-visible, :disabled), .s26-consult .h26-btn:not(:hover, :active, :focus-visible, :disabled) { box-shadow: 0 4px 5px rgba(74, 50, 148, .16); }

/* ---------- tags (Tags & Buttons) ---------- */
.s26-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.s26-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 10px; background: var(--bg);
  box-shadow: inset -3px -3px 5px #fff, inset 3px 3px 5px rgba(174, 174, 192, .2);
  font-size: 14px; line-height: 20px; font-weight: 300; color: var(--brand); text-decoration: none; white-space: nowrap;
}
a.s26-tag:hover { box-shadow: inset -3px -3px 5px #fff, inset 3px 3px 5px rgba(100, 67, 199, .3); }
.s26-tag .fol-flag { width: 20px; height: 15px; border-radius: 2px; }
.s26-tag--time { gap: 12px; }
.s26-tag--purple { background: #b3a7d8; color: #f0f0f3; box-shadow: inset -3px -3px 5px #e3dcfa, inset 3px 3px 5px rgba(74, 50, 148, .2); }
.s26-tag--dark { background: var(--brand-strong); color: #f0f0f3; box-shadow: inset -3px -3px 5px #312c7b, inset 3px 3px 5px rgba(255, 255, 255, .2); }
/* the clock of a time tag turns light on the purple and dark tags, as in the system */
.s26-tag--time:is(.s26-tag--purple, .s26-tag--dark) img { filter: brightness(0) invert(.95); }
.s26-links { gap: 20px; }
.s26-start .s26-tags { margin-bottom: -8px; }

/* ---------- stages (Steps, vertical) ---------- */
.s26-steps { display: grid; gap: 60px; margin: 0; padding: 0; list-style: none; }
.s26-step { position: relative; display: grid; grid-template-columns: 35px minmax(0, 1fr); column-gap: 40px; }
.s26-step:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 17px; bottom: -77px; width: 3px; background: var(--brand); }
.s26-step:nth-last-child(2)::before { background: #b3a7d8; }
.s26-step__num {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 35px; height: 35px;
  border: 2px solid var(--brand); border-radius: 50%; background: linear-gradient(to bottom, #6443c7, #b3a7d8);
  font: 700 20px/1 var(--font-display); color: #e3e1ea;
}
.s26-step:last-child .s26-step__num { border-color: #b3a7d8; background: #b3a7d8; }
.s26-step__body { display: grid; gap: 8px; min-width: 0; }
.s26-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.s26-step__title { margin: 0; font: 700 18px/1.2 var(--font-display); color: var(--ink); }
.s26-step .s26-prose { gap: 24px; font-weight: 300; }
.s26-step .s26-prose ul, .s26-step .s26-prose ol { gap: 16px; }

/* ---------- packages (Sale cards) and the consultant (Contact card) ---------- */
.s26-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.s26-pack { display: flex; flex-direction: column; padding: 20px; border: 1.5px solid transparent; border-radius: 20px; background: var(--bg) padding-box; box-shadow: var(--shadow-md); }
.s26-pack--popular { background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, #b3a7d8, #8a38f5) border-box; }
.s26-pack__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.s26-pack__name { margin: 0; font: 600 24px/1.2 var(--font-display); color: var(--ink); }
.s26-pack__desc { margin: 20px 0 0; font-size: 14px; line-height: 20px; color: var(--ink); }
.s26-pack__prices { display: grid; gap: 12px; margin-top: 40px; }
.s26-pack__prices::after {
  content: ''; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--bg);
  box-shadow: -.2px -.5px 1px #fff, .5px .75px 1px rgba(174, 174, 192, .6);
}
.s26-pack__price { display: grid; margin: 0; color: var(--ink); }
.s26-pack__price b { font: 600 35px/1.2 var(--font-display); }
.s26-pack__price--sub b { font-size: 24px; }
.s26-pack__price span { font-size: 14px; line-height: 20px; }
.s26-pack .s26-prose { margin-top: 20px; }
.s26-pack > .h26-btn { width: 100%; margin-top: auto; }
.s26-pack > :nth-last-child(2) { margin-bottom: 40px; }
/* three in a row need the 894px column (282px cards); a narrower column (tablets, narrow laptops) stacks them */
@container s26col (max-width: 779px) {
  .s26-packs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .s26-pack__prices { margin-top: 24px; }
}
/* the cards share the rows of the row (subgrid, user 19.11.2026): name, description, set-up fee, renewal fee, the
   rule, the list and the button stand on one line across the cards, whatever wraps in one of them. The prices box
   gives its fees and its rule (::after) to the card's rows; spacing is margins, the rows have no gaps of their own. */
@supports (grid-template-rows: subgrid) {
  /* the row gap of the list would fall between the rows of every card (Chrome spaces the shared rows by it): the
     list has none, a card of a next line keeps its distance by its margin */
  .s26-packs { row-gap: 0; }
  .s26-pack:nth-child(n+4) { margin-top: 24px; }
  .s26-pack { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; }
  .s26-pack > * { min-width: 0; }
  .s26-pack__head { grid-row: 1; }
  .s26-pack__desc { grid-row: 2; }
  .s26-pack__prices { display: contents; }
  .s26-pack__price { grid-row: 3; margin-top: 40px; }
  .s26-pack__price--sub { grid-row: 4; margin-top: 12px; }
  .s26-pack__prices::after { grid-row: 5; align-self: start; margin: 20px 0; }
  .s26-pack > .s26-prose { grid-row: 6; align-self: start; margin: 0 0 40px; }
  .s26-pack > :nth-last-child(2) { margin-bottom: 40px; }
  .s26-pack > .h26-btn { grid-row: 7; align-self: end; margin-top: 0; }
}
@container s26col (max-width: 779px) {
  @supports (grid-template-rows: subgrid) {
    .s26-pack__price { margin-top: 24px; }
    .s26-pack + .s26-pack { margin-top: 20px; }
  }
}

.s26-consult {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px;
  padding: 24px; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-md); color: var(--ink);
}
.s26-consult__who { display: flex; align-items: center; gap: 20px; min-width: 0; }
.s26-consult__photo { position: relative; flex: none; width: 80px; height: 80px; }
.s26-consult__glow { position: absolute; inset: -14.75%; width: 129.5%; height: 129.5%; max-width: none; }
.s26-consult__img { position: relative; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.s26-consult p { margin: 0; }
.s26-consult__label { margin-bottom: 8px !important; font-size: 12px; line-height: 18px; font-weight: 700; opacity: .72; }
.s26-consult__name { font: 700 24px/30px var(--font-display); }
.s26-consult__role { margin-top: 4px !important; font-size: 14px; line-height: 20px; font-weight: 300; opacity: .8; }
.s26-consult__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 52px; margin: 0; padding: 0; list-style: none; }
.s26-consult__facts li { display: flex; align-items: center; gap: 12px; }
.s26-consult__ic { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; background: rgba(243, 243, 243, .6); }
.s26-consult__ic img { height: 24px; width: auto; }
.s26-consult__facts small { display: block; font-size: 12px; line-height: 18px; font-weight: 300; opacity: .72; }
.s26-consult__facts a { display: block; font-size: 14px; line-height: 1.2; font-weight: 500; color: inherit; text-decoration: none; }
.s26-consult__facts a:hover { color: var(--brand); }

.s26-note { padding: 20px 24px; border-radius: 20px; background: rgba(153, 111, 221, .2); font-size: 14px; line-height: 20px; color: var(--ink); }
.s26-note p { margin: 0; }
.s26-note p + p { margin-top: 10px; }

.s26-faq__lead { margin: 20px 0 0; font-size: 14px; line-height: 20px; color: var(--ink); }

/* ---------- narrower screens ---------- */
@media (max-width: 1239px) {
  .s26-grid { grid-template-columns: minmax(0, 1fr) 282px; gap: 40px; }
}

/* the sidebar becomes a closed «On this page» box over the column (fol2.js opens it from 1081px) */
@media (max-width: 1080px) {
  .s26-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s26-aside { position: static; order: -1; }
  .s26-help { display: none; }
  .s26-toc { padding: 16px 20px; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-sm); }
  .s26-toc summary { display: flex; align-items: center; justify-content: space-between; margin: 0; font-size: 16px; }
  .s26-toc summary::after { content: ''; width: 16px; height: 16px; background: url(h26/icons/chevron-16.svg) center / 16px no-repeat; transition: transform .25s; }
  .s26-toc[open] summary { margin-bottom: 20px; }
  .s26-toc[open] summary::after { transform: rotate(180deg); }
  .s26-toc a { padding-block: 2px; }
  .s26-hero { min-height: 520px; padding-top: 140px; }
  /* the hero is lower than the globe's fade: the globe fades out above the hero's bottom instead of ending in a line */
  .s26-hero .h26-hero__globe { -webkit-mask-image: linear-gradient(to bottom, #000 420px, transparent 630px); mask-image: linear-gradient(to bottom, #000 420px, transparent 630px); }
  .s26-hero--cta { min-height: 580px; padding-bottom: 64px; }
  /* the section's picture at 70% on the right (its subject stays in view instead of being cut by the centred frame),
     dimmed to a fifth under the text so the subtitle reads over it; the mist of the hero lies over that too */
  .s26-hero__art {
    top: 0; left: auto; right: -40px; transform: scale(.7); transform-origin: 100% 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px), linear-gradient(to right, rgba(0, 0, 0, .2) 50%, #000 75%);
    mask-image: linear-gradient(to bottom, #000 473.3px, transparent 704.1px), linear-gradient(to right, rgba(0, 0, 0, .2) 50%, #000 75%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .s26-crumbs { top: -108px; }
}

/* narrow tablets and phones: the text takes the whole width, so the picture stands on the hero's bottom under the
   button, its subject in the middle of the screen and always across the whole width, fading in at the top (no line
   through a tall hero's text) and out at the hero's edge */
@media (max-width: 860px) {
  .s26-hero--cta { min-height: 0; padding-bottom: 300px; }
  .s26-hero__art {
    top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 360px; transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 270px, transparent 360px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 270px, transparent 360px);
  }
  .s26-hero__pic {
    --pic-w: max(703px, 100%);
    top: 0; width: var(--pic-w); height: auto;
    left: clamp(calc(100% - var(--pic-w)), calc(50% - var(--art-fx) * var(--pic-w)), 0px);
  }
}

@media (max-width: 640px) {
  .s26-hero { min-height: 0; padding-top: 72px; padding-bottom: 280px; }
  /* the globe stands on the hero's bottom so its lit map shows under the button, fading in at its top edge (the
     picture's top would cut a line through the text of a tall hero) and out before the hero's edge; the mist goes up
     behind the title instead of veiling the globe */
  .s26-hero .h26-hero__globe {
    top: auto; bottom: -230px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 290px, transparent 408px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 290px, transparent 408px);
  }
  .s26-hero .h26-hero__mist { top: -420px; }
  .s26-crumbs { top: -48px; }
  .s26-hero__title { font-size: 40px; }
  .s26-intro__title { font-size: 35px; }
  .s26-hero--cta { min-height: 0; padding-bottom: 280px; }
  .s26-hero--cta > .fol-container { align-items: stretch; }
  /* the section's picture under the button, a little lower than on tablets */
  .s26-hero__art {
    height: 340px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 250px, transparent 340px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 100px, #000 250px, transparent 340px);
  }
  .s26-hero__pic { --pic-w: max(664px, 100%); }
  .s26-hero__cta { margin-top: 0; padding-top: 32px; }
  .s26-hero__text { margin-top: 24px; font-size: 14px; line-height: 20px; }
  .s26-hero__cta .h26-btn { width: 100%; }
  .s26-intro__copy .s26-prose { font-size: 16px; line-height: 24px; }
  .s26-body { margin-top: 40px; }
  .s26-h2, .s26-prose h2 { font-size: 28px; }
  .s26-prose > * + h2 { margin-top: 60px; }
  .s26-sec { gap: 32px; }
  .s26-intro { gap: 32px; }
  .s26-intro__sub { font-size: 20px; }
  .s26-actions, .s26-actions .h26-btn { width: 100%; }
  .s26-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .s26-card { padding: 24px 20px; }
  .s26-rq__opts { padding: 4px 16px; }
  .s26-iconlist { gap: 32px; }
  .s26-iconlist li { gap: 12px; }
  .s26-start { flex-direction: column; gap: 20px; padding: 20px; }
  .s26-start__badge { width: 120px; height: 120px; }
  .s26-start__badge img { left: -5px; top: -2px; width: 133px; height: 133px; }
  .s26-start__copy .h26-btn { width: 100%; }
  .s26-steps { gap: 40px; }
  .s26-step { column-gap: 16px; }
  .s26-step:not(:last-child)::before { bottom: -57px; }
  .s26-packs { grid-template-columns: minmax(0, 1fr); }
  .s26-consult { grid-template-columns: minmax(0, 1fr); }
  .s26-consult .h26-btn { order: 3; width: 100%; }
  .s26-consult__facts { flex-direction: column; gap: 16px; }
  .s26-consult__facts a { overflow-wrap: anywhere; }
  /* tables: the first column stays put while the rest scroll (Tables, mobile) */
  /* the scroller runs from screen edge to screen edge (max-width: none, else the column's 100% eats the gutters) */
  .s26-table { max-width: none; margin-inline: calc(-1 * var(--h26-gutter)); padding-inline: var(--h26-gutter); }
  .s26-table table { width: max-content; min-width: 100%; }
  .s26-table :is(th, td) { min-width: 120px; max-width: 240px; }
  .s26-table :is(th, td):first-child { position: sticky; left: calc(-1 * var(--h26-gutter)); z-index: 1; min-width: 130px; max-width: 150px; }
  /* a two-column table (a name and its value) fits the screen instead of scrolling */
  .s26-table table:has(tr > :nth-child(2):last-child) { width: 100%; }
  .s26-table table:has(tr > :nth-child(2):last-child) :is(th, td) { min-width: 0; max-width: none; }
  .s26-table table:has(tr > :nth-child(2):last-child) :is(th, td):first-child { position: static; width: 40%; }
}

/* ---------- steps fill as the page scrolls (fol26.js adds .is-anim, sets --fill on a step and .is-on) ----------
   The line from a circle to the next is a pale track with the violet running down it; a circle lights up (its
   gradient, the light digit) when the violet reaches it. Without the script, and with reduced motion, the steps
   stand filled as in the mockup. */
.s26-steps.is-anim .s26-step:not(:last-child)::before { background: rgba(153, 111, 221, .18); }
.s26-steps.is-anim .s26-step:not(:last-child)::after {
  content: ''; position: absolute; left: 16px; top: 17px; bottom: -77px; width: 3px; background: var(--brand);
  transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform .15s linear;
}
.s26-steps.is-anim .s26-step:nth-last-child(2)::after { background: #b3a7d8; }
.s26-steps.is-anim .s26-step__num { background: var(--bg); border-color: rgba(153, 111, 221, .35); color: #b3a7d8; transition: color .35s, border-color .35s, box-shadow .35s; }
.s26-steps.is-anim .s26-step__num::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 50%;
  background: linear-gradient(to bottom, #6443c7, #b3a7d8); opacity: 0; transform: scale(.4); transition: opacity .35s, transform .35s cubic-bezier(.3, 1.4, .6, 1);
}
.s26-steps.is-anim .s26-step:last-child .s26-step__num::before { background: #b3a7d8; }
.s26-steps.is-anim .s26-step.is-on .s26-step__num { border-color: var(--brand); color: #e3e1ea; }
.s26-steps.is-anim .s26-step:last-child.is-on .s26-step__num { border-color: #b3a7d8; }
.s26-steps.is-anim .s26-step.is-on .s26-step__num::before { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .s26-steps.is-anim .s26-step:not(:last-child)::after { bottom: -57px; }
}

/* pictures that stood alone after a section (tax treaty maps) close that section (page-services-26.php) */
.s26-media img { display: block; max-width: 100%; height: auto; }
