:root{
  --gold:#d9aa54;
  --gold-soft:rgba(217,170,84,.42);
  --bg:#050505;
  --text:#f4efe5;
  --muted:rgba(244,239,229,.76);
  --border:rgba(217,170,84,.32);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:radial-gradient(circle at top,rgba(217,170,84,.08),transparent 35%),#050505;
  color:var(--text);
  font-family:Georgia,"Times New Roman",serif;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* HEADER */
header{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  padding:14px 32px;
  background:rgba(0,0,0,.94);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(8px);
}

.logo{
  width:70px;
  flex-shrink:0;
}

nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  flex-wrap:wrap;
  font-family:Arial,sans-serif;
  font-size:13px;
  color:#f2f2f2;
}

nav a{
  position:relative;
  transition:color .25s ease;
}

nav a:hover,
nav a.active{
  color:var(--gold);
}

nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-18px;
  height:2px;
  background:var(--gold);
}

/* HERO */
.hero-tuto{
  height:620px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--border);
  background:#050505;
}

.hero-tuto img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.58) contrast(1.08) saturate(1.05);
}

.hero-tuto:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.25),rgba(0,0,0,.75)),
    linear-gradient(to top,#050505,transparent 44%);
}

.hero-content{
  position:absolute;
  z-index:2;
  top:50%;
  left:7%;
  transform:translateY(-50%);
  max-width:760px;
}

.kicker{
  color:#f5d48f;
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:.95rem;
}

.hero-content h1{
  margin-top:18px;
  color:var(--gold);
  font-size:clamp(3.1rem,6vw,6.6rem);
  line-height:.95;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:7px;
  text-shadow:0 0 30px rgba(0,0,0,.9);
}

.hero-content p{
  max-width:650px;
  margin-top:26px;
  color:rgba(244,239,229,.88);
  font-size:1.25rem;
  line-height:1.7;
}

/* STEP NAV */
.step-nav{
  width:min(1450px,calc(100% - 44px));
  margin:-58px auto 34px;
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(9,1fr);
  border:1px solid var(--border);
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}

.step-nav a{
  min-height:96px;
  padding:18px 12px;
  border-right:1px solid rgba(217,170,84,.22);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  transition:.25s;
}

.step-nav a:hover{
  background:rgba(217,170,84,.12);
}

.step-nav strong{
  color:var(--gold);
  font-size:1.8rem;
  font-weight:400;
}

.step-nav span{
  color:var(--muted);
  font-size:.75rem;
  text-transform:uppercase;
  text-align:center;
}

/* LAYOUT */
.page-layout{
  width:min(1450px,calc(100% - 44px));
  margin:0 auto 40px;
  display:grid;
  grid-template-columns:1fr 340px;
  gap:24px;
  align-items:start;
}

.content{
  display:grid;
  gap:24px;
  min-width:0;
}

.chapter,
.side-card{
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 55% 0%,rgba(217,170,84,.08),transparent 28%),
    linear-gradient(180deg,rgba(5,9,12,.98),rgba(2,5,7,.98));
  padding:34px;
  min-width:0;
}

.chapter h2,
.side-card h2{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:400;
  margin-bottom:22px;
}

.chapter p{
  color:var(--muted);
  font-family:Arial,sans-serif;
  line-height:1.75;
  margin-bottom:18px;
  font-size:1rem;
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-top:26px;
}

.stat-grid a{
  padding:20px;
  border:1px solid rgba(217,170,84,.28);
  background:rgba(0,0,0,.25);
  text-align:center;
  transition:.25s;
}

.stat-grid a:hover{
  background:rgba(217,170,84,.12);
}

.stat-grid span{
  display:block;
  color:var(--gold);
  font-size:1.7rem;
  margin-bottom:8px;
}

.stat-grid strong{
  color:var(--muted);
  font-family:Arial,sans-serif;
  font-weight:400;
}

.example-list{
  margin-top:18px;
  padding:22px 22px 22px 42px;
  border-left:3px solid var(--gold);
  background:rgba(217,170,84,.08);
  color:rgba(244,239,229,.9);
  font-family:Arial,sans-serif;
  line-height:1.75;
}

.skill-list,
.hidden-skills{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:26px 0;
}

.skill-list article,
.hidden-skills article{
  padding:22px;
  border:1px solid rgba(217,170,84,.26);
  background:rgba(0,0,0,.22);
}

.skill-list h3,
.hidden-skills h3{
  color:var(--gold);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:400;
}

.skill-list p,
.hidden-skills p{
  margin-bottom:0;
}

.formula-box{
  margin:28px 0;
  padding:30px;
  text-align:center;
  border:1px solid rgba(217,170,84,.38);
  background:radial-gradient(circle at center,rgba(217,170,84,.12),transparent 70%),rgba(0,0,0,.28);
}

.formula-box strong{
  color:var(--gold);
  font-size:2rem;
  font-weight:400;
}

/* SIDEBAR */
.sidebar{
  display:grid;
  gap:24px;
  position:sticky;
  top:96px;
}

.tool-item{
  padding:18px 0;
  border-bottom:1px solid rgba(217,170,84,.16);
}

.tool-item strong{
  display:block;
  color:var(--gold);
  margin-bottom:8px;
}

.tool-item span,
.side-card p,
.side-card li{
  color:var(--muted);
  line-height:1.65;
  font-family:Arial,sans-serif;
}

.side-card ul{
  padding-left:20px;
}

.mj-card{
  text-align:center;
}

/* RESPONSIVE */
@media(max-width:1250px){
  .step-nav{
    grid-template-columns:repeat(3,1fr);
  }

  .stat-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:1100px){
  .page-layout{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
  }
}

@media(max-width:800px){
  header{
    flex-direction:column;
  }

  .hero-tuto{
    height:540px;
  }

  .hero-content{
    left:24px;
    right:24px;
  }

  .chapter,
  .side-card{
    padding:24px;
  }

  .skill-list,
  .hidden-skills,
  .stat-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .step-nav{
    grid-template-columns:1fr;
  }

  .hero-content h1{
    font-size:3rem;
  }
}
