/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/rfb-bf4aa17d70.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/rfb-b4678036a0.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/rfb-8a37c0751d.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/rfb-a93986acdb.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/fonts/rfb-83a31c8196.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/rfb-bf4aa17d70.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/rfb-b4678036a0.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/rfb-8a37c0751d.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/rfb-a93986acdb.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(/fonts/rfb-83a31c8196.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/rfb-bf4aa17d70.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/rfb-b4678036a0.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/rfb-8a37c0751d.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/rfb-a93986acdb.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: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url(/fonts/rfb-83a31c8196.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 — "Kultaiset lyhdyt kuusimetsässä" ============ */
:root{
  --bg:#0B1F1A;            /* spruce night */
  --surface:#11291F;       /* cards */
  --surface-2:#0E241C;     /* alt panels */
  --raised:#1C3D30;        /* table headers, chips, hover */
  --text:#FFFFFF;
  --text-body:#D3E6DC;
  --text-muted:#A5C4B4;
  --accent:#FFC23D;        /* lantern gold */
  --cta-text:#1E1400;
  --cta-hover:#FFD46E;
  --mint:#6FE3B5;          /* "ilman koodia" / vapautuu */
  --frost:#CFE9FF;         /* sport ice cards */
  --link:#9ED8FF;
  --bar-bg:#081712;        /* header/footer bars (dark: logo tone = light) */
  --bar-line:rgba(255,194,61,.16);
  --border:#24463A;
  --border-soft:rgba(165,196,180,.14);
  --glow:rgba(255,194,61,.06);
  --wrap:1160px;
  --gutter:clamp(.75rem,2.5vw,1.25rem);
  --radius-lg:18px;
  --radius:16px;
  --radius-sm:14px;
  --shadow:0 12px 32px rgba(2,10,7,.45);
  --font:'Montserrat',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
}

/* ============ BASE ============ */
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text-body);font:400 17px/1.7 var(--font);overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{color:var(--text);font-weight:800;line-height:1.18;margin:0 0 .6em;letter-spacing:-.015em;text-wrap:balance;hyphens:auto}
h1{font-size:clamp(30px,4.5vw,44px)}
h2{font-size:clamp(23px,3.2vw,31px)}
h3{font-size:1.15rem}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
h1,h2,h3,h4,p,li,td,th,dd,dt,figcaption{overflow-wrap:anywhere}
a{color:var(--link);text-decoration:underline;text-decoration-color:rgba(158,216,255,.35);text-underline-offset:3px}
ul:not([class]){margin:0 0 1em;padding-inline-start:1.3em}
img{max-width:100%}
::selection{background:var(--accent);color:var(--cta-text)}
:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* ============ ARCHETYPE: cards — container = the elevated panel ============ */
.rfb-container{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.rfb-section{padding-block:clamp(1rem,2.5vw,1.75rem);padding-inline:var(--gutter)}
.rfb-section>.rfb-container{
  background:linear-gradient(180deg,var(--glow),transparent 38%),var(--surface);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(1.25rem,3.5vw,2.25rem) clamp(1rem,3.5vw,2rem);
}
.rfb-section--alt>.rfb-container{background:linear-gradient(180deg,var(--glow),transparent 38%),var(--surface-2)}

/* signature: lantern eyebrow — glowing gold dot in the spruce */
.rfb-eyebrow{display:inline-flex;align-items:center;gap:.55rem;font:600 .72rem/1 var(--font);letter-spacing:.16em;text-transform:uppercase;color:var(--mint);margin:0 0 .8rem}
.rfb-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px 2px rgba(255,194,61,.55);flex-shrink:0}

/* ============ BUTTONS / ICON / MICRO ============ */
.rfb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--accent);color:var(--cta-text);font:800 .95rem/1 var(--font);text-decoration:none;border:0;border-radius:var(--radius-sm);padding:.85em 1.5em;cursor:pointer;white-space:nowrap;transition:background .15s ease,transform .15s ease}
.rfb-btn:hover{background:var(--cta-hover)}
.rfb-btn:active{transform:translateY(1px)}
.rfb-btn--ghost{background:transparent;border:1px solid rgba(255,194,61,.5);color:var(--accent)}
.rfb-btn--ghost:hover{background:rgba(255,194,61,.1)}
.rfb-btn--lg{font-size:1.04rem;padding:1em 1.9em}
.rfb-btn--sm{font-size:.84rem;padding:.7em 1.1em}
/* длинные CTA на узких экранах: разрешаем перенос вместо обрезки (body overflow-x:hidden срезал кнопки) */
@media (max-width:600px){
  .rfb-btn{white-space:normal;text-align:center;max-width:100%}
}
.rfb-icon{width:1.5em;height:1.5em;display:inline-block;vertical-align:middle;flex-shrink:0;color:currentColor}
.rfb-micro{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .6rem;font:400 .78rem/1.5 var(--font);color:var(--text-muted)}
.rfb-badge--18{display:inline-grid;place-items:center;min-width:2.2em;padding:.18em .45em;border:1px solid var(--accent);border-radius:6px;color:var(--accent);font:800 .72rem/1 var(--font)}
.rfb-num{font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}

/* note chips: mint = ilman koodia / vapautuu · frost = end date · no = ei kelpaa */
.rfb-chip-note,.rfb-chip-note--frost,.rfb-chip-note--no{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.42em .95em;font:600 .78rem/1.2 var(--font);width:fit-content}
.rfb-chip-note{color:var(--mint);border:1px solid rgba(111,227,181,.4);background:rgba(111,227,181,.08)}
.rfb-chip-note--frost{color:var(--frost);border:1px solid rgba(207,233,255,.35);background:rgba(207,233,255,.07)}
.rfb-chip-note--no{color:var(--text-muted);border:1px solid var(--border);background:var(--raised)}

/* ============ HEADER ============ */
.rfb-header{position:sticky;top:0;z-index:1200;background:var(--bar-bg);border-bottom:1px solid var(--bar-line)}
.rfb-header__inner{display:flex;align-items:center;gap:1rem;min-height:64px}
.rfb-header__inner>*{min-width:0}
.rfb-logo{display:inline-flex;align-items:center;flex-shrink:1;min-width:0;text-decoration:none}
.rfb-logo__img{height:40px;width:auto;max-width:200px;object-fit:contain;display:block}
.rfb-nav{margin-inline-start:auto;min-width:0}
.rfb-nav ul{display:flex;gap:clamp(.75rem,2vw,1.5rem);list-style:none;margin:0;padding:0}
.rfb-nav li{min-width:0}
.rfb-nav a:not(.rfb-btn){position:relative;display:inline-block;color:var(--text-muted);text-decoration:none;font:600 .92rem/1 var(--font);padding:.6rem .1rem;transition:color .15s ease}
.rfb-nav a:not(.rfb-btn)::after{content:"";position:absolute;left:0;right:0;bottom:.1rem;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.rfb-nav a:not(.rfb-btn):hover,.rfb-nav a:not(.rfb-btn):focus-visible{color:var(--text)}
.rfb-nav a:not(.rfb-btn):hover::after,.rfb-nav a:not(.rfb-btn):focus-visible::after{transform:scaleX(1)}
.rfb-header__cta{flex-shrink:0;font-size:.88rem;padding:.72em 1.15em}
.rfb-burger{display:none}

@media (max-width:959px){
  .rfb-header__inner{min-height:58px;gap:.6rem}
  .rfb-logo__img{height:34px;max-width:min(40vw,140px)}
  .rfb-header__cta{font-size:.78rem;padding:.6em 1em;min-height:44px}
  .rfb-burger{order:3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;flex-shrink:0;margin-inline-start:auto;background:transparent;border:1px solid var(--border);border-radius:12px;cursor:pointer}
  .rfb-burger span{display:block;width:22px;height:2px;border-radius:2px;background:var(--text)}
  .rfb-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;background:var(--bar-bg);border-bottom:1px solid var(--bar-line);padding:.4rem var(--gutter) 1.25rem;box-shadow:var(--shadow)}
  .rfb-header.is-open .rfb-nav{display:flex}
  .rfb-nav ul{flex-direction:column;gap:.05rem}
  .rfb-nav a:not(.rfb-btn){display:block;padding:.85rem .25rem;font-size:1rem}
  .rfb-nav a:not(.rfb-btn)::after{display:none}
}

/* ============ HERO — mirror-split (visual LEFT · text RIGHT), scoped to --home ============ */
.rfb-hero--home>.rfb-container{position:relative;overflow:hidden;background:
  radial-gradient(1100px 520px at 16% -12%,rgba(255,194,61,.10),transparent 60%),
  linear-gradient(180deg,var(--glow),transparent 38%),
  linear-gradient(160deg,#0D241D 0%,var(--surface) 55%,#0F2A20 100%);
  padding-block:clamp(2rem,5vw,3.25rem)}
.rfb-hero--home>.rfb-container::before{content:"";position:absolute;top:16%;left:-6%;width:54%;height:2px;background:linear-gradient(90deg,transparent,rgba(255,194,61,.7),transparent);transform:rotate(-7deg);pointer-events:none}
.rfb-hero__grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(1.25rem,3vw,2.5rem);align-items:center}
.rfb-hero__grid>*{min-width:0}
.rfb-hero__visual{order:-1;position:relative;min-width:0;border-radius:var(--radius-lg);aspect-ratio:4/3;background:linear-gradient(165deg,rgba(255,194,61,.07),rgba(111,227,181,.05)),var(--surface-2);border:1px solid var(--border-soft);overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:.8rem;padding:clamp(.9rem,2.5vw,1.5rem)}
.rfb-hero__visual .rfb-hero__img{width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0}
.rfb-hero__content{display:flex;flex-direction:column;align-items:flex-start;gap:1.05rem}
.rfb-hero__content>*{margin:0}
.rfb-hero__content .rfb-eyebrow{margin:0}
.rfb-hero__title{font-size:clamp(30px,4.5vw,44px)}
.rfb-hero__sub{font-size:1.03rem;color:var(--text-body)}
.rfb-hero__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.rfb-hero__img{display:block;width:100%;height:auto;max-height:70vh;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius)}
@media (max-width:819px){
  .rfb-hero__grid{grid-template-columns:minmax(0,1fr)}
  .rfb-hero__visual{aspect-ratio:auto;min-height:220px}
}

/* ============ INNER PAGE HEADER (rfb-hero--inner / rfb-pagehead) ============ */
.rfb-hero--inner>.rfb-container,.rfb-pagehead>.rfb-container{position:relative;overflow:hidden;padding-block:1.2rem;background:linear-gradient(180deg,var(--glow),transparent 45%),var(--surface)}
.rfb-hero__inner{position:relative;display:flex;flex-direction:column;justify-content:center;gap:.6rem;min-height:140px}
.rfb-hero__inner>*{margin:0}
.rfb-hero__inner h1{font-size:clamp(24px,3.2vw,34px)}
.rfb-hero--inner .rfb-hero__img,.rfb-pagehead .rfb-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0;object-fit:cover;z-index:0}
.rfb-hero--inner .rfb-hero__inner::after,.rfb-pagehead .rfb-hero__inner::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(6,18,14,.9) 0%,rgba(6,18,14,.66) 55%,rgba(6,18,14,.35) 100%)}
:where(.rfb-hero--inner .rfb-hero__inner>:not(.rfb-hero__img),.rfb-pagehead .rfb-hero__inner>:not(.rfb-hero__img)){position:relative;z-index:2}
.rfb-pagehead .rfb-hero__img:first-child+.rfb-hero__inner h1,.rfb-pagehead .rfb-hero__img:first-child+.rfb-hero__inner .rfb-crumbs{color:var(--text)}

/* breadcrumb */
.rfb-crumbs{list-style:none;display:flex;flex-wrap:wrap;gap:.15rem .55rem;margin:0;padding:0;font:600 .78rem/1.4 var(--font);color:var(--text-muted)}
.rfb-crumbs li{display:flex;align-items:center;gap:.55rem}
.rfb-crumbs li+li::before{content:"›";color:var(--accent)}
.rfb-crumbs a{color:var(--mint);text-decoration:none}
.rfb-crumbs a:hover{text-decoration:underline}

/* ============ OVERVIEW / PROSE ============ */
.rfb-overview{display:flex;flex-direction:column;gap:.9rem}
.rfb-overview>*{margin:0}
.rfb-lead{font-size:1.06rem;color:var(--text)}

/* ============ FEATURE CARDS (grid pattern) ============ */
.rfb-cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.rfb-card{display:flex;flex-direction:column;gap:.6rem;min-width:0;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius);padding:1.15rem}
.rfb-card>*{margin:0}
.rfb-card .rfb-icon{width:1.9em;height:1.9em;color:var(--accent)}
.rfb-card__title{color:var(--text);font-weight:800;font-size:1.02rem}
.rfb-card p{color:var(--text-body);font-size:.95rem}
.rfb-card--frost{background:linear-gradient(180deg,rgba(207,233,255,.07),transparent 60%),var(--surface-2);border-color:rgba(207,233,255,.22)}
.rfb-card--frost .rfb-icon{color:var(--frost)}
.rfb-card.is-match{border-color:var(--frost);box-shadow:0 0 0 1px rgba(207,233,255,.35)}

/* second-level card grid */
.rfb-cards-grid{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}

/* ============ TWO-COLS + CONTENT PANEL ============ */
.rfb-two-cols{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(1.25rem,3vw,2rem);align-items:start}
.rfb-two-cols>*{min-width:0}
@media (max-width:839px){.rfb-two-cols{grid-template-columns:minmax(0,1fr)}}
.rfb-panel{display:flex;flex-direction:column;gap:.9rem;min-width:0;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius);padding:1.25rem}
.rfb-panel>*{margin:0}
.rfb-panel__title{color:var(--text);font-weight:800;font-size:1.05rem}
.rfb-facts{display:flex;flex-direction:column;margin:0}
.rfb-facts__row{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--border-soft)}
.rfb-facts__row:last-child{border-bottom:0;padding-bottom:.2rem}
.rfb-facts dt{color:var(--text-muted);font-weight:600}
.rfb-facts dd{margin:0;color:var(--text);font-weight:600;text-align:end}
/* на узких экранах длинные значения не жмём в колонку справа от метки — складываем в столбик */
@media (max-width:600px){
  .rfb-facts__row{flex-direction:column;align-items:flex-start;gap:.15rem}
  .rfb-facts dd{text-align:start}
}
.rfb-checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}
.rfb-checklist li{display:flex;gap:.6rem;align-items:flex-start;color:var(--text-body)}
.rfb-checklist .rfb-icon{color:var(--mint);margin-top:.2em}
.rfb-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.rfb-mini{display:flex;flex-direction:column;gap:.2rem;min-width:0;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:.8rem .9rem}
.rfb-mini__value{font-weight:800;color:var(--accent);font-size:1.3rem;line-height:1.15;font-variant-numeric:tabular-nums}
.rfb-mini__label{font-size:.75rem;color:var(--text-muted)}
.rfb-score{display:flex;align-items:center;gap:.7rem}
.rfb-score__num{font-size:2.2rem;font-weight:800;color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
.rfb-score__label{font-size:.8rem;color:var(--text-muted)}

/* ============ NUMBERED LIST ============ */
.rfb-numbered{list-style:none;counter-reset:rfbn;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.rfb-numbered li{counter-increment:rfbn;position:relative;padding-inline-start:2.7rem;min-width:0}
.rfb-numbered li::before{content:counter(rfbn);position:absolute;inset-inline-start:0;top:.1em;width:2rem;height:2rem;display:grid;place-items:center;border-radius:50%;background:rgba(255,194,61,.12);border:1px solid rgba(255,194,61,.4);color:var(--accent);font-weight:800;font-size:.9rem}
.rfb-numbered p{margin:0}

/* ============ STATS-BAR (counters pattern) ============ */
.rfb-stats{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:1.6rem 1.2rem;margin:0;padding:0}
.rfb-stat{min-width:0}
.rfb-stat__value{display:block;font-size:clamp(2.2rem,5vw,3.5rem);font-weight:800;color:var(--accent);line-height:1.05;font-variant-numeric:tabular-nums}
.rfb-stat__label{display:block;margin-top:.45rem;font:600 .74rem/1.45 var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}

/* ============ CATEGORIES BAR ============ */
.rfb-tags{display:flex;flex-wrap:wrap;gap:.5rem}
.rfb-tag{display:inline-flex;align-items:center;gap:.4rem;background:var(--raised);color:var(--text);border-radius:999px;padding:.5em 1.05em;font:600 .82rem/1.2 var(--font)}
.rfb-tag .rfb-icon{width:1.2em;height:1.2em;color:var(--accent)}

/* ============ DATA TABLE / PAYMENTS ============ */
.rfb-table-wrap{overflow-x:auto;max-width:100%;margin-block:1.25rem;border:1px solid var(--border-soft);border-radius:var(--radius-sm)}
.rfb-table{width:100%;border-collapse:collapse;font-size:.92rem;margin:0}
.rfb-table th{white-space:nowrap;background:var(--raised);color:var(--text);text-align:left;font-weight:600;padding:.7rem .9rem}
.rfb-table td{padding:.7rem .9rem;border-bottom:1px solid var(--border-soft);color:var(--text-body);vertical-align:middle}
.rfb-table tbody tr:last-child td{border-bottom:0}
.rfb-table tbody tr:hover{background:rgba(28,61,48,.35)}
.rfb-table .rfb-icon{width:1.35em;height:1.35em;color:var(--mint)}

/* ============ TOC ============ */
.rfb-toc{display:flex;flex-direction:column;gap:.5rem;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius);padding:1.1rem 1.25rem}
.rfb-toc__title{font:800 .78rem/1 var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--mint);margin:0 0 .3rem}
.rfb-toc a{display:flex;align-items:center;gap:.55rem;color:var(--text-body);text-decoration:none;font-weight:600;font-size:.92rem;padding:.3rem 0}
.rfb-toc a::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
.rfb-toc a:hover{color:var(--text)}

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

/* ============ LEGAL BODY ============ */
.rfb-legal{counter-reset:rfbh}
.rfb-legal h2{counter-increment:rfbh;font-size:1.15rem}
.rfb-legal h2::before{content:counter(rfbh) ".";color:var(--accent);margin-inline-end:.55rem}

/* ============ CTA BLOCK (same geometry as rfb-section, gold-lantern surface) ============ */
.rfb-cta>.rfb-container{background:linear-gradient(180deg,rgba(255,194,61,.13),rgba(255,194,61,.03) 55%),var(--surface);border-color:rgba(255,194,61,.35);text-align:center}
.rfb-cta__inner{display:flex;flex-direction:column;align-items:center;gap:1rem}
.rfb-cta__inner>*{margin:0}
.rfb-cta__inner .rfb-eyebrow{margin:0}
.rfb-cta__actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}

/* ============ CALCULATOR (two-path) ============ */
.rfb-calc__controls{display:flex;flex-direction:column;gap:1.1rem}
.rfb-steps{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.rfb-step{background:var(--raised);color:var(--text);border:1px solid transparent;border-radius:999px;padding:.55em 1.15em;font:600 .85rem/1 var(--font);cursor:pointer}
.rfb-step[aria-pressed="true"]{background:var(--accent);color:var(--cta-text);font-weight:800}
.rfb-field{display:flex;flex-direction:column;gap:.4rem;font:600 .82rem/1.4 var(--font);color:var(--text-muted)}
.rfb-input{width:100%;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;color:var(--text);font:600 1rem var(--font);padding:.6em .8em}
.rfb-range{width:100%;accent-color:var(--accent)}
.rfb-path{display:flex;gap:.5rem;align-items:center}
.rfb-path span{width:1.7rem;height:1.7rem;border-radius:50%;display:grid;place-items:center;font:800 .8rem/1 var(--font);background:var(--raised);color:var(--text-muted)}
.rfb-path span.is-on{background:var(--accent);color:var(--cta-text)}
.rfb-calc__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:1rem;margin-top:1.25rem}
.rfb-result{display:flex;flex-direction:column;gap:.6rem;min-width:0;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius);padding:1.15rem}
.rfb-result>*{margin:0}
.rfb-result__title{font-weight:800;color:var(--text);font-size:1rem}
.rfb-result__num{font-size:clamp(1.9rem,4vw,2.6rem);font-weight:800;color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
.rfb-result__note{font-size:.82rem;color:var(--text-muted)}

/* ============ CODE CHECKER ============ */
.rfb-checker{display:flex;flex-direction:column;gap:1rem}
.rfb-chips{display:flex;flex-wrap:wrap;gap:.6rem}
.rfb-chip{background:var(--surface-2);border:1px solid var(--border);color:var(--text-body);border-radius:999px;padding:.55em 1.1em;font:600 .88rem/1.2 var(--font);cursor:pointer}
.rfb-chip[aria-pressed="true"]{border-color:var(--mint);color:var(--mint);background:rgba(111,227,181,.08)}
/* палец-френдли тап-таргеты переключателей на мобильном (было ~29–32px) */
@media (max-width:767px){
  .rfb-step,.rfb-chip{display:inline-flex;align-items:center;min-height:44px}
}
.rfb-answer{background:var(--surface-2);border:1px solid var(--border-soft);border-left:3px solid var(--mint);border-radius:var(--radius-sm);padding:1.1rem}
.rfb-answer>*{margin:0 0 .5rem}
.rfb-answer>*:last-child{margin-bottom:0}
.rfb-bars{display:flex;flex-direction:column;gap:.85rem;margin-top:1rem}
.rfb-bar{display:flex;flex-direction:column;gap:.35rem}
.rfb-bar__label{display:flex;justify-content:space-between;gap:1rem;font:600 .8rem/1.4 var(--font);color:var(--text-muted)}
.rfb-bar__track{height:12px;border-radius:999px;background:var(--raised);overflow:hidden}
.rfb-bar__fill{height:100%;border-radius:999px;background:var(--accent)}
.rfb-bar__fill--mint{background:var(--mint)}

/* ============ PICKER (sport promo explainer) ============ */
.rfb-picker{display:flex;flex-direction:column;gap:1rem}

/* ============ RTP GRID ============ */
.rfb-rtp{display:grid;gap:clamp(.6rem,1.5vw,1rem);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:640px){.rfb-rtp{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:960px){.rfb-rtp{grid-template-columns:repeat(4,minmax(0,1fr))}}
.rfb-rtp-item{position:relative;overflow:hidden;min-width:0;display:flex;flex-direction:column;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius-sm)}
.rfb-rtp-item__thumb{display:block;aspect-ratio:3/2;position:relative;background:linear-gradient(135deg,var(--raised),var(--surface-2))}
.rfb-rtp-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.rfb-rtp-item__name{padding:.6rem .75rem;font:600 .85rem/1.35 var(--font);color:var(--text)}
.rfb-rtp-tooltip{position:absolute;bottom:0;left:0;right:0;opacity:0;transition:opacity .2s;background:rgba(8,23,18,.94);color:var(--text);padding:.55rem .75rem;font:600 .78rem/1.4 var(--font);border-radius:0 0 var(--radius-sm) var(--radius-sm);pointer-events:none}
.rfb-rtp-item:hover .rfb-rtp-tooltip,.rfb-rtp-item:focus-within .rfb-rtp-tooltip{opacity:1}

/* ============ STICKY NAV (mobile) ============ */
.rfb-stickynav{display:none}
@media (max-width:767px){
  .rfb-stickynav{position:fixed;left:0;right:0;bottom:0;z-index:1100;display:flex;justify-content:space-around;align-items:stretch;background:rgba(8,23,18,.97);border-top:1px solid var(--bar-line);padding:.45rem .5rem calc(.45rem + env(safe-area-inset-bottom))}
  .rfb-stickynav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;min-width:64px;color:var(--text-muted);text-decoration:none;font:600 .68rem/1.2 var(--font);padding:.35rem .5rem}
  .rfb-stickynav a .rfb-icon{width:1.4em;height:1.4em;color:var(--accent)}
  .rfb-stickynav a:hover{color:var(--text)}
  .rfb-stickynav__cta{border-radius:999px;align-self:center;background:var(--accent);color:var(--cta-text);font-weight:800;padding:.55em 1.1em}
  body:has(.rfb-stickynav){padding-bottom:64px}
}

/* ============ CHAT WIDGET ============ */
.rfb-chat-btn{position:fixed;right:1rem;bottom:1.25rem;z-index:1150;width:52px;height:52px;border-radius:50%;background:var(--accent);color:var(--cta-text);display:grid;place-items:center;border:0;cursor:pointer;box-shadow:0 8px 24px rgba(255,194,61,.3)}
.rfb-chat-btn .rfb-icon{width:1.6em;height:1.6em}
.rfb-chat{position:fixed;right:1rem;bottom:5.4rem;z-index:1150;width:min(360px,calc(100vw - 2rem));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.1rem;display:none;flex-direction:column;gap:.75rem}
.rfb-chat.is-open{display:flex}
.rfb-chat__head{display:flex;align-items:center;gap:.5rem;font-weight:800;color:var(--text)}
.rfb-chat__close{margin-inline-start:auto;background:none;border:0;color:var(--text-muted);font:600 1.2rem/1 var(--font);cursor:pointer}
.rfb-chat__body{font-size:.9rem;color:var(--text-body)}
.rfb-chat__body>*{margin:0 0 .5rem}
@media (max-width:767px){.rfb-chat-btn{bottom:4.75rem}}

/* ============ FOOTER ============ */
.rfb-footer{margin-top:clamp(1.5rem,4vw,2.5rem);background:var(--bar-bg);border-top:1px solid var(--bar-line)}
.rfb-microband{background:var(--surface-2);border-bottom:1px solid var(--border-soft)}
.rfb-microband .rfb-container{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;padding-block:.7rem}
.rfb-footer__grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:2rem;padding-block:2.25rem}
.rfb-footer__grid>*{min-width:0}
@media (max-width:859px){.rfb-footer__grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1.5rem}}
.rfb-footer__brand{display:flex;flex-direction:column;gap:.9rem}
.rfb-footer__brand p{margin:0;font-size:.85rem;color:var(--text-muted)}
.rfb-footer__hook{color:var(--mint)!important;font-weight:600}
.rfb-footer__title{font:800 .78rem/1 var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--mint);margin:0 0 .9rem}
.rfb-footer__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.rfb-footer__list a{color:var(--text-body);text-decoration:none;font-weight:600;font-size:.9rem}
.rfb-footer__list a:hover{color:var(--text);text-decoration:underline;text-decoration-color:var(--bar-line)}
.rfb-footer__list--text li{font-size:.85rem;color:var(--text-muted)}
.rfb-footer__bar{border-top:1px solid var(--border-soft)}
.rfb-footer__bar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;padding-block:1rem;font:400 .78rem/1.5 var(--font);color:var(--text-muted)}
/* sa-responsive-net */
table th{white-space:nowrap}
figure,blockquote,dl,dd,fieldset{margin:0}
/* sa-logo-chip */
.rfb-footer .rfb-logo__img{filter:none;background:transparent;padding:0}
.rfb-footer .rfb-footer__logo-chip{background:transparent;padding:0}
/* sa-logo-fit */
.rfb-logo__img{object-fit:contain}
/* sa-ph-media */
.rfb-page-header:has(.rfb-hero__img){position:relative;overflow:hidden;isolation:isolate;min-height:clamp(200px,30vh,300px);display:flex;flex-direction:column;justify-content:center}
.rfb-page-header:has(.rfb-hero__img) .rfb-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;margin:0;z-index:0}
.rfb-page-header:has(.rfb-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(.rfb-page-header:has(.rfb-hero__img)>:not(.rfb-hero__img)){position:relative}
.rfb-page-header:has(.rfb-hero__img)>:not(.rfb-hero__img){z-index:2}
.rfb-page-header:has(.rfb-hero__img),.rfb-page-header:has(.rfb-hero__img) h1,.rfb-page-header:has(.rfb-hero__img) a,.rfb-page-header:has(.rfb-hero__img) p,.rfb-page-header:has(.rfb-hero__img) li,.rfb-page-header:has(.rfb-hero__img) span{color:#fff}
/* sa-hero-media */
.rfb-hero:has(>.rfb-hero__img){position:relative;isolation:isolate}
.rfb-hero:has(>.rfb-hero__img)>.rfb-hero__img{z-index:0}
.rfb-hero:has(>.rfb-hero__img)::after{z-index:1}
:where(.rfb-hero:has(>.rfb-hero__img)>:not(.rfb-hero__img)){position:relative}
.rfb-hero:has(>.rfb-hero__img)>:not(.rfb-hero__img){z-index:2}
/* sa-rhythm v3 */
:where(.rfb-table-wrap){margin-block:1.5rem}
:where(main) :where(ul,ol,table,.rfb-table-wrap)+p{margin-block-start:1rem}
main :is(ul,ol,table,.rfb-table-wrap,.rfb-panel,.rfb-rtp,.rfb-steps,.rfb-cards,.rfb-features)+:is(.rfb-actions,div:has(>.rfb-btn),p:has(>.rfb-btn)){margin-block-start:1.25rem}
/* sa-table-thead */
.rfb-table-wrap thead th,.rfb-table-wrap thead{position:static}
/* sa-slot-link v2 */
.rfb-rtp-item,.rfb-rtp-item:hover,.rfb-rtp-item:focus{color:inherit;text-decoration:none;cursor:pointer}
:where(.rfb-rtp-item){display:block}
/* sa-rtp-touch */
.rfb-rtp-item__thumb{display:block}
@media (hover:none){.rfb-rtp-item__thumb{aspect-ratio:auto;overflow:visible}.rfb-rtp-item__thumb img{height:auto}.rfb-rtp-tooltip{position:static;opacity:1;background:transparent;border-top:0;padding:.4rem .7rem 0;font-size:.74rem;line-height:1.35}.rfb-rtp-item__name{padding-top:.35rem}}
/* sa-icon-on-fill */
.rfb-step[aria-pressed="true"] .rfb-icon{color:inherit}
.rfb-path span.is-on .rfb-icon{color:inherit}
.rfb-stickynav__cta .rfb-icon{color:inherit}

/* shell-guard: классы каркаса без стилей — авто-страховка
   (смысловой стиль задаёт промпт шелла, не этот блок) */
.rfb-footer__col
{font-size:.85em;line-height:1.5;opacity:.85}
