/* latin-ext */
@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/s88-691403978a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/s88-2d81a5052a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/s88-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/s88-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/s88-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/s88-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/s88-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/s88-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============ Tokens — « Coffre d'émeraude » ============ */
:root{
  --bg:#071A14;
  --surface:#0C241C;
  --surface-2:#0A1F18;
  --raised:#133328;
  --line:#1E4A3A;
  --text:#FFFFFF;
  --text-muted:#A9C7BB;
  --accent:#FFCE55;
  --emerald:#17FC89;
  --cta-from:#FFD66B;
  --cta-to:#F2A93B;
  --cta-text:#1A1206;
  --gem-pink:#FF8FC7;
  --gem-cyan:#5CE1FF;
  /* parchment surfaces: rail + footer (logo tone = dark → light bars, hard rule) */
  --rail-bg:#F6F1E3;
  --rail-ink:#0B241C;
  --rail-muted:#4E6B5D;
  --rail-line:#D9CFB4;
  --gold-ink:#8A6414;
  --font-head:'Lilita One','Arial Rounded MT Bold','Trebuchet MS',sans-serif;
  --font-body:'Outfit','Segoe UI',system-ui,sans-serif;
  --rail-w:264px;
  --wrap:1160px;
  --gutter:clamp(1rem,3vw,1.5rem);
  --radius:10px;
  --radius-s:8px;
  --radius-xs:6px;
  --section-pad:clamp(2rem,4.5vw,3.25rem); /* dense */
}

/* ============ Base ============ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
@media(min-width:960px){html{scroll-padding-top:1.5rem}}
body{margin:0;background:var(--bg);color:var(--text);font:400 17px/1.6 var(--font-body);overflow-x:hidden;padding-inline-start:var(--rail-w)}
@media(max-width:640px){body{font-size:16px}}
img{max-width:100%}
p,li,dd,dt,summary,h1,h2,h3,td,th{overflow-wrap:anywhere}
::selection{background:var(--accent);color:var(--cta-text)}
:focus-visible{outline:2px solid var(--gem-cyan);outline-offset:2px}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* ============ Layout primitives ============ */
.s88-container{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.s88-section{padding-block:var(--section-pad)}
.s88-section--alt{background:var(--surface-2)}
.s88-section h2{font-family:var(--font-head);font-weight:400;font-size:clamp(1.65rem,3.4vw,2.3rem);line-height:1.14;margin:0 0 .45em;text-wrap:balance}
.s88-section h3{font-family:var(--font-head);font-weight:400;font-size:clamp(1.2rem,2vw,1.4rem);line-height:1.2;margin:0 0 .35em}
.s88-head{display:flex;flex-direction:column;gap:.55rem;margin-block-end:1.5rem}
.s88-head__sub{margin:0;color:var(--text-muted)}
.s88-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font:800 .74rem/1.2 var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.s88-eyebrow::before{content:"";width:.55em;height:.55em;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px rgba(255,206,85,.18)}
.s88-accent{color:var(--accent);font-style:normal}

/* ============ Buttons ============ */
.s88-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font:800 .82rem/1.25 var(--font-body);letter-spacing:.05em;text-transform:uppercase;text-decoration:none;text-align:center;cursor:pointer;padding:.95em 1.7em;border-radius:var(--radius-s);border:1px solid transparent;transition:transform .15s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease}
.s88-btn:hover{transform:translateY(-2px)}
.s88-btn:active{transform:translateY(0)}
.s88-btn--primary{background:linear-gradient(180deg,var(--cta-from),var(--cta-to));color:var(--cta-text);box-shadow:0 8px 22px rgba(242,169,59,.22)}
.s88-btn--primary:hover{box-shadow:0 12px 28px rgba(242,169,59,.34)}
.s88-btn--ghost{background:transparent;color:var(--text);border-color:var(--accent)}
.s88-btn--ghost:hover{background:rgba(255,206,85,.09)}
.s88-btn--em{padding:1.05em 2.1em;font-size:.92rem}

/* ============ Icon / logo ============ */
.s88-icon{width:1.5em;height:1.5em;display:inline-block;vertical-align:middle;flex-shrink:0;stroke:currentColor}
.s88-logo{display:inline-flex;align-items:center;min-width:0;text-decoration:none}
.s88-logo__img{display:block;height:40px;width:auto;max-width:100%;object-fit:contain}

/* ============ Header — nav-rail (parchment map rail) ============ */
.s88-header{position:fixed;top:0;bottom:0;left:0;width:var(--rail-w);z-index:100;display:flex;flex-direction:column;gap:1.15rem;padding:1.35rem 1.25rem 1.25rem;background:var(--rail-bg);border-right:1px solid var(--rail-line);overflow-y:auto;overscroll-behavior:contain}
.s88-header .s88-logo{padding-bottom:1.05rem;border-bottom:1px solid var(--rail-line)}
.s88-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}
.s88-nav a:not(.s88-btn){display:flex;align-items:center;gap:.65rem;min-width:0;padding:.62rem .7rem;border-radius:var(--radius-xs);color:var(--rail-ink);text-decoration:none;font-weight:600;font-size:.95rem;line-height:1.3;transition:background-color .15s ease,color .15s ease}
.s88-nav a:not(.s88-btn)::before{content:"";flex-shrink:0;width:8px;height:8px;border-radius:50%;border:1.5px solid var(--rail-line);background:transparent;transition:background-color .15s ease,border-color .15s ease}
.s88-nav a:not(.s88-btn):hover{background:rgba(11,36,28,.07)}
.s88-nav a:not(.s88-btn):hover::before{border-color:var(--accent)}
.s88-nav a:not(.s88-btn)[aria-current="page"]{background:rgba(255,206,85,.16);color:var(--gold-ink)}
.s88-nav a:not(.s88-btn)[aria-current="page"]::before{background:var(--accent);border-color:var(--accent)}
.s88-header__bottom{margin-top:auto;display:flex;flex-direction:column;gap:.6rem;align-items:stretch}
.s88-header__cta{white-space:normal}
.s88-rail-note{margin:0;font-size:.72rem;line-height:1.45;color:var(--rail-muted);text-align:center}
.s88-burger{display:none}

/* — rail collapses to top bar < 960px — */
@media(max-width:959.98px){
  body{padding-inline-start:0;padding-top:72px}
  .s88-header{top:0;bottom:auto;left:0;right:0;width:100%;flex-direction:row;align-items:center;gap:.55rem;min-height:64px;padding:.6rem .65rem;border-right:none;border-bottom:1px solid var(--rail-line);overflow:visible}
  .s88-header .s88-logo{order:1;max-width:min(38vw,124px);padding-bottom:0;border-bottom:none}
  .s88-header__bottom{order:2;margin:0 0 0 auto;flex-direction:row;align-items:center;gap:.55rem}
  .s88-header__cta{max-width:150px;font-size:.75rem;padding:.62em .8em}
  .s88-rail-note{display:none}
  .s88-burger{order:3;display:flex;flex-shrink:0;width:44px;height:44px;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;border:1px solid var(--rail-line);border-radius:var(--radius-xs);cursor:pointer}
  .s88-burger span{display:block;width:22px;height:2px;border-radius:2px;background:var(--rail-ink);transition:transform .2s ease,opacity .2s ease}
  .s88-header.is-open .s88-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .s88-header.is-open .s88-burger span:nth-child(2){opacity:0}
  .s88-header.is-open .s88-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .s88-nav{position:absolute;top:100%;left:0;right:0;display:none;background:var(--rail-bg);border-bottom:1px solid var(--rail-line);box-shadow:0 22px 44px rgba(4,12,9,.45);padding:1rem 1.1rem calc(1rem + env(safe-area-inset-bottom));max-height:calc(100dvh - 64px);overflow-y:auto}
  .s88-header.is-open .s88-nav{display:flex}
  .s88-nav ul{gap:.15rem}
  .s88-nav a:not(.s88-btn){padding:.8rem .7rem;font-size:1rem}
}

/* ============ Hero — base + home (image-first, centered) ============ */
.s88-hero{position:relative;overflow:hidden}
.s88-hero--home{padding-block:clamp(2.25rem,5vw,3.75rem);background:radial-gradient(48% 55% at 50% -6%,rgba(23,252,137,.09),transparent 68%),radial-gradient(26% 30% at 84% 80%,rgba(255,206,85,.06),transparent 72%),radial-gradient(22% 26% at 8% 62%,rgba(255,206,85,.05),transparent 72%),var(--bg)}
.s88-hero__inner{display:flex;flex-direction:column;gap:1.15rem;width:100%}
.s88-hero--home .s88-hero__inner{align-items:center;text-align:center}
.s88-hero__visual{width:100%;min-width:0}
.s88-hero--home .s88-hero__visual{order:-1}
.s88-hero__visual:not(:has(.s88-hero__img)){aspect-ratio:3/2;border-radius:var(--radius);border:1px solid var(--line);background:linear-gradient(155deg,#123A2C 0%,var(--surface-2) 55%,#081E17 100%)}
.s88-hero__img{display:block;width:100%;height:auto;max-height:70vh;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius)}
.s88-hero__title{font-family:var(--font-head);font-weight:400;font-size:clamp(2.15rem,5vw,3.5rem);line-height:1.1;margin:0;text-wrap:balance}
.s88-hero__sub{margin:0;color:var(--text-muted);font-size:clamp(1.02rem,1.7vw,1.2rem);text-wrap:balance}
.s88-hero__actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center}

/* ============ Compact inner-page band (hero--inner / page-header) ============ */
.s88-hero--inner,.s88-page-header{position:relative;overflow:hidden;display:flex;align-items:flex-end;min-height:158px;background:linear-gradient(180deg,rgba(23,252,137,.06),transparent 62%),var(--surface-2);border-bottom:1px solid var(--line)}
.s88-hero--inner .s88-hero__inner,.s88-page-header__inner{position:relative;width:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:.5rem;padding-block:1.7rem;padding-inline:max(var(--gutter),calc((100% - var(--wrap))/2 + var(--gutter)))}
.s88-hero--inner .s88-container,.s88-page-header .s88-container{display:flex;flex-direction:column;justify-content:flex-end;gap:.5rem;width:100%}
.s88-hero--inner .s88-hero__img,.s88-page-header .s88-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:0;z-index:0}
.s88-hero--inner:has(.s88-hero__img) .s88-hero__inner::after,.s88-page-header:has(.s88-hero__img) .s88-page-header__inner::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(7,26,20,.58) 0%,rgba(7,26,20,.88) 100%)}
:where(.s88-hero--inner .s88-hero__inner > :not(.s88-hero__img)){position:relative;z-index:2}
:where(.s88-page-header .s88-page-header__inner > :not(.s88-hero__img)){position:relative;z-index:2}
.s88-page-header:has(.s88-hero__img){min-height:230px}
.s88-hero--inner :is(h1,.s88-hero__title),.s88-page-header :is(h1,.s88-page-header__title){font-family:var(--font-head);font-weight:400;font-size:clamp(1.55rem,3.4vw,2.2rem);line-height:1.14;margin:0;text-wrap:balance}
.s88-hero--inner .s88-hero__sub,.s88-page-header__sub{margin:0;color:var(--text-muted)}
.s88-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.82rem;color:var(--text-muted)}
.s88-breadcrumb a{color:var(--accent);text-decoration:none;font-weight:600}
.s88-breadcrumb a:hover{text-decoration:underline}
.s88-breadcrumb__sep{color:var(--line)}

/* ============ Overview / prose ============ */
.s88-overview{display:flex;flex-direction:column;gap:.85rem}
.s88-overview p{margin:0;color:var(--text-muted)}
.s88-overview strong{color:var(--text);font-weight:600}

/* ============ Quick facts + panels ============ */
.s88-facts{margin:0;display:flex;flex-direction:column}
.s88-facts__row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.68rem 0;border-bottom:1px solid var(--line)}
.s88-facts__row:last-child{border-bottom:none;padding-bottom:.2rem}
.s88-facts dt{color:var(--text-muted);min-width:0}
.s88-facts dd{margin:0;font-weight:800;color:var(--accent);text-align:right;font-variant-numeric:tabular-nums}
.s88-quick-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);overflow:hidden}
.s88-quick-facts .s88-facts{background:var(--surface);padding:.35rem 1.1rem .55rem}
.s88-panel{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);padding:clamp(1.1rem,2.2vw,1.5rem);display:flex;flex-direction:column;gap:.9rem;min-width:0}
.s88-panel__title{font-family:var(--font-head);font-weight:400;font-size:1.28rem;line-height:1.2;margin:0}
.s88-two-cols{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.25rem,3vw,2.25rem);align-items:start}
.s88-two-cols > *{min-width:0}
@media(max-width:900px){.s88-two-cols{grid-template-columns:1fr}}
.s88-checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}
.s88-checklist li{display:flex;gap:.7rem;align-items:flex-start;min-width:0}
.s88-checklist .s88-icon{color:var(--emerald);margin-top:.2em}
.s88-mini-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:.7rem}
.s88-mini-stat{background:var(--raised);border-radius:var(--radius-s);padding:.85rem .9rem;display:flex;flex-direction:column;gap:.2rem;min-width:0}
.s88-mini-stat__value{font-family:var(--font-head);font-size:1.45rem;line-height:1.1;color:var(--accent)}
.s88-mini-stat__label{font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.s88-score{display:flex;align-items:center;gap:.8rem;background:var(--raised);border-radius:var(--radius-s);padding:.9rem 1.05rem}
.s88-score__value{font-family:var(--font-head);font-size:2.05rem;line-height:1;color:var(--accent)}
.s88-score__meta{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.s88-score__label{font-size:.8rem;color:var(--text-muted)}

/* ============ Numbered list — coin medallions ============ */
.s88-numbered{list-style:none;margin:0;padding:0;counter-reset:s88step;display:flex;flex-direction:column;gap:1.05rem}
.s88-numbered li{counter-increment:s88step;position:relative;padding-inline-start:3.3rem;min-width:0}
.s88-numbered li::before{content:counter(s88step);position:absolute;inset-inline-start:0;top:.05rem;width:2.25rem;height:2.25rem;display:grid;place-items:center;font-family:var(--font-head);font-size:1.05rem;color:var(--cta-text);background:linear-gradient(180deg,var(--cta-from),var(--cta-to));border-radius:50%;box-shadow:0 3px 10px rgba(242,169,59,.28)}
.s88-numbered h3{margin:0 0 .3rem}

/* ============ Feature rows (icon-rows) ============ */
.s88-features{display:flex;flex-direction:column}
.s88-feature{display:flex;gap:1rem;align-items:flex-start;padding:1.05rem 0;border-bottom:1px solid var(--line)}
.s88-feature:last-child{border-bottom:none;padding-bottom:.2rem}
.s88-feature__icon{flex:0 0 auto;width:50px;height:50px;display:grid;place-items:center;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-s);color:var(--accent)}
.s88-feature__icon .s88-icon{width:1.6em;height:1.6em}
.s88-feature__body{min-width:0;display:flex;flex-direction:column;gap:.3rem}
.s88-feature__title{margin:0;font-weight:800;font-size:1.03rem}
.s88-feature__text{margin:0;color:var(--text-muted)}
@media(max-width:480px){
  .s88-feature{gap:.75rem}
  .s88-feature__icon{width:40px;height:40px}
  .s88-feature__icon .s88-icon{width:1.35em;height:1.35em}
}

/* ============ Cards grid ============ */
.s88-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1rem}
.s88-card{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);padding:1.15rem;display:flex;flex-direction:column;gap:.6rem;min-width:0}
.s88-card__title{margin:0;font-weight:800;font-size:1.02rem}
.s88-card__text{margin:0;color:var(--text-muted)}
.s88-card .s88-icon{color:var(--accent)}

/* ============ Tables / payments ============ */
.s88-table-wrap{overflow-x:auto;max-width:100%;margin-block:1.5rem}
.s88-table{width:100%;border-collapse:collapse;font-size:.95rem}
.s88-table th{white-space:nowrap;text-align:left;background:var(--raised);color:var(--text);font-weight:800;padding:.72rem .9rem;border-bottom:2px solid var(--accent)}
.s88-table td{padding:.7rem .9rem;border-bottom:1px solid var(--line);color:var(--text-muted);vertical-align:top}
.s88-table td:first-child{color:var(--text);font-weight:600}
.s88-table tbody tr:hover{background:var(--surface)}
.s88-table .s88-num{font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}
.s88-pay{display:inline-flex;align-items:center;gap:.55rem;color:var(--text);font-weight:600;white-space:nowrap}
.s88-pay .s88-icon{color:var(--emerald)}

/* ============ Stats — bare counters ============ */
.s88-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:clamp(1.25rem,3vw,2.1rem);text-align:center}
.s88-stat{display:flex;flex-direction:column;align-items:center;gap:.45rem;min-width:0}
.s88-stat__value{font-family:var(--font-head);font-size:clamp(2.2rem,5vw,3.5rem);line-height:1;color:var(--accent)}
.s88-stat__label{font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;color:var(--text-muted);line-height:1.4}

/* ============ Categories bar ============ */
.s88-tags{display:flex;flex-wrap:wrap;gap:.55rem}
.s88-tag{display:inline-flex;align-items:center;gap:.45rem;padding:.5em 1em;border-radius:var(--radius-xs);border:1px solid var(--line);background:var(--surface);color:var(--text);font-weight:600;font-size:.9rem;text-decoration:none;transition:border-color .15s ease,color .15s ease}
.s88-tag:hover{border-color:var(--accent);color:var(--accent)}

/* ============ TOC ============ */
.s88-toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.3rem;display:flex;flex-direction:column;gap:.55rem}
.s88-toc__title{font-family:var(--font-head);font-weight:400;font-size:1.1rem;margin:0}
.s88-toc ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.45rem}
.s88-toc a{color:var(--accent);text-decoration:none;font-weight:600;font-size:.95rem}
.s88-toc a:hover{text-decoration:underline}

/* ============ Legal body ============ */
.s88-legal{counter-reset:s88law;display:flex;flex-direction:column;gap:1.05rem}
.s88-legal h2{counter-increment:s88law;display:flex;gap:.7rem;align-items:baseline;font-family:var(--font-head);font-weight:400;font-size:1.35rem;line-height:1.2;margin:0}
.s88-legal h2::before{content:counter(s88law) ".";color:var(--accent);flex-shrink:0}
.s88-legal p{margin:0;color:var(--text-muted)}
.s88-legal ul{margin:0;padding-inline-start:1.2rem;color:var(--text-muted);display:flex;flex-direction:column;gap:.4rem}

/* ============ CTA block ============ */
.s88-cta{padding-block:var(--section-pad);background:linear-gradient(180deg,rgba(255,206,85,.1),rgba(255,206,85,.03)),var(--surface);border-top:3px solid var(--accent);border-bottom:1px solid var(--line);text-align:center}
.s88-cta__inner{display:flex;flex-direction:column;gap:1rem;align-items:center}
.s88-cta__inner h2{margin:0}
.s88-cta p{margin:0;color:var(--text-muted)}
.s88-cta__actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center}
.s88-cta .s88-microline{border-radius:var(--radius-xs);margin-top:.2rem}

/* ============ FAQ — two columns ============ */
.s88-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1.5rem,4vw,3rem);align-items:start}
@media(max-width:820px){.s88-faq{grid-template-columns:1fr}}
.s88-faq details{border-bottom:1px solid var(--line)}
.s88-faq summary{cursor:pointer;padding:1rem 0;font-weight:600;list-style:none;color:var(--text)}
.s88-faq summary::-webkit-details-marker{display:none}
.s88-faq summary::before{content:'+';margin-right:.5rem;transition:transform .2s;color:var(--accent);font-weight:800}
.s88-faq details[open] summary::before{content:'−'}
.s88-faq details > :not(summary){padding:.5rem 0 1rem;margin:0;color:var(--text-muted)}

/* ============ RTP grid ============ */
.s88-rtp{display:grid;gap:clamp(.6rem,1.5vw,1rem);grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){.s88-rtp{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){.s88-rtp{grid-template-columns:repeat(4,minmax(0,1fr))}}
.s88-rtp-item{position:relative;overflow:hidden;min-width:0;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface)}
.s88-rtp-item__thumb{display:block;aspect-ratio:3/2;position:relative;background:linear-gradient(160deg,var(--raised),var(--surface-2))}
.s88-rtp-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.s88-rtp-item__name{padding:.55rem .7rem;font-weight:600;font-size:.9rem;border-top:1px solid var(--line)}
.s88-rtp-tooltip{position:absolute;bottom:0;left:0;right:0;opacity:0;transition:opacity .2s;background:rgba(7,26,20,.92);color:var(--text);padding:.5rem .7rem;font-size:.8rem}
.s88-rtp-item:hover .s88-rtp-tooltip,.s88-rtp-item:focus-within .s88-rtp-tooltip{opacity:1}

/* ============ Sticky nav (mobile) ============ */
.s88-sticky{position:fixed;left:0;right:0;bottom:0;z-index:90;display:none;align-items:center;justify-content:space-around;gap:.4rem;background:var(--surface);border-top:1px solid var(--line);padding:.45rem .6rem calc(.45rem + env(safe-area-inset-bottom))}
@media(max-width:767.98px){.s88-sticky{display:flex}}
.s88-sticky a{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.3rem .55rem;color:var(--text-muted);text-decoration:none;font-size:.66rem;font-weight:600;line-height:1.2}
.s88-sticky .s88-icon{color:var(--accent)}

/* ============ Chat widget ============ */
.s88-chat-btn{position:fixed;right:1.1rem;bottom:1.1rem;z-index:95;width:56px;height:56px;border:none;border-radius:50%;cursor:pointer;display:grid;place-items:center;background:linear-gradient(180deg,var(--cta-from),var(--cta-to));color:var(--cta-text);box-shadow:0 10px 26px rgba(4,12,9,.5);transition:transform .15s ease}
.s88-chat-btn:hover{transform:translateY(-2px)}
.s88-chat-btn .s88-icon{width:1.7em;height:1.7em}
.s88-chat{position:fixed;right:1.1rem;bottom:5rem;z-index:96;width:min(360px,calc(100vw - 2rem));background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 26px 60px rgba(4,12,9,.55);display:none;overflow:hidden}
.s88-chat.is-open{display:block}
.s88-chat__head{display:flex;align-items:center;gap:.6rem;padding:.9rem 1.1rem;background:var(--raised);border-bottom:1px solid var(--line);font-weight:800}
.s88-chat__body{padding:1.1rem;color:var(--text-muted);font-size:.95rem}

/* ============ Microline (18+ / aide) ============ */
.s88-microline{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.65rem;width:100%;background:var(--surface-2);color:var(--text-muted);font-size:14px;line-height:1.5;padding:.75rem var(--gutter)}
.s88-microline__badge{flex-shrink:0;display:inline-grid;place-items:center;min-width:2.7em;padding:.22em .45em;border:1.5px solid var(--accent);border-radius:var(--radius-xs);color:var(--accent);font-weight:800;font-size:.82em;letter-spacing:.03em}
.s88-microline__text{margin:0;min-width:0}
.s88-microline a{color:var(--accent);text-decoration:none;font-weight:600;white-space:nowrap}
.s88-microline a:hover{text-decoration:underline}

/* ============ Footer — parchment bookend ============ */
.s88-footer{background:var(--rail-bg);color:var(--rail-ink);border-top:3px solid var(--accent)}
.s88-footer__inner{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr) minmax(0,.85fr);gap:clamp(1.5rem,3.5vw,2.75rem);padding-block:clamp(2rem,4vw,3rem)}
.s88-footer__inner > *{min-width:0}
.s88-footer__brand{display:flex;flex-direction:column;gap:.9rem;align-items:flex-start}
.s88-footer__tagline{margin:0;color:var(--rail-muted);font-size:.93rem;line-height:1.55}
.s88-footer__col{display:flex;flex-direction:column;min-width:0}
.s88-footer__title{font-family:var(--font-head);font-weight:400;font-size:1.02rem;letter-spacing:.03em;margin:0 0 .85rem;color:var(--rail-ink)}
.s88-footer__nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.s88-footer__nav a{color:var(--rail-ink);text-decoration:none;font-weight:600;font-size:.95rem;transition:color .15s ease}
.s88-footer__nav a:hover{color:var(--gold-ink);text-decoration:underline}
.s88-footer__legal{display:flex;flex-direction:column;gap:.5rem;border-top:1px solid var(--rail-line);padding-block:1.15rem 1.4rem}
.s88-footer__legal p{margin:0;font-size:.85rem;line-height:1.55;color:var(--rail-muted)}
.s88-footer__bar{border-top:1px solid var(--rail-line)}
.s88-footer__bar-inner{display:flex;flex-wrap:wrap;gap:.4rem 1.25rem;justify-content:space-between;align-items:center;padding-block:.95rem}
.s88-footer__copy{margin:0;font-size:.85rem;color:var(--rail-muted)}
@media(max-width:860px){
  .s88-footer__inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .s88-footer__brand{grid-column:1/-1}
}
@media(max-width:540px){
  .s88-footer__inner{grid-template-columns:1fr}
}
/* sa-responsive-net */
table th{white-space:nowrap}
figure,blockquote,dl,dd,fieldset{margin:0}
/* sa-logo-chip */
.s88-footer .s88-logo__img{filter:none;background:transparent;padding:0}
.s88-footer .s88-footer__logo-chip{background:transparent;padding:0}
/* sa-logo-fit */
.s88-logo__img{object-fit:contain}
/* sa-ph-media */
.s88-page-header:has(.s88-hero__img){position:relative;overflow:hidden;isolation:isolate;min-height:clamp(200px,30vh,300px);display:flex;flex-direction:column;justify-content:center}
.s88-page-header:has(.s88-hero__img) .s88-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;margin:0;z-index:0}
.s88-page-header:has(.s88-hero__img)::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,12,18,.72),rgba(10,12,18,.5))}
:where(.s88-page-header:has(.s88-hero__img)>:not(.s88-hero__img)){position:relative}
.s88-page-header:has(.s88-hero__img)>:not(.s88-hero__img){z-index:2}
.s88-page-header:has(.s88-hero__img),.s88-page-header:has(.s88-hero__img) h1,.s88-page-header:has(.s88-hero__img) a,.s88-page-header:has(.s88-hero__img) p,.s88-page-header:has(.s88-hero__img) li,.s88-page-header:has(.s88-hero__img) span{color:#fff}
/* sa-hero-media */
.s88-hero:has(>.s88-hero__img){position:relative;isolation:isolate}
.s88-hero:has(>.s88-hero__img)>.s88-hero__img{z-index:0}
.s88-hero:has(>.s88-hero__img)::after{z-index:1}
:where(.s88-hero:has(>.s88-hero__img)>:not(.s88-hero__img)){position:relative}
.s88-hero:has(>.s88-hero__img)>:not(.s88-hero__img){z-index:2}
/* sa-rhythm v3 */
:where(.s88-table-wrap){margin-block:1.5rem}
:where(main) :where(ul,ol,table,.s88-table-wrap)+p{margin-block-start:1rem}
main :is(ul,ol,table,.s88-table-wrap,.s88-rtp,.s88-steps,.s88-cards,.s88-features)+:is(.s88-actions,div:has(>.s88-btn),p:has(>.s88-btn)){margin-block-start:1.25rem}
/* sa-table-thead */
.s88-table-wrap thead th,.s88-table-wrap thead{position:static}
/* sa-slot-link v2 */
.s88-rtp-item,.s88-rtp-item:hover,.s88-rtp-item:focus{color:inherit;text-decoration:none;cursor:pointer}
:where(.s88-rtp-item){display:block}
/* sa-rtp-touch */
.s88-rtp-item__thumb{display:block}
@media (hover:none){.s88-rtp-item__thumb{aspect-ratio:auto;overflow:visible}.s88-rtp-item__thumb img{height:auto}.s88-rtp-tooltip{position:static;opacity:1;background:transparent;border-top:0;padding:.4rem .7rem 0;font-size:.74rem;line-height:1.35}.s88-rtp-item__name{padding-top:.35rem}}
/* audit fixes 2026-11-04 */
/* CTA-ряду после quick-facts нужен отступ (sa-rhythm не покрывает .s88-quick-facts) */
main :is(ul,ol,table,.s88-table-wrap,.s88-rtp,.s88-steps,.s88-cards,.s88-features,.s88-quick-facts)+:is(.s88-actions,div:has(>.s88-btn),p:has(>.s88-btn)){margin-block-start:1.25rem}
/* инпуты калькулятора/проверщика — в теме сайта, тап-таргет 44px */
#s88c-dep,#s88c-q{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-s);color:var(--text);font:600 1rem/1.2 var(--font-body);padding:.6em .8em;min-height:44px;min-width:0}
#s88c-dep{width:7rem;text-align:center}
#s88c-q{width:100%}
#s88c-minus,#s88c-plus{min-height:44px}
/* чипы-кнопки проверщика — тап-таргет 44px на мобильных */
@media(max-width:768px){button.s88-tag{min-height:44px}}
/* CTA шапки: на широких мобильных шапка не тесная — возвращаем размер */
@media(min-width:640px) and (max-width:959.98px){.s88-header__cta{font-size:.8rem;max-width:220px}}
