
:root{--bg:#f3f4f6;--surface:#ffffff;--text:#111827;--heading:#0b1220;--muted:#475569;--primary:#64748b;--on-primary:#ffffff;--accent:#3b82f6;--border:rgba(2,6,23,0.12);}
*{box-sizing:border-box;}
body{background:var(--bg);color:var(--text);font-family:'Be Vietnam Pro',sans-serif;margin:0;padding:0;}
h1,h2,h3,h4,h5,h6{color:var(--heading);}
a{color:var(--primary);text-decoration:none;}
a:hover{color:var(--accent);}

/* NAVBAR */
.navbar{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(2,6,23,0.07);}
.navbar-brand img{height:44px;}
.nav-link{color:var(--text)!important;font-weight:500;padding:0.5rem 0.9rem!important;border-radius:6px;transition:background .2s,color .2s;}
.nav-link:hover,.nav-link.active{background:var(--bg);color:var(--accent)!important;}
.navbar-toggler{border-color:var(--border);}

/* BUTTONS */
.btn-primary-site{background:var(--primary);color:var(--on-primary);border:none;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:background .2s,box-shadow .2s;display:inline-block;}
.btn-primary-site:hover{background:var(--accent);box-shadow:0 4px 16px rgba(59,130,246,.3);color:var(--on-primary);}
.btn-accent-site{background:var(--accent);color:var(--on-primary);border:none;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:box-shadow .2s;display:inline-block;}
.btn-accent-site:hover{box-shadow:0 4px 16px rgba(59,130,246,.35);color:var(--on-primary);}
.btn-outline-site{background:transparent;border:2px solid rgba(255,255,255,.45);color:#fff;padding:.6rem 1.4rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:background .2s;display:inline-block;}
.btn-outline-site:hover{background:rgba(255,255,255,.1);color:#fff;}

/* BREADCRUMB */
.breadcrumb-wrap{background:var(--surface);border-bottom:1px solid var(--border);padding:.7rem 0;}
.breadcrumb{margin:0;font-size:.85rem;}
.breadcrumb-item a{color:var(--primary);}
.breadcrumb-item.active{color:var(--muted);}
.breadcrumb-item+.breadcrumb-item::before{color:var(--muted);}

/* PAGE HERO */
.page-hero{background:linear-gradient(135deg,var(--heading) 0%,#1a2744 55%,#0f2044 100%);padding:4rem 0 3rem;position:relative;overflow:hidden;}
.page-hero::before{content:'';position:absolute;top:-80px;right:-80px;width:420px;height:420px;border-radius:50%;background:rgba(59,130,246,.07);filter:blur(70px);}
.page-hero::after{content:'';position:absolute;bottom:-80px;left:4%;width:300px;height:300px;border-radius:50%;background:rgba(100,116,139,.1);filter:blur(55px);}
.hero-badge{display:inline-block;background:rgba(59,130,246,.18);color:var(--accent);border:1px solid rgba(59,130,246,.35);border-radius:20px;padding:.25rem .9rem;font-size:.82rem;font-weight:600;margin-bottom:1rem;letter-spacing:.05em;}
.page-hero h1{color:#fff;font-size:clamp(1.65rem,3.6vw,2.6rem);font-weight:800;line-height:1.22;margin-bottom:1rem;}
.page-hero h1 span{color:var(--accent);}
.page-hero .lead{color:rgba(255,255,255,.75);font-size:.97rem;max-width:620px;line-height:1.8;}
.hero-meta-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem;}
.hero-meta-pill{display:inline-flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:50px;padding:.35rem .9rem;font-size:.8rem;color:rgba(255,255,255,.8);font-weight:500;}
.hero-meta-pill i{color:var(--accent);}

/* SECTION */
section{padding:3.5rem 0;}
.section-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:700;margin-bottom:.4rem;}
.section-title{font-size:clamp(1.35rem,2.6vw,1.95rem);font-weight:800;color:var(--heading);margin-bottom:.6rem;}

/* TOC */
.toc-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.6rem;margin-bottom:2rem;}
.toc-title{font-weight:800;font-size:.95rem;color:var(--heading);margin-bottom:.9rem;display:flex;align-items:center;gap:.5rem;}
.toc-title i{color:var(--accent);}
.toc-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.35rem .8rem;}
.toc-list li a{font-size:.84rem;color:var(--primary);display:flex;align-items:flex-start;gap:.35rem;line-height:1.45;transition:color .2s;}
.toc-list li a:hover{color:var(--accent);}
.toc-list li a i{margin-top:.15rem;flex-shrink:0;font-size:.75rem;}
@media(max-width:575px){.toc-list{grid-template-columns:1fr;}}

/* RG SECTIONS */
.rg-section{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.8rem 2rem;margin-bottom:1.4rem;scroll-margin-top:80px;}
.rg-section-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.2rem;}
.rg-section-num{width:40px;height:40px;border-radius:10px;background:var(--accent);color:#fff;font-weight:800;font-size:.95rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.rg-section-title{font-weight:800;font-size:1.05rem;color:var(--heading);margin:0;line-height:1.3;}
.rg-section-sub{font-size:.82rem;color:var(--muted);margin:.2rem 0 0;}
.rg-body{color:var(--text);font-size:.9rem;line-height:1.82;}
.rg-body p{margin-bottom:.95rem;}
.rg-body p:last-child{margin-bottom:0;}
.rg-body ul{padding-left:1.3rem;margin-bottom:.95rem;}
.rg-body ul li{margin-bottom:.4rem;}
.rg-body strong{color:var(--heading);}
.rg-rule-list{list-style:none;padding:0;margin:0 0 .95rem;}
.rg-rule-list li{display:flex;align-items:flex-start;gap:.65rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.88rem;color:var(--text);}
.rg-rule-list li:last-child{border-bottom:none;}
.rg-rule-list li i{color:var(--accent);flex-shrink:0;margin-top:.12rem;}
.rg-rule-list li.warn i{color:var(--primary);}
.rg-highlight{background:var(--bg);border-left:4px solid var(--accent);border-radius:0 10px 10px 0;padding:1rem 1.3rem;margin:1rem 0;}
.rg-highlight p{margin:0;font-size:.87rem;color:var(--muted);}
.rg-warn{background:var(--bg);border-left:4px solid var(--primary);border-radius:0 10px 10px 0;padding:1rem 1.3rem;margin:1rem 0;}
.rg-warn p{margin:0;font-size:.87rem;color:var(--muted);}

/* SELF-ASSESSMENT QUIZ */
.quiz-wrap{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.8rem 2rem;margin-bottom:1.4rem;}
.quiz-title{font-weight:800;font-size:1.05rem;color:var(--heading);margin-bottom:.4rem;}
.quiz-sub{font-size:.87rem;color:var(--muted);margin-bottom:1.4rem;}
.quiz-item{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:1rem 1.2rem;margin-bottom:.7rem;display:flex;align-items:flex-start;gap:.8rem;cursor:pointer;transition:border-color .2s,background .2s;}
.quiz-item:hover{border-color:var(--accent);background:var(--surface);}
.quiz-cb{width:20px;height:20px;border:2px solid var(--border);border-radius:5px;flex-shrink:0;margin-top:.08rem;display:flex;align-items:center;justify-content:center;transition:border-color .2s,background .2s;}
.quiz-item.checked .quiz-cb{border-color:var(--accent);background:var(--accent);}
.quiz-item.checked .quiz-cb::after{content:'✓';color:#fff;font-size:.75rem;font-weight:800;}
.quiz-text{font-size:.87rem;color:var(--text);line-height:1.55;}
.quiz-result{background:var(--bg);border-radius:10px;padding:1rem 1.3rem;margin-top:1rem;font-size:.88rem;color:var(--muted);display:none;}
.quiz-result.show{display:block;}
.quiz-result.low{border-left:4px solid var(--accent);}
.quiz-result.mid{border-left:4px solid var(--primary);}
.quiz-result.high{border-left:4px solid var(--primary);}
.quiz-count-label{font-size:.82rem;color:var(--muted);margin-top:.6rem;}
#quizCount{font-weight:700;color:var(--accent);}

/* TOOL CARDS */
.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.5rem;height:100%;transition:box-shadow .25s,transform .25s;}
.tool-card:hover{box-shadow:0 8px 28px rgba(59,130,246,.1);transform:translateY(-3px);}
.tool-icon{width:52px;height:52px;border-radius:14px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:1.3rem;color:var(--accent);margin-bottom:.9rem;}
.tool-title{font-weight:800;font-size:.97rem;color:var(--heading);margin-bottom:.35rem;}
.tool-desc{font-size:.85rem;color:var(--muted);line-height:1.65;}
.tool-how{font-size:.78rem;color:var(--accent);font-weight:700;margin-top:.7rem;display:flex;align-items:center;gap:.3rem;}

/* SIGN CARDS */
.sign-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.1rem 1.2rem;height:100%;display:flex;gap:.75rem;align-items:flex-start;}
.sign-card-icon{width:36px;height:36px;border-radius:9px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:.95rem;color:var(--accent);flex-shrink:0;}
.sign-card-title{font-weight:700;font-size:.88rem;color:var(--heading);margin-bottom:.2rem;}
.sign-card-desc{font-size:.81rem;color:var(--muted);line-height:1.6;}

/* STEP TIMELINE */
.step-timeline{position:relative;padding-left:2.2rem;}
.step-timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--border);}
.step-item{position:relative;margin-bottom:1.6rem;}
.step-item:last-child{margin-bottom:0;}
.step-dot{position:absolute;left:-2.2rem;top:.15rem;width:16px;height:16px;border-radius:50%;background:var(--accent);border:3px solid var(--surface);box-shadow:0 0 0 2px var(--accent);}
.step-num{font-size:.74rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.2rem;}
.step-title{font-weight:700;font-size:.95rem;color:var(--heading);margin-bottom:.3rem;}
.step-desc{font-size:.86rem;color:var(--muted);line-height:1.65;}

/* STAT ROW */
.stat-strip{background:var(--heading);padding:1.8rem 0;}
.stat-item{text-align:center;}
.stat-num{font-size:2rem;font-weight:800;color:#fff;line-height:1;}
.stat-unit{font-size:.88rem;color:var(--accent);font-weight:700;}
.stat-label{font-size:.74rem;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.07em;margin-top:.3rem;}

/* PROMO */
.promo-strip{background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:14px;padding:1.8rem 2rem;color:var(--on-primary);display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem;justify-content:space-between;}
.promo-strip .title{font-size:1.1rem;font-weight:800;margin-bottom:.3rem;}
.promo-strip .sub{opacity:.88;font-size:.87rem;}
.btn-promo-white{background:var(--surface);color:var(--primary);border:none;padding:.6rem 1.4rem;border-radius:8px;font-weight:700;font-size:.88rem;white-space:nowrap;transition:box-shadow .2s;display:inline-block;}
.btn-promo-white:hover{box-shadow:0 4px 16px rgba(0,0,0,.18);color:var(--accent);}

/* SITE IMAGE */
.site-img{display:block;width:100%;height:auto;border-radius:12px;object-fit:cover;}

/* FAQ */
.faq-accordion .accordion-button{font-weight:700;color:var(--heading);background:var(--surface);font-size:.93rem;}
.faq-accordion .accordion-button:not(.collapsed){color:var(--accent);background:var(--surface);box-shadow:none;}
.faq-accordion .accordion-item{border:1px solid var(--border);border-radius:12px!important;margin-bottom:.6rem;overflow:hidden;}
.faq-accordion .accordion-body{font-size:.88rem;color:var(--muted);line-height:1.75;background:var(--bg);}

/* COMMITMENT BADGES */
.commit-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem;}
.commit-badge{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:.6rem .9rem;display:flex;align-items:center;gap:.5rem;font-size:.82rem;font-weight:600;color:var(--heading);}
.commit-badge i{color:var(--accent);font-size:.95rem;}

/* SIDEBAR */
.sidebar-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.3rem;margin-bottom:1.2rem;}
.sidebar-card h5{font-size:.95rem;font-weight:700;color:var(--heading);margin-bottom:1rem;padding-bottom:.6rem;border-bottom:1px solid var(--border);}
.sidebar-link{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.87rem;color:var(--text);transition:color .2s;}
.sidebar-link:last-child{border-bottom:none;}
.sidebar-link:hover{color:var(--accent);}
.sidebar-link i{color:var(--accent);font-size:.9rem;flex-shrink:0;}

/* FOOTER */
footer{background:var(--surface);border-top:1px solid var(--border);padding:3rem 0 1.5rem;}
.footer-heading{font-weight:700;font-size:.9rem;color:var(--heading);text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}
.footer-links{list-style:none;padding:0;margin:0;}
.footer-links li{margin-bottom:.5rem;}
.footer-links a{color:var(--muted);font-size:.88rem;transition:color .2s;}
.footer-links a:hover{color:var(--accent);}
.footer-bottom{border-top:1px solid var(--border);margin-top:2rem;padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:space-between;}
.footer-copy{font-size:.82rem;color:var(--muted);}

@media(max-width:767px){
  .rg-section{padding:1.3rem 1.1rem;}
  .step-timeline{padding-left:1.8rem;}
  .step-dot{left:-1.8rem;}
  .toc-list{grid-template-columns:1fr;}
}

.navbar{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(2,6,23,0.07);}.navbar-brand img{height:44px;}.nav-link{color:var(--text)!important;font-weight:500;padding:0.5rem 0.9rem!important;border-radius:6px;transition:background .2s,color .2s;}.nav-link:hover, .nav-link.active{background:var(--bg);color:var(--accent)!important;}.navbar-toggler{border-color:var(--border);}footer{background:var(--surface);border-top:1px solid var(--border);padding:3rem 0 1.5rem;}.footer-brand{font-size:1.3rem;font-weight:800;color:var(--heading);margin-bottom:.5rem;}.footer-desc{color:var(--muted);font-size:.88rem;line-height:1.6;max-width:280px;}.footer-heading{font-weight:700;font-size:.9rem;color:var(--heading);text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}.footer-links{list-style:none;padding:0;margin:0;}.footer-links li{margin-bottom:.5rem;}.footer-links a{color:var(--muted);font-size:.88rem;transition:color .2s;}.footer-links a:hover{color:var(--accent);}.footer-bottom{border-top:1px solid var(--border);margin-top:2rem;padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:space-between;}.footer-copy{font-size:.82rem;color:var(--muted);}.footer-email a{font-size:.82rem;color:var(--muted);}.footer-email a:hover{color:var(--accent);}