:root{
  --bg:#05060b;
  --bg-soft:#0b0e17;
  --card:#101420;
  --card-2:#0d111b;
  --line:rgba(255,255,255,.07);
  --text:#f4f6fb;
  --muted:#a1a8bd;
  --soft:#cdd3e3;
  --accent:#d9ba72;
  --accent-2:#8cb7ff;
  --accent-3:#ef8c8c;
  --accent-4:#74d7b0;
  --radius-xl:26px;
  --radius-lg:20px;
  --radius-md:14px;
  --pill:999px;
  --shadow:0 20px 60px rgba(0,0,0,.55);
}

/* HEADER / MENU (уніфіковано з articles/cases) */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9) 0, rgba(3,7,18,0.98) 48%);
  border-bottom: 1px solid rgba(148,163,184,0.24);
}

html[data-theme="light"] .topbar {
  background: linear-gradient(180deg, rgba(255,250,244,0.96) 0, rgba(252,244,232,0.98) 100%);
  border-bottom-color: rgba(104,82,62,0.18);
  box-shadow: 0 10px 22px rgba(98,76,56,0.10);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.brand .sub {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.2;
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-group a {
  font-size: 0.8rem;
  line-height: 1;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.16s ease;
}

.menu-group a:hover {
  color: var(--text);
}

.menu-dropdown {
  position: relative;
}

.menu-dropbtn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.16s ease;
}

.menu-dropbtn:hover {
  color: var(--text);
}

.menu-dropcontent {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.52);
  z-index: 50;
}

.menu-dropcontent a {
  display: block;
  padding: 6px 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.menu-dropcontent a:hover {
  color: var(--text);
}

.menu-dropdown:hover .menu-dropcontent,
.menu-dropdown:focus-within .menu-dropcontent {
  display: block;
}

.menu-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* lang-switcher */

.lang-switcher {
  position: relative;
}

.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.lang-switcher summary::-webkit-details-marker {
  display: none;
}

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 70px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.22);
  box-shadow: 0 16px 36px rgba(0,0,0,0.48);
  z-index: 60;
}

.lang-list a {
  font-size: 1rem;
}

html[data-theme="light"] .menu-dropcontent,
html[data-theme="light"] .lang-list {
  background: #fffdf9;
  border-color: rgba(104,82,62,0.18);
  box-shadow: 0 14px 30px rgba(98,76,56,0.12);
}

html[data-theme="light"] .menu-group a,
html[data-theme="light"] .menu-dropbtn {
  color: #5f5146;
}

/* BURGER */

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  margin-left: auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 24px rgba(0,0,0,0.28);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(240,179,118,0.30);
  background: rgba(255,255,255,0.06);
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f3efe9;
  transform-origin: center;
  transition:
    transform 0.22s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

html[data-theme="light"] .menu-toggle {
  border-color: rgba(104,82,62,.16);
  background: rgba(255,250,244,0.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 24px rgba(98,76,56,.12);
}

html[data-theme="light"] .menu-toggle:hover {
  border-color: rgba(213,128,52,.30);
  background: #fffaf4;
}

html[data-theme="light"] .menu-toggle-lines span {
  background: #3a3028;
}

/* GLOBAL BODY OVERRIDE FOR FINLAB */

body{
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(217,186,114,.08), transparent 25%),
    radial-gradient(circle at top right, rgba(140,183,255,.07), transparent 28%),
    linear-gradient(180deg, #06070c 0%, #05060b 100%);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* MAIN WRAP */

.finlab-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:28px 20px 80px;
}

/* HEADER BLOCK */

.finlab-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}

.finlab-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.finlab-brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:
    radial-gradient(circle at 28% 28%, #f2ddaa 0, #b6934d 28%, #17130b 68%, #07080c 100%);
  box-shadow:0 10px 30px rgba(0,0,0,.65);
  position:relative;
  overflow:hidden;
  flex-shrink:0;
}

.finlab-brand-mark:after{
  content:"";
  position:absolute;
  inset:22%;
  border-radius:999px 999px 55% 55%;
  border:1px solid rgba(255,255,255,.14);
  border-top-color:transparent;
  border-left-color:transparent;
  transform:rotate(-28deg);
}

.finlab-brand-text-main{
  font-size:14px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--soft);
}

.finlab-brand-text-sub{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}

/* HERO */

.finlab-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:18px;
}

.finlab-hero-copy,
.finlab-hero-data{
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.finlab-hero-copy{
  background:
    radial-gradient(circle at 0 0, rgba(217,186,114,.10), transparent 36%),
    linear-gradient(145deg, rgba(18,18,24,.96), rgba(9,10,16,.98));
  padding:28px;
}

.finlab-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:var(--pill);
  border:1px solid rgba(217,186,114,.22);
  background:rgba(8,8,12,.88);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:14px;
}

.finlab-eyebrow-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(217,186,114,.12);
}

.finlab-hero h1{
  font-size:clamp(32px,5vw,50px);
  line-height:1.02;
  letter-spacing:-.03em;
  max-width:11ch;
  margin-bottom:14px;
}

.finlab-hero-lead{
  font-size:16px;
  color:var(--soft);
  max-width:58ch;
  margin-bottom:16px;
}

.finlab-hero-points{
  display:grid;
  gap:9px;
  margin-bottom:20px;
}

.finlab-hero-point{
  display:flex;
  gap:10px;
  color:var(--soft);
  font-size:14px;
}

.finlab-hero-point i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 10px rgba(217,186,114,.6);
  flex-shrink:0;
  margin-top:8px;
}

.finlab-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.finlab-btn{
  border:none;
  border-radius:var(--pill);
  padding:12px 18px;
  font-size:14px;
  transition:transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.finlab-btn-primary{
  background:rgba(217,186,114,.14);
  color:var(--text);
  border:1px solid rgba(217,186,114,.52);
}

.finlab-btn-primary:hover{
  transform:translateY(-1px);
  background:rgba(217,186,114,.22);
}

.finlab-btn-secondary{
  background:rgba(255,255,255,.03);
  color:var(--soft);
  border:1px solid rgba(255,255,255,.08);
}

.finlab-btn-secondary:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
}

.finlab-hero-note{
  margin-top:14px;
  font-size:12px;
  color:var(--muted);
  max-width:58ch;
}

/* HERO DATA */

.finlab-hero-data{
  background:
    radial-gradient(circle at top right, rgba(140,183,255,.10), transparent 35%),
    linear-gradient(160deg, rgba(13,17,28,.98), rgba(8,10,16,.98));
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.finlab-data-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.finlab-data-title{
  font-size:13px;
  color:var(--soft);
}

.finlab-chip{
  padding:5px 10px;
  border-radius:var(--pill);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}

.finlab-total{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
}

.finlab-total-label{
  font-size:12px;
  color:var(--muted);
  margin-bottom:5px;
}

.finlab-total-value{
  font-size:34px;
  line-height:1;
  color:var(--accent);
  margin-bottom:6px;
}

.finlab-total-copy{
  font-size:12px;
  color:var(--soft);
}

.finlab-stats-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.finlab-stat-card{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
  min-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.finlab-stat-label{
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
  line-height:1.3;
}

.finlab-stat-value{
  font-size:24px;
  line-height:1;
  margin-bottom:6px;
}

.finlab-stat-value.red{color:var(--accent-3)}
.finlab-stat-value.blue{color:var(--accent-2)}
.finlab-stat-value.green{color:var(--accent-4)}
.finlab-stat-value.gold{color:var(--accent)}

.finlab-stat-level{
  font-size:12px;
  color:var(--soft);
  line-height:1.45;
}

/* SECTIONS */

.finlab-section{
  margin-top:18px;
  padding:22px;
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(13,16,26,.96), rgba(8,10,16,.98));
  box-shadow:var(--shadow);
}

.finlab-section-kicker{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}

.finlab-section h2{
  font-size:24px;
  line-height:1.15;
  margin-bottom:8px;
}

.finlab-section-lead{
  font-size:14px;
  color:var(--soft);
  max-width:72ch;
}

/* SPLIT + CARDS */

.finlab-split{
  margin-top:16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
}

.finlab-card{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.02);
  border:1px solid var(--line);
}

.finlab-card h3{
  font-size:16px;
  margin-bottom:10px;
}

.finlab-list{
  list-style:none;
  display:grid;
  gap:10px;
}

.finlab-list li{
  display:flex;
  gap:10px;
  font-size:13px;
  color:var(--soft);
}

.finlab-list i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  margin-top:8px;
  flex-shrink:0;
}

/* ARCHETYPES */

.finlab-archetypes{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.finlab-arch{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.02);
  border:1px solid var(--line);
}

.finlab-arch-code{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:6px;
}

.finlab-arch-name{
  font-size:17px;
  margin-bottom:6px;
}

.finlab-arch-share{
  font-size:26px;
  line-height:1;
  margin-bottom:8px;
}

.finlab-arch p{
  font-size:13px;
  color:var(--soft);
}

/* BUSINESS GRID */

.finlab-business-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.finlab-biz{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.02);
  border:1px solid var(--line);
}

.finlab-biz h3{
  font-size:15px;
  margin-bottom:7px;
}

.finlab-biz p{
  font-size:13px;
  color:var(--soft);
}

/* ACCORDION */

.finlab-accordion{
  margin-top:16px;
  display:grid;
  gap:10px;
}

.finlab-acc{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
}

.finlab-acc-btn{
  width:100%;
  text-align:left;
  background:transparent;
  color:var(--text);
  border:none;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  cursor:pointer;
}

.finlab-acc-title{
  font-size:14px;
  color:var(--soft);
}

.finlab-acc-arrow{
  color:var(--muted);
  transition:transform var(--transition);
  flex-shrink:0;
}

.finlab-acc-panel{
  display:none;
  padding:0 16px 14px;
  font-size:13px;
  color:var(--soft);
}

.finlab-acc.open .finlab-acc-panel{display:block}
.finlab-acc.open .finlab-acc-arrow{transform:rotate(90deg)}

/* FINAL CTA */

.finlab-final{
  margin-top:18px;
  padding:22px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(217,186,114,.18);
  background:
    radial-gradient(circle at top left, rgba(217,186,114,.08), transparent 28%),
    linear-gradient(180deg, rgba(13,16,26,.96), rgba(8,10,16,.98));
  box-shadow:var(--shadow);
}

.finlab-final h2{
  font-size:26px;
  line-height:1.1;
  margin-bottom:8px;
}

.finlab-final p{
  font-size:14px;
  color:var(--soft);
  max-width:64ch;
  margin-bottom:16px;
}

.finlab-footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}

/* LIGHT THEME */

html[data-theme="light"] body{
  color:#201914;
  background:
    radial-gradient(circle at top left, #fff6eb 0, transparent 42%),
    radial-gradient(circle at top right, #fde4c8 0, transparent 40%),
    linear-gradient(180deg,#f7efe6 0,#f4ebdf 35%,#efe2d4 100%);
}

html[data-theme="light"]{
  --bg:#f4ebe1;
  --bg-soft:#f9f1e8;
  --card:#ffffff;
  --card-2:#fbf3ea;
  --line:rgba(133,96,63,.22);
  --text:#201914;
  --muted:#7b6351;
  --soft:#5f5146;
  --accent:#c48a3a;
  --accent-2:#4d7ac7;
  --accent-3:#c65353;
  --accent-4:#2e8c69;
}

html[data-theme="light"] .finlab-wrap{padding-top:30px}
html[data-theme="light"] .finlab-brand-text-main{color:#3a2b20}
html[data-theme="light"] .finlab-brand-text-sub{color:#8c725f}
html[data-theme="light"] .finlab-brand-mark{
  background:
    radial-gradient(circle at 26% 26%, #fff4d4 0, #e3b872 32%, #7b5530 70%, #3c2615 100%);
  box-shadow:0 10px 28px rgba(88,55,24,.55);
}
html[data-theme="light"] .finlab-hero-copy,
html[data-theme="light"] .finlab-hero-data{
  border-radius:26px;
  border:1px solid rgba(144,116,87,.28);
  box-shadow:0 18px 45px rgba(141,112,83,.22);
}
html[data-theme="light"] .finlab-hero-copy{
  background:
    radial-gradient(circle at 0 0, rgba(244,212,164,.55) 0, transparent 42%),
    radial-gradient(circle at 100% 0, rgba(206,225,255,.18) 0, transparent 46%),
    linear-gradient(145deg,#fffaf5,#f6e7d8);
}
html[data-theme="light"] .finlab-eyebrow{
  border-color:rgba(196,138,58,.35);
  background:rgba(255,252,247,.92);
  color:#8c725f;
}
html[data-theme="light"] .finlab-eyebrow-dot{
  background:#c48a3a;
  box-shadow:0 0 0 4px rgba(196,138,58,.22);
}
html[data-theme="light"] .finlab-hero h1{color:#201914}
html[data-theme="light"] .finlab-hero-lead{color:#5f5146}
html[data-theme="light"] .finlab-hero-point{color:#5f5146}
html[data-theme="light"] .finlab-hero-point i{background:#c48a3a}
html[data-theme="light"] .finlab-btn-primary{
  background:rgba(196,138,58,.12);
  border:1px solid rgba(196,138,58,.52);
  color:#201914;
}
html[data-theme="light"] .finlab-btn-primary:hover{background:rgba(196,138,58,.18)}
html[data-theme="light"] .finlab-btn-secondary{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(141,112,83,.25);
  color:#5f5146;
}
html[data-theme="light"] .finlab-btn-secondary:hover{
  border-color:rgba(141,112,83,.45);
  background:#fff9f3;
}
html[data-theme="light"] .finlab-hero-note{color:#7b6351}
html[data-theme="light"] .finlab-hero-data{
  background:
    radial-gradient(circle at top right, rgba(172,197,255,.35) 0, transparent 52%),
    linear-gradient(160deg,#fdf7f0,#f3e6d9);
}
html[data-theme="light"] .finlab-data-title{color:#5f5146}
html[data-theme="light"] .finlab-chip{
  background:rgba(255,255,255,.92);
  border-color:rgba(141,112,83,.2);
  color:#7b6351;
}
html[data-theme="light"] .finlab-total{
  background:rgba(255,255,255,.92);
  border-color:rgba(141,112,83,.26);
}
html[data-theme="light"] .finlab-total-label{color:#8c725f}
html[data-theme="light"] .finlab-total-value{color:#c48a3a}
html[data-theme="light"] .finlab-total-copy{color:#5f5146}
html[data-theme="light"] .finlab-stat-card{
  background:rgba(255,255,255,.9);
  border-color:rgba(141,112,83,.22);
}
html[data-theme="light"] .finlab-stat-label{color:#8c725f}
html[data-theme="light"] .finlab-stat-value{color:#3a2b20}
html[data-theme="light"] .finlab-stat-value.red{color:#c65353}
html[data-theme="light"] .finlab-stat-value.blue{color:#4d7ac7}
html[data-theme="light"] .finlab-stat-value.green{color:#2e8c69}
html[data-theme="light"] .finlab-stat-value.gold{color:#c48a3a}
html[data-theme="light"] .finlab-stat-level{color:#5f5146}
html[data-theme="light"] .finlab-section{
  background:
    radial-gradient(circle at top left, rgba(244,212,164,.38) 0, transparent 52%),
    linear-gradient(180deg,#fdf5ec,#f4e4d5);
  border-color:rgba(144,116,87,.24);
  box-shadow:0 16px 40px rgba(141,112,83,.20);
}
html[data-theme="light"] .finlab-section-kicker{color:#8c725f}
html[data-theme="light"] .finlab-section h2{color:#201914}
html[data-theme="light"] .finlab-section-lead{color:#5f5146}
html[data-theme="light"] .finlab-card,
html[data-theme="light"] .finlab-arch,
html[data-theme="light"] .finlab-business-grid .finlab-biz,
html[data-theme="light"] .finlab-accordion .finlab-acc{
  background:#fffdf8;
  border-color:rgba(141,112,83,.22);
}
html[data-theme="light"] .finlab-card h3,
html[data-theme="light"] .finlab-arch-name,
html[data-theme="light"] .finlab-biz h3,
html[data-theme="light"] .finlab-final h2{
  color:#3a2b20;
}
html[data-theme="light"] .finlab-list li,
html[data-theme="light"] .finlab-arch p,
html[data-theme="light"] .finlab-biz p,
html[data-theme="light"] .finlab-acc-title,
html[data-theme="light"] .finlab-acc-panel,
html[data-theme="light"] .finlab-final p{
  color:#5f5146;
}
html[data-theme="light"] .finlab-list i{background:#c48a3a}
html[data-theme="light"] .finlab-arch-code{color:#c48a3a}
html[data-theme="light"] .finlab-arch-share{color:#3a2b20}
html[data-theme="light"] .finlab-acc-arrow{color:#8c725f}
html[data-theme="light"] .finlab-final{
  background:
    radial-gradient(circle at top left, rgba(244,212,164,.45) 0, transparent 52%),
    linear-gradient(180deg,#fdf3e7,#f2e0cf);
  border-color:rgba(196,138,58,.35);
}
html[data-theme="light"] .finlab-footer{
  border-top-color:rgba(144,116,87,.3);
  color:#7b6351;
}

/* RESPONSIVE */

@media (max-width:980px){
  .finlab-hero,
  .finlab-archetypes,
  .finlab-business-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:920px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 110px);
  }

  .brand strong {
    font-size: 14px;
    letter-spacing: 0.16em;
  }

  .brand .sub {
    display: block;
    margin-top: 4px;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: normal;
    text-wrap: balance;
  }

  .menu-toggle {
    display: inline-flex !important;
    width: 46px;
    height: 46px;
  }

  .menu {
    display: none !important;
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.34);
  }

  .menu.is-open {
    display: flex !important;
  }

  .menu-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .menu a,
  .menu-dropbtn {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text);
    background: transparent;
    border: 0;
    text-align: left;
  }

  .menu-dropdown {
    width: 100%;
    position: static;
  }

  .menu-dropcontent {
    position: static !important;
    display: grid !important;
    gap: 10px;
    min-width: 0;
    padding: 10px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .menu-dropcontent a {
    font-size: 14px;
    padding: 0;
  }

  .menu-tools {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .lang-switcher--inside .lang-list {
    left: 0;
    right: auto;
  }

  html[data-theme="light"] .menu {
    background: #fffdf9;
    border-color: rgba(104,82,62,0.16);
    box-shadow: 0 16px 36px rgba(98,76,56,0.12);
  }

  html[data-theme="light"] .menu a,
  html[data-theme="light"] .menu-dropbtn {
    color: #2b2119;
  }

  html[data-theme="light"] .menu-dropcontent a {
    color: #5f5146;
  }
}

@media (max-width:640px){
  .finlab-wrap{padding:20px 14px 60px}
  .finlab-header{flex-direction:column;align-items:flex-start}
  .finlab-stats-grid{grid-template-columns:1fr}
  .finlab-actions{flex-direction:column}
  .finlab-btn{width:100%}
  .finlab-split{grid-template-columns:1fr}

  .brand {
    max-width: calc(100% - 94px);
  }

  .brand strong {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .brand .sub {
    font-size: 8.5px;
    max-width: 170px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (min-width:921px) {
  .menu-toggle {
    display: none !important;
  }

  .menu {
    display: flex !important;
    align-items: center;
  }

  .menu.is-open {
    display: flex !important;
  }

  .menu-dropcontent {
    position: absolute;
    display: none;
  }

  .menu-dropdown:hover .menu-dropcontent,
  .menu-dropdown:focus-within .menu-dropcontent {
    display: grid;
  }
}